gx.evt.autoSkip=false;function tpet024(){this.ServerClass="TPet024";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Npucod=function(){gx.ajax.validSrvEvt("dyncall","valid_Npucod",["gx.O.A553NpuCod","gx.O.A554NpuDesNive","gx.O.A552NpuCampo1L"],["A554NpuDesNive","A552NpuCampo1L","Gx_mode","Z553NpuCod","Z554NpuDesNive","Z552NpuCampo1L",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e115k153_client=function(){this.clearMessages();this.refreshOutputs([])};this.e125k153_client=function(){this.executeServerEvent("ENTER",true)};this.e135k153_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:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Npucod,isvalid:null,fld:"NPUCOD",gxz:"Z553NpuCod",gxold:"O553NpuCod",gxvar:"A553NpuCod",ucs:[],op:[20,31,26],ip:[31,26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A553NpuCod=a
},v2z:function(a){gx.O.Z553NpuCod=a},v2c:function(){gx.fn.setControlValue("NPUCOD",gx.O.A553NpuCod,0)},c2v:function(){gx.O.A553NpuCod=this.val()},val:function(){return gx.fn.getControlValue("NPUCOD")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"NPUDESNIVE",gxz:"Z554NpuDesNive",gxold:"O554NpuDesNive",gxvar:"A554NpuDesNive",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A554NpuDesNive=a
},v2z:function(a){gx.O.Z554NpuDesNive=a},v2c:function(){gx.fn.setControlValue("NPUDESNIVE",gx.O.A554NpuDesNive,0)},c2v:function(){gx.O.A554NpuDesNive=this.val()},val:function(){return gx.fn.getControlValue("NPUDESNIVE")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"NPUCAMPO1L",gxz:"Z552NpuCampo1L",gxold:"O552NpuCampo1L",gxvar:"A552NpuCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A552NpuCampo1L=a
},v2z:function(a){gx.O.Z552NpuCampo1L=a},v2c:function(){gx.fn.setControlValue("NPUCAMPO1L",gx.O.A552NpuCampo1L,0)},c2v:function(){gx.O.A552NpuCampo1L=this.val()},val:function(){return gx.fn.getControlValue("NPUCAMPO1L")},nac:function(){return false}};this.A553NpuCod="";this.Z553NpuCod="";this.O553NpuCod="";this.A554NpuDesNive="";this.Z554NpuDesNive="";this.O554NpuDesNive="";this.A552NpuCampo1L="";this.Z552NpuCampo1L="";this.O552NpuCampo1L="";this.ServerEvents=["e125k153_client","e135k153_client"];
this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tpet024.prototype=new gx.GxObject;gx.setParentObj(new tpet024());