I would like to make some changes to the Event/Alert system in D365Fo.
But I have a problem finding where in the code things happens.
One of the problems is that I can not figure out where the code is that is run when an alert I have created is run.
I made a new alert on Customer Groups, where if the description is changed I get an alert.
I can see that when I change the description on a Customer Group, a new record is created in the Table EventCUD, but I can't find where that happens in the code.
I tried adding an Event Trigger onInserted, but it is not run when I make the Change to a Customer Group.
I can see that the Developer Documentation on Table EventCUD has this text.
"The EventCUD table is used for changed based error messages only. When a user creates, updates, or deletes a record, the information about that event is stored in this table. Records in this table are inserted by the hooks for the database log created, update, and delete events. The records are deleted later by the create, update, delete event processor after the create, update, delete records have been matched against rules."
But what does that mean?
Does anyone have any experience with this that they would like to share?