/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:23:46.77
*/
gx.evt.autoSkip=!1;gx.define("taqt006",!1,function(){this.ServerClass="taqt006";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.Valid_Mtccod=function(){return this.validSrvEvt("valid_Mtccod",0).then(function(n){return n}.closure(this))};this.e112073_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e122073_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:"e132073_client",std:"FIRST"};n[6]={id:6,fld:"BTN_PREVIOUS",grid:0,evt:"e142073_client",std:"PREVIOUS"};n[7]={id:7,fld:"BTN_NEXT",grid:0,evt:"e152073_client",std:"NEXT"};n[8]={id:8,fld:"BTN_LAST",grid:0,evt:"e162073_client",std:"LAST"};n[9]={id:9,fld:"BTN_SELECT",grid:0,evt:"e172073_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:3,dec:0,sign:!1,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Mtccod,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"MTCCOD",gxz:"Z154MtcCod",gxold:"O154MtcCod",gxvar:"A154MtcCod",ucs:[],op:[20,26],ip:[26,20],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A154MtcCod=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.Z154MtcCod=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("MTCCOD",gx.O.A154MtcCod,0)},c2v:function(){this.val()!==undefined&&(gx.O.A154MtcCod=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("MTCCOD",".")},nac:gx.falseFn};n[21]={id:21,fld:"BTN_GET",grid:0,evt:"e182073_client",std:"GET"};n[24]={id:24,fld:"TEXTBLOCK2",format:0,grid:0};n[26]={id:26,lvl:0,type:"char",len:50,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"MTCDES",gxz:"Z709Mtcdes",gxold:"O709Mtcdes",gxvar:"A709Mtcdes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A709Mtcdes=n)},v2z:function(n){n!==undefined&&(gx.O.Z709Mtcdes=n)},v2c:function(){gx.fn.setControlValue("MTCDES",gx.O.A709Mtcdes,0)},c2v:function(){this.val()!==undefined&&(gx.O.A709Mtcdes=this.val())},val:function(){return gx.fn.getControlValue("MTCDES")},nac:gx.falseFn};n[29]={id:29,fld:"BTN_ENTER",grid:0,evt:"e112073_client",std:"ENTER"};n[30]={id:30,fld:"BTN_CHECK",grid:0,evt:"e192073_client",std:"CHECK"};n[31]={id:31,fld:"BTN_CANCEL",grid:0,evt:"e122073_client"};n[32]={id:32,fld:"BTN_DELETE",grid:0,evt:"e202073_client",std:"DELETE"};n[33]={id:33,fld:"BTN_HELP",grid:0,evt:"e212073_client"};this.A154MtcCod=0;this.Z154MtcCod=0;this.O154MtcCod=0;this.A709Mtcdes="";this.Z709Mtcdes="";this.O709Mtcdes="";this.A154MtcCod=0;this.A709Mtcdes="";this.Events={e112073_client:["ENTER",!0],e122073_client:["CANCEL",!0]};this.EvtParms.ENTER=[[{postForm:!0}],[]];this.EvtParms.REFRESH=[[],[]];this.EvtParms.VALID_MTCCOD=[[{av:"A154MtcCod",fld:"MTCCOD",pic:"ZZ9"},{av:"Gx_mode",fld:"vMODE",pic:"@!"}],[{av:"A709Mtcdes",fld:"MTCDES",pic:""},{av:"Gx_mode",fld:"vMODE",pic:"@!"},{av:"Z154MtcCod"},{av:"Z709Mtcdes"},{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 taqt006)