gx.evt.autoSkip=false;function hzautoridade(){this.ServerClass="HZAutoridade";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.setAjaxSecurity("Low");this.hasEnterEvent=true;this.addKeyListener("5","REFRESH");this.addKeyListener("12","CANCEL");this.addKeyListener("1","HELP");this.SetStandaloneVars=function(){this.AV28AtdNroParm=gx.fn.getIntegerValue("vATDNROPARM",".")};this.Validv_Atdnro=function(){try{var a=gx.util.balloon.getNew("vATDNRO");this.AnyError=0}catch(b){}try{if(a==null){return true
}return a.show()}catch(b){}return true};this.e14472_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e12472_client=function(){this.executeServerEvent("'NOVO'",false)};this.e13472_client=function(){this.executeServerEvent("'EMLOTE'",false)};this.e17471_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,16,19,22,24,28,30,32,37,38,39,40];this.GXLastCtrlId=40;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",36,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hzautoridade",[],false,1,true,true,18,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Subfile1Container.addSingleLineEdit("Titulo",37,"vTITULO","Titulo","","Titulo","char",0,"px",100,100,"left",null,[],"Titulo","Titulo",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Valcampos",38,"vVALCAMPOS","Campos","","ValCampos","vchar",0,"px",20480,20480,"left",null,[],"Valcampos","ValCampos",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Atdcodcampo",39,"vATDCODCAMPO","Código","","AtdCodCampo","char",0,"px",3,3,"left",null,[],"Atdcodcampo","AtdCodCampo",true,0,false,false);
this.Subfile1Container.addSingleLineEdit("Atdnro",40,"vATDNRO","Número","","AtdNro","int",0,"px",6,6,"right",null,[],"Atdnro","AtdNro",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[19]={fld:"TABLE1",grid:0};this.GXValidFnc[22]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCODCAMPO",gxz:"ZV16CodCampo",gxold:"OV16CodCampo",gxvar:"AV16CodCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16CodCampo=a
},v2z:function(a){gx.O.ZV16CodCampo=a},v2c:function(){gx.fn.setControlValue("vCODCAMPO",gx.O.AV16CodCampo,0)},c2v:function(){gx.O.AV16CodCampo=this.val()},val:function(){return gx.fn.getControlValue("vCODCAMPO")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"char",len:65,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vEXPRESSAO",gxz:"ZV17Expressao",gxold:"OV17Expressao",gxvar:"AV17Expressao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17Expressao=a
},v2z:function(a){gx.O.ZV17Expressao=a},v2c:function(){gx.fn.setControlValue("vEXPRESSAO",gx.O.AV17Expressao,0)},c2v:function(){gx.O.AV17Expressao=this.val()},val:function(){return gx.fn.getControlValue("vEXPRESSAO")},nac:function(){return false}};this.GXValidFnc[32]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRTIPPESQUISA",gxz:"ZV39ScrTipPesquisa",gxold:"OV39ScrTipPesquisa",gxvar:"AV39ScrTipPesquisa",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV39ScrTipPesquisa=a
},v2z:function(a){gx.O.ZV39ScrTipPesquisa=a},v2c:function(){gx.fn.setRadioValue("vSCRTIPPESQUISA",gx.O.AV39ScrTipPesquisa)},c2v:function(){gx.O.AV39ScrTipPesquisa=this.val()},val:function(){return gx.fn.getControlValue("vSCRTIPPESQUISA")},nac:function(){return false}};this.GXValidFnc[37]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vTITULO",gxz:"ZV19Titulo",gxold:"OV19Titulo",gxvar:"AV19Titulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19Titulo=a
},v2z:function(a){gx.O.ZV19Titulo=a},v2c:function(){gx.fn.setGridControlValue("vTITULO",gx.fn.currentGridRowImpl(36),gx.O.AV19Titulo,0)},c2v:function(){gx.O.AV19Titulo=this.val()},val:function(){return gx.fn.getGridControlValue("vTITULO",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[38]={lvl:2,type:"vchar",len:20480,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vVALCAMPOS",gxz:"ZV21ValCampos",gxold:"OV21ValCampos",gxvar:"AV21ValCampos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21ValCampos=a
},v2z:function(a){gx.O.ZV21ValCampos=a},v2c:function(){gx.fn.setGridControlValue("vVALCAMPOS",gx.fn.currentGridRowImpl(36),gx.O.AV21ValCampos,0)},c2v:function(){gx.O.AV21ValCampos=this.val()},val:function(){return gx.fn.getGridControlValue("vVALCAMPOS",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vATDCODCAMPO",gxz:"ZV33AtdCodCampo",gxold:"OV33AtdCodCampo",gxvar:"AV33AtdCodCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV33AtdCodCampo=a
},v2z:function(a){gx.O.ZV33AtdCodCampo=a},v2c:function(){gx.fn.setGridControlValue("vATDCODCAMPO",gx.fn.currentGridRowImpl(36),gx.O.AV33AtdCodCampo,0)},c2v:function(){gx.O.AV33AtdCodCampo=this.val()},val:function(){return gx.fn.getGridControlValue("vATDCODCAMPO",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:36,gxgrid:this.Subfile1Container,fnc:this.Validv_Atdnro,isvalid:null,rgrid:[],fld:"vATDNRO",gxz:"ZV15AtdNro",gxold:"OV15AtdNro",gxvar:"AV15AtdNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15AtdNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV15AtdNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vATDNRO",gx.fn.currentGridRowImpl(36),gx.O.AV15AtdNro,0)},c2v:function(){gx.O.AV15AtdNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("vATDNRO",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.AV16CodCampo="";this.ZV16CodCampo="";this.OV16CodCampo="";this.AV17Expressao="";this.ZV17Expressao="";this.OV17Expressao="";this.AV39ScrTipPesquisa="";this.ZV39ScrTipPesquisa="";
this.OV39ScrTipPesquisa="";this.ZV19Titulo="";this.OV19Titulo="";this.ZV21ValCampos="";this.OV21ValCampos="";this.ZV33AtdCodCampo="";this.OV33AtdCodCampo="";this.ZV15AtdNro=0;this.OV15AtdNro=0;this.AV28AtdNroParm=0;this.AV19Titulo="";this.AV21ValCampos="";this.AV33AtdCodCampo="";this.AV15AtdNro=0;this.A63AtdNro=0;this.A61AtdDesIden="";this.A60AtdCodCamp="";this.A757SatNroSeqS=0;this.A90CatNroSeqC=0;this.A759SatValSubc="";this.A756SatNroRepS=0;this.A89CatNroRepC=0;this.A202DicNroSequ=0;this.A216DisNroSequ=0;
this.A203DicTipMate="";this.A209DisCodSubc="";this.A217DisTipEnti="";this.A200DicNroEtiq="";this.ServerEvents=["e14472_client","e12472_client","e13472_client","e17471_client"];this.VarControlMap.AV28AtdNroParm={id:"vATDNROPARM",grid:0,type:"int"};this.VarControlMap.A217DisTipEnti={id:"DISTIPENTI",grid:0,type:"char"};this.VarControlMap.A209DisCodSubc={id:"DISCODSUBC",grid:0,type:"char"};this.VarControlMap.A200DicNroEtiq={id:"DICNROETIQ",grid:0,type:"char"};this.VarControlMap.A759SatValSubc={id:"SATVALSUBC",grid:0,type:"vchar"};
this.VarControlMap.A756SatNroRepS={id:"SATNROREPS",grid:0,type:"int"};this.VarControlMap.A757SatNroSeqS={id:"SATNROSEQS",grid:0,type:"int"};this.VarControlMap.A89CatNroRepC={id:"CATNROREPC",grid:0,type:"int"};this.VarControlMap.A90CatNroSeqC={id:"CATNROSEQC",grid:0,type:"int"};this.VarControlMap.A63AtdNro={id:"ATDNRO",grid:0,type:"int"};this.VarControlMap.A60AtdCodCamp={id:"ATDCODCAMP",grid:0,type:"char"};this.VarControlMap.A61AtdDesIden={id:"ATDDESIDEN",grid:0,type:"char"};this.VarControlMap.AV31QtdAutoridadeRecup={id:"vQTDAUTORIDADERECUP",grid:0,type:"int"};
this.Subfile1Container.addRefreshingVar({rfrVar:"A217DisTipEnti"});this.Subfile1Container.addRefreshingVar({rfrVar:"A209DisCodSubc"});this.Subfile1Container.addRefreshingVar({rfrVar:"A200DicNroEtiq"});this.Subfile1Container.addRefreshingVar({rfrVar:"A759SatValSubc"});this.Subfile1Container.addRefreshingVar({rfrVar:"A756SatNroRepS"});this.Subfile1Container.addRefreshingVar({rfrVar:"A757SatNroSeqS"});this.Subfile1Container.addRefreshingVar({rfrVar:"A89CatNroRepC"});this.Subfile1Container.addRefreshingVar({rfrVar:"A90CatNroSeqC"});
this.Subfile1Container.addRefreshingVar({rfrVar:"A63AtdNro"});this.Subfile1Container.addRefreshingVar({rfrVar:"A60AtdCodCamp"});this.Subfile1Container.addRefreshingVar({rfrVar:"A61AtdDesIden"});this.Subfile1Container.addRefreshingVar({rfrVar:"AV31QtdAutoridadeRecup"});this.SetStandaloneVars()}hzautoridade.prototype=new gx.GxObject;gx.setParentObj(new hzautoridade());