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

[转]Sequence of methods in form and table in AX

时间:2016-10-21 23:52:08      阅读:164      评论:0      收藏:0      [点我收藏+]

标签:lock   ida   date   ring   change   eating   data   orm   cal   

转自:http://axvuongbao.blogspot.jp/2013/09/sequence-of-methods-in-form-and-table.html

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()
 
 
 

[转]Sequence of methods in form and table in AX

标签:lock   ida   date   ring   change   eating   data   orm   cal   

原文地址:http://www.cnblogs.com/xtwkh1973/p/5986248.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
分享档案
周排行
mamicode.com排行更多图片
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!