Followers

Showing posts with label Method Calling Sequences. Show all posts
Showing posts with label Method Calling Sequences. Show all posts

20 December 2015

Method Calling Sequences of Tables in AX2012


When  you Press Ctrl+N

initValue()

When you change the data in Field

ValidateField() --> ValidateFieldValue --> ModifiedField() --> ModifiedFieldValue()


When you close the table after entering the data

ValidateWrite() --> Insert() --> aosValidateInsert()


When you open table which will contain data

If table contain 5 records , this method will call 5 times --> aosValidateRead()


When you save the record for 1st time

ValidateWrite() --> Insert() --> aosValidateInsert()


When you modify the record and saving

ValidateWrite() --> Update() --> aosValidateUpdate() 


When you delete the record

ValidateDelete() --> Delete --> aosValidateDelete()