How Dynamics AX R2 triggers when records are saved through a data source

Source: Internet
Author: User

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.

  1. The Validate () method of the data source on the form is called.
  2. When super () in the Validate () method is called, the Validefield () method of the table is called by each field.
  3. In the Vlidate () method, the code under Super () is called.
  4. The Validatewrite () method of the data source on the form is called.
  5. When super () in the Validatewrite () method is called, the Validewrite () method on the table is called.
  6. In the Validatewrite () method of the form data source, the code under Super () is called.
  7. The form's write () method is called.
  8. When super () of the Write () method is called, the Insert () method of the table is called.
  9. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.