web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

EventCUD are growing by unexisting alert on inventTrans

(0) ShareShare
ReportReport
Posted on by 5

Hi

On insert a record on inventTrans a eventCUD records is created.

We have not created any alerts for inventTrans, I tried to remove alert by alert to try to find which alert is causing the error.

Finally I remove all alerts and still EventCUD tried to create a record. When I create a inventTrans insert event is called and call to method CreateEventCUD on application class.

Now without alerts still call createEventCUD but eventCud is not create thanks  to the method hasCompanyRules.

¿Any Idea about what are happening?

Regards

I have the same question (0)
  • Sergei Minozhenko Profile Picture
    23,095 on at

    Hi XBB,

    Do you mean that EventRule table is completely empty, but event cud records are still created? Or where did you check alerts?

  • XBB Profile Picture
    5 on at

    There is no alerts created.

    pastedimage1611245717968v1.png

    but even without alerts an event execute class to insert records on eventCUD, at this moment how I erased all alerts in test environtment EventCUD is not created because not exists records on EventCompanyRule

    pastedimage1611245809956v2.png

    This is like an alert on inventTrans was created and removed but is still working.

  • Sergei Minozhenko Profile Picture
    23,095 on at

    Hi XBB,

    Could you, please, check in the personalization form for Alerts form on the query (last) tab if there are ranges for EventRule data source?

    Do you have access to AOT? Could you, please, check table EventCUD directly in table browser?

  • XBB Profile Picture
    5 on at

    I deleted all alerts, I checked even in SQL that there is not records.

    There is not records in EventCUD neither in related tables.

  • Sergei Minozhenko Profile Picture
    23,095 on at

    Hi XBB,

    Have you tried to restart AOS in case if it's caching issue?

  • Verified answer
    André Arnaud de Calavon Profile Picture
    304,182 Super User 2026 Season 1 on at

    HI XBB,

    Can you tell how you deleted all alerts and records in the EventCUD table? When it will be executed from the user interface, there is some business logic executed to also sync with SQL triggers. If you deleted the records from the database directly instead of removing rules from the user interface, the SQL trigger might be still active causing new records in the EventInbox table.

  • XBB Profile Picture
    5 on at

    Alerts was deleted on form and the records on eventCud were delete using sql setence on EventCUD table Browser.

    After it I checked if all was deleted on directy on sql.

  • GTav Profile Picture
    4 on at
    @XBB, have you solved? I have the same problem.
  • Mariano G. Profile Picture
    3,598 on at
    I had the same issue a few years ago. The problem is that when you create an alert, a trigger is created at the table level in the Dynamics database. When you delete your alert, the trigger should be deleted, but sometimes, I don't know why, it isn't. Then, the EventCUD record is created even though there is no alert, because it is created by the trigger. The solution is to create an alert on the same table and then delete it. That should remove all the triggers related to the table

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 681

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 446 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 202 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans