/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:35:45.37
*/
gx.evt.autoSkip=!1;gx.define("himh140",!1,function(){this.ServerClass="himh140";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.AV16TipFuncao=gx.fn.getControlValue("vTIPFUNCAO");this.AV19LtrNroParm=gx.fn.getIntegerValue("vLTRNROPARM",".")};this.e11bs1_client=function(){return this.clearMessages(),this.call("himh141",[]),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e13bs2_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e15bs2_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,24,25,26,27,28,29,30,31];this.GXLastCtrlId=31;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:"e13bs2_client",std:"ENTER"};n[10]={id:10,fld:"",grid:0};n[11]={id:11,fld:"BTN_HELP2",grid:0,evt:"e16bs1_client"};n[12]={id:12,fld:"",grid:0};n[13]={id:13,fld:"BUTTON1",grid:0,evt:"e11bs1_client"};n[14]={id:14,fld:"",grid:0};n[15]={id:15,fld:"TEXTBLOCK3",format:0,grid:0};n[16]={id:16,fld:"",grid:0};n[17]={id:17,fld:"",grid:0};n[18]={id:18,fld:"TEXTBLOCK4",format:0,grid:0};n[19]={id:19,fld:"",grid:0};n[20]={id:20,fld:"",grid:0};n[21]={id:21,fld:"TABLE1",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:"",grid:0};n[26]={id:26,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:"vLTRNROSCR",gxz:"ZV21LtrNroScr",gxold:"OV21LtrNroScr",gxvar:"AV21LtrNroScr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV21LtrNroScr=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.ZV21LtrNroScr=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("vLTRNROSCR",gx.O.AV21LtrNroScr,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV21LtrNroScr=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("vLTRNROSCR",".")},nac:gx.falseFn};n[27]={id:27,fld:"",grid:0};n[28]={id:28,fld:"",grid:0};n[29]={id:29,fld:"",grid:0};n[30]={id:30,fld:"",grid:0};n[31]={id:31,lvl:0,type:"char",len:40,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vLTRNOM",gxz:"ZV20LtrNom",gxold:"OV20LtrNom",gxvar:"AV20LtrNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV20LtrNom=n)},v2z:function(n){n!==undefined&&(gx.O.ZV20LtrNom=n)},v2c:function(){gx.fn.setControlValue("vLTRNOM",gx.O.AV20LtrNom,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV20LtrNom=this.val())},val:function(){return gx.fn.getControlValue("vLTRNOM")},nac:gx.falseFn};this.AV21LtrNroScr=0;this.ZV21LtrNroScr=0;this.OV21LtrNroScr=0;this.AV20LtrNom="";this.ZV20LtrNom="";this.OV20LtrNom="";this.AV21LtrNroScr=0;this.AV20LtrNom="";this.AV16TipFuncao="";this.AV19LtrNroParm=0;this.Events={e13bs2_client:["ENTER",!0],e15bs2_client:["CANCEL",!0],e11bs1_client:["'VOLTAR'",!1]};this.EvtParms.REFRESH=[[{av:"AV19LtrNroParm",fld:"vLTRNROPARM",pic:"ZZZZ9"}],[]];this.EvtParms.START=[[{av:"AV19LtrNroParm",fld:"vLTRNROPARM",pic:"ZZZZ9"},{av:"AV16TipFuncao",fld:"vTIPFUNCAO",pic:""},{av:"AV20LtrNom",fld:"vLTRNOM",pic:""}],[{av:"AV21LtrNroScr",fld:"vLTRNROSCR",pic:"ZZZZ9"},{av:'gx.fn.getCtrlProperty("vLTRNROSCR","Enabled")',ctrl:"vLTRNROSCR",prop:"Enabled"},{av:'gx.fn.getCtrlProperty("vLTRNOM","Enabled")',ctrl:"vLTRNOM",prop:"Enabled"},{av:"AV18TgeCodTabela",fld:"vTGECODTABELA",pic:"@!"},{av:"AV10TgeCodChave",fld:"vTGECODCHAVE",pic:""},{av:"AV20LtrNom",fld:"vLTRNOM",pic:""}]];this.EvtParms.ENTER=[[{av:"AV16TipFuncao",fld:"vTIPFUNCAO",pic:""},{av:"AV18TgeCodTabela",fld:"vTGECODTABELA",pic:"@!"},{av:"AV10TgeCodChave",fld:"vTGECODCHAVE",pic:""},{av:"AV20LtrNom",fld:"vLTRNOM",pic:""},{av:"AV21LtrNroScr",fld:"vLTRNROSCR",pic:"ZZZZ9"},{av:"Gx_msg",fld:"vMSG",pic:""}],[{av:"AV10TgeCodChave",fld:"vTGECODCHAVE",pic:""},{av:"AV18TgeCodTabela",fld:"vTGECODTABELA",pic:"@!"},{av:"Gx_msg",fld:"vMSG",pic:""},{av:"AV21LtrNroScr",fld:"vLTRNROSCR",pic:"ZZZZ9"},{av:"AV16TipFuncao",fld:"vTIPFUNCAO",pic:""}]];this.EvtParms["'VOLTAR'"]=[[],[]];this.EnterCtrl=["INSERIR"];this.setVCMap("AV16TipFuncao","vTIPFUNCAO",0,"char",7,0);this.setVCMap("AV19LtrNroParm","vLTRNROPARM",0,"int",5,0);this.Initialize()});gx.setParentObj(new himh140)