Suggested by Frédéric Vercaemst – Rejected
When applying filters to date fields on pages, date formulas can be used (TODAY, +1D, -2D, ...) Saving the page filters as a view takes into account these date formulas. When opening the view on a later date, the date filters applied are recalculated, since the date formula seems to be stored internally.
We would like to have the same behavior on the job queue report request page options. When scheduling a report to be ran periodically, often the data on the report is to be filtered as well. When using the same dateformula filters on date field of the report dataset, the dates are stored fixed and the formulas are lost / not recalculated when the report is ran on another date.
Status Details
Thank you for your feedback. We released this feature as part of the functionality in Schedule Background Jobs with Date Formula.
Please refer to the following link for more information:
Sincerely,
Business Central Team
I would like to have this function too. Example for setting upp a job queue for Batch Post Sales Orders. I would like that job to run every working day at the end of the day with the setting of "Current workdate" and for that date (always todays date) to replace posting and document date and to jsut post the orders that are Completely Shipped. But now I can only enter a set date and I can't use the booleans for replacing the date. If I select "Yes" for replacing the dates they are set to "no" when I open the Report Request Page again. And if I let this job run the date will always be the set day that I entered and it does not update to the current date that I want.