首页 > 其他 > 详细

AX 2012 Sequence of methods in form and table in AX

时间:2016-12-21 21:30:18      阅读:205      评论:0      收藏:0      [点我收藏+]

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!