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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

what is the difference between event and Event handlers?

(0) ShareShare
ReportReport
Posted on by 28

Dear all,

Can you please let me know what is the difference between event and Event handlers?

Where we can use event and Event handlers.

Please give me more she'd on this

Thanks!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    236,118 Most Valuable Professional on at
    RE: what is the difference between event and Event handlers?

    Not at all! Each event can have any number of handlers.

    What you likely mean by "Pre and Post" are special kind of events (not handlers!) happening at the beginning and end of a method. Handlers are methods that you want to execute when an event (such as beginning of method execution) occurs. If you read my original reply again and think about it, it should be obvious.

    There are other types of events, such as recording creation discussed before.

  • @rp@n Profile Picture
    28 on at
    RE: what is the difference between event and Event handlers?

    Thanks Martin,

    So, there are only 2 event handlers right?

    Pre and Post

    Please give me more she'd on this

    Thanks!

  • Verified answer
    Martin Dráb Profile Picture
    236,118 Most Valuable Professional on at
    RE: what is the difference between event and Event handlers?

    "An event" means that something happened, such as that a record was created.

    Event handlers are methods executed when an event occurs. For example, you may want to add data to another table when a record was created.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Mea_ Profile Picture

Mea_ 2

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans