gx.evt.autoSkip=false;function tpet023(){this.ServerClass="TPet023";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Assnro=function(){gx.ajax.validSrvEvt("dyncall","valid_Assnro",["gx.O.A57AssNro"],[]);return true};this.Valid_Falnrolinh=function(){gx.ajax.validSrvEvt("dyncall","valid_Falnrolinh",["gx.O.A57AssNro","gx.O.A410FalNroLinh","gx.O.A409FalDesFalt","gx.O.A408FalCampo1L"],["A409FalDesFalt","A408FalCampo1L","Gx_mode","Z57AssNro","Z410FalNroLinh","Z409FalDesFalt","Z408FalCampo1L",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e115j152_client=function(){this.clearMessages();this.refreshOutputs([])};this.e125j152_client=function(){this.executeServerEvent("ENTER",true)};this.e135j152_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,23,25,29,31,34,36,44];this.GXLastCtrlId=44;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:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Assnro,isvalid:null,rgrid:[],fld:"ASSNRO",gxz:"Z57AssNro",gxold:"O57AssNro",gxvar:"A57AssNro",ucs:[],op:[],ip:[20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A57AssNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z57AssNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("ASSNRO",gx.O.A57AssNro,0)},c2v:function(){gx.O.A57AssNro=this.val()},val:function(){return gx.fn.getIntegerValue("ASSNRO",".")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Falnrolinh,isvalid:null,rgrid:[],fld:"FALNROLINH",gxz:"Z410FalNroLinh",gxold:"O410FalNroLinh",gxvar:"A410FalNroLinh",ucs:[],op:[36,31],ip:[36,31,25,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A410FalNroLinh=gx.num.intval(a)
},v2z:function(a){gx.O.Z410FalNroLinh=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("FALNROLINH",gx.O.A410FalNroLinh,0)},c2v:function(){gx.O.A410FalNroLinh=this.val()},val:function(){return gx.fn.getIntegerValue("FALNROLINH",".")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:78,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"FALDESFALT",gxz:"Z409FalDesFalt",gxold:"O409FalDesFalt",gxvar:"A409FalDesFalt",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A409FalDesFalt=a
},v2z:function(a){gx.O.Z409FalDesFalt=a},v2c:function(){gx.fn.setControlValue("FALDESFALT",gx.O.A409FalDesFalt,0)},c2v:function(){gx.O.A409FalDesFalt=this.val()},val:function(){return gx.fn.getControlValue("FALDESFALT")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"FALCAMPO1L",gxz:"Z408FalCampo1L",gxold:"O408FalCampo1L",gxvar:"A408FalCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A408FalCampo1L=a
},v2z:function(a){gx.O.Z408FalCampo1L=a},v2c:function(){gx.fn.setControlValue("FALCAMPO1L",gx.O.A408FalCampo1L,0)},c2v:function(){gx.O.A408FalCampo1L=this.val()},val:function(){return gx.fn.getControlValue("FALCAMPO1L")},nac:function(){return false}};this.GXValidFnc[44]={fld:"PROMPT_57",grid:152};this.A57AssNro=0;this.Z57AssNro=0;this.O57AssNro=0;this.A410FalNroLinh=0;this.Z410FalNroLinh=0;this.O410FalNroLinh=0;this.A409FalDesFalt="";this.Z409FalDesFalt="";this.O409FalDesFalt="";this.A408FalCampo1L="";
this.Z408FalCampo1L="";this.O408FalCampo1L="";this.ServerEvents=["e125j152_client","e135j152_client"];this.setPrompt("PROMPT_57",[20]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tpet023.prototype=new gx.GxObject;gx.setParentObj(new tpet023());