gx.evt.autoSkip=false;function himh078(){this.ServerClass="HImh078";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.e115h2_client=function(){this.executeServerEvent("ENTER",true)};this.e135h2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e155h2_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,48,49];this.GXLastCtrlId=49;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:null,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV41UndCod",gxold:"OV41UndCod",gxvar:"AV41UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV41UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV41UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV41UndCod,0)},c2v:function(){gx.O.AV41UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[25]={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[28]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIUCOD",gxz:"ZV35TiuCod",gxold:"OV35TiuCod",gxvar:"AV35TiuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV35TiuCod=a
},v2z:function(a){gx.O.ZV35TiuCod=a},v2c:function(){gx.fn.setControlValue("vTIUCOD",gx.O.AV35TiuCod,0)},c2v:function(){gx.O.AV35TiuCod=this.val()},val:function(){return gx.fn.getControlValue("vTIUCOD")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[35]={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[38]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZ,ZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vVALMINIMO",gxz:"ZV34ValMinimo",gxold:"OV34ValMinimo",gxvar:"AV34ValMinimo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV34ValMinimo=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV34ValMinimo=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("vVALMINIMO",gx.O.AV34ValMinimo,2,",")},c2v:function(){gx.O.AV34ValMinimo=this.val()},val:function(){return gx.fn.getDecimalValue("vVALMINIMO",".",",")},nac:function(){return false}};this.GXValidFnc[43]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[45]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRCDATEMISSAO",gxz:"ZV36CrcDatEmissao",gxold:"OV36CrcDatEmissao",gxvar:"AV36CrcDatEmissao",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.AV36CrcDatEmissao=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV36CrcDatEmissao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCRCDATEMISSAO",gx.O.AV36CrcDatEmissao,0)},c2v:function(){gx.O.AV36CrcDatEmissao=this.val()},val:function(){return gx.fn.getControlValue("vCRCDATEMISSAO")},nac:function(){return false}};this.GXValidFnc[47]={fld:"PROMPT_CARNRO",grid:0};this.GXValidFnc[48]={fld:"PROMPT_TIUCOD",grid:0};this.GXValidFnc[49]={fld:"PROMPT_USBCOD",grid:0};this.AV41UndCod=0;this.ZV41UndCod=0;this.OV41UndCod=0;this.AV13CarNro=0;
this.ZV13CarNro=0;this.OV13CarNro=0;this.AV35TiuCod="";this.ZV35TiuCod="";this.OV35TiuCod="";this.AV10UsbCod="";this.ZV10UsbCod="";this.OV10UsbCod="";this.AV34ValMinimo=0;this.ZV34ValMinimo=0;this.OV34ValMinimo=0;this.AV36CrcDatEmissao=gx.date.nullDate();this.ZV36CrcDatEmissao=gx.date.nullDate();this.OV36CrcDatEmissao=gx.date.nullDate();this.A559ParCod=0;this.A567ParDesEndE="";this.A86CarNro=0;this.A85CarNom="";this.ServerEvents=["e115h2_client","e135h2_client","e155h2_client"];this.setPrompt("PROMPT_CARNRO",[25]);
this.setPrompt("PROMPT_TIUCOD",[30]);this.setPrompt("PROMPT_USBCOD",[35]);this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh078.prototype=new gx.GxObject;gx.setParentObj(new himh078());