gx.evt.autoSkip=false;function gx01w0(){this.ServerClass="Gx01W0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pEtbNro=gx.fn.getIntegerValue("vPETBNRO",".")};this.e13bj2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14bj1_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,58];
this.GXLastCtrlId=58;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",51,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx01w0",[],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(372,53,"ETBNRO","Número","","EtbNro","int",0,"px",9,9,"right",null,[],372,"EtbNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(371,54,"ETBEXPBUSC","Expressão de busca","Selecionar","EtbExpBusc","char",0,"px",80,80,"left",null,[],371,"EtbExpBusc",true,0,false,false);
this.Grid1Container.addSingleLineEdit(373,55,"ETBQTDPERB","Buscas no período corrente","","EtbQtdPerB","int",0,"px",8,8,"right",null,[],373,"EtbQtdPerB",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:"TEXTBLOCKETBNRO",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCETBNRO",gxz:"ZV6cEtbNro",gxold:"OV6cEtbNro",gxvar:"AV6cEtbNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cEtbNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cEtbNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCETBNRO",gx.O.AV6cEtbNro,0)},c2v:function(){gx.O.AV6cEtbNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCETBNRO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKETBEXPBUSCA",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:80,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCETBEXPBUSCA",gxz:"ZV7cEtbExpBusca",gxold:"OV7cEtbExpBusca",gxvar:"AV7cEtbExpBusca",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cEtbExpBusca=a
},v2z:function(a){gx.O.ZV7cEtbExpBusca=a},v2c:function(){gx.fn.setControlValue("vCETBEXPBUSCA",gx.O.AV7cEtbExpBusca,0)},c2v:function(){gx.O.AV7cEtbExpBusca=this.val()},val:function(){return gx.fn.getControlValue("vCETBEXPBUSCA")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKETBQTDPERBUSCAS",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCETBQTDPERBUSCAS",gxz:"ZV8cEtbQtdPerBuscas",gxold:"OV8cEtbQtdPerBuscas",gxvar:"AV8cEtbQtdPerBuscas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cEtbQtdPerBuscas=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cEtbQtdPerBuscas=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCETBQTDPERBUSCAS",gx.O.AV8cEtbQtdPerBuscas,0)},c2v:function(){gx.O.AV8cEtbQtdPerBuscas=this.val()},val:function(){return gx.fn.getIntegerValue("vCETBQTDPERBUSCAS",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKETBQTDPEREXITOS",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCETBQTDPEREXITOS",gxz:"ZV9cEtbQtdPerExitos",gxold:"OV9cEtbQtdPerExitos",gxvar:"AV9cEtbQtdPerExitos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cEtbQtdPerExitos=gx.num.intval(a)
},v2z:function(a){gx.O.ZV9cEtbQtdPerExitos=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCETBQTDPEREXITOS",gx.O.AV9cEtbQtdPerExitos,0)},c2v:function(){gx.O.AV9cEtbQtdPerExitos=this.val()},val:function(){return gx.fn.getIntegerValue("vCETBQTDPEREXITOS",".")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKETBQTDPERMALOGROS",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCETBQTDPERMALOGROS",gxz:"ZV10cEtbQtdPerMalogros",gxold:"OV10cEtbQtdPerMalogros",gxvar:"AV10cEtbQtdPerMalogros",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cEtbQtdPerMalogros=gx.num.intval(a)
},v2z:function(a){gx.O.ZV10cEtbQtdPerMalogros=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCETBQTDPERMALOGROS",gx.O.AV10cEtbQtdPerMalogros,0)},c2v:function(){gx.O.AV10cEtbQtdPerMalogros=this.val()},val:function(){return gx.fn.getIntegerValue("vCETBQTDPERMALOGROS",".")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKETBQTDTOTBUSCAS",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCETBQTDTOTBUSCAS",gxz:"ZV11cEtbQtdTotBuscas",gxold:"OV11cEtbQtdTotBuscas",gxvar:"AV11cEtbQtdTotBuscas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cEtbQtdTotBuscas=gx.num.intval(a)
},v2z:function(a){gx.O.ZV11cEtbQtdTotBuscas=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCETBQTDTOTBUSCAS",gx.O.AV11cEtbQtdTotBuscas,0)},c2v:function(){gx.O.AV11cEtbQtdTotBuscas=this.val()},val:function(){return gx.fn.getIntegerValue("vCETBQTDTOTBUSCAS",".")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCKETBQTDTOTEXITOS",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCETBQTDTOTEXITOS",gxz:"ZV12cEtbQtdTotExitos",gxold:"OV12cEtbQtdTotExitos",gxvar:"AV12cEtbQtdTotExitos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12cEtbQtdTotExitos=gx.num.intval(a)
},v2z:function(a){gx.O.ZV12cEtbQtdTotExitos=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCETBQTDTOTEXITOS",gx.O.AV12cEtbQtdTotExitos,0)},c2v:function(){gx.O.AV12cEtbQtdTotExitos=this.val()},val:function(){return gx.fn.getIntegerValue("vCETBQTDTOTEXITOS",".")},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:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ETBNRO",gxz:"Z372EtbNro",gxold:"O372EtbNro",gxvar:"A372EtbNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A372EtbNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z372EtbNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ETBNRO",gx.fn.currentGridRowImpl(51),gx.O.A372EtbNro,0)},c2v:function(){gx.O.A372EtbNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ETBNRO",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"char",len:80,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ETBEXPBUSC",gxz:"Z371EtbExpBusc",gxold:"O371EtbExpBusc",gxvar:"A371EtbExpBusc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A371EtbExpBusc=a
},v2z:function(a){gx.O.Z371EtbExpBusc=a},v2c:function(){gx.fn.setGridControlValue("ETBEXPBUSC",gx.fn.currentGridRowImpl(51),gx.O.A371EtbExpBusc,0)},c2v:function(){gx.O.A371EtbExpBusc=this.val()},val:function(){return gx.fn.getGridControlValue("ETBEXPBUSC",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ETBQTDPERB",gxz:"Z373EtbQtdPerB",gxold:"O373EtbQtdPerB",gxvar:"A373EtbQtdPerB",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A373EtbQtdPerB=gx.num.intval(a)
},v2z:function(a){gx.O.Z373EtbQtdPerB=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ETBQTDPERB",gx.fn.currentGridRowImpl(51),gx.O.A373EtbQtdPerB,0)},c2v:function(){gx.O.A373EtbQtdPerB=this.val()},val:function(){return gx.fn.getGridIntegerValue("ETBQTDPERB",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[58]={fld:"TABLE4",grid:0};this.AV6cEtbNro=0;this.ZV6cEtbNro=0;this.OV6cEtbNro=0;this.AV7cEtbExpBusca="";this.ZV7cEtbExpBusca="";this.OV7cEtbExpBusca="";
this.AV8cEtbQtdPerBuscas=0;this.ZV8cEtbQtdPerBuscas=0;this.OV8cEtbQtdPerBuscas=0;this.AV9cEtbQtdPerExitos=0;this.ZV9cEtbQtdPerExitos=0;this.OV9cEtbQtdPerExitos=0;this.AV10cEtbQtdPerMalogros=0;this.ZV10cEtbQtdPerMalogros=0;this.OV10cEtbQtdPerMalogros=0;this.AV11cEtbQtdTotBuscas=0;this.ZV11cEtbQtdTotBuscas=0;this.OV11cEtbQtdTotBuscas=0;this.AV12cEtbQtdTotExitos=0;this.ZV12cEtbQtdTotExitos=0;this.OV12cEtbQtdTotExitos=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z372EtbNro=0;this.O372EtbNro=0;
this.Z371EtbExpBusc="";this.O371EtbExpBusc="";this.Z373EtbQtdPerB=0;this.O373EtbQtdPerB=0;this.AV13pEtbNro=0;this.A374EtbQtdPerE=0;this.A375EtbQtdPerM=0;this.A376EtbQtdTotB=0;this.A377EtbQtdTotE=0;this.AV5LinkSelection="";this.A372EtbNro=0;this.A371EtbExpBusc="";this.A373EtbQtdPerB=0;this.ServerEvents=["e13bj2_client","e14bj1_client"];this.VarControlMap.AV13pEtbNro={id:"vPETBNRO",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()}gx01w0.prototype=new gx.GxObject;gx.setParentObj(new gx01w0());