/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:24:3.25
*/
gx.evt.autoSkip=!1;gx.define("tgst016",!1,function(){this.ServerClass="tgst016";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.Valid_Stpcod=function(){return this.validSrvEvt("valid_Stpcod",0).then(function(n){return n}.closure(this))};this.e112h4_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e122h4_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:"e132h4_client",std:"FIRST"};n[6]={id:6,fld:"BTN_PREVIOUS",grid:0,evt:"e142h4_client",std:"PREVIOUS"};n[7]={id:7,fld:"BTN_NEXT",grid:0,evt:"e152h4_client",std:"NEXT"};n[8]={id:8,fld:"BTN_LAST",grid:0,evt:"e162h4_client",std:"LAST"};n[9]={id:9,fld:"BTN_SELECT",grid:0,evt:"e172h4_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:1,dec:0,sign:!1,pic:"9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Stpcod,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"STPCOD",gxz:"Z4StpCod",gxold:"O4StpCod",gxvar:"A4StpCod",ucs:[],op:[26],ip:[26,20],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A4StpCod=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.Z4StpCod=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("STPCOD",gx.O.A4StpCod,0)},c2v:function(){this.val()!==undefined&&(gx.O.A4StpCod=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("STPCOD",".")},nac:gx.falseFn};n[21]={id:21,fld:"BTN_GET",grid:0,evt:"e182h4_client",std:"GET"};n[24]={id:24,fld:"TEXTBLOCK2",format:0,grid:0};n[26]={id:26,lvl:0,type:"date",len:8,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"STPDATULTU",gxz:"Z929StpDatUltU",gxold:"O929StpDatUltU",gxvar:"A929StpDatUltU",dp:{f:0,st:!1,wn:!1,mf:!1,pic:"99/99/99",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A929StpDatUltU=gx.fn.toDatetimeValue(n))},v2z:function(n){n!==undefined&&(gx.O.Z929StpDatUltU=gx.fn.toDatetimeValue(n))},v2c:function(){gx.fn.setControlValue("STPDATULTU",gx.O.A929StpDatUltU,0)},c2v:function(){this.val()!==undefined&&(gx.O.A929StpDatUltU=gx.fn.toDatetimeValue(this.val()))},val:function(){return gx.fn.getControlValue("STPDATULTU")},nac:gx.falseFn};n[29]={id:29,fld:"BTN_ENTER",grid:0,evt:"e112h4_client",std:"ENTER"};n[30]={id:30,fld:"BTN_CHECK",grid:0,evt:"e192h4_client",std:"CHECK"};n[31]={id:31,fld:"BTN_CANCEL",grid:0,evt:"e122h4_client"};n[32]={id:32,fld:"BTN_DELETE",grid:0,evt:"e202h4_client",std:"DELETE"};n[33]={id:33,fld:"BTN_HELP",grid:0,evt:"e212h4_client"};this.A4StpCod=0;this.Z4StpCod=0;this.O4StpCod=0;this.A929StpDatUltU=gx.date.nullDate();this.Z929StpDatUltU=gx.date.nullDate();this.O929StpDatUltU=gx.date.nullDate();this.A4StpCod=0;this.A929StpDatUltU=gx.date.nullDate();this.Events={e112h4_client:["ENTER",!0],e122h4_client:["CANCEL",!0]};this.EvtParms.ENTER=[[{postForm:!0}],[]];this.EvtParms.REFRESH=[[],[]];this.EvtParms.VALID_STPCOD=[[{av:"A4StpCod",fld:"STPCOD",pic:"9"},{av:"Gx_mode",fld:"vMODE",pic:"@!"}],[{av:"A929StpDatUltU",fld:"STPDATULTU",pic:""},{av:"Gx_mode",fld:"vMODE",pic:"@!"},{av:"Z4StpCod"},{av:"Z929StpDatUltU"},{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 tgst016)