Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Report Extension trigger OnAfterAfterGetRecord - reference report

(0) ShareShare
ReportReport
Posted on by

Trying to add fields to Report 10411 (check/stub/stub) for additonal Bank Account information.

On the Report, Bank Account No is in the PrintSettledLoop dataitem. If I modify that data item and try to use OnAfterAfterGetRecord to populate the varable columns I have added to the data item, how to I reference the field in the report to filter my source table to the correct record?

I know I can just create a copy of the report as a new report and add my needed columns but thought there should be a way to do this through Report Extension as well.

Thank you,

Melissa Halton

  • MHalton Profile Picture
    MHalton on at
    RE: Report Extension trigger OnAfterAfterGetRecord - reference report

    Can you clarify what your code snippet shows? I'm not following where/how you are referencing existing fields on the report?

    Also, I specifically mentioned my issue was related to PrintSettledLoop dataitem because that is an Integer type and therefore, does not show any other fields (other than No) when trying to reference that item.

    Thank you,

    Melissa

  • Suggested answer
    Amit_Sharma Profile Picture
    Amit_Sharma 2,545 on at
    RE: Report Extension trigger OnAfterAfterGetRecord - reference report

    Hi,

    Refer this screen shot for info.

    pastedimage1668445634754v1.png

    Regards

    Amit Sharma

    www.erpconsultors.com

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans