gx.evt.autoSkip=false;function himh107(){this.ServerClass="HImh107";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Dataabert=function(){try{var a=gx.util.balloon.getNew("vDATAABERT");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e115u2_client=function(){this.executeServerEvent("ENTER",true)};this.e125u2_client=function(){this.executeServerEvent("'MOSTRAR DATAS'",false)};this.e135u2_client=function(){this.executeServerEvent("'VOLTAR'",false)
};this.e165u2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[4,15,19,22,24,27,29,33];this.GXLastCtrlId=33;this.GXValidFnc[4]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[19]={fld:"TABLE2",grid:0};this.GXValidFnc[22]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Dataabert,isvalid:null,fld:"vDATAABERT",gxz:"ZV5DataAbert",gxold:"OV5DataAbert",gxvar:"AV5DataAbert",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.AV5DataAbert=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV5DataAbert=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATAABERT",gx.O.AV5DataAbert,0)},c2v:function(){gx.O.AV5DataAbert=this.val()},val:function(){return gx.fn.getControlValue("vDATAABERT")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCODPADR",gxz:"ZV8UndCodPadr",gxold:"OV8UndCodPadr",gxvar:"AV8UndCodPadr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8UndCodPadr=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8UndCodPadr=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCODPADR",gx.O.AV8UndCodPadr,0)},c2v:function(){gx.O.AV8UndCodPadr=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCODPADR",".")},nac:function(){return false}};this.GXValidFnc[33]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOVOINVENTARIO",gxz:"ZV16NovoInventario",gxold:"OV16NovoInventario",gxvar:"AV16NovoInventario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV16NovoInventario=a
},v2z:function(a){gx.O.ZV16NovoInventario=a},v2c:function(){gx.fn.setCheckBoxValue("vNOVOINVENTARIO",gx.O.AV16NovoInventario,"S")},c2v:function(){gx.O.AV16NovoInventario=this.val()},val:function(){return gx.fn.getCheckBoxValue("vNOVOINVENTARIO","S","N")},nac:function(){return false}};this.AV5DataAbert=gx.date.nullDate();this.ZV5DataAbert=gx.date.nullDate();this.OV5DataAbert=gx.date.nullDate();this.AV8UndCodPadr=0;this.ZV8UndCodPadr=0;this.OV8UndCodPadr=0;this.AV16NovoInventario="";this.ZV16NovoInventario="";
this.OV16NovoInventario="";this.A493InvNroTomb=0;this.A492InvDat=gx.date.nullDate();this.ServerEvents=["e115u2_client","e125u2_client","e135u2_client","e165u2_client"];this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh107.prototype=new gx.GxObject;gx.setParentObj(new himh107());