Notifications
Announcements
No record found.
Hello,
we have created a Electronic report.
How is it possible to link it to menu item, so that we can place it on the form?
Are there any standard features that I can have a look to?
As I mentioned in your other thread, you can use ERObjectsFactory::createFormatMappingRunByFormatMappingId() to create an ERIFormatMappingRun instance, configure it and use its run() method.
To execute it from a menu item, you need to create a class with main() method and call the logic from there. An example is the action menu item called AlcoholDeclarationGenerateElectronicDocument_RU.
As a user in the System Administrator role, you must develop new logic so that the configured ER format can be called from the application user interface (UI) to generate your custom report. Currently, ER doesn't offer any capability for configuring this type of logic. Therefore, some engineering work is required on your side.
Design a new ER solution to print a custom report - Finance & Operations | Dynamics 365 | Microsoft Docs
Best regards,
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 Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 544 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader