I want to automatically generate Reports with a Codeunit that is scheduled to run every day with the Task Scheduler.
In order to do this, I'm trying to hardcode the report parameters in REPORT.SAVEAS, however I keep encountering errors where there are too many characters.
My question is, how can I set the parameters automatically, so that they don't have to be manually set with REPORT.RUNREQUESTPAGE()?
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.