/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:22:17.53
*/
gx.evt.autoSkip=!1;gx.define("tabt026",!1,function(){this.ServerClass="tabt026";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.Valid_Pchnro=function(){return this.validSrvEvt("valid_Pchnro",0).then(function(n){return n}.closure(this))};this.e110m15_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e120m15_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,21,24,26,29,31,34,35,36,37,38];this.GXLastCtrlId=38;n[2]={id:2,fld:"TABLE1",grid:0};n[5]={id:5,fld:"BTN_FIRST",grid:0,evt:"e130m15_client",std:"FIRST"};n[6]={id:6,fld:"BTN_PREVIOUS",grid:0,evt:"e140m15_client",std:"PREVIOUS"};n[7]={id:7,fld:"BTN_NEXT",grid:0,evt:"e150m15_client",std:"NEXT"};n[8]={id:8,fld:"BTN_LAST",grid:0,evt:"e160m15_client",std:"LAST"};n[9]={id:9,fld:"BTN_SELECT",grid:0,evt:"e170m15_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_Pchnro,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"PCHNRO",gxz:"Z45PchNro",gxold:"O45PchNro",gxvar:"A45PchNro",ucs:[],op:[31,26],ip:[31,26,20],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A45PchNro=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.Z45PchNro=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("PCHNRO",gx.O.A45PchNro,0)},c2v:function(){this.val()!==undefined&&(gx.O.A45PchNro=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("PCHNRO",".")},nac:gx.falseFn};n[21]={id:21,fld:"BTN_GET",grid:0,evt:"e180m15_client",std:"GET"};n[24]={id:24,fld:"TEXTBLOCK2",format:0,grid:0};n[26]={id:26,lvl:0,type:"char",len:60,dec:0,sign:!1,pic:"@!",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"PCHDES",gxz:"Z465PchDes",gxold:"O465PchDes",gxvar:"A465PchDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A465PchDes=n)},v2z:function(n){n!==undefined&&(gx.O.Z465PchDes=n)},v2c:function(){gx.fn.setControlValue("PCHDES",gx.O.A465PchDes,0)},c2v:function(){this.val()!==undefined&&(gx.O.A465PchDes=this.val())},val:function(){return gx.fn.getControlValue("PCHDES")},nac:gx.falseFn};n[29]={id:29,fld:"TEXTBLOCK3",format:0,grid:0};n[31]={id:31,lvl:0,type:"char",len:60,dec:0,sign:!1,pic:"@!",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"PCHDESSEMA",gxz:"Z48PchDesSemA",gxold:"O48PchDesSemA",gxvar:"A48PchDesSemA",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A48PchDesSemA=n)},v2z:function(n){n!==undefined&&(gx.O.Z48PchDesSemA=n)},v2c:function(){gx.fn.setControlValue("PCHDESSEMA",gx.O.A48PchDesSemA,0)},c2v:function(){this.val()!==undefined&&(gx.O.A48PchDesSemA=this.val())},val:function(){return gx.fn.getControlValue("PCHDESSEMA")},nac:gx.falseFn};n[34]={id:34,fld:"BTN_ENTER",grid:0,evt:"e110m15_client",std:"ENTER"};n[35]={id:35,fld:"BTN_CHECK",grid:0,evt:"e190m15_client",std:"CHECK"};n[36]={id:36,fld:"BTN_CANCEL",grid:0,evt:"e120m15_client"};n[37]={id:37,fld:"BTN_DELETE",grid:0,evt:"e200m15_client",std:"DELETE"};n[38]={id:38,fld:"BTN_HELP",grid:0,evt:"e210m15_client"};this.A45PchNro=0;this.Z45PchNro=0;this.O45PchNro=0;this.A465PchDes="";this.Z465PchDes="";this.O465PchDes="";this.A48PchDesSemA="";this.Z48PchDesSemA="";this.O48PchDesSemA="";this.A45PchNro=0;this.A465PchDes="";this.A48PchDesSemA="";this.Events={e110m15_client:["ENTER",!0],e120m15_client:["CANCEL",!0]};this.EvtParms.ENTER=[[{postForm:!0}],[]];this.EvtParms.REFRESH=[[],[]];this.EvtParms.VALID_PCHNRO=[[{av:"A45PchNro",fld:"PCHNRO",pic:"ZZZZZ9"},{av:"Gx_mode",fld:"vMODE",pic:"@!"}],[{av:"A465PchDes",fld:"PCHDES",pic:"@!"},{av:"A48PchDesSemA",fld:"PCHDESSEMA",pic:"@!"},{av:"Gx_mode",fld:"vMODE",pic:"@!"},{av:"Z45PchNro"},{av:"Z465PchDes"},{av:"Z48PchDesSemA"},{ctrl:"BTN_GET",prop:"Enabled"},{ctrl:"BTN_DELETE",prop:"Enabled"},{ctrl:"BTN_ENTER",prop:"Enabled"},{ctrl:"BTN_CHECK",prop:"Enabled"}]];this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.Initialize()});gx.setParentObj(new tabt026)