gx.evt.autoSkip=false;function gx02v0(){this.ServerClass="Gx02V0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pPexCod=gx.fn.getIntegerValue("vPPEXCOD",".")};this.e13a72_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14a71_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,39,42,44,47,48,52,53,54,55,56,57,58,59,60,61,64];
this.GXLastCtrlId=64;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",51,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx02v0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",52,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(665,53,"PEXCOD","Código","","PexCod","int",0,"px",1,1,"right",null,[],665,"PexCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(667,54,"PEXCODINI","Código (de)","Selecionar","PexCodIni","char",0,"px",14,14,"left",null,[],667,"PexCodIni",true,0,false,false);
this.Grid1Container.addSingleLineEdit(666,55,"PEXCODFIM","Código (até)","","PexCodFim","char",0,"px",14,14,"left",null,[],666,"PexCodFim",true,0,false,false);this.Grid1Container.addSingleLineEdit(670,56,"PEXDATINIC","Cadastramento (de)","","PexDatIniC","date",0,"px",10,10,"right",null,[],670,"PexDatIniC",true,0,false,false);this.Grid1Container.addSingleLineEdit(668,57,"PEXDATFIMC","Cadastramento (até)","","PexDatFimC","date",0,"px",10,10,"right",null,[],668,"PexDatFimC",true,0,false,false);this.Grid1Container.addSingleLineEdit(671,58,"PEXDATININ","Nascimento (de)","","PexDatIniN","date",0,"px",10,10,"right",null,[],671,"PexDatIniN",true,0,false,false);
this.Grid1Container.addSingleLineEdit(669,59,"PEXDATFIMN","Nascimento (até)","","PexDatFimN","date",0,"px",10,10,"right",null,[],669,"PexDatFimN",true,0,false,false);this.Grid1Container.addSingleLineEdit(675,60,"PEXNROREGI","Registro (de)","","PexNroRegI","int",0,"px",10,10,"right",null,[],675,"PexNroRegI",true,0,false,false);this.Grid1Container.addSingleLineEdit(660,61,"PEXCAMPO1","PexCampo1","","PexCampo1","date",0,"px",8,8,"right",null,[],660,"PexCampo1",true,0,false,false);this.setGrid(this.Grid1Container);
this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKPEXCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:1,dec:0,sign:false,pic:"9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCPEXCOD",gxz:"ZV6cPexCod",gxold:"OV6cPexCod",gxvar:"AV6cPexCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cPexCod=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cPexCod=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("vCPEXCOD",gx.O.AV6cPexCod,0)},c2v:function(){gx.O.AV6cPexCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCPEXCOD",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKPEXCODINI",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPEXCODINI",gxz:"ZV7cPexCodIni",gxold:"OV7cPexCodIni",gxvar:"AV7cPexCodIni",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cPexCodIni=a
},v2z:function(a){gx.O.ZV7cPexCodIni=a},v2c:function(){gx.fn.setControlValue("vCPEXCODINI",gx.O.AV7cPexCodIni,0)},c2v:function(){gx.O.AV7cPexCodIni=this.val()},val:function(){return gx.fn.getControlValue("vCPEXCODINI")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKPEXCODFIM",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPEXCODFIM",gxz:"ZV8cPexCodFim",gxold:"OV8cPexCodFim",gxvar:"AV8cPexCodFim",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cPexCodFim=a
},v2z:function(a){gx.O.ZV8cPexCodFim=a},v2c:function(){gx.fn.setControlValue("vCPEXCODFIM",gx.O.AV8cPexCodFim,0)},c2v:function(){gx.O.AV8cPexCodFim=this.val()},val:function(){return gx.fn.getControlValue("vCPEXCODFIM")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKPEXDATINICADASTRAMENTO",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPEXDATINICADASTRAMENTO",gxz:"ZV9cPexDatIniCadastramento",gxold:"OV9cPexDatIniCadastramento",gxvar:"AV9cPexDatIniCadastramento",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cPexDatIniCadastramento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV9cPexDatIniCadastramento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCPEXDATINICADASTRAMENTO",gx.O.AV9cPexDatIniCadastramento,0)},c2v:function(){gx.O.AV9cPexDatIniCadastramento=this.val()},val:function(){return gx.fn.getControlValue("vCPEXDATINICADASTRAMENTO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKPEXDATFIMCADASTRAMENTO",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPEXDATFIMCADASTRAMENTO",gxz:"ZV10cPexDatFimCadastramento",gxold:"OV10cPexDatFimCadastramento",gxvar:"AV10cPexDatFimCadastramento",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cPexDatFimCadastramento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV10cPexDatFimCadastramento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCPEXDATFIMCADASTRAMENTO",gx.O.AV10cPexDatFimCadastramento,0)},c2v:function(){gx.O.AV10cPexDatFimCadastramento=this.val()},val:function(){return gx.fn.getControlValue("vCPEXDATFIMCADASTRAMENTO")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKPEXDATININASCIMENTO",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPEXDATININASCIMENTO",gxz:"ZV11cPexDatIniNascimento",gxold:"OV11cPexDatIniNascimento",gxvar:"AV11cPexDatIniNascimento",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cPexDatIniNascimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV11cPexDatIniNascimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCPEXDATININASCIMENTO",gx.O.AV11cPexDatIniNascimento,0)},c2v:function(){gx.O.AV11cPexDatIniNascimento=this.val()},val:function(){return gx.fn.getControlValue("vCPEXDATININASCIMENTO")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCKPEXDATFIMNASCIMENTO",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPEXDATFIMNASCIMENTO",gxz:"ZV12cPexDatFimNascimento",gxold:"OV12cPexDatFimNascimento",gxvar:"AV12cPexDatFimNascimento",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12cPexDatFimNascimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV12cPexDatFimNascimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCPEXDATFIMNASCIMENTO",gx.O.AV12cPexDatFimNascimento,0)},c2v:function(){gx.O.AV12cPexDatFimNascimento=this.val()},val:function(){return gx.fn.getControlValue("vCPEXDATFIMNASCIMENTO")},nac:function(){return false}};this.GXValidFnc[47]={fld:"GROUP2",grid:0};this.GXValidFnc[48]={fld:"TABLE3",grid:0};this.GXValidFnc[52]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"int",len:1,dec:0,sign:false,pic:"9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"PEXCOD",gxz:"Z665PexCod",gxold:"O665PexCod",gxvar:"A665PexCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A665PexCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z665PexCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PEXCOD",gx.fn.currentGridRowImpl(51),gx.O.A665PexCod,0)},c2v:function(){gx.O.A665PexCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("PEXCOD",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PEXCODINI",gxz:"Z667PexCodIni",gxold:"O667PexCodIni",gxvar:"A667PexCodIni",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A667PexCodIni=a
},v2z:function(a){gx.O.Z667PexCodIni=a},v2c:function(){gx.fn.setGridControlValue("PEXCODINI",gx.fn.currentGridRowImpl(51),gx.O.A667PexCodIni,0)},c2v:function(){gx.O.A667PexCodIni=this.val()},val:function(){return gx.fn.getGridControlValue("PEXCODINI",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PEXCODFIM",gxz:"Z666PexCodFim",gxold:"O666PexCodFim",gxvar:"A666PexCodFim",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A666PexCodFim=a
},v2z:function(a){gx.O.Z666PexCodFim=a},v2c:function(){gx.fn.setGridControlValue("PEXCODFIM",gx.fn.currentGridRowImpl(51),gx.O.A666PexCodFim,0)},c2v:function(){gx.O.A666PexCodFim=this.val()},val:function(){return gx.fn.getGridControlValue("PEXCODFIM",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PEXDATINIC",gxz:"Z670PexDatIniC",gxold:"O670PexDatIniC",gxvar:"A670PexDatIniC",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A670PexDatIniC=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z670PexDatIniC=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("PEXDATINIC",gx.fn.currentGridRowImpl(51),gx.O.A670PexDatIniC,0)},c2v:function(){gx.O.A670PexDatIniC=this.val()},val:function(){return gx.fn.getGridControlValue("PEXDATINIC",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[57]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PEXDATFIMC",gxz:"Z668PexDatFimC",gxold:"O668PexDatFimC",gxvar:"A668PexDatFimC",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A668PexDatFimC=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z668PexDatFimC=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("PEXDATFIMC",gx.fn.currentGridRowImpl(51),gx.O.A668PexDatFimC,0)},c2v:function(){gx.O.A668PexDatFimC=this.val()},val:function(){return gx.fn.getGridControlValue("PEXDATFIMC",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[58]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PEXDATININ",gxz:"Z671PexDatIniN",gxold:"O671PexDatIniN",gxvar:"A671PexDatIniN",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A671PexDatIniN=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z671PexDatIniN=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("PEXDATININ",gx.fn.currentGridRowImpl(51),gx.O.A671PexDatIniN,0)},c2v:function(){gx.O.A671PexDatIniN=this.val()},val:function(){return gx.fn.getGridControlValue("PEXDATININ",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[59]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PEXDATFIMN",gxz:"Z669PexDatFimN",gxold:"O669PexDatFimN",gxvar:"A669PexDatFimN",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A669PexDatFimN=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z669PexDatFimN=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("PEXDATFIMN",gx.fn.currentGridRowImpl(51),gx.O.A669PexDatFimN,0)},c2v:function(){gx.O.A669PexDatFimN=this.val()},val:function(){return gx.fn.getGridControlValue("PEXDATFIMN",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[60]={lvl:2,type:"int",len:10,dec:0,sign:false,pic:"ZZZZZZZZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"PEXNROREGI",gxz:"Z675PexNroRegI",gxold:"O675PexNroRegI",gxvar:"A675PexNroRegI",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A675PexNroRegI=gx.num.intval(a)
},v2z:function(a){gx.O.Z675PexNroRegI=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PEXNROREGI",gx.fn.currentGridRowImpl(51),gx.O.A675PexNroRegI,0)},c2v:function(){gx.O.A675PexNroRegI=this.val()},val:function(){return gx.fn.getGridIntegerValue("PEXNROREGI",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[61]={lvl:2,type:"date",len:8,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PEXCAMPO1",gxz:"Z660PexCampo1",gxold:"O660PexCampo1",gxvar:"A660PexCampo1",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/99",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A660PexCampo1=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z660PexCampo1=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("PEXCAMPO1",gx.fn.currentGridRowImpl(51),gx.O.A660PexCampo1,0)},c2v:function(){gx.O.A660PexCampo1=this.val()},val:function(){return gx.fn.getGridControlValue("PEXCAMPO1",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[64]={fld:"TABLE4",grid:0};this.AV6cPexCod=0;this.ZV6cPexCod=0;this.OV6cPexCod=0;this.AV7cPexCodIni="";this.ZV7cPexCodIni="";this.OV7cPexCodIni="";this.AV8cPexCodFim="";
this.ZV8cPexCodFim="";this.OV8cPexCodFim="";this.AV9cPexDatIniCadastramento=gx.date.nullDate();this.ZV9cPexDatIniCadastramento=gx.date.nullDate();this.OV9cPexDatIniCadastramento=gx.date.nullDate();this.AV10cPexDatFimCadastramento=gx.date.nullDate();this.ZV10cPexDatFimCadastramento=gx.date.nullDate();this.OV10cPexDatFimCadastramento=gx.date.nullDate();this.AV11cPexDatIniNascimento=gx.date.nullDate();this.ZV11cPexDatIniNascimento=gx.date.nullDate();this.OV11cPexDatIniNascimento=gx.date.nullDate();this.AV12cPexDatFimNascimento=gx.date.nullDate();
this.ZV12cPexDatFimNascimento=gx.date.nullDate();this.OV12cPexDatFimNascimento=gx.date.nullDate();this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z665PexCod=0;this.O665PexCod=0;this.Z667PexCodIni="";this.O667PexCodIni="";this.Z666PexCodFim="";this.O666PexCodFim="";this.Z670PexDatIniC=gx.date.nullDate();this.O670PexDatIniC=gx.date.nullDate();this.Z668PexDatFimC=gx.date.nullDate();this.O668PexDatFimC=gx.date.nullDate();this.Z671PexDatIniN=gx.date.nullDate();this.O671PexDatIniN=gx.date.nullDate();
this.Z669PexDatFimN=gx.date.nullDate();this.O669PexDatFimN=gx.date.nullDate();this.Z675PexNroRegI=0;this.O675PexNroRegI=0;this.Z660PexCampo1=gx.date.nullDate();this.O660PexCampo1=gx.date.nullDate();this.AV13pPexCod=0;this.AV5LinkSelection="";this.A665PexCod=0;this.A667PexCodIni="";this.A666PexCodFim="";this.A670PexDatIniC=gx.date.nullDate();this.A668PexDatFimC=gx.date.nullDate();this.A671PexDatIniN=gx.date.nullDate();this.A669PexDatFimN=gx.date.nullDate();this.A675PexNroRegI=0;this.A660PexCampo1=gx.date.nullDate();
this.ServerEvents=["e13a72_client","e14a71_client"];this.VarControlMap.AV13pPexCod={id:"vPPEXCOD",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[39]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[44]);
this.SetStandaloneVars()}gx02v0.prototype=new gx.GxObject;gx.setParentObj(new gx02v0());