This blog describes how to implement customized lookups in reference group control in Dynamics AX form.
Steps
- Add a reference group control on the form.
- Override the lookup method of the control and add the following lines of code
- In the lookup form, override the closeSelect() method of the form and comment the super of the method.
- Two different situations may occur when selecting a record in the lookup form:
- If the reference group control’s reference field is contained in the lookup form’s parent data source, then pass that datasource buffer as a parameter to the closeSelectRecord() method.
- Otherwise, if the reference field is not contained in the parent data source, call a method on the calling form from the lookup form. For this, create a method on the calling form that accepts the buffer from the lookup form. In this method assign the passed record to the reference field.
If anybody have any queries feel free to ask.



another possible way I think
ReplyDelete- create a new EDT that extends RefRecID
- on the child table which reference the parent table, so where a relation is defined based on PrimaryKey (RecId) apply the new EDT
- specify the FormHelp property on the EDT with your custom lookup form
Casinos with Slot machines | DrmCD
ReplyDeleteSlot 김제 출장마사지 machines in California are becoming increasingly common in the state. Here is an 대전광역 출장마사지 updated list of 광주 출장안마 online 천안 출장안마 casinos with Slot machines. See What is the best casino site for 문경 출장마사지 slots?What type of slot machines do I play at the casino?