--- EDIT-
Sorry this behavior was a result to a customization from a vertical solution.. The standard application does not have this problems...
Best regards..
----EDIT-
Hi all..
One strange thing I found is that when you create a new AlertRule in AX4, a record is also created in the (Sys)DatabaseLog Table.. However, when I delete the Alert Rule, the record in the DataBaseLog Table is still there. Is this a bug?? (This happens only when not using "Domains" functionality.. seems like when creating an alert rule, a record with empty Domain field is created in DataBaseLogTable, but when deleting an alert rule, if domains are not used, the record will not be deleted)
I've been for a while trying to figure out how the alert system in AX4 works. Basically I can see that when you create an alert rule, trigger it and start the batch processes, events are inserted in the EventCUD table.
Later I deleted the alerts I didn't need.. however, I could see that some insert alerts where still getting into the EventCUD and remained forever in halted status..
I started debugging why this events where inserted in EventCUD, and it was because of the system class xRecord.insert calling the Application.EventInsert method. when creating records in the affected tables.
Even if I go to SQL server and delete the records in the DataBaseLog (from AX I can't, it gives me a permissions error), the eventCUD table is still been populated.. Is there somewhere else I need to delete a reference to the deleted alert?? Has anyone found this behaviour before??
Thanks..
*This post is locked for comments