/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:25:6.27
*/
gx.evt.autoSkip=!1;gx.define("timt021",!1,function(){this.ServerClass="timt021";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.Valid_Arecod=function(){return this.validSrvEvt("valid_Arecod",0).then(function(n){return n}.closure(this))};this.e113i110_client=function(){return this.clearMessages(),this.call("himh331",[]),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e133i110_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e143i110_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];var n=this.GXValidFnc;this.GXCtrlIds=[2,3,4,5,6,9,12,14,16,18,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38];this.GXLastCtrlId=38;n[2]={id:2,fld:"",grid:0};n[3]={id:3,fld:"MAINTABLE",grid:0};n[4]={id:4,fld:"",grid:0};n[5]={id:5,fld:"",grid:0};n[6]={id:6,fld:"CABECALHOAPLICACAO",grid:0};n[9]={id:9,fld:"CABECALHOAPLICACAO_TABLE1",grid:0};n[12]={id:12,fld:"CABECALHOAPLICACAO_VOLTAR",grid:0,evt:"e113i110_client"};n[14]={id:14,fld:"CABECALHOAPLICACAO_HELP",grid:0,evt:"e153i110_client"};n[16]={id:16,fld:"CABECALHOAPLICACAO_REFRESH",grid:0,evt:"e163i110_client",std:"GET"};n[18]={id:18,fld:"CABECALHOAPLICACAO_TEXTBLOCK1",format:0,grid:0};n[21]={id:21,fld:"",grid:0};n[22]={id:22,fld:"",grid:0};n[23]={id:23,fld:"",grid:0};n[24]={id:24,fld:"",grid:0};n[25]={id:25,fld:"BUTTON1",grid:0,evt:"e133i110_client",std:"ENTER"};n[26]={id:26,fld:"",grid:0};n[27]={id:27,fld:"",grid:0};n[28]={id:28,fld:"TABLE2",grid:0};n[29]={id:29,fld:"",grid:0};n[30]={id:30,fld:"",grid:0};n[31]={id:31,fld:"",grid:0};n[32]={id:32,fld:"",grid:0};n[33]={id:33,lvl:0,type:"char",len:8,dec:0,sign:!1,pic:"@!",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Arecod,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"ARECOD",gxz:"Z206AreCod",gxold:"O206AreCod",gxvar:"A206AreCod",ucs:[],op:[38],ip:[38,33],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A206AreCod=n)},v2z:function(n){n!==undefined&&(gx.O.Z206AreCod=n)},v2c:function(){gx.fn.setControlValue("ARECOD",gx.O.A206AreCod,0)},c2v:function(){this.val()!==undefined&&(gx.O.A206AreCod=this.val())},val:function(){return gx.fn.getControlValue("ARECOD")},nac:gx.falseFn};n[34]={id:34,fld:"",grid:0};n[35]={id:35,fld:"",grid:0};n[36]={id:36,fld:"",grid:0};n[37]={id:37,fld:"",grid:0};n[38]={id:38,lvl:0,type:"char",len:30,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"AREDES",gxz:"Z345AreDes",gxold:"O345AreDes",gxvar:"A345AreDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A345AreDes=n)},v2z:function(n){n!==undefined&&(gx.O.Z345AreDes=n)},v2c:function(){gx.fn.setControlValue("AREDES",gx.O.A345AreDes,0)},c2v:function(){this.val()!==undefined&&(gx.O.A345AreDes=this.val())},val:function(){return gx.fn.getControlValue("AREDES")},nac:gx.falseFn};this.A206AreCod="";this.Z206AreCod="";this.O206AreCod="";this.A345AreDes="";this.Z345AreDes="";this.O345AreDes="";this.AV7UsuCodCorr="";this.A206AreCod="";this.A345AreDes="";this.Events={e133i110_client:["ENTER",!0],e143i110_client:["CANCEL",!0],e113i110_client:["'VOLTAR'",!1]};this.EvtParms.ENTER=[[{postForm:!0},{av:"A206AreCod",fld:"ARECOD",pic:"@!"}],[]];this.EvtParms.REFRESH=[[{av:"A206AreCod",fld:"ARECOD",pic:"@!"}],[]];this.EvtParms.START=[[],[{av:"AV7UsuCodCorr",fld:"vUSUCODCORR",pic:"@!"}]];this.EvtParms["'VOLTAR'"]=[[],[]];this.EvtParms.VALID_ARECOD=[[{av:"A206AreCod",fld:"ARECOD",pic:"@!"},{av:"Gx_mode",fld:"vMODE",pic:"@!"}],[{av:"A345AreDes",fld:"AREDES",pic:""},{av:"Gx_mode",fld:"vMODE",pic:"@!"},{av:"Z206AreCod"},{av:"Z345AreDes"},{ctrl:"CABECALHOAPLICACAO_REFRESH",prop:"Enabled"},{ctrl:"BUTTON1",prop:"Enabled"}]];this.EnterCtrl=["BUTTON1"];this.Initialize()});gx.setParentObj(new timt021)