gx.evt.autoSkip=false;function hgsh006(){this.ServerClass="HGsh006";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e113p2_client=function(){this.executeServerEvent("ENTER",true)};this.e133p2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e143p2_client=function(){this.executeServerEvent("'LINGUAGEM'",false)};this.e153p2_client=function(){this.executeServerEvent("'CERTIFICADOS'",false)};this.e173p2_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[2,15,17,20,22,25,27,30,32,35,37,40,42,45,47,50,52,55,58,61];this.GXLastCtrlId=61;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[17]={fld:"TABLE3",grid:0};this.GXValidFnc[20]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[22]={lvl:0,type:"char",len:8,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPLIBERACAO",gxz:"ZV21TipLiberacao",gxold:"OV21TipLiberacao",gxvar:"AV21TipLiberacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV21TipLiberacao=a
},v2z:function(a){gx.O.ZV21TipLiberacao=a},v2c:function(){gx.fn.setRadioValue("vTIPLIBERACAO",gx.O.AV21TipLiberacao)},c2v:function(){gx.O.AV21TipLiberacao=this.val()},val:function(){return gx.fn.getControlValue("vTIPLIBERACAO")},nac:function(){return false}};this.GXValidFnc[25]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[27]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATAHOJE",gxz:"ZV14DataHoje",gxold:"OV14DataHoje",gxvar:"AV14DataHoje",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14DataHoje=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV14DataHoje=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATAHOJE",gx.O.AV14DataHoje,0)},c2v:function(){gx.O.AV14DataHoje=this.val()},val:function(){return gx.fn.getControlValue("vDATAHOJE")},nac:function(){return false}};this.GXValidFnc[30]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[32]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vEMPRAZSOCI",gxz:"ZV11EmpRazSoci",gxold:"OV11EmpRazSoci",gxvar:"AV11EmpRazSoci",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11EmpRazSoci=a
},v2z:function(a){gx.O.ZV11EmpRazSoci=a},v2c:function(){gx.fn.setControlValue("vEMPRAZSOCI",gx.O.AV11EmpRazSoci,0)},c2v:function(){gx.O.AV11EmpRazSoci=this.val()},val:function(){return gx.fn.getControlValue("vEMPRAZSOCI")},nac:function(){return false}};this.GXValidFnc[35]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[37]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vEMPNOMFANT",gxz:"ZV22EmpNomFant",gxold:"OV22EmpNomFant",gxvar:"AV22EmpNomFant",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22EmpNomFant=a
},v2z:function(a){gx.O.ZV22EmpNomFant=a},v2c:function(){gx.fn.setControlValue("vEMPNOMFANT",gx.O.AV22EmpNomFant,0)},c2v:function(){gx.O.AV22EmpNomFant=this.val()},val:function(){return gx.fn.getControlValue("vEMPNOMFANT")},nac:function(){return false}};this.GXValidFnc[40]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZ,ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vQTDLIMIDOC",gxz:"ZV9QtdLimiDoc",gxold:"OV9QtdLimiDoc",gxvar:"AV9QtdLimiDoc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9QtdLimiDoc=gx.num.intval(a)
},v2z:function(a){gx.O.ZV9QtdLimiDoc=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vQTDLIMIDOC",gx.O.AV9QtdLimiDoc,0)},c2v:function(){gx.O.AV9QtdLimiDoc=this.val()},val:function(){return gx.fn.getIntegerValue("vQTDLIMIDOC",".")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[47]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vQTDUNIDADESLIBERADAS",gxz:"ZV23QtdUnidadesLiberadas",gxold:"OV23QtdUnidadesLiberadas",gxvar:"AV23QtdUnidadesLiberadas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23QtdUnidadesLiberadas=gx.num.intval(a)
},v2z:function(a){gx.O.ZV23QtdUnidadesLiberadas=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vQTDUNIDADESLIBERADAS",gx.O.AV23QtdUnidadesLiberadas,0)},c2v:function(){gx.O.AV23QtdUnidadesLiberadas=this.val()},val:function(){return gx.fn.getIntegerValue("vQTDUNIDADESLIBERADAS",".")},nac:function(){return false}};this.GXValidFnc[50]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[52]={lvl:0,type:"char",len:23,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSENHA",gxz:"ZV6Senha",gxold:"OV6Senha",gxvar:"AV6Senha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6Senha=a
},v2z:function(a){gx.O.ZV6Senha=a},v2c:function(){gx.fn.setControlValue("vSENHA",gx.O.AV6Senha,0)},c2v:function(){gx.O.AV6Senha=this.val()},val:function(){return gx.fn.getControlValue("vSENHA")},nac:function(){return false}};this.GXValidFnc[55]={fld:"TABLE2",grid:0};this.GXValidFnc[58]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[61]={fld:"TEXTBLOCK10",format:0,grid:0};this.AV21TipLiberacao="";this.ZV21TipLiberacao="";this.OV21TipLiberacao="";this.AV14DataHoje=gx.date.nullDate();this.ZV14DataHoje=gx.date.nullDate();
this.OV14DataHoje=gx.date.nullDate();this.AV11EmpRazSoci="";this.ZV11EmpRazSoci="";this.OV11EmpRazSoci="";this.AV22EmpNomFant="";this.ZV22EmpNomFant="";this.OV22EmpNomFant="";this.AV9QtdLimiDoc=0;this.ZV9QtdLimiDoc=0;this.OV9QtdLimiDoc=0;this.AV23QtdUnidadesLiberadas=0;this.ZV23QtdUnidadesLiberadas=0;this.OV23QtdUnidadesLiberadas=0;this.AV6Senha="";this.ZV6Senha="";this.OV6Senha="";this.A840StpCod=0;this.A841StpDatUltU=gx.date.nullDate();this.ServerEvents=["e113p2_client","e133p2_client","e143p2_client","e153p2_client","e173p2_client"];
this.EnterCtrl=["BUTTON4"];this.SetStandaloneVars()}hgsh006.prototype=new gx.GxObject;gx.setParentObj(new hgsh006());