gx.evt.autoSkip=false;function tpet010(){this.ServerClass="Tpet010";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Leicod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Leicod",["gx.O.A497LeiCod","gx.O.A499LeiNomLeit","gx.O.A498LeiDesSeto","gx.O.A500LeiNroRama","gx.O.A495LeiCampo1L","gx.O.A496LeiCampo2L"],["A499LeiNomLeit","A498LeiDesSeto","A500LeiNroRama","A495LeiCampo1L","A496LeiCampo2L","Gx_mode","Z497LeiCod","Z499LeiNomLeit","Z498LeiDesSeto","Z500LeiNroRama","Z495LeiCampo1L","Z496LeiCampo2L",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e115a144_client=function(){this.executeServerEvent("ENTER",true)};this.e125a144_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26,29,31,34,36,39,41,44,46];this.GXLastCtrlId=46;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:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Leicod,isvalid:null,rgrid:[],fld:"LEICOD",gxz:"Z497LeiCod",gxold:"O497LeiCod",gxvar:"A497LeiCod",ucs:[],op:[46,41,36,31,26],ip:[46,41,36,31,26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A497LeiCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z497LeiCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("LEICOD",gx.O.A497LeiCod,0)},c2v:function(){gx.O.A497LeiCod=this.val()},val:function(){return gx.fn.getIntegerValue("LEICOD",".")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:35,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"LEINOMLEIT",gxz:"Z499LeiNomLeit",gxold:"O499LeiNomLeit",gxvar:"A499LeiNomLeit",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A499LeiNomLeit=a
},v2z:function(a){gx.O.Z499LeiNomLeit=a},v2c:function(){gx.fn.setControlValue("LEINOMLEIT",gx.O.A499LeiNomLeit,0)},c2v:function(){gx.O.A499LeiNomLeit=this.val()},val:function(){return gx.fn.getControlValue("LEINOMLEIT")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"LEIDESSETO",gxz:"Z498LeiDesSeto",gxold:"O498LeiDesSeto",gxvar:"A498LeiDesSeto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A498LeiDesSeto=a
},v2z:function(a){gx.O.Z498LeiDesSeto=a},v2c:function(){gx.fn.setControlValue("LEIDESSETO",gx.O.A498LeiDesSeto,0)},c2v:function(){gx.O.A498LeiDesSeto=this.val()},val:function(){return gx.fn.getControlValue("LEIDESSETO")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"LEINRORAMA",gxz:"Z500LeiNroRama",gxold:"O500LeiNroRama",gxvar:"A500LeiNroRama",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A500LeiNroRama=a
},v2z:function(a){gx.O.Z500LeiNroRama=a},v2c:function(){gx.fn.setControlValue("LEINRORAMA",gx.O.A500LeiNroRama,0)},c2v:function(){gx.O.A500LeiNroRama=this.val()},val:function(){return gx.fn.getControlValue("LEINRORAMA")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"LEICAMPO1L",gxz:"Z495LeiCampo1L",gxold:"O495LeiCampo1L",gxvar:"A495LeiCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A495LeiCampo1L=a
},v2z:function(a){gx.O.Z495LeiCampo1L=a},v2c:function(){gx.fn.setControlValue("LEICAMPO1L",gx.O.A495LeiCampo1L,0)},c2v:function(){gx.O.A495LeiCampo1L=this.val()},val:function(){return gx.fn.getControlValue("LEICAMPO1L")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"LEICAMPO2L",gxz:"Z496LeiCampo2L",gxold:"O496LeiCampo2L",gxvar:"A496LeiCampo2L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A496LeiCampo2L=a
},v2z:function(a){gx.O.Z496LeiCampo2L=a},v2c:function(){gx.fn.setControlValue("LEICAMPO2L",gx.O.A496LeiCampo2L,0)},c2v:function(){gx.O.A496LeiCampo2L=this.val()},val:function(){return gx.fn.getControlValue("LEICAMPO2L")},nac:function(){return false}};this.A497LeiCod=0;this.Z497LeiCod=0;this.O497LeiCod=0;this.A499LeiNomLeit="";this.Z499LeiNomLeit="";this.O499LeiNomLeit="";this.A498LeiDesSeto="";this.Z498LeiDesSeto="";this.O498LeiDesSeto="";this.A500LeiNroRama="";this.Z500LeiNroRama="";this.O500LeiNroRama="";
this.A495LeiCampo1L="";this.Z495LeiCampo1L="";this.O495LeiCampo1L="";this.A496LeiCampo2L="";this.Z496LeiCampo2L="";this.O496LeiCampo2L="";this.ServerEvents=["e115a144_client","e125a144_client"];this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tpet010.prototype=new gx.GxObject;gx.setParentObj(new tpet010());