web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Implement procedure in ReportExtension

(0) ShareShare
ReportReport
Posted on by 627

Hi

I have to implement a report extension for Report 393 ("Suggest Vendor Payments"). In this report there is an Integration Event defined (OnGetVendLedgEntriesOnBeforeLoop).

How can I hook in there and add my code in the new Report extension?

I have the same question (0)
  • tonyab Profile Picture
    55 on at

    You would actually create an EventSubscriber within a Codeunit to add your code.

  • Suggested answer
    YUN ZHU Profile Picture
    98,464 Super User 2026 Season 1 on at

    Hi, tonyab is right, subscribing to events must be in Codeunit.

    For example,

    pastedimage1675384197040v1.png

    More details:

    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-subscribing-to-events#example-1

    Hope this helps as well.

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,161 Moderator on at

    It is also important to remember that when you add code to that event. Your code will execute also for other extensions to the same report.

    So it will not only be valid for your report modificatons.

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,850 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,084 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans