gx.evt.autoSkip=false;function tabt049(){this.ServerClass="Tabt049";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Docnro=function(){gx.ajax.validSrvEvt("dyncall","valid_Docnro",["gx.O.A258DocNro"],[]);return true};this.Valid_Cmdcodsist=function(){gx.ajax.validSrvEvt("dyncall","valid_Cmdcodsist",["gx.O.A258DocNro","gx.O.A130CmdCodSist","gx.O.A131CmdValComp"],["A131CmdValComp","Gx_mode","Z258DocNro","Z130CmdCodSist","Z131CmdValComp",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e111736_client=function(){this.clearMessages();this.refreshOutputs([])};this.e121736_client=function(){this.executeServerEvent("ENTER",true)};this.e131736_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,23,25,29,31,39];this.GXLastCtrlId=39;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Docnro,isvalid:null,rgrid:[],fld:"DOCNRO",gxz:"Z258DocNro",gxold:"O258DocNro",gxvar:"A258DocNro",ucs:[],op:[],ip:[20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A258DocNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z258DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("DOCNRO",gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getIntegerValue("DOCNRO",".")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Cmdcodsist,isvalid:null,fld:"CMDCODSIST",gxz:"Z130CmdCodSist",gxold:"O130CmdCodSist",gxvar:"A130CmdCodSist",ucs:[],op:[31],ip:[31,25,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A130CmdCodSist=a
},v2z:function(a){gx.O.Z130CmdCodSist=a},v2c:function(){gx.fn.setControlValue("CMDCODSIST",gx.O.A130CmdCodSist,0)},c2v:function(){gx.O.A130CmdCodSist=this.val()},val:function(){return gx.fn.getControlValue("CMDCODSIST")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:150,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CMDVALCOMP",gxz:"Z131CmdValComp",gxold:"O131CmdValComp",gxvar:"A131CmdValComp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A131CmdValComp=a
},v2z:function(a){gx.O.Z131CmdValComp=a},v2c:function(){gx.fn.setControlValue("CMDVALCOMP",gx.O.A131CmdValComp,0)},c2v:function(){gx.O.A131CmdValComp=this.val()},val:function(){return gx.fn.getControlValue("CMDVALCOMP")},nac:function(){return false}};this.GXValidFnc[39]={fld:"PROMPT_258",grid:36};this.A258DocNro=0;this.Z258DocNro=0;this.O258DocNro=0;this.A130CmdCodSist="";this.Z130CmdCodSist="";this.O130CmdCodSist="";this.A131CmdValComp="";this.Z131CmdValComp="";this.O131CmdValComp="";this.ServerEvents=["e121736_client","e131736_client"];
this.setPrompt("PROMPT_258",[20]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tabt049.prototype=new gx.GxObject;gx.setParentObj(new tabt049());