So, I have a dashboard with a BAQ.
The dashboard has a tracker view, and an employee will filter the query by Job Number, and we want a csv to be generated on the local C drive with the results.
(They will scan a barcode to fill out the job num, then the query will be refreshed and give only that data).
Does it have to be on the Dashboard, could you use Epicors new BAQRpt Feature, Electronic Compliance instead. The user would then scan the Job # on a mini form and it would execute a BAQ and that BAQ can write to a path?
Well to answer your question, you could add a Customization Layer on the Dashboard and listen for the “RefreshTool” event click (AfterToolClick) (you can find that in the Wizards) and then you can just via basic C# get the Grid Data (DataRows) and using basic # Write to any file.
Don’t forget you can use this for the “Electronic Compliance” reports as well. Build a couple BAQs, map them to XML, JSON or CVS output. Sweet!