gx.evt.autoSkip=false;function tpet021(){this.ServerClass="Tpet021";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Impnrosequ=function(){gx.ajax.validSrvEvt("dyncall","valid_Impnrosequ",["gx.O.A488ImpNroSequ","gx.O.A487ImpDesText","gx.O.A486ImpCampo1L"],["A487ImpDesText","A486ImpCampo1L","Gx_mode","Z488ImpNroSequ","Z487ImpDesText","Z486ImpCampo1L",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e115i151_client=function(){this.clearMessages();this.refreshOutputs([])};this.e125i151_client=function(){this.executeServerEvent("ENTER",true)};this.e135i151_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26,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:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Impnrosequ,isvalid:null,rgrid:[],fld:"IMPNROSEQU",gxz:"Z488ImpNroSequ",gxold:"O488ImpNroSequ",gxvar:"A488ImpNroSequ",ucs:[],op:[31,26],ip:[31,26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A488ImpNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z488ImpNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("IMPNROSEQU",gx.O.A488ImpNroSequ,0)},c2v:function(){gx.O.A488ImpNroSequ=this.val()},val:function(){return gx.fn.getIntegerValue("IMPNROSEQU",".")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:80,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"IMPDESTEXT",gxz:"Z487ImpDesText",gxold:"O487ImpDesText",gxvar:"A487ImpDesText",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A487ImpDesText=a
},v2z:function(a){gx.O.Z487ImpDesText=a},v2c:function(){gx.fn.setControlValue("IMPDESTEXT",gx.O.A487ImpDesText,0)},c2v:function(){gx.O.A487ImpDesText=this.val()},val:function(){return gx.fn.getControlValue("IMPDESTEXT")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:150,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"IMPCAMPO1L",gxz:"Z486ImpCampo1L",gxold:"O486ImpCampo1L",gxvar:"A486ImpCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A486ImpCampo1L=a
},v2z:function(a){gx.O.Z486ImpCampo1L=a},v2c:function(){gx.fn.setControlValue("IMPCAMPO1L",gx.O.A486ImpCampo1L,0)},c2v:function(){gx.O.A486ImpCampo1L=this.val()},val:function(){return gx.fn.getControlValue("IMPCAMPO1L")},nac:function(){return false}};this.A488ImpNroSequ=0;this.Z488ImpNroSequ=0;this.O488ImpNroSequ=0;this.A487ImpDesText="";this.Z487ImpDesText="";this.O487ImpDesText="";this.A486ImpCampo1L="";this.Z486ImpCampo1L="";this.O486ImpCampo1L="";this.ServerEvents=["e125i151_client","e135i151_client"];
this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tpet021.prototype=new gx.GxObject;gx.setParentObj(new tpet021());