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

Report Extension trigger OnAFterAfterGetRecord

(0) ShareShare
ReportReport
Posted on by 487

Hi,

I want to ask if someone has used the OnAfterAfterGetRecord trigger on report extension.

As per documentation it is available from runtime 7.1 but I cannot see it and if I try to use I am getting errors.

OnAfterAfterGetRecord (Report Extension Data Set Modify) Trigger - Business Central | Microsoft Docs

Can somebody guide on this.

  • Suggested answer
    Bilal Haider Profile Picture
    487 on at

    Hi,

    I have found the answer my self. I was not adding modify(dataitem)

    We need to write like this in the dataset.

    Dataset

    {

      Modify(Header)

      {

        OnAfterAfterGetRecord()

        {

         // Change logic for OnAfterGetRecord

        }

      }

    }

  • Muhammad Arif Maseed Profile Picture
    795 on at

    Hello Bilal 

    Yes this is the solution which you found.

    Dataset

    {

      Modify(Header)

      {

        OnAfterAfterGetRecord()

        {

         // Change logic for OnAfterGetRecord

        }

      }

    }

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 753 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 583 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 302 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans