Skip to main content

Notifications

Business Central forum
Suggested answer

Report Extension trigger OnAfterAfterGetRecord - reference report

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

Categories:
  • 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,469 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans