Blog

Substituting Reports

Substituting Reports

The eExtensibility feature is not yet supported for report objects in Business Central. But, now  So now we can substitute reports from the Base application with Custom reports.

To substitute a report, we have to create a method and subscribe it to the OnAfterSubstituteReport event published by Codeunit 44 – ReportManagement.

This method replaces the report specified by the ReportId with the one given by the NewReportId parameter.

In this example the “Customer – List” report will be substituted for “My New Customer – List”

When the “OnAfterSubstituteReport” event is raised, the event subscriber method is called, and the replacement takes place.

Source https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-substituting-reports

For more details kindly visit our LinkedIn page:

https://www.linkedin.com/company/allgrow-technologies-pvt-ltd/mycompany/

or you can write us on  contact@allgrowtech.com


Facebook

Twitter

LinkedIn

Connect with Allgrow Technologies

100% Free · No Obligation

Need an Objective Architecture or Code Assessment?

Discuss your Dynamics 365, Business Central, or Power Platform environment in a free 30-minute session with our senior engineers.

Get a Free 30-Minute Review →