gx.evt.autoSkip=false;function tpet025(){this.ServerClass="TPet025";this.PackageName="GeneXus.Programs";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_Indnrolinh=function(){gx.ajax.validSrvEvt("dyncall","Valid_Indnrolinh",["gx.O.A57AssNro","gx.O.A491IndNroLinh","gx.O.A490IndDesIndi","gx.O.A489IndCampo1L"],["A490IndDesIndi","A489IndCampo1L","Gx_mode","Z57AssNro","Z491IndNroLinh","Z490IndDesIndi","Z489IndCampo1L",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e115l154_client=function(){this.clearMessages();this.refreshOutputs([])};this.e125l154_client=function(){this.executeServerEvent("ENTER",true)};this.e135l154_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:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Indnrolinh,isvalid:null,rgrid:[],fld:"INDNROLINH",gxz:"Z491IndNroLinh",gxold:"O491IndNroLinh",gxvar:"A491IndNroLinh",ucs:[],op:[36,31],ip:[36,31,25,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A491IndNroLinh=gx.num.intval(a)
},v2z:function(a){gx.O.Z491IndNroLinh=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("INDNROLINH",gx.O.A491IndNroLinh,0)},c2v:function(){gx.O.A491IndNroLinh=this.val()},val:function(){return gx.fn.getIntegerValue("INDNROLINH",".")},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:"INDDESINDI",gxz:"Z490IndDesIndi",gxold:"O490IndDesIndi",gxvar:"A490IndDesIndi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A490IndDesIndi=a
},v2z:function(a){gx.O.Z490IndDesIndi=a},v2c:function(){gx.fn.setControlValue("INDDESINDI",gx.O.A490IndDesIndi,0)},c2v:function(){gx.O.A490IndDesIndi=this.val()},val:function(){return gx.fn.getControlValue("INDDESINDI")},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:"INDCAMPO1L",gxz:"Z489IndCampo1L",gxold:"O489IndCampo1L",gxvar:"A489IndCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A489IndCampo1L=a
},v2z:function(a){gx.O.Z489IndCampo1L=a},v2c:function(){gx.fn.setControlValue("INDCAMPO1L",gx.O.A489IndCampo1L,0)},c2v:function(){gx.O.A489IndCampo1L=this.val()},val:function(){return gx.fn.getControlValue("INDCAMPO1L")},nac:function(){return false}};this.GXValidFnc[44]={fld:"PROMPT_57",grid:154};this.A57AssNro=0;this.Z57AssNro=0;this.O57AssNro=0;this.A491IndNroLinh=0;this.Z491IndNroLinh=0;this.O491IndNroLinh=0;this.A490IndDesIndi="";this.Z490IndDesIndi="";this.O490IndDesIndi="";this.A489IndCampo1L="";
this.Z489IndCampo1L="";this.O489IndCampo1L="";this.ServerEvents=["e125l154_client","e135l154_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()}tpet025.prototype=new gx.GxObject;gx.setParentObj(new tpet025());