/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:22:45.17
*/
gx.evt.autoSkip=!1;gx.define("tabt049",!1,function(){this.ServerClass="tabt049";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.Valid_Docnro=function(){return this.validSrvEvt("valid_Docnro",0).then(function(n){return n}.closure(this))};this.Valid_Cmdcodsist=function(){return this.validSrvEvt("valid_Cmdcodsist",0).then(function(n){return n}.closure(this))};this.e111238_client=function(){return this.clearMessages(),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e121238_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e131238_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,31,34,35,36,37,38,39];this.GXLastCtrlId=39;n[2]={id:2,fld:"TABLE1",grid:0};n[5]={id:5,fld:"BTN_FIRST",grid:0,evt:"e141238_client",std:"FIRST"};n[6]={id:6,fld:"BTN_PREVIOUS",grid:0,evt:"e151238_client",std:"PREVIOUS"};n[7]={id:7,fld:"BTN_NEXT",grid:0,evt:"e161238_client",std:"NEXT"};n[8]={id:8,fld:"BTN_LAST",grid:0,evt:"e171238_client",std:"LAST"};n[9]={id:9,fld:"BTN_SELECT",grid:0,evt:"e181238_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_Docnro,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"DOCNRO",gxz:"Z5DocNro",gxold:"O5DocNro",gxvar:"A5DocNro",ucs:[],op:[],ip:[20],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A5DocNro=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.Z5DocNro=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("DOCNRO",gx.O.A5DocNro,0)},c2v:function(){this.val()!==undefined&&(gx.O.A5DocNro=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("DOCNRO",".")},nac:gx.falseFn};n[23]={id:23,fld:"TEXTBLOCK2",format:0,grid:0};n[25]={id:25,lvl:0,type:"char",len:6,dec:0,sign:!1,pic:"@!",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Cmdcodsist,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"CMDCODSIST",gxz:"Z93CmdCodSist",gxold:"O93CmdCodSist",gxvar:"A93CmdCodSist",ucs:[],op:[31],ip:[31,25,20],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A93CmdCodSist=n)},v2z:function(n){n!==undefined&&(gx.O.Z93CmdCodSist=n)},v2c:function(){gx.fn.setControlValue("CMDCODSIST",gx.O.A93CmdCodSist,0)},c2v:function(){this.val()!==undefined&&(gx.O.A93CmdCodSist=this.val())},val:function(){return gx.fn.getControlValue("CMDCODSIST")},nac:gx.falseFn};n[26]={id:26,fld:"BTN_GET",grid:0,evt:"e191238_client",std:"GET"};n[29]={id:29,fld:"TEXTBLOCK3",format:0,grid:0};n[31]={id:31,lvl:0,type:"char",len:150,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"CMDVALCOMP",gxz:"Z427CmdValComp",gxold:"O427CmdValComp",gxvar:"A427CmdValComp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A427CmdValComp=n)},v2z:function(n){n!==undefined&&(gx.O.Z427CmdValComp=n)},v2c:function(){gx.fn.setControlValue("CMDVALCOMP",gx.O.A427CmdValComp,0)},c2v:function(){this.val()!==undefined&&(gx.O.A427CmdValComp=this.val())},val:function(){return gx.fn.getControlValue("CMDVALCOMP")},nac:gx.falseFn};n[34]={id:34,fld:"BTN_ENTER",grid:0,evt:"e121238_client",std:"ENTER"};n[35]={id:35,fld:"BTN_CHECK",grid:0,evt:"e201238_client",std:"CHECK"};n[36]={id:36,fld:"BTN_CANCEL",grid:0,evt:"e131238_client"};n[37]={id:37,fld:"BTN_DELETE",grid:0,evt:"e211238_client",std:"DELETE"};n[38]={id:38,fld:"BTN_HELP",grid:0,evt:"e221238_client"};n[39]={id:39,fld:"PROMPT_5",grid:38};this.A5DocNro=0;this.Z5DocNro=0;this.O5DocNro=0;this.A93CmdCodSist="";this.Z93CmdCodSist="";this.O93CmdCodSist="";this.A427CmdValComp="";this.Z427CmdValComp="";this.O427CmdValComp="";this.A5DocNro=0;this.A93CmdCodSist="";this.A427CmdValComp="";this.Events={e121238_client:["ENTER",!0],e131238_client:["CANCEL",!0],e111238_client:["'LISTA'",!1]};this.EvtParms.ENTER=[[{postForm:!0}],[]];this.EvtParms.REFRESH=[[],[]];this.EvtParms["'LISTA'"]=[[],[]];this.EvtParms.VALID_DOCNRO=[[{av:"A5DocNro",fld:"DOCNRO",pic:"ZZZZZ9"}],[]];this.EvtParms.VALID_CMDCODSIST=[[{av:"A5DocNro",fld:"DOCNRO",pic:"ZZZZZ9"},{av:"A93CmdCodSist",fld:"CMDCODSIST",pic:"@!"},{av:"Gx_mode",fld:"vMODE",pic:"@!"}],[{av:"A427CmdValComp",fld:"CMDVALCOMP",pic:""},{av:"Gx_mode",fld:"vMODE",pic:"@!"},{av:"Z5DocNro"},{av:"Z93CmdCodSist"},{av:"Z427CmdValComp"},{ctrl:"BTN_GET",prop:"Enabled"},{ctrl:"BTN_DELETE",prop:"Enabled"},{ctrl:"BTN_ENTER",prop:"Enabled"},{ctrl:"BTN_CHECK",prop:"Enabled"}]];this.setPrompt("PROMPT_5",[20]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.Initialize()});gx.setParentObj(new tabt049)