/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:33:35.97
*/
gx.evt.autoSkip=!1;gx.define("hmih063",!1,function(){this.ServerClass="hmih063";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.AV20DSIOrigem=gx.fn.getControlValue("vDSIORIGEM");this.AV27UsbCodCriptografado=gx.fn.getControlValue("vUSBCODCRIPTOGRAFADO");this.AV27UsbCodCriptografado=gx.fn.getControlValue("vUSBCODCRIPTOGRAFADO")};this.Validv_Codautor=function(){return this.validCliEvt("Validv_Codautor",0,function(){try{var n=gx.util.balloon.getNew("vCODAUTOR");this.AnyError=0}catch(t){}try{return n==null?!0:n.show()}catch(t){}return!0})};this.e14781_client=function(){return this.clearMessages(),this.call("hmih029",[this.AV27UsbCodCriptografado]),this.refreshOutputs([{av:"AV27UsbCodCriptografado",fld:"vUSBCODCRIPTOGRAFADO",pic:""}]),gx.$.Deferred().resolve()};this.e13782_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e15782_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];var n=this.GXValidFnc;this.GXCtrlIds=[3,6,8,11,14,17,21,23];this.GXLastCtrlId=23;n[3]={id:3,fld:"TABLE2",grid:0};n[6]={id:6,fld:"VOLTAR",grid:0,evt:"e14781_client"};n[8]={id:8,fld:"BT_CONFIRMA",grid:0,evt:"e13782_client",std:"ENTER"};n[11]={id:11,fld:"TABLE1",grid:0};n[14]={id:14,fld:"MENSAGEM",format:1,grid:0};n[17]={id:17,fld:"TABLE3",grid:0};n[21]={id:21,lvl:0,type:"int",len:6,dec:0,sign:!1,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Codautor,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vCODAUTOR",gxz:"ZV6CodAutor",gxold:"OV6CodAutor",gxvar:"AV6CodAutor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV6CodAutor=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.ZV6CodAutor=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("vCODAUTOR",gx.O.AV6CodAutor,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV6CodAutor=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("vCODAUTOR",".")},nac:gx.falseFn};n[23]={id:23,fld:"PROMPT_CODAUTOR",grid:0};this.AV6CodAutor=0;this.ZV6CodAutor=0;this.OV6CodAutor=0;this.AV6CodAutor=0;this.AV20DSIOrigem="";this.AV27UsbCodCriptografado="";this.A41AutNro=0;this.A386AutNom="";this.Events={e13782_client:["ENTER",!0],e15782_client:["CANCEL",!0],e14781_client:["'VOLTAR'",!1]};this.EvtParms.REFRESH=[[],[]];this.EvtParms.LOAD=[[],[]];this.EvtParms.START=[[{av:"AV27UsbCodCriptografado",fld:"vUSBCODCRIPTOGRAFADO",pic:""}],[{av:"AV24UsbCod",fld:"vUSBCOD",pic:"@!"},{av:'gx.fn.getCtrlProperty("MENSAGEM","Caption")',ctrl:"MENSAGEM",prop:"Caption"}]];this.EvtParms.ENTER=[[{av:"A41AutNro",fld:"AUTNRO",pic:"ZZZZZ9"},{av:"AV6CodAutor",fld:"vCODAUTOR",pic:"ZZZZZ9"},{av:"A386AutNom",fld:"AUTNOM",pic:""},{av:"AV24UsbCod",fld:"vUSBCOD",pic:"@!"},{av:"Gx_msg",fld:"vMSG",pic:""}],[{av:"Gx_msg",fld:"vMSG",pic:""},{av:"AV6CodAutor",fld:"vCODAUTOR",pic:"ZZZZZ9"},{av:"AV24UsbCod",fld:"vUSBCOD",pic:"@!"}]];this.EvtParms["'VOLTAR'"]=[[{av:"AV27UsbCodCriptografado",fld:"vUSBCODCRIPTOGRAFADO",pic:""}],[{av:"AV27UsbCodCriptografado",fld:"vUSBCODCRIPTOGRAFADO",pic:""}]];this.EvtParms.VALIDV_CODAUTOR=[[],[]];this.setPrompt("PROMPT_CODAUTOR",[21]);this.EnterCtrl=["BT_CONFIRMA"];this.setVCMap("AV20DSIOrigem","vDSIORIGEM",0,"char",2,0);this.setVCMap("AV27UsbCodCriptografado","vUSBCODCRIPTOGRAFADO",0,"char",41,0);this.setVCMap("AV27UsbCodCriptografado","vUSBCODCRIPTOGRAFADO",0,"char",41,0);this.Initialize()});gx.setParentObj(new hmih063)