gx.evt.autoSkip=false;function himh077b(){this.ServerClass="HImh077b";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Carnro=function(){try{var a=gx.util.balloon.getNew("vCARNRO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e115g2_client=function(){this.executeServerEvent("ENTER",true)};this.e135g2_client=function(){this.executeServerEvent("'VOLTAR'",false)};
this.e155g2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,20,23,25,28,30,33,35,38,40,43,45,47,50,52,55,57,60,62,65,67,70,72,75,77,79,80];this.GXLastCtrlId=80;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Carnro,isvalid:null,rgrid:[],fld:"vCARNRO",gxz:"ZV13CarNro",gxold:"OV13CarNro",gxvar:"AV13CarNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13CarNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV13CarNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCARNRO",gx.O.AV13CarNro,0)},c2v:function(){gx.O.AV13CarNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCARNRO",".")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBCOD",gxz:"ZV10UsbCod",gxold:"OV10UsbCod",gxvar:"AV10UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10UsbCod=a
},v2z:function(a){gx.O.ZV10UsbCod=a},v2c:function(){gx.fn.setControlValue("vUSBCOD",gx.O.AV10UsbCod,0)},c2v:function(){gx.O.AV10UsbCod=this.val()},val:function(){return gx.fn.getControlValue("vUSBCOD")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUSUCODUNIDDEPOSITARIA",gxz:"ZV37UsuCodUnidDepositaria",gxold:"OV37UsuCodUnidDepositaria",gxvar:"AV37UsuCodUnidDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV37UsuCodUnidDepositaria=gx.num.intval(a)
},v2z:function(a){gx.O.ZV37UsuCodUnidDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSUCODUNIDDEPOSITARIA",gx.O.AV37UsuCodUnidDepositaria,0)},c2v:function(){gx.O.AV37UsuCodUnidDepositaria=this.val()},val:function(){return gx.fn.getIntegerValue("vUSUCODUNIDDEPOSITARIA",".")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vLOCCOD",gxz:"ZV35LocCod",gxold:"OV35LocCod",gxvar:"AV35LocCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV35LocCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV35LocCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLOCCOD",gx.O.AV35LocCod,0)},c2v:function(){gx.O.AV35LocCod=this.val()},val:function(){return gx.fn.getIntegerValue("vLOCCOD",".")},nac:function(){return false}};this.GXValidFnc[38]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[40]={fld:"TABLE3",grid:0};this.GXValidFnc[43]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vQTDDIAATRI",gxz:"ZV5QtdDiaAtrI",gxold:"OV5QtdDiaAtrI",gxvar:"AV5QtdDiaAtrI",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5QtdDiaAtrI=gx.num.intval(a)
},v2z:function(a){gx.O.ZV5QtdDiaAtrI=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vQTDDIAATRI",gx.O.AV5QtdDiaAtrI,0)},c2v:function(){gx.O.AV5QtdDiaAtrI=this.val()},val:function(){return gx.fn.getIntegerValue("vQTDDIAATRI",".")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TEXTBLOCK10",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:"vQTDDIAATRF",gxz:"ZV28QtdDiaAtrF",gxold:"OV28QtdDiaAtrF",gxvar:"AV28QtdDiaAtrF",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV28QtdDiaAtrF=gx.num.intval(a)
},v2z:function(a){gx.O.ZV28QtdDiaAtrF=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vQTDDIAATRF",gx.O.AV28QtdDiaAtrF,0)},c2v:function(){gx.O.AV28QtdDiaAtrF=this.val()},val:function(){return gx.fn.getIntegerValue("vQTDDIAATRF",".")},nac:function(){return false}};this.GXValidFnc[50]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[52]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDTIPEMIS",gxz:"ZV6IndTipEmis",gxold:"OV6IndTipEmis",gxvar:"AV6IndTipEmis",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV6IndTipEmis=a
},v2z:function(a){gx.O.ZV6IndTipEmis=a},v2c:function(){gx.fn.setComboBoxValue("vINDTIPEMIS",gx.O.AV6IndTipEmis)},c2v:function(){gx.O.AV6IndTipEmis=this.val()},val:function(){return gx.fn.getControlValue("vINDTIPEMIS")},nac:function(){return false}};this.GXValidFnc[55]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[57]={fld:"TABLE4",grid:0};this.GXValidFnc[60]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATEMISS",gxz:"ZV14DatEmiss",gxold:"OV14DatEmiss",gxvar:"AV14DatEmiss",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.AV14DatEmiss=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV14DatEmiss=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATEMISS",gx.O.AV14DatEmiss,0)},c2v:function(){gx.O.AV14DatEmiss=this.val()},val:function(){return gx.fn.getControlValue("vDATEMISS")},nac:function(){return false}};this.GXValidFnc[62]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[65]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[67]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDIMPMULT",gxz:"ZV25IndImpMult",gxold:"OV25IndImpMult",gxvar:"AV25IndImpMult",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV25IndImpMult=a
},v2z:function(a){gx.O.ZV25IndImpMult=a},v2c:function(){gx.fn.setComboBoxValue("vINDIMPMULT",gx.O.AV25IndImpMult)},c2v:function(){gx.O.AV25IndImpMult=this.val()},val:function(){return gx.fn.getControlValue("vINDIMPMULT")},nac:function(){return false}};this.GXValidFnc[70]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[72]={fld:"TABLE5",grid:0};this.GXValidFnc[75]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDLINKRENOVACAO",gxz:"ZV46IndLinkRenovacao",gxold:"OV46IndLinkRenovacao",gxvar:"AV46IndLinkRenovacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV46IndLinkRenovacao=a
},v2z:function(a){gx.O.ZV46IndLinkRenovacao=a},v2c:function(){gx.fn.setComboBoxValue("vINDLINKRENOVACAO",gx.O.AV46IndLinkRenovacao)},c2v:function(){gx.O.AV46IndLinkRenovacao=this.val()},val:function(){return gx.fn.getControlValue("vINDLINKRENOVACAO")},nac:function(){return false}};this.GXValidFnc[77]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[79]={fld:"PROMPT_CARNRO",grid:0};this.GXValidFnc[80]={fld:"PROMPT_USBCOD",grid:0};this.AV13CarNro=0;this.ZV13CarNro=0;this.OV13CarNro=0;this.AV10UsbCod="";
this.ZV10UsbCod="";this.OV10UsbCod="";this.AV37UsuCodUnidDepositaria=0;this.ZV37UsuCodUnidDepositaria=0;this.OV37UsuCodUnidDepositaria=0;this.AV35LocCod=0;this.ZV35LocCod=0;this.OV35LocCod=0;this.AV5QtdDiaAtrI=0;this.ZV5QtdDiaAtrI=0;this.OV5QtdDiaAtrI=0;this.AV28QtdDiaAtrF=0;this.ZV28QtdDiaAtrF=0;this.OV28QtdDiaAtrF=0;this.AV6IndTipEmis="";this.ZV6IndTipEmis="";this.OV6IndTipEmis="";this.AV14DatEmiss=gx.date.nullDate();this.ZV14DatEmiss=gx.date.nullDate();this.OV14DatEmiss=gx.date.nullDate();this.AV25IndImpMult="";
this.ZV25IndImpMult="";this.OV25IndImpMult="";this.AV46IndLinkRenovacao="";this.ZV46IndLinkRenovacao="";this.OV46IndLinkRenovacao="";this.A122CfgCod="";this.A127CfgValCont="";this.A559ParCod=0;this.A567ParDesEndE="";this.A86CarNro=0;this.A85CarNom="";this.ServerEvents=["e115g2_client","e135g2_client","e155g2_client"];this.setPrompt("PROMPT_CARNRO",[20]);this.setPrompt("PROMPT_USBCOD",[25]);this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh077b.prototype=new gx.GxObject;gx.setParentObj(new himh077b());