Business Central Codeunit 49 Global Events do not react

Yabu13Yabu13 Member Posts: 12
edited 2020-12-17 in NAV Three Tier
I have created a new codeunit with an event subscriber function to the event "OnAfterOnGlobalModify" in Codeunit 49.
But when I make changes in a record, the event subscriber does not react.

Properties of my subscriber:
EventPublisherObject: Codeunit GlobalTriggerManagement
EventFunction: OnAfterOnGlobalModify

I tried also to use the event "OnAfterOnDatabaseModify". Same (no) result.

Any idea to fix that?

Thank you!

Answers

  • krikikriki Member, Moderator Posts: 9,112
    [Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • navgurunavguru Member Posts: 1
    edited 2021-02-16
    Hi,
    do you found a solution for this topic?
    I'm looking for trigger OnGlobalModify. Only OnDatabaseModify is fired.
    I hope to log changes only for modifications by user. Change by C/AL Code should be not reported in change log entries.

    In former versions (I'm using BC14) the logic for change log management could be moved from OnDatabaseModify to OnGlobalModify.
Sign In or Register to comment.