I am looking to make a BAQ that shows new Orders three times a day, but does not include what was sent on the previous report. For example, if I wanted to have this report export 3 times a day (every 8 hours), the 2nd report won’t have on it the Orders from the 1st report and the 3rd report won’t have on it any Orders from the 1st and 2nd report.
Basically, what I need is a way to add a criteria to run for less than a day. Preferably every 8 hours. Right now all I can see for criteria is by Day, Week, Month or Year.
In Advanced BPM processing do this abl code in Postprocessing of the getlist mark the order as processed. Then exclude that checkbox in the criteria, so they won’t show in the next run.
I am getting this error when I click on Regenerate BPM Directive. I have deploy the Dashboard, but the orders are showing up each time it runs so the BPM is obviously not working.
Your update tab should look like below. UpdateExt is the normal update method. Just check ttOrderHed.
As I made the example I realized that someone would have to save the results to update the order and not just the dashboard.
Change getlist to something like this.
For Each ttResults exclusive-lock.
ttResults.orderhed_checkbox20 = true.
For each Orderhed where company=cur-comp and ttResults.OrderHed_OrderNum = OrderHed.Ordernum exclusive-lock.
OrderHed.checkbox20 = true.
End.
I did everything above, but the dashboard is still showing all records each time I run it. Not sure what is wrong, but I don’t have a condition in the GetList BPM screen. Could that be the reason?
Call me a moron. Man, I really appreciate the help on this. This is going to completely cut out any manual (human) interaction now for my project. Thanks again!
The BPM works great when I run it from the BAQ Designer, but I have the BAQ exporting from the BAQ Export function that I scheduled under the System Agent. The BPM doesn’t seem to work when it exports from the Schedule. Is that common or is there something I need to do?