/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:23:56.96
*/
gx.evt.autoSkip=!1;gx.define("tgst008",!1,function(){this.ServerClass="tgst008";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.Valid_Modcod=function(){return this.validSrvEvt("valid_Modcod",0).then(function(n){return n}.closure(this))};this.Valid_Rotcod=function(){return this.validSrvEvt("valid_Rotcod",0).then(function(n){return n}.closure(this))};this.e112a82_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e122a82_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:"e132a82_client",std:"FIRST"};n[6]={id:6,fld:"BTN_PREVIOUS",grid:0,evt:"e142a82_client",std:"PREVIOUS"};n[7]={id:7,fld:"BTN_NEXT",grid:0,evt:"e152a82_client",std:"NEXT"};n[8]={id:8,fld:"BTN_LAST",grid:0,evt:"e162a82_client",std:"LAST"};n[9]={id:9,fld:"BTN_SELECT",grid:0,evt:"e172a82_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:"char",len:2,dec:0,sign:!1,pic:"@!",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Modcod,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"MODCOD",gxz:"Z166ModCod",gxold:"O166ModCod",gxvar:"A166ModCod",ucs:[],op:[],ip:[20],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A166ModCod=n)},v2z:function(n){n!==undefined&&(gx.O.Z166ModCod=n)},v2c:function(){gx.fn.setControlValue("MODCOD",gx.O.A166ModCod,0)},c2v:function(){this.val()!==undefined&&(gx.O.A166ModCod=this.val())},val:function(){return gx.fn.getControlValue("MODCOD")},nac:gx.falseFn};n[23]={id:23,fld:"TEXTBLOCK2",format:0,grid:0};n[25]={id:25,lvl:0,type:"int",len:2,dec:0,sign:!1,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Rotcod,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"ROTCOD",gxz:"Z167RotCod",gxold:"O167RotCod",gxvar:"A167RotCod",ucs:[],op:[31],ip:[31,25,20],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A167RotCod=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.Z167RotCod=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("ROTCOD",gx.O.A167RotCod,0)},c2v:function(){this.val()!==undefined&&(gx.O.A167RotCod=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("ROTCOD",".")},nac:gx.falseFn};n[26]={id:26,fld:"BTN_GET",grid:0,evt:"e182a82_client",std:"GET"};n[29]={id:29,fld:"TEXTBLOCK3",format:0,grid:0};n[31]={id:31,lvl:0,type:"char",len:32,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"ROTDES",gxz:"Z870RotDes",gxold:"O870RotDes",gxvar:"A870RotDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A870RotDes=n)},v2z:function(n){n!==undefined&&(gx.O.Z870RotDes=n)},v2c:function(){gx.fn.setControlValue("ROTDES",gx.O.A870RotDes,0)},c2v:function(){this.val()!==undefined&&(gx.O.A870RotDes=this.val())},val:function(){return gx.fn.getControlValue("ROTDES")},nac:gx.falseFn};n[34]={id:34,fld:"BTN_ENTER",grid:0,evt:"e112a82_client",std:"ENTER"};n[35]={id:35,fld:"BTN_CHECK",grid:0,evt:"e192a82_client",std:"CHECK"};n[36]={id:36,fld:"BTN_CANCEL",grid:0,evt:"e122a82_client"};n[37]={id:37,fld:"BTN_DELETE",grid:0,evt:"e202a82_client",std:"DELETE"};n[38]={id:38,fld:"BTN_HELP",grid:0,evt:"e212a82_client"};n[39]={id:39,fld:"PROMPT_166",grid:82};this.A166ModCod="";this.Z166ModCod="";this.O166ModCod="";this.A167RotCod=0;this.Z167RotCod=0;this.O167RotCod=0;this.A870RotDes="";this.Z870RotDes="";this.O870RotDes="";this.A166ModCod="";this.A167RotCod=0;this.A870RotDes="";this.Events={e112a82_client:["ENTER",!0],e122a82_client:["CANCEL",!0]};this.EvtParms.ENTER=[[{postForm:!0}],[]];this.EvtParms.REFRESH=[[],[]];this.EvtParms.VALID_MODCOD=[[{av:"A166ModCod",fld:"MODCOD",pic:"@!"}],[]];this.EvtParms.VALID_ROTCOD=[[{av:"A166ModCod",fld:"MODCOD",pic:"@!"},{av:"A167RotCod",fld:"ROTCOD",pic:"Z9"},{av:"Gx_mode",fld:"vMODE",pic:"@!"}],[{av:"A870RotDes",fld:"ROTDES",pic:""},{av:"Gx_mode",fld:"vMODE",pic:"@!"},{av:"Z166ModCod"},{av:"Z167RotCod"},{av:"Z870RotDes"},{ctrl:"BTN_GET",prop:"Enabled"},{ctrl:"BTN_DELETE",prop:"Enabled"},{ctrl:"BTN_ENTER",prop:"Enabled"},{ctrl:"BTN_CHECK",prop:"Enabled"}]];this.setPrompt("PROMPT_166",[20]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.Initialize()});gx.setParentObj(new tgst008)