I want, every week, to schedule the "Able to Make (timeline)" report for the next 10 Weeks.
how do i get the Start Date field to change to the current day on each scheduled report run?
leaving the start date field blank, i get this when i try to run the report:
Hi
Try T in date. Then I assume every time report run it will use the current dat. Do you try to use Send To in report then Schedule then set the next run something like 1D? I mean I believe that is the only time if you use T it works.
if i input anything like T or CW, the string is replaced by the date value immediately, before saving the report. this does not work alas
if this is just not possible vie UI,
would it be feasible to change this with a report extension?
something
if start date < WORKDATE
then start date = WORKDATE
I am not sure. I scheduled the report in our environment to see if Job Queue auto adjust the date. These are my steps (I used T). I will keep you posted tomorrow.
My test failed. I checked again with some other people and they said you may need to do what you mentioned. Also, they said you can use Parameter String to populate fields. For example in parameter string you can enter CW or T and then in extension refer to this
Hi MahGah,
thanks alot for your extensive check!
i am currently looking into reportextension, but i think it is not straight forward.
since it is a scheduled report, i don't know if "requestpage" is even right here since the actual page is not opened.
i cannot find a practical example for your "Parameter String to populate fields" example. Can you maybe link me somewhere where i can documentation and an example on how to use this?
You are welcome. Sorry I am not developer and have no knowledge here.
See below example
https://www.integrated.ee/posts/business-central-job-queue-parameters/
cloudblogs.microsoft.com/.../
I think based on the below article also it is possible that you create codeunit and pass the string to it. Which means you even do not need to deal with report. Possibly you can create a codeunit, schedule it in job queue, then codeunit reads the parameter and pass it to report.
docs.microsoft.com/.../reportinstance-runrequestpage-method
Thanks for this!
i went another route, i copied the complete .al files and the .rdl in my extension and changed two parts, once the layout -> options part and once this::
Did this solution work?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 3,477
Jainam M. Kothari 3,235 Super User 2025 Season 2
YUN ZHU 1,799 Super User 2025 Season 2