All about Microsoft Dynamics NAV and Business Central
How to Substitute Report in Business Central
Today we will see how we can substitute our own document report with Standard report in business central.
To override report we need to use ReportManaagement Codeunit and from that we need to use OnAfterSubstituteReport event
Suppose we have created own customize report called ‘Detail Inventory Transaction’ and now we have to replace standard report for Inventory Transaction Detail
[EventSubscriber(ObjectType::Codeunit, 44, 'OnAfterSubstituteReport', '', true, true)]
procedure SubstituteInventoryTransactionReport(ReportId: Integer; var NewReportId: Integer)
begin
If ReportId = Report::"Inventory - Transaction Detail" then
NewReportId := Report::"Detail Inventory Transaction";
end;
Publish your extension and check the report .You will find new report is substituted with standard report.
I'm a Dynamics NAV/Navision developer and helps partners and end-users with their NAV implementations. I do everything from third-party management advisory, training to new NAV teams, project management, training, setup and development.
Do you want to hire me to help getting your project a success? Then contact me via dropping one email from linkedin
Expertise in end-to-end development of software products from requirement analysis to System Study, Documentation and Testing. Demonstrated abilities in analyzing information system needs, evaluating end-user requirements, custom designing solutions, troubleshooting for complex information systems management. Deft at carrying out risk analysis, impact analysis, project reviews and documentation. Strong Problem solving & Technical skills coupled with confident decision making for enabling effective solutions leading to high customer satisfaction as well as low operational costs.
Certifications:-
Microsoft Certified Technology Specialist -Dynamics
Microsoft Sure Step Certified Professional
Moderator at DUG Forum
Specialties: • ERP Implementation
• Client/Server Programming
• Coding, Testing, troubleshooting and documentation.
• Database Tuning and SQL
• Database Performance
• Debugging large programs
• Project Management and Resource Management.
View all posts by Ammolh Saallvi
5 thoughts on “How to Substitute Report in Business Central”
how do we get complete vendor purchase order report i.e posted ,released ,open ,etc under a single head in business central d 365 thanks .
LikeLiked by 1 person
how do we get complete vendor purchase order report i.e posted,released open invoiced etc under a single head in business central d 365 thanks.
LikeLiked by 1 person
You need to customize this report
LikeLike