text: /**@preserve  GeneXus Java 10_3_12-110051 on December 22, 2020 16:26:59.17
  */
  gx.evt.autoSkip=!1;gx.define("hsuregistrarcontrolecliente",!1,function(){var n,t;this.ServerClass="hsuregistrarcontrolecliente";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!1;this.skipOnEnter=!1;this.autoRefresh=!0;this.SetStandaloneVars=function(){this.AV12ControleClienteCNPJIn=gx.fn.getControlValue("vCONTROLECLIENTECNPJIN");this.Gx_mode=gx.fn.getControlValue("vMODE")};this.e125e2_client=function(){this.executeServerEvent("'CONFIRMAR'",!1,null,!1,!1)};this.e135e2_client=function(){this.executeServerEvent("'CANCELAR'",!1,null,!1,!1)};this.e145e2_client=function(){this.executeServerEvent("'EXCLUIR'",!1,null,!1,!1)};this.e175e2_client=function(){this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e185e2_client=function(){this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];n=this.GXValidFnc;this.GXCtrlIds=[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,23,24,28,29];this.GXLastCtrlId=29;this.CNPJContainer=gx.uc.getNew(this,30,10,"HDMask","CNPJContainer","Cnpj");t=this.CNPJContainer;t.setDynProp("AttachControl","Attachcontrol","","str");t.setDynProp("Picture","Picture","","str");t.setProp("Default","Default","","str");t.setProp("Version","Version","2.01","str");t.setProp("Reverse","Reverse",!1,"bool");t.setProp("Signed","Signed",!1,"bool");t.setProp("UnmaskedChars","Unmaskedchars","[(),.:/ -]","str");t.setProp("UnmaskedValue","Unmaskedvalue",!1,"bool");t.setProp("FixedChars","Fixedchars","[(),.:/ -]","str");t.setProp("GetValue","Getvalue","","char");t.setProp("ControlType","Controltype","Default","str");t.setProp("Visible","Visible",!0,"bool");t.setProp("Enabled","Enabled",!0,"boolean");t.setProp("Class","Class","","char");t.setC2ShowFunction(function(n){n.show()});this.setUserControl(t);n[2]={fld:"",grid:0};n[3]={fld:"MAINTABLE",grid:0};n[4]={fld:"",grid:0};n[5]={fld:"",grid:0};n[6]={fld:"TEXTBLOCK1",format:3,grid:0};n[7]={fld:"",grid:0};n[8]={fld:"",grid:0};n[9]={fld:"",grid:0};n[10]={lvl:0,type:"char",len:18,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCONTROLECLIENTECNPJ",gxz:"ZV5ControleClienteCNPJ",gxold:"OV5ControleClienteCNPJ",gxvar:"AV5ControleClienteCNPJ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV5ControleClienteCNPJ=n},v2z:function(n){gx.O.ZV5ControleClienteCNPJ=n},v2c:function(){gx.fn.setControlValue("vCONTROLECLIENTECNPJ",gx.O.AV5ControleClienteCNPJ,0)},c2v:function(){gx.O.AV5ControleClienteCNPJ=this.val()},val:function(){return gx.fn.getControlValue("vCONTROLECLIENTECNPJ")},nac:gx.falseFn};n[11]={fld:"",grid:0};n[12]={fld:"",grid:0};n[13]={fld:"",grid:0};n[14]={lvl:0,type:"char",len:40,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCONTROLECLIENTENOME",gxz:"ZV6ControleClienteNome",gxold:"OV6ControleClienteNome",gxvar:"AV6ControleClienteNome",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV6ControleClienteNome=n},v2z:function(n){gx.O.ZV6ControleClienteNome=n},v2c:function(){gx.fn.setControlValue("vCONTROLECLIENTENOME",gx.O.AV6ControleClienteNome,0)},c2v:function(){gx.O.AV6ControleClienteNome=this.val()},val:function(){return gx.fn.getControlValue("vCONTROLECLIENTENOME")},nac:gx.falseFn};n[15]={fld:"",grid:0};n[16]={fld:"",grid:0};n[17]={fld:"",grid:0};n[18]={lvl:0,type:"char",len:1,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCONTROLECLIENTESNBLOQUEADA",gxz:"ZV7ControleClienteSnBloqueada",gxold:"OV7ControleClienteSnBloqueada",gxvar:"AV7ControleClienteSnBloqueada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(n){gx.O.AV7ControleClienteSnBloqueada=n},v2z:function(n){gx.O.ZV7ControleClienteSnBloqueada=n},v2c:function(){gx.fn.setCheckBoxValue("vCONTROLECLIENTESNBLOQUEADA",gx.O.AV7ControleClienteSnBloqueada,"S")},c2v:function(){gx.O.AV7ControleClienteSnBloqueada=this.val()},val:function(){return gx.fn.getControlValue("vCONTROLECLIENTESNBLOQUEADA")},nac:gx.falseFn,values:["S","N"]};n[19]={fld:"",grid:0};n[20]={fld:"",grid:0};n[22]={fld:"",grid:0};n[23]={fld:"",grid:0};n[24]={fld:"",grid:0};n[28]={fld:"",grid:0};n[29]={fld:"",grid:0};this.AV5ControleClienteCNPJ="";this.ZV5ControleClienteCNPJ="";this.OV5ControleClienteCNPJ="";this.AV6ControleClienteNome="";this.ZV6ControleClienteNome="";this.OV6ControleClienteNome="";this.AV7ControleClienteSnBloqueada="";this.ZV7ControleClienteSnBloqueada="";this.OV7ControleClienteSnBloqueada="";this.AV5ControleClienteCNPJ="";this.AV6ControleClienteNome="";this.AV7ControleClienteSnBloqueada="";this.AV12ControleClienteCNPJIn="";this.Gx_mode="";this.Events={e125e2_client:["'CONFIRMAR'",!0],e135e2_client:["'CANCELAR'",!0],e145e2_client:["'EXCLUIR'",!0],e175e2_client:["ENTER",!0],e185e2_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[{av:"Gx_mode",fld:"vMODE"},{av:"AV12ControleClienteCNPJIn",fld:"vCONTROLECLIENTECNPJIN"},{av:"AV5ControleClienteCNPJ",fld:"vCONTROLECLIENTECNPJ"},{av:"AV6ControleClienteNome",fld:"vCONTROLECLIENTENOME"},{av:"AV7ControleClienteSnBloqueada",fld:"vCONTROLECLIENTESNBLOQUEADA"}],[{av:"Gx_mode",fld:"vMODE"},{av:"AV7ControleClienteSnBloqueada",fld:"vCONTROLECLIENTESNBLOQUEADA"},{av:"AV6ControleClienteNome",fld:"vCONTROLECLIENTENOME"},{av:"AV5ControleClienteCNPJ",fld:"vCONTROLECLIENTECNPJ"}]];this.EvtParms["'CONFIRMAR'"]=[[{av:"AV9SnErro",fld:"vSNERRO"},{av:"Gx_mode",fld:"vMODE"},{av:"AV12ControleClienteCNPJIn",fld:"vCONTROLECLIENTECNPJIN"},{av:"AV5ControleClienteCNPJ",fld:"vCONTROLECLIENTECNPJ"},{av:"AV6ControleClienteNome",fld:"vCONTROLECLIENTENOME"},{av:"AV7ControleClienteSnBloqueada",fld:"vCONTROLECLIENTESNBLOQUEADA"}],[{av:"AV5ControleClienteCNPJ",fld:"vCONTROLECLIENTECNPJ"},{av:"AV6ControleClienteNome",fld:"vCONTROLECLIENTENOME"},{av:"AV7ControleClienteSnBloqueada",fld:"vCONTROLECLIENTESNBLOQUEADA"},{av:"AV9SnErro",fld:"vSNERRO"},{av:"Gx_mode",fld:"vMODE"}]];this.EvtParms["'CANCELAR'"]=[[{av:"Gx_mode",fld:"vMODE"},{av:"AV12ControleClienteCNPJIn",fld:"vCONTROLECLIENTECNPJIN"}],[]];this.EvtParms["'EXCLUIR'"]=[[],[]];this.setVCMap("AV12ControleClienteCNPJIn","vCONTROLECLIENTECNPJIN",0,"char");this.setVCMap("Gx_mode","vMODE",0,"char");this.InitStandaloneVars()});gx.setParentObj(new hsuregistrarcontrolecliente)