/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:33:36.28
*/
gx.evt.autoSkip=!1;gx.define("hmih064",!1,function(){this.ServerClass="hmih064";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.AV26UsbCodCriptografado=gx.fn.getControlValue("vUSBCODCRIPTOGRAFADO");this.AV26UsbCodCriptografado=gx.fn.getControlValue("vUSBCODCRIPTOGRAFADO")};this.Validv_Pchnro=function(){return this.validCliEvt("Validv_Pchnro",0,function(){try{var n=gx.util.balloon.getNew("vPCHNRO");this.AnyError=0}catch(t){}try{return n==null?!0:n.show()}catch(t){}return!0})};this.e14791_client=function(){return this.clearMessages(),this.call("hmih029",[this.AV26UsbCodCriptografado]),this.refreshOutputs([{av:"AV26UsbCodCriptografado",fld:"vUSBCODCRIPTOGRAFADO",pic:""}]),gx.$.Deferred().resolve()};this.e13792_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e15792_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];var n=this.GXValidFnc;this.GXCtrlIds=[3,7,9,12,15,18,22,24];this.GXLastCtrlId=24;n[3]={id:3,fld:"TABLE1",grid:0};n[7]={id:7,fld:"BUTTON1",grid:0,evt:"e13792_client",std:"ENTER"};n[9]={id:9,fld:"VOLTAR",grid:0,evt:"e14791_client"};n[12]={id:12,fld:"TEXTBLOCK1",format:0,grid:0};n[15]={id:15,fld:"TEXTBLOCK3",format:0,grid:0};n[18]={id:18,fld:"TABLE2",grid:0};n[22]={id:22,lvl:0,type:"int",len:6,dec:0,sign:!1,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Pchnro,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vPCHNRO",gxz:"ZV21PchNro",gxold:"OV21PchNro",gxvar:"AV21PchNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV21PchNro=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.ZV21PchNro=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("vPCHNRO",gx.O.AV21PchNro,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV21PchNro=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("vPCHNRO",".")},nac:gx.falseFn};n[24]={id:24,fld:"PROMPT_PCHNRO",grid:0};this.AV21PchNro=0;this.ZV21PchNro=0;this.OV21PchNro=0;this.AV21PchNro=0;this.AV26UsbCodCriptografado="";this.A45PchNro=0;this.A465PchDes="";this.Events={e13792_client:["ENTER",!0],e15792_client:["CANCEL",!0],e14791_client:["'VOLTAR'",!1]};this.EvtParms.REFRESH=[[],[]];this.EvtParms.LOAD=[[],[]];this.EvtParms.START=[[{av:"AV26UsbCodCriptografado",fld:"vUSBCODCRIPTOGRAFADO",pic:""}],[{av:"AV23UsbCod",fld:"vUSBCOD",pic:"@!"}]];this.EvtParms.ENTER=[[{av:"A45PchNro",fld:"PCHNRO",pic:"ZZZZZ9"},{av:"AV21PchNro",fld:"vPCHNRO",pic:"ZZZZZ9"},{av:"A465PchDes",fld:"PCHDES",pic:"@!"},{av:"AV23UsbCod",fld:"vUSBCOD",pic:"@!"},{av:"AV27DSIOrigem",fld:"vDSIORIGEM",pic:""},{av:"Gx_msg",fld:"vMSG",pic:""}],[{av:"Gx_msg",fld:"vMSG",pic:""},{av:"AV21PchNro",fld:"vPCHNRO",pic:"ZZZZZ9"},{av:"AV23UsbCod",fld:"vUSBCOD",pic:"@!"},{av:"AV27DSIOrigem",fld:"vDSIORIGEM",pic:""}]];this.EvtParms["'VOLTAR'"]=[[{av:"AV26UsbCodCriptografado",fld:"vUSBCODCRIPTOGRAFADO",pic:""}],[{av:"AV26UsbCodCriptografado",fld:"vUSBCODCRIPTOGRAFADO",pic:""}]];this.EvtParms.VALIDV_PCHNRO=[[],[]];this.setPrompt("PROMPT_PCHNRO",[22]);this.EnterCtrl=["BUTTON1"];this.setVCMap("AV26UsbCodCriptografado","vUSBCODCRIPTOGRAFADO",0,"char",41,0);this.setVCMap("AV26UsbCodCriptografado","vUSBCODCRIPTOGRAFADO",0,"char",41,0);this.Initialize()});gx.setParentObj(new hmih064)