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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / How to subscribe to ev...
Finance forum

How to subscribe to event for all the table insert/update

(0) ShareShare
ReportReport
Posted on by

When someone try to insert or update in any table I need to call my custom method. Is there any common method called when insert or update performed on any table?

Is it possible to subscribe an event for all the table insert or update?

I have the same question (0)
  • Suggested answer
    Sukrut Parab Profile Picture
    71,741 Moderator on at

    You have to write code in all the table events . You could see if you can use  common object and see if it helps. 

  • Verified answer
    André Arnaud de Calavon Profile Picture
    306,915 Super User 2026 Season 2 on at

    Hi Vairam,

    It is not possible to write events on the common object. You have to do it for each table. You can also look at the blog from Lane: community.dynamics.com/.../runtime-eventing-in-dynamics365-for-operations

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    It's not possible. And it would have a severe impact on performance. What is your business requirement?

    I think that the database log feature is a better solution performance wise than events. You could enable database log for the tables that you need, then create a batch job that reads the database log and runs your custom logic. This would not be real time, though. So it depends on your business requirement if this approach is feasible or not.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans