Hi all,
I have a request to email a custom report to numerous customers.
Is there a way to get the report parameters without showing the RunRequestPage to the user and pressing “OK” everytime?
This is likely what you are looking for
REPORT.RunModal
procedure RunModal(Number: Integer, [RequestWindow: Boolean], [SystemPrinter: Boolean], var [Record: Table])
If you need to do something magical with report generation. This should create all kinds of cool ideas.
Look at how the Report Inbox works. This will lead you to →
codeunit 487 “Job Queue Start Report”
Focus on:
JobQueueEntry.GetReportParameters()
Report.Print( or Report.SaveAs(
1 Like