This is something that has bothered me for years and I know it is something that many other users have wanted. Additionally, there are lots of good ideas out there to implement this type of functionality through customization on this site. None of the approaches that I have seen really got me excited (but I think that is because I did not understand C# and coding as much as I do now).
I have come up with the following approach and am interested in getting some feedback on it. Thanks in advance.
Create a BAQ and set up the filters you want on the tables. Donât use Parameters, just select the field and have it equal an empty string.
Now that the BAQ is done, create the dashboard and just put in a grid view. Deploy the dashboard. Open up the dashboard in Developer Mode. Add in a sheet and whatever tool is needed to select the filters. I used two dropdowns.
Bind the fields to CallContextBPM fields. Now, go to Method Directives and put a Pre-Processing BPM on Ice.DynamicQuery.Execute. A condition can be put on it to call out the specific Query. Then I entered the custom code.
Now, when you run the dashboard with the refresh button, you will send specific filters to the query without any Parameter box pop up.
One of the things that I see as a problem right away, if you go this approach and use it on a lot of dashboards, the BPM will become monstrous with conditions. Not sure if that is a significant impact or not.
John - The list of values you can map a parameter against includes the list of Epicor constants and it also includes any âPublishersâ setup in the dashboard. This is the same as how the Filter configuration worked in previous versions but Parameters values are sent to the Server as criteria while Filters are executed on the Client against the returned data. Generally more efficient to pass as a parameterâŚ
Published values passed as parameters came in at 10.2.600.
Iâm working in a MT environment and see what you mean. This is a good start, but we can only select from a list of constants for the value. We need to be able to have something on the dashboard pass itâs value to the Parameter filter to run.
I have started a UBAQ that is using a UD table
In one case - I wanted to return invoices between two dates.
Created a UBAQ using UD10 - updating the Key1 value with the UserID by default.
Date01 and Date02 then are used to capture the dates.
In my second query - I add a subquery that uses UD10 to filter the records through a join - Company to Company with a criteria on InvoiceDate >= UD10.Date01 and InvoiceDate <=UD10.Date02
Put both queries on the dashboard
For the UBAQ - deploy a tracker view and get rid of the grid view
So, the silent parameters works when I am in the âDashboardâ menu. I have 1 âparentâ BAQ and 2 âchildâ BAQ which have their parameter set to one of the published column of the âparentâ BAQ
However, once I deploy my Dashboard and open the menu where I added it, I still have the parameter window opening for each of the BAQ that has a parameter. Is that normal or did I miss a setting somewhere?