Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

Check record difference on modify

Posted on by 24
Hello dears,
I want to check the difference between the old rec and the new record using the global triggers and the recref and xrecref, so for example if a record in any table has been modified, I want to do the comparison between the rec ref and the xrecref to check which field id has been changed (I think it should be by using OnGlobalModify but I couldn't find a way to trigger it)
Categories:
  • OussamaSabbouh Profile Picture
    OussamaSabbouh 24 on at
    Check record difference on modify
    Thanks gdrenteria
    But this will not help in my case
  • OussamaSabbouh Profile Picture
    OussamaSabbouh 24 on at
    Check record difference on modify
    Thanks YUN ZHU,
    I already read that post, it works for the "OnDatabase..." triggers only, in my case I need to trigger OnGlobalModify
     
  • YUN ZHU Profile Picture
    YUN ZHU 73,698 Super User 2024 Season 2 on at
    Check record difference on modify
    Hi, hope the following helps.
    Dynamics 365 Business Central: “Global Triggers” is not executed/called ??? (OnDatabaseInsert, OnDatabaseModify…)
     
     
    Thanks.
    ZHU
  • gdrenteria Profile Picture
    gdrenteria 12,183 Most Valuable Professional on at
    Check record difference on modify
    Hi
    I hope this can help you and give you some hints.
    BR
    GR

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

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans