/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:35:45.63
*/
gx.evt.autoSkip=!1;gx.define("himh141",!1,function(){this.ServerClass="himh141";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!1;this.skipOnEnter=!1;this.addKeyListener("6","'INSERIR'");this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.e11bt1_client=function(){return this.clearMessages(),this.call("himh140",["INSERIR",0]),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e12bt1_client=function(){return this.clearMessages(),this.call("himh001",["TBREL"]),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e16bt2_client=function(){return this.executeServerEvent("'IR PARA'",!1,null,!1,!1)};this.e17bt2_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e18bt2_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];var n=this.GXValidFnc;this.GXCtrlIds=[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23];this.GXLastCtrlId=23;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:"TABLE2",grid:0};n[7]={id:7,fld:"",grid:0};n[8]={id:8,fld:"",grid:0};n[9]={id:9,fld:"INSERIR",grid:0,evt:"e11bt1_client"};n[10]={id:10,fld:"",grid:0};n[11]={id:11,fld:"BTN_HELP2",grid:0,evt:"e19bt1_client"};n[12]={id:12,fld:"",grid:0};n[13]={id:13,fld:"BUTTON1",grid:0,evt:"e12bt1_client"};n[14]={id:14,fld:"",grid:0};n[15]={id:15,fld:"",grid:0};n[16]={id:16,lvl:0,type:"int",len:5,dec:0,sign:!1,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vLTRNRONAVEGAR",gxz:"ZV26LtrNroNavegar",gxold:"OV26LtrNroNavegar",gxvar:"AV26LtrNroNavegar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV26LtrNroNavegar=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.ZV26LtrNroNavegar=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("vLTRNRONAVEGAR",gx.O.AV26LtrNroNavegar,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV26LtrNroNavegar=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("vLTRNRONAVEGAR",".")},nac:gx.falseFn};n[17]={id:17,fld:"",grid:0};n[18]={id:18,fld:"BUTTON2",grid:0,evt:"e16bt2_client"};n[19]={id:19,fld:"",grid:0};n[20]={id:20,fld:"TEXTBLOCK3",format:0,grid:0};n[21]={id:21,fld:"",grid:0};n[22]={id:22,fld:"",grid:0};n[23]={id:23,fld:"TEXTBLOCK1",format:0,grid:0};this.AV26LtrNroNavegar=0;this.ZV26LtrNroNavegar=0;this.OV26LtrNroNavegar=0;this.AV26LtrNroNavegar=0;this.Events={e16bt2_client:["'IR PARA'",!0],e17bt2_client:["ENTER",!0],e18bt2_client:["CANCEL",!0],e11bt1_client:["'INSERIR'",!1],e12bt1_client:["'VOLTAR'",!1]};this.EvtParms.REFRESH=[[],[{av:"AV23Vt1NomLocal",fld:"vVT1NOMLOCAL",pic:""},{av:"AV24Vt1NroLocal",fld:"vVT1NROLOCAL",pic:"ZZZZ9"},{av:"AV22QtdLocais",fld:"vQTDLOCAIS",pic:"ZZZZ9"}]];this.EvtParms["'INSERIR'"]=[[],[]];this.EvtParms.LOAD=[[{av:"AV22QtdLocais",fld:"vQTDLOCAIS",pic:"ZZZZ9"},{av:"AV24Vt1NroLocal",fld:"vVT1NROLOCAL",pic:"ZZZZ9"},{av:"AV23Vt1NomLocal",fld:"vVT1NOMLOCAL",pic:""}],[{av:'gx.fn.getCtrlProperty("vIMGEXCLUIR","Link")',ctrl:"vIMGEXCLUIR",prop:"Link"},{av:'gx.fn.getCtrlProperty("vIMGEDITAR","Link")',ctrl:"vIMGEDITAR",prop:"Link"}]];this.EvtParms["'VOLTAR'"]=[[],[]];this.EvtParms.START=[[],[]];this.EvtParms["'IR PARA'"]=[[{av:"AV26LtrNroNavegar",fld:"vLTRNRONAVEGAR",pic:"ZZZZ9"},{av:"Gx_msg",fld:"vMSG",pic:""}],[{av:"Gx_msg",fld:"vMSG",pic:""}]];this.Initialize()});gx.setParentObj(new himh141)