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

Community site session details

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

what is the difference between OnAfterGetRecord and OnAfterGetCurrRecord triggers

(1) ShareShare
ReportReport
Posted on by 16
Hello Everyone,
what is the difference between  OnAfterGetRecord and OnAfterGetCurrRecord triggers.
I have the same question (0)
  • Suggested answer
    Gerardo Rentería García Profile Picture
    23,590 Most Valuable Professional on at
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,348 Super User 2025 Season 2 on at
    what is the difference between OnAfterGetRecord and OnAfterGetCurrRecord triggers
    Hi,
     
    The following diagram illustrates the main trigger and operation sequence related to request page invocation and button actions.
     
    Shows the report trigger main flow
    Best regards,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    YUN ZHU Profile Picture
    93,222 Super User 2025 Season 2 on at
    what is the difference between OnAfterGetRecord and OnAfterGetCurrRecord triggers
    A simple example:
    OnAfterGetRecord: The number of occurrences of the following message is the same as the number of records.
     
    OnAfterGetCurrRecord: The following message will only be displayed once.
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    soma Profile Picture
    24,410 on at
    what is the difference between OnAfterGetRecord and OnAfterGetCurrRecord triggers
    Hi,
     
     
    For card page you use either OnAfterGetRecord  or OnAfterGetCurrRecord. But, for the list page OnAfterGetRecord  will be triggered for each rows and OnAfterGetCurrRecord will be triggered only for current selected rows.
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 2,828

#2
Sumit Singh Profile Picture

Sumit Singh 2,617

#3
YUN ZHU Profile Picture

YUN ZHU 1,861 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans