gx.evt.autoSkip=false;function hmih017(){this.ServerClass="HMih017";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV6Origem=gx.fn.getControlValue("vORIGEM");this.AV10TipFuncao=gx.fn.getControlValue("vTIPFUNCAO");this.AV11DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV29UsbCodParm=gx.fn.getControlValue("vUSBCODPARM")};this.Validv_Usbcod=function(){try{var a=gx.util.balloon.getNew("vUSBCOD");this.AnyError=0}catch(b){}try{if(a==null){return true
}return a.show()}catch(b){}return true};this.e11682_client=function(){this.executeServerEvent("ENTER",true)};this.e14681_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[4,11,15,18,22,25,27,31,33,35,38,40,44,46,48];this.GXLastCtrlId=48;this.GXValidFnc[4]={fld:"TABLE4",grid:0};this.GXValidFnc[11]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE1",grid:0};this.GXValidFnc[18]={fld:"MENSAGEM",format:0,grid:0};this.GXValidFnc[22]={fld:"TABLE3",grid:0};
this.GXValidFnc[25]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[27]={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:"ZV5UsbCod",gxold:"OV5UsbCod",gxvar:"AV5UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5UsbCod=a},v2z:function(a){gx.O.ZV5UsbCod=a},v2c:function(){gx.fn.setControlValue("vUSBCOD",gx.O.AV5UsbCod,0)},c2v:function(){gx.O.AV5UsbCod=this.val()},val:function(){return gx.fn.getControlValue("vUSBCOD")
},nac:function(){return false}};this.GXValidFnc[31]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[33]={lvl:0,type:"char",len:15,dec:0,sign:false,isPwd:true,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSENHADIGAT",gxz:"ZV13SenhaDigAt",gxold:"OV13SenhaDigAt",gxvar:"AV13SenhaDigAt",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13SenhaDigAt=a},v2z:function(a){gx.O.ZV13SenhaDigAt=a},v2c:function(){gx.fn.setControlValue("vSENHADIGAT",gx.O.AV13SenhaDigAt,0)},c2v:function(){gx.O.AV13SenhaDigAt=this.val()
},val:function(){return gx.fn.getControlValue("vSENHADIGAT")},nac:function(){return false}};this.GXValidFnc[35]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[38]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"char",len:20,dec:0,sign:false,isPwd:true,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOVASENH1",gxz:"ZV14NovaSenh1",gxold:"OV14NovaSenh1",gxvar:"AV14NovaSenh1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14NovaSenh1=a},v2z:function(a){gx.O.ZV14NovaSenh1=a
},v2c:function(){gx.fn.setControlValue("vNOVASENH1",gx.O.AV14NovaSenh1,0)},c2v:function(){gx.O.AV14NovaSenh1=this.val()},val:function(){return gx.fn.getControlValue("vNOVASENH1")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"char",len:20,dec:0,sign:false,isPwd:true,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOVASENH2",gxz:"ZV15NovaSenh2",gxold:"OV15NovaSenh2",gxvar:"AV15NovaSenh2",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15NovaSenh2=a
},v2z:function(a){gx.O.ZV15NovaSenh2=a},v2c:function(){gx.fn.setControlValue("vNOVASENH2",gx.O.AV15NovaSenh2,0)},c2v:function(){gx.O.AV15NovaSenh2=this.val()},val:function(){return gx.fn.getControlValue("vNOVASENH2")},nac:function(){return false}};this.GXValidFnc[48]={fld:"TEXTBLOCK7",format:0,grid:0};this.AV5UsbCod="";this.ZV5UsbCod="";this.OV5UsbCod="";this.AV13SenhaDigAt="";this.ZV13SenhaDigAt="";this.OV13SenhaDigAt="";this.AV14NovaSenh1="";this.ZV14NovaSenh1="";this.OV14NovaSenh1="";this.AV15NovaSenh2="";
this.ZV15NovaSenh2="";this.OV15NovaSenh2="";this.AV6Origem="";this.AV10TipFuncao="";this.AV11DocNro=0;this.AV29UsbCodParm="";this.A122CfgCod="";this.A127CfgValCont="";this.A787UsbCod="";this.A786UsbNom="";this.A1014TiuTipAute="";this.A779SetCod=0;this.A942UsbIndAtiv="";this.A930UsbDatNasc=gx.date.nullDate();this.A883TiuCod="";this.ServerEvents=["e11682_client","e14681_client"];this.EnterCtrl=["BUTTON2"];this.VarControlMap.AV6Origem={id:"vORIGEM",grid:0,type:"char"};this.VarControlMap.AV10TipFuncao={id:"vTIPFUNCAO",grid:0,type:"char"};
this.VarControlMap.AV11DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV29UsbCodParm={id:"vUSBCODPARM",grid:0,type:"char"};this.SetStandaloneVars()}hmih017.prototype=new gx.GxObject;gx.setParentObj(new hmih017());