gx.evt.autoSkip=false;function tcpt002(){this.ServerClass="Tcpt002";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Setcod=function(){gx.ajax.validSrvEvt("dyncall","valid_Setcod",["gx.O.A779SetCod","gx.O.A780SetDes"],["A780SetDes","Gx_mode","Z779SetCod","Z780SetDes",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);return true};this.e112b81_client=function(){this.executeServerEvent("ENTER",true)
};this.e122b81_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26];this.GXLastCtrlId=26;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_Setcod,isvalid:null,rgrid:[],fld:"SETCOD",gxz:"Z779SetCod",gxold:"O779SetCod",gxvar:"A779SetCod",ucs:[],op:[26],ip:[26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A779SetCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z779SetCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("SETCOD",gx.O.A779SetCod,0)},c2v:function(){gx.O.A779SetCod=this.val()},val:function(){return gx.fn.getIntegerValue("SETCOD",".")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"SETDES",gxz:"Z780SetDes",gxold:"O780SetDes",gxvar:"A780SetDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A780SetDes=a
},v2z:function(a){gx.O.Z780SetDes=a},v2c:function(){gx.fn.setControlValue("SETDES",gx.O.A780SetDes,0)},c2v:function(){gx.O.A780SetDes=this.val()},val:function(){return gx.fn.getControlValue("SETDES")},nac:function(){return false}};this.A779SetCod=0;this.Z779SetCod=0;this.O779SetCod=0;this.A780SetDes="";this.Z780SetDes="";this.O780SetDes="";this.ServerEvents=["e112b81_client","e122b81_client"];this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};
this.SetStandaloneVars()}tcpt002.prototype=new gx.GxObject;gx.setParentObj(new tcpt002());