Difference between table method and table events in Ax 7

​Small concept of event and table method:
difference betweenonUpdated() and the post-event to the update() method. Let me explain it with a little example. Having an update() method like this
public void update() 

method1(); 

super(); 

method2();

 }
that has a pre-event as well as a post-event has the following execution order:
1.Pre-event subscriptions

2.method1();

3.Subscriptions to onUpdating()

4.super() call

5.Subscriptions to onUpdated()

6.method2();

7.Post-event subscriptions

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s