gx.evt.autoSkip=false;function himh110(){this.ServerClass="HImh110";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Parmdatinventario=function(){try{var a=gx.util.balloon.getNew("vPARMDATINVENTARIO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e115y2_client=function(){this.executeServerEvent("'VOLTAR'",true,arguments[0])};this.e135y2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e155y1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[4,13,16,19,22,25,27,32,34,36,38,43];this.GXLastCtrlId=43;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",42,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh110",[],false,1,false,true,20,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(493,43,"INVNROTOMB","Tombo","","InvNroTomb","int",0,"px",9,9,"right",null,[],493,"InvNroTomb",true,0,false,false);
this.setGrid(this.Grid1Container);this.GXValidFnc[4]={fld:"TABLE1",grid:0};this.GXValidFnc[13]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[16]={fld:"TABLE3",grid:0};this.GXValidFnc[19]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[22]={fld:"TABLE2",grid:0};this.GXValidFnc[25]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[27]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Validv_Parmdatinventario,isvalid:null,fld:"vPARMDATINVENTARIO",gxz:"ZV22ParmDatInventario",gxold:"OV22ParmDatInventario",gxvar:"AV22ParmDatInventario",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.AV22ParmDatInventario=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV22ParmDatInventario=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vPARMDATINVENTARIO",gx.O.AV22ParmDatInventario,0)},c2v:function(){gx.O.AV22ParmDatInventario=this.val()},val:function(){return gx.fn.getControlValue("vPARMDATINVENTARIO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vTOMBOSDE",gxz:"ZV5TombosDe",gxold:"OV5TombosDe",gxvar:"AV5TombosDe",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5TombosDe=gx.num.intval(a)
},v2z:function(a){gx.O.ZV5TombosDe=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vTOMBOSDE",gx.O.AV5TombosDe,0)},c2v:function(){gx.O.AV5TombosDe=this.val()},val:function(){return gx.fn.getIntegerValue("vTOMBOSDE",".")},nac:function(){return false}};this.GXValidFnc[36]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[38]={lvl:0,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vTOMBOSATE",gxz:"ZV6TombosAte",gxold:"OV6TombosAte",gxvar:"AV6TombosAte",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6TombosAte=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6TombosAte=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vTOMBOSATE",gx.O.AV6TombosAte,0)},c2v:function(){gx.O.AV6TombosAte=this.val()},val:function(){return gx.fn.getIntegerValue("vTOMBOSATE",".")},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:1,grid:42,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"INVNROTOMB",gxz:"Z493InvNroTomb",gxold:"O493InvNroTomb",gxvar:"A493InvNroTomb",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A493InvNroTomb=gx.num.intval(a)
},v2z:function(a){gx.O.Z493InvNroTomb=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("INVNROTOMB",gx.fn.currentGridRowImpl(42),gx.O.A493InvNroTomb,0)},c2v:function(){gx.O.A493InvNroTomb=this.val()},val:function(){return gx.fn.getGridIntegerValue("INVNROTOMB",gx.fn.currentGridRowImpl(42),".")},nac:function(){return false}};this.AV22ParmDatInventario=gx.date.nullDate();this.ZV22ParmDatInventario=gx.date.nullDate();this.OV22ParmDatInventario=gx.date.nullDate();this.AV5TombosDe=0;this.ZV5TombosDe=0;
this.OV5TombosDe=0;this.AV6TombosAte=0;this.ZV6TombosAte=0;this.OV6TombosAte=0;this.Z493InvNroTomb=0;this.O493InvNroTomb=0;this.A492InvDat=gx.date.nullDate();this.A493InvNroTomb=0;this.ServerEvents=["e115y2_client","e135y2_client","e155y1_client"];this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[38]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[27]);this.SetStandaloneVars()}himh110.prototype=new gx.GxObject;gx.setParentObj(new himh110());