gx.evt.autoSkip=false;function gx01x1(){this.ServerClass="Gx01X1";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pEtbNro=gx.fn.getIntegerValue("vPETBNRO",".");this.AV10pEbmAnoMesBusca=gx.fn.getIntegerValue("vPEBMANOMESBUSCA",".")};this.e13bk2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14bk1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,28,32,33,34,35,36,39];
this.GXLastCtrlId=39;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx01x1",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",32,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(320,33,"EBMANOMESB","Ano e mes da busca","","EbmAnoMesB","int",0,"px",6,6,"right",null,[],320,"EbmAnoMesB",true,0,false,false);
this.Grid1Container.addSingleLineEdit(321,34,"EBMQTDEXIT","Êxitos no mês","Selecionar","EbmQtdExit","int",0,"px",8,8,"right",null,[],321,"EbmQtdExit",true,0,false,false);this.Grid1Container.addSingleLineEdit(322,35,"EBMQTDMALO","Malogros no mês","","EbmQtdMalo","int",0,"px",8,8,"right",null,[],322,"EbmQtdMalo",true,0,false,false);this.Grid1Container.addSingleLineEdit(372,36,"ETBNRO","Número","","EtbNro","int",0,"px",9,9,"right",null,[],372,"EtbNro",false,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:"TEXTBLOCKEBMANOMESBUSCA",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCEBMANOMESBUSCA",gxz:"ZV6cEbmAnoMesBusca",gxold:"OV6cEbmAnoMesBusca",gxvar:"AV6cEbmAnoMesBusca",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cEbmAnoMesBusca=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cEbmAnoMesBusca=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCEBMANOMESBUSCA",gx.O.AV6cEbmAnoMesBusca,0)},c2v:function(){gx.O.AV6cEbmAnoMesBusca=this.val()},val:function(){return gx.fn.getIntegerValue("vCEBMANOMESBUSCA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKEBMQTDEXITOS",format:0,grid:0};this.GXValidFnc[19]={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:"vCEBMQTDEXITOS",gxz:"ZV7cEbmQtdExitos",gxold:"OV7cEbmQtdExitos",gxvar:"AV7cEbmQtdExitos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cEbmQtdExitos=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cEbmQtdExitos=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCEBMQTDEXITOS",gx.O.AV7cEbmQtdExitos,0)},c2v:function(){gx.O.AV7cEbmQtdExitos=this.val()},val:function(){return gx.fn.getIntegerValue("vCEBMQTDEXITOS",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKEBMQTDMALOGROS",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:"vCEBMQTDMALOGROS",gxz:"ZV8cEbmQtdMalogros",gxold:"OV8cEbmQtdMalogros",gxvar:"AV8cEbmQtdMalogros",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cEbmQtdMalogros=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cEbmQtdMalogros=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCEBMQTDMALOGROS",gx.O.AV8cEbmQtdMalogros,0)},c2v:function(){gx.O.AV8cEbmQtdMalogros=this.val()},val:function(){return gx.fn.getIntegerValue("vCEBMQTDMALOGROS",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"GROUP2",grid:0};this.GXValidFnc[28]={fld:"TABLE3",grid:0};this.GXValidFnc[32]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:31,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(31))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EBMANOMESB",gxz:"Z320EbmAnoMesB",gxold:"O320EbmAnoMesB",gxvar:"A320EbmAnoMesB",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A320EbmAnoMesB=gx.num.intval(a)
},v2z:function(a){gx.O.Z320EbmAnoMesB=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EBMANOMESB",gx.fn.currentGridRowImpl(31),gx.O.A320EbmAnoMesB,0)},c2v:function(){gx.O.A320EbmAnoMesB=this.val()},val:function(){return gx.fn.getGridIntegerValue("EBMANOMESB",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EBMQTDEXIT",gxz:"Z321EbmQtdExit",gxold:"O321EbmQtdExit",gxvar:"A321EbmQtdExit",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A321EbmQtdExit=gx.num.intval(a)
},v2z:function(a){gx.O.Z321EbmQtdExit=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EBMQTDEXIT",gx.fn.currentGridRowImpl(31),gx.O.A321EbmQtdExit,0)},c2v:function(){gx.O.A321EbmQtdExit=this.val()},val:function(){return gx.fn.getGridIntegerValue("EBMQTDEXIT",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EBMQTDMALO",gxz:"Z322EbmQtdMalo",gxold:"O322EbmQtdMalo",gxvar:"A322EbmQtdMalo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A322EbmQtdMalo=gx.num.intval(a)
},v2z:function(a){gx.O.Z322EbmQtdMalo=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EBMQTDMALO",gx.fn.currentGridRowImpl(31),gx.O.A322EbmQtdMalo,0)},c2v:function(){gx.O.A322EbmQtdMalo=this.val()},val:function(){return gx.fn.getGridIntegerValue("EBMQTDMALO",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:1,grid:31,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(31),gx.O.A372EtbNro,0)},c2v:function(){gx.O.A372EtbNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ETBNRO",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TABLE4",grid:0};this.AV6cEbmAnoMesBusca=0;this.ZV6cEbmAnoMesBusca=0;this.OV6cEbmAnoMesBusca=0;this.AV7cEbmQtdExitos=0;this.ZV7cEbmQtdExitos=0;this.OV7cEbmQtdExitos=0;
this.AV8cEbmQtdMalogros=0;this.ZV8cEbmQtdMalogros=0;this.OV8cEbmQtdMalogros=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z320EbmAnoMesB=0;this.O320EbmAnoMesB=0;this.Z321EbmQtdExit=0;this.O321EbmQtdExit=0;this.Z322EbmQtdMalo=0;this.O322EbmQtdMalo=0;this.Z372EtbNro=0;this.O372EtbNro=0;this.AV9pEtbNro=0;this.AV10pEbmAnoMesBusca=0;this.AV5LinkSelection="";this.A320EbmAnoMesB=0;this.A321EbmQtdExit=0;this.A322EbmQtdMalo=0;this.A372EtbNro=0;this.ServerEvents=["e13bk2_client","e14bk1_client"];
this.VarControlMap.AV9pEtbNro={id:"vPETBNRO",grid:0,type:"int"};this.VarControlMap.AV10pEbmAnoMesBusca={id:"vPEBMANOMESBUSCA",grid:0,type:"int"};this.VarControlMap.AV9pEtbNro={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({rfrVar:"AV9pEtbNro"});this.SetStandaloneVars()}gx01x1.prototype=new gx.GxObject;
gx.setParentObj(new gx01x1());