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?
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?
Did this solution work?
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::
Hi
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/
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.
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?
Hi
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
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.
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
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
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.
leaving the start date field blank, i get this when i try to run the report:
André Arnaud de Cal... 291,661 Super User 2024 Season 2
Martin Dráb 230,379 Most Valuable Professional
nmaenpaa 101,156