gx.evt.autoSkip=false;function tgst016(){this.ServerClass="Tgst016";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Stpcod=function(){gx.ajax.validSrvEvt("dyncall","valid_Stpcod",["gx.O.A840StpCod",'gx.date.urlDate(gx.O.A841StpDatUltU,"DMY")'],["A841StpDatUltU","Gx_mode","Z840StpCod","Z841StpDatUltU",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);return true};this.e112q79_client=function(){this.executeServerEvent("ENTER",true)
};this.e122q79_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:1,dec:0,sign:false,pic:"9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Stpcod,isvalid:null,rgrid:[],fld:"STPCOD",gxz:"Z840StpCod",gxold:"O840StpCod",gxvar:"A840StpCod",ucs:[],op:[26],ip:[26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A840StpCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z840StpCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("STPCOD",gx.O.A840StpCod,0)},c2v:function(){gx.O.A840StpCod=this.val()},val:function(){return gx.fn.getIntegerValue("STPCOD",".")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"STPDATULTU",gxz:"Z841StpDatUltU",gxold:"O841StpDatUltU",gxvar:"A841StpDatUltU",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A841StpDatUltU=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z841StpDatUltU=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("STPDATULTU",gx.O.A841StpDatUltU,0)},c2v:function(){gx.O.A841StpDatUltU=this.val()},val:function(){return gx.fn.getControlValue("STPDATULTU")},nac:function(){return false}};this.A840StpCod=0;this.Z840StpCod=0;this.O840StpCod=0;this.A841StpDatUltU=gx.date.nullDate();this.Z841StpDatUltU=gx.date.nullDate();this.O841StpDatUltU=gx.date.nullDate();this.ServerEvents=["e112q79_client","e122q79_client"];this.EnterCtrl=["BTN_ENTER"];
this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tgst016.prototype=new gx.GxObject;gx.setParentObj(new tgst016());