Hi All,
Can any one help me to delete the notifications through code.
Regards,
Swetha
*This post is locked for comments
Hi Istvan,
I have tired the code in blog which you mentioned, it is not working.
Regards,
Swetha
Hi Swetha,
Notifications are stored in EventInbox table, but be aware there is a cascade delete action towards the EventInboxData table. You can check this topic also:
Deleting Notifications in AX2012
Kind regards,
István
Hi Swetha,
Check out the standard cleanup task for this under System administration> Periodic> Notification clean up. It may fit your needs directly or you can learn from its code to design your solution.
Hi Andre,
I need to delete the records from notification clean up form based on the date.
Regards,
Swetha
Hi Swetha,
Can you indicate what exact notifications you are referring to? Do you have a table name? Should all notifications be deleted or based on some conditions?
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156