码迷,mamicode.com
首页 > 其他好文 > 详细

AX 2012 Sequence of methods in form and table in AX

时间:2016-12-21 21:33:02      阅读:147      评论:0      收藏:0      [点我收藏+]

标签:date   lin   eating   exec   body   hang   log   post   save   

Form:

Sequence of Methods calls while opening the Form
Form — init ()
Form — Datasource — init ()
Form — run ()
Form — Datasource — execute Query ()
Form — Datasource — active ()
 
Sequence of Methods calls while closing the Form
Form — canClose ()
Form — close ()
 
Sequence of Methods calls while creating the record in the Form
Form — Datasource — create ()
Form — Datasource — initValue ()
Table — initValue ()
Form — Datasource — active ()
 
Sequence of Method calls while saving the record in the Form
Form — Datasource — ValidateWrite ()
Table — ValidateWrite ()
Form — Datasource — write ()
Table — insert ()
 
Sequence of Method calls while deleting the record in the Form
Form — Datasource — validatedelete ()
Table — validatedelete ()
Table — delete ()
Form — Datasource — active ()
 
Sequence of Methods calls while modifying the fields in the Form
Table — validateField ()
Table — modifiedField ()
 
Table:
When you press CTR+N
initValue()->

When you change data in a field
validateField() -> validateFieldValue() -> ModifiedField() -> ModifiedFieldValue()

When you close the table after entering some data
validateWrite() – > Insert() -> aosValidateInsert()

When you Save the Record for the first time
validateWrite() ->Insert() – > aosValidateInsert()

When you modify the record and saving
validateWrite() -> update() – > aosValidateUpdate()

When you delete the record
validateDelete() -> delete() -> aosValidateDelete()
 
http://axvuongbao.blogspot.jp/2013/09/sequence-of-methods-in-form-and-table.html

AX 2012 Sequence of methods in form and table in AX

标签:date   lin   eating   exec   body   hang   log   post   save   

原文地址:http://www.cnblogs.com/fogfog/p/6208819.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!