/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:28:16.39
*/
gx.evt.autoSkip=!1;gx.define("timt098",!1,function(){this.ServerClass="timt098";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.Valid_Strcod=function(){return this.validSrvEvt("valid_Strcod",0).then(function(n){return n}.closure(this))};this.Valid_Strnom=function(){return this.validCliEvt("Valid_Strnom",0,function(){try{var n=gx.util.balloon.getNew("STRNOM");this.AnyError=0}catch(t){}try{return n==null?!0:n.show()}catch(t){}return!0})};this.e115o164_client=function(){return this.clearMessages(),this.call("himh001",["ARQUI"]),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e135o164_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e145o164_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,39,40,41,42,43,44,45,46,47,48,49,50];this.GXLastCtrlId=50;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:"e115o164_client"};n[14]={id:14,fld:"CABECALHOAPLICACAO_HELP",grid:0,evt:"e155o164_client"};n[16]={id:16,fld:"CABECALHOAPLICACAO_REFRESH",grid:0,evt:"e165o164_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:"BUTTON7",grid:0,evt:"e175o164_client",std:"FIRST"};n[26]={id:26,fld:"",grid:0};n[27]={id:27,fld:"BUTTON6",grid:0,evt:"e185o164_client",std:"PREVIOUS"};n[28]={id:28,fld:"",grid:0};n[29]={id:29,fld:"BUTTON4",grid:0,evt:"e195o164_client",std:"NEXT"};n[30]={id:30,fld:"",grid:0};n[31]={id:31,fld:"BUTTON3",grid:0,evt:"e205o164_client",std:"LAST"};n[32]={id:32,fld:"",grid:0};n[33]={id:33,fld:"BUTTON1",grid:0,evt:"e135o164_client",std:"ENTER"};n[34]={id:34,fld:"",grid:0};n[35]={id:35,fld:"BUTTON11",grid:0,evt:"e215o164_client",std:"SELECT"};n[36]={id:36,fld:"",grid:0};n[37]={id:37,fld:"BUTTON2",grid:0,evt:"e225o164_client",std:"DELETE"};n[38]={id:38,fld:"",grid:0};n[39]={id:39,fld:"",grid:0};n[40]={id:40,fld:"TABLE2",grid:0};n[41]={id:41,fld:"",grid:0};n[42]={id:42,fld:"",grid:0};n[43]={id:43,fld:"",grid:0};n[44]={id:44,fld:"",grid:0};n[45]={id:45,lvl:0,type:"int",len:5,dec:0,sign:!1,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Strcod,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"STRCOD",gxz:"Z299StrCod",gxold:"O299StrCod",gxvar:"A299StrCod",ucs:[],op:[50],ip:[50,45],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A299StrCod=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.Z299StrCod=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("STRCOD",gx.O.A299StrCod,0)},c2v:function(){this.val()!==undefined&&(gx.O.A299StrCod=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("STRCOD",".")},nac:gx.falseFn};n[46]={id:46,fld:"",grid:0};n[47]={id:47,fld:"",grid:0};n[48]={id:48,fld:"",grid:0};n[49]={id:49,fld:"",grid:0};n[50]={id:50,lvl:0,type:"char",len:50,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Strnom,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"STRNOM",gxz:"Z1110StrNom",gxold:"O1110StrNom",gxvar:"A1110StrNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A1110StrNom=n)},v2z:function(n){n!==undefined&&(gx.O.Z1110StrNom=n)},v2c:function(){gx.fn.setControlValue("STRNOM",gx.O.A1110StrNom,0)},c2v:function(){this.val()!==undefined&&(gx.O.A1110StrNom=this.val())},val:function(){return gx.fn.getControlValue("STRNOM")},nac:gx.falseFn};this.A299StrCod=0;this.Z299StrCod=0;this.O299StrCod=0;this.A1110StrNom="";this.Z1110StrNom="";this.O1110StrNom="";this.AV8UsuCodCorr="";this.A299StrCod=0;this.A1110StrNom="";this.Events={e135o164_client:["ENTER",!0],e145o164_client:["CANCEL",!0],e115o164_client:["'VOLTAR'",!1]};this.EvtParms.ENTER=[[{postForm:!0}],[]];this.EvtParms.REFRESH=[[],[]];this.EvtParms.START=[[],[{av:"AV8UsuCodCorr",fld:"vUSUCODCORR",pic:"@!"}]];this.EvtParms["'VOLTAR'"]=[[],[]];this.EvtParms.VALID_STRCOD=[[{av:"A299StrCod",fld:"STRCOD",pic:"ZZZZ9"},{av:"Gx_mode",fld:"vMODE",pic:"@!"}],[{av:"A1110StrNom",fld:"STRNOM",pic:""},{av:"Gx_mode",fld:"vMODE",pic:"@!"},{av:"Z299StrCod"},{av:"Z1110StrNom"},{ctrl:"CABECALHOAPLICACAO_REFRESH",prop:"Enabled"},{ctrl:"BUTTON2",prop:"Enabled"},{ctrl:"BUTTON1",prop:"Enabled"}]];this.EvtParms.VALID_STRNOM=[[],[]];this.EnterCtrl=["BUTTON1"];this.Initialize()});gx.setParentObj(new timt098)