Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

what is the difference between OnAfterGetRecord and OnAfterGetCurrRecord triggers

Posted on by 10
Hello Everyone,
what is the difference between  OnAfterGetRecord and OnAfterGetCurrRecord triggers.
Categories:
  • Suggested answer
    soma Profile Picture
    soma 24,406 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.
     
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 68,539 Super User 2024 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
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 9,170 Super User 2024 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
    gdrenteria Profile Picture
    gdrenteria 8,762 Most Valuable Professional on at

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,137 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans