|
As we all know, when you save a record on a form, it triggers a number of methods as if it were saved on the table. Here Reinhard found a flowchart to see which methods were triggered and how they were triggered in the order.
- The Validate () method of the data source on the form is called.
- When super () in the Validate () method is called, the Validefield () method of the table is called by each field.
- In the Vlidate () method, the code under Super () is called.
- The Validatewrite () method of the data source on the form is called.
- When super () in the Validatewrite () method is called, the Validewrite () method on the table is called.
- In the Validatewrite () method of the form data source, the code under Super () is called.
- The form's write () method is called.
- When super () of the Write () method is called, the Insert () method of the table is called.
- In the form of the Write () method, Super () The following method is called.
|
How Dynamics AX R2 triggers when records are saved through a data source