O'Reilly logo

Mastering Microsoft Dynamics AX 2012 R3 Programming by Mat Fergusson, Simon Buxton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hooking into standard AX logic using event handling

Event handling is a new and welcome feature in AX from version 2012 onwards. One of its biggest gains is that it helps reduce the footprint on standard software (or that provided by an ISV or a partner). The footprint is one of the biggest concerns when minimizing the impact of future updates and upgrades.

The scenario we are describing is where we subscribe to an event (such as a table's delete method) so that it will call a method that handles the event. Although we add this subscription to a standard object in the AOT, the standard object is not modified. AX stores only the subscription definition. It is represented against the standard code, but this is only to help us intuitively create and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required