/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:26:58.31
*/
gx.evt.autoSkip=!1;gx.define("tmat003",!1,function(){this.ServerClass="tmat003";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.addKeyListener("2","'LISTA'");this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.Valid_Cvdnro=function(){return this.validSrvEvt("valid_Cvdnro",0).then(function(n){return n}.closure(this))};this.e124j136_client=function(){return this.clearMessages(),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e134j136_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e144j136_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,30,31,32,33];this.GXLastCtrlId=33;n[2]={id:2,fld:"TABLE1",grid:0};n[5]={id:5,fld:"BTN_FIRST",grid:0,evt:"e154j136_client",std:"FIRST"};n[6]={id:6,fld:"BTN_PREVIOUS",grid:0,evt:"e164j136_client",std:"PREVIOUS"};n[7]={id:7,fld:"BTN_NEXT",grid:0,evt:"e174j136_client",std:"NEXT"};n[8]={id:8,fld:"BTN_LAST",grid:0,evt:"e184j136_client",std:"LAST"};n[9]={id:9,fld:"BTN_SELECT",grid:0,evt:"e194j136_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:8,dec:0,sign:!1,pic:"ZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Cvdnro,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"CVDNRO",gxz:"Z251CvdNro",gxold:"O251CvdNro",gxvar:"A251CvdNro",ucs:[],op:[26],ip:[26,20],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A251CvdNro=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.Z251CvdNro=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("CVDNRO",gx.O.A251CvdNro,0)},c2v:function(){this.val()!==undefined&&(gx.O.A251CvdNro=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("CVDNRO",".")},nac:gx.falseFn};n[21]={id:21,fld:"BTN_GET",grid:0,evt:"e204j136_client",std:"GET"};n[24]={id:24,fld:"TEXTBLOCK2",format:0,grid:0};n[26]={id:26,lvl:0,type:"vchar",len:36864,dec:250,sign:!1,ro:0,multiline:!0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"CVDVALCONT",gxz:"Z453CvdValCont",gxold:"O453CvdValCont",gxvar:"A453CvdValCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A453CvdValCont=n)},v2z:function(n){n!==undefined&&(gx.O.Z453CvdValCont=n)},v2c:function(){gx.fn.setControlValue("CVDVALCONT",gx.O.A453CvdValCont,0)},c2v:function(){this.val()!==undefined&&(gx.O.A453CvdValCont=this.val())},val:function(){return gx.fn.getControlValue("CVDVALCONT")},nac:gx.falseFn};n[29]={id:29,fld:"BTN_ENTER",grid:0,evt:"e134j136_client",std:"ENTER"};n[30]={id:30,fld:"BTN_CHECK",grid:0,evt:"e214j136_client",std:"CHECK"};n[31]={id:31,fld:"BTN_CANCEL",grid:0,evt:"e144j136_client"};n[32]={id:32,fld:"BTN_DELETE",grid:0,evt:"e224j136_client",std:"DELETE"};n[33]={id:33,fld:"BTN_HELP",grid:0,evt:"e234j136_client"};this.A251CvdNro=0;this.Z251CvdNro=0;this.O251CvdNro=0;this.A453CvdValCont="";this.Z453CvdValCont="";this.O453CvdValCont="";this.A251CvdNro=0;this.A453CvdValCont="";this.Events={e134j136_client:["ENTER",!0],e144j136_client:["CANCEL",!0],e124j136_client:["'LISTA'",!1]};this.EvtParms.ENTER=[[{postForm:!0}],[]];this.EvtParms.REFRESH=[[],[]];this.EvtParms["'LISTA'"]=[[],[]];this.EvtParms.START=[[],[]];this.EvtParms.VALID_CVDNRO=[[{av:"A251CvdNro",fld:"CVDNRO",pic:"ZZZZZZZ9"},{av:"Gx_mode",fld:"vMODE",pic:"@!"}],[{av:"A453CvdValCont",fld:"CVDVALCONT",pic:""},{av:"Gx_mode",fld:"vMODE",pic:"@!"},{av:"Z251CvdNro"},{av:"Z453CvdValCont"},{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 tmat003)