/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:36:7.71
*/
gx.evt.autoSkip=!1;gx.define("himh168",!1,function(){this.ServerClass="himh168";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!1;this.skipOnEnter=!1;this.autoRefresh=!0;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.s112_client=function(){this.AV9Tam=gx.num.trunc(gx.text.length(this.AV7CaminhoAux),0);this.AV10Caracter=gx.text.upper(gx.text.substring(gx.text.trim(this.AV7CaminhoAux),this.AV9Tam,1));this.AV10Caracter!="\\"&&(this.AV6TemErro="S",this.Gx_msg=this.AV8NomCampo+" Unidade incorreta. Faltou (\\) na última posição!")};this.e12dc2_client=function(){return this.executeServerEvent("'ENTER'",!0,null,!1,!1)};this.e14dc1_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e15dc1_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];var n=this.GXValidFnc;this.GXCtrlIds=[2,5,7,9,11,14,18];this.GXLastCtrlId=18;n[2]={id:2,fld:"TABLE1",grid:0};n[5]={id:5,fld:"BUTTON1",grid:0,evt:"e14dc1_client",std:"ENTER"};n[7]={id:7,fld:"BUTTON2",grid:0,evt:"e15dc1_client"};n[9]={id:9,fld:"TEXTBLOCK1",format:0,grid:0};n[11]={id:11,fld:"TABLE2",grid:0};n[14]={id:14,fld:"TEXTBLOCK2",format:0,grid:0};n[18]={id:18,lvl:0,type:"char",len:200,dec:0,sign:!1,ro:0,multiline:!0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vORIGEM",gxz:"ZV5Origem",gxold:"OV5Origem",gxvar:"AV5Origem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV5Origem=n)},v2z:function(n){n!==undefined&&(gx.O.ZV5Origem=n)},v2c:function(){gx.fn.setControlValue("vORIGEM",gx.O.AV5Origem,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV5Origem=this.val())},val:function(){return gx.fn.getControlValue("vORIGEM")},nac:gx.falseFn};this.AV5Origem="";this.AV8NomCampo="";this.Gx_msg="";this.AV6TemErro="";this.AV10Caracter="";this.AV7CaminhoAux="";this.AV9Tam=0;this.Events={e12dc2_client:["'ENTER'",!0],e14dc1_client:["ENTER",!0],e15dc1_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[],[]];this.EvtParms.START=[[],[]];this.EvtParms["'ENTER'"]=[[{av:"AV5Origem",fld:"vORIGEM",pic:""},{av:"Gx_msg",fld:"vMSG",pic:""},{av:"AV7CaminhoAux",fld:"vCAMINHOAUX",pic:""},{av:"AV8NomCampo",fld:"vNOMCAMPO",pic:""}],[{av:"Gx_msg",fld:"vMSG",pic:""},{av:"AV7CaminhoAux",fld:"vCAMINHOAUX",pic:""},{av:"AV8NomCampo",fld:"vNOMCAMPO",pic:""},{av:"AV5Origem",fld:"vORIGEM",pic:""}]];this.EnterCtrl=["BUTTON1"];this.Initialize()});gx.setParentObj(new himh168)