gx.evt.autoSkip=false;function hmih094(a){this.ServerClass="HMih094";this.PackageName="";this.setObjectType("web");this.setCmpContext(a);this.ReadonlyForm=true;this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV91ParmNroDocumento=gx.fn.getIntegerValue("vPARMNRODOCUMENTO",".");this.AV92ParmNroItem=gx.fn.getIntegerValue("vPARMNROITEM",".");this.AV93ParmNroUnidade=gx.fn.getIntegerValue("vPARMNROUNIDADE",".")};this.Validv_Usbcod=function(){try{var b=gx.util.balloon.getNew("vUSBCOD");this.AnyError=0
}catch(c){}try{if(b==null){return true}return b.show()}catch(c){}return true};this.s112_client=function(){if(this.AV13CodIdiomaLeitor=="ENG"){gx.fn.setCtrlProperty("LEITORCP","Caption","Reader");gx.fn.setCtrlProperty("LABELSENHA","Caption","Password");gx.fn.setCtrlProperty("TBCPF","Caption","CPF");gx.fn.setCtrlProperty("CODIGOCPF","Caption","");gx.fn.setCtrlProperty("TITULO","Caption","Reader Identification");gx.fn.setCtrlProperty("BUTTONENTER","Caption","Confirm");gx.fn.setCtrlProperty("BUTTON4","Caption","Forgot your password?")
}else{gx.fn.setCtrlProperty("LEITORCP","Caption","Leitor");gx.fn.setCtrlProperty("LABELSENHA","Caption","Senha");gx.fn.setCtrlProperty("TBCPF","Caption","CPF");gx.fn.setCtrlProperty("CODIGOCPF","Caption","Obtenha seu código via CPF");gx.fn.setCtrlProperty("TITULO","Caption","Identificação do leitor");gx.fn.setCtrlProperty("BUTTONENTER","Caption","Confirmar");gx.fn.setCtrlProperty("BUTTON4","Caption","Esqueceu a senha?")}};this.e12gg2_client=function(){this.executeServerEvent("ENTER",true)};this.e14gg2_client=function(){this.executeServerEvent("'ESQUECEU A SENHA'",false)
};this.e15gg1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,5,14,20,25,28,30,34,36,40,42];this.GXLastCtrlId=42;this.GXValidFnc[2]={fld:"TABLE2",grid:0};this.GXValidFnc[5]={fld:"TABLE3",grid:0};this.GXValidFnc[14]={fld:"TITULO",format:0,grid:0};this.GXValidFnc[20]={fld:"FAZLOGIN",grid:0};this.GXValidFnc[25]={fld:"CODIGOCPF",format:0,grid:0};this.GXValidFnc[28]={fld:"LEITORCP",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Usbcod,isvalid:null,fld:"vUSBCOD",gxz:"ZV69UsbCod",gxold:"OV69UsbCod",gxvar:"AV69UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(b){gx.O.AV69UsbCod=b
},v2z:function(b){gx.O.ZV69UsbCod=b},v2c:function(){gx.fn.setControlValue("vUSBCOD",gx.O.AV69UsbCod,1)},c2v:function(){gx.O.AV69UsbCod=this.val()},val:function(){return gx.fn.getControlValue("vUSBCOD")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TBCPF",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"int",len:15,dec:0,sign:false,pic:"ZZZZZZZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRNROCPF",gxz:"ZV94ScrNroCPF",gxold:"OV94ScrNroCPF",gxvar:"AV94ScrNroCPF",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(b){gx.O.AV94ScrNroCPF=gx.num.intval(b)
},v2z:function(b){gx.O.ZV94ScrNroCPF=gx.num.intval(b)},v2c:function(){gx.fn.setControlValue("vSCRNROCPF",gx.O.AV94ScrNroCPF,0)},c2v:function(){gx.O.AV94ScrNroCPF=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRNROCPF",".")},nac:function(){return false}};this.GXValidFnc[40]={fld:"LABELSENHA",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"char",len:20,dec:0,sign:false,isPwd:true,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSENHADIGIT",gxz:"ZV55SenhaDigit",gxold:"OV55SenhaDigit",gxvar:"AV55SenhaDigit",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(b){gx.O.AV55SenhaDigit=b
},v2z:function(b){gx.O.ZV55SenhaDigit=b},v2c:function(){gx.fn.setControlValue("vSENHADIGIT",gx.O.AV55SenhaDigit,1)},c2v:function(){gx.O.AV55SenhaDigit=this.val()},val:function(){return gx.fn.getControlValue("vSENHADIGIT")},nac:function(){return false}};this.AV69UsbCod="";this.ZV69UsbCod="";this.OV69UsbCod="";this.AV94ScrNroCPF=0;this.ZV94ScrNroCPF=0;this.OV94ScrNroCPF=0;this.AV55SenhaDigit="";this.ZV55SenhaDigit="";this.OV55SenhaDigit="";this.AV91ParmNroDocumento=0;this.AV92ParmNroItem=0;this.AV93ParmNroUnidade=0;
this.A559ParCod=0;this.A587ParNomCida="";this.A588ParNomRepo="";this.A589ParNroCRB="";this.A567ParDesEndE="";this.A787UsbCod="";this.A786UsbNom="";this.A779SetCod=0;this.A941UsbEndElet="";this.A1014TiuTipAute="";this.A883TiuCod="";this.A86CarNro=0;this.A1091CarValText="";this.A942UsbIndAtiv="";this.A122CfgCod="";this.A127CfgValCont="";this.AV13CodIdiomaLeitor="";this.ServerEvents=["e12gg2_client","e14gg2_client","e15gg1_client"];this.EnterCtrl=["BUTTONENTER"];this.VarControlMap.AV91ParmNroDocumento={id:"vPARMNRODOCUMENTO",grid:0,type:"int"};
this.VarControlMap.AV92ParmNroItem={id:"vPARMNROITEM",grid:0,type:"int"};this.VarControlMap.AV93ParmNroUnidade={id:"vPARMNROUNIDADE",grid:0,type:"int"};this.SetStandaloneVars()}gx.setExecutableComponent("hmih094");