gx.evt.autoSkip=false;function tabt034(){this.ServerClass="Tabt034";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Invdat=function(){try{var a=gx.util.balloon.getNew("INVDAT");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Invnrotomb=function(){gx.ajax.validSrvEvt("dyncall","valid_Invnrotomb",['gx.date.urlDate(gx.O.A492InvDat,"DMY")',"gx.O.A493InvNroTomb","gx.O.A494InvValCamp"],["A494InvValCamp","Gx_mode","Z492InvDat","Z493InvNroTomb","Z494InvValCamp",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e110v23_client=function(){this.clearMessages();this.refreshOutputs([])};this.e120v23_client=function(){this.executeServerEvent("ENTER",true)};this.e130v23_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,23,25,29,31];this.GXLastCtrlId=31;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Invdat,isvalid:null,fld:"INVDAT",gxz:"Z492InvDat",gxold:"O492InvDat",gxvar:"A492InvDat",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.A492InvDat=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z492InvDat=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("INVDAT",gx.O.A492InvDat,0)},c2v:function(){gx.O.A492InvDat=this.val()},val:function(){return gx.fn.getControlValue("INVDAT")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Invnrotomb,isvalid:null,rgrid:[],fld:"INVNROTOMB",gxz:"Z493InvNroTomb",gxold:"O493InvNroTomb",gxvar:"A493InvNroTomb",ucs:[],op:[31],ip:[31,25,20],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.setControlValue("INVNROTOMB",gx.O.A493InvNroTomb,0)},c2v:function(){gx.O.A493InvNroTomb=this.val()},val:function(){return gx.fn.getIntegerValue("INVNROTOMB",".")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"INVVALCAMP",gxz:"Z494InvValCamp",gxold:"O494InvValCamp",gxvar:"A494InvValCamp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A494InvValCamp=a
},v2z:function(a){gx.O.Z494InvValCamp=a},v2c:function(){gx.fn.setControlValue("INVVALCAMP",gx.O.A494InvValCamp,0)},c2v:function(){gx.O.A494InvValCamp=this.val()},val:function(){return gx.fn.getControlValue("INVVALCAMP")},nac:function(){return false}};this.A492InvDat=gx.date.nullDate();this.Z492InvDat=gx.date.nullDate();this.O492InvDat=gx.date.nullDate();this.A493InvNroTomb=0;this.Z493InvNroTomb=0;this.O493InvNroTomb=0;this.A494InvValCamp="";this.Z494InvValCamp="";this.O494InvValCamp="";this.ServerEvents=["e120v23_client","e130v23_client"];
this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tabt034.prototype=new gx.GxObject;gx.setParentObj(new tabt034());