New reporting events
Important
This content is archived and is not being updated. For the latest documentation, go to What's new and planned for Dynamics 365 Business Central. For the latest release plans, go to Dynamics 365 and Microsoft Power Platform release plans.
Enabled for | Public preview | General availability |
---|---|---|
Admins, makers, marketers, or analysts, automatically | - | Apr 1, 2022 |
Business value
In 2022 release wave 1, we add new business events so that AL developers can react when a file has been generated from a report request page or if a file is ready for download.
Feature details
Three new business events will be added to codeunit 44 ReportManagement:
- OnAfterDocumentReady
- OnAfterDocumentDownload
- OnCustomDocumentMerger
The OnAfterDocumentReady event is raised by the Business Central platform when a document is ready after it has been scheduled from a report request page.
The OnAfterDocumentDownload event is raised by the Business Central platform after a user has generated a report artifact from code or from a request page action.
The OnCustomDocumentMerger event is raised by the Business Central platform when the user has specified a custom report layout type which will be rendered into an artifact in application code.
See also
Global events (docs)