/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:27:6.17
*/
gx.evt.autoSkip=!1;gx.define("tmat009",!1,function(){this.ServerClass="tmat009";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.addKeyListener("2","'LISTA'");this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.Valid_Atdnro=function(){return this.validSrvEvt("valid_Atdnro",0).then(function(n){return n}.closure(this))};this.Valid_Plrnro=function(){return this.validSrvEvt("valid_Plrnro",0).then(function(n){return n}.closure(this))};this.e114o142_client=function(){return this.clearMessages(),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e124o142_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e134o142_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];var n=this.GXValidFnc;this.GXCtrlIds=[2,5,6,7,8,9,15,18,20,23,25,26,29,30,31,32,33,34];this.GXLastCtrlId=34;n[2]={id:2,fld:"TABLE1",grid:0};n[5]={id:5,fld:"BTN_FIRST",grid:0,evt:"e144o142_client",std:"FIRST"};n[6]={id:6,fld:"BTN_PREVIOUS",grid:0,evt:"e154o142_client",std:"PREVIOUS"};n[7]={id:7,fld:"BTN_NEXT",grid:0,evt:"e164o142_client",std:"NEXT"};n[8]={id:8,fld:"BTN_LAST",grid:0,evt:"e174o142_client",std:"LAST"};n[9]={id:9,fld:"BTN_SELECT",grid:0,evt:"e184o142_client",std:"SELECT"};n[15]={id:15,fld:"TABLE2",grid:0};n[18]={id:18,fld:"TEXTBLOCK1",format:0,grid:0};n[20]={id:20,lvl:0,type:"int",len:6,dec:0,sign:!1,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Atdnro,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"ATDNRO",gxz:"Z255AtdNro",gxold:"O255AtdNro",gxvar:"A255AtdNro",ucs:[],op:[],ip:[20],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A255AtdNro=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.Z255AtdNro=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("ATDNRO",gx.O.A255AtdNro,0)},c2v:function(){this.val()!==undefined&&(gx.O.A255AtdNro=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("ATDNRO",".")},nac:gx.falseFn};n[23]={id:23,fld:"TEXTBLOCK2",format:0,grid:0};n[25]={id:25,lvl:0,type:"int",len:7,dec:0,sign:!1,pic:"ZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Plrnro,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"PLRNRO",gxz:"Z84PlrNro",gxold:"O84PlrNro",gxvar:"A84PlrNro",ucs:[],op:[],ip:[25,20],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A84PlrNro=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.Z84PlrNro=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("PLRNRO",gx.O.A84PlrNro,0)},c2v:function(){this.val()!==undefined&&(gx.O.A84PlrNro=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("PLRNRO",".")},nac:gx.falseFn};n[26]={id:26,fld:"BTN_GET",grid:0,evt:"e194o142_client",std:"GET"};n[29]={id:29,fld:"BTN_ENTER",grid:0,evt:"e124o142_client",std:"ENTER"};n[30]={id:30,fld:"BTN_CHECK",grid:0,evt:"e204o142_client",std:"CHECK"};n[31]={id:31,fld:"BTN_CANCEL",grid:0,evt:"e134o142_client"};n[32]={id:32,fld:"BTN_DELETE",grid:0,evt:"e214o142_client",std:"DELETE"};n[33]={id:33,fld:"BTN_HELP",grid:0,evt:"e224o142_client"};n[34]={id:34,fld:"PROMPT_255",grid:142};this.A255AtdNro=0;this.Z255AtdNro=0;this.O255AtdNro=0;this.A84PlrNro=0;this.Z84PlrNro=0;this.O84PlrNro=0;this.A255AtdNro=0;this.A84PlrNro=0;this.Events={e124o142_client:["ENTER",!0],e134o142_client:["CANCEL",!0],e114o142_client:["'LISTA'",!1]};this.EvtParms.ENTER=[[{postForm:!0}],[]];this.EvtParms.REFRESH=[[],[]];this.EvtParms["'LISTA'"]=[[],[]];this.EvtParms.VALID_ATDNRO=[[{av:"A255AtdNro",fld:"ATDNRO",pic:"ZZZZZ9"}],[]];this.EvtParms.VALID_PLRNRO=[[{av:"A255AtdNro",fld:"ATDNRO",pic:"ZZZZZ9"},{av:"A84PlrNro",fld:"PLRNRO",pic:"ZZZZZZ9"},{av:"Gx_mode",fld:"vMODE",pic:"@!"}],[{av:"Gx_mode",fld:"vMODE",pic:"@!"},{av:"Z255AtdNro"},{av:"Z84PlrNro"},{ctrl:"BTN_GET",prop:"Enabled"},{ctrl:"BTN_DELETE",prop:"Enabled"},{ctrl:"BTN_ENTER",prop:"Enabled"},{ctrl:"BTN_CHECK",prop:"Enabled"}]];this.setPrompt("PROMPT_255",[20]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.Initialize()});gx.setParentObj(new tmat009)