Quantcast
Channel: Microsoft Dynamics AX
Viewing all articles
Browse latest Browse all 101540

Forum Post: RE: modified field value method

$
0
0
Table Parent id Name 1 A 2 B Table Chield id Name Location ---------------------------- First Create Relation in Child Table Like 1> Create EDT and Set reference table property (your Parent table name). 2>go to table expand it Click on Relation Create New Relation in Table Property fill you Parent Table Name. after Right click on Create Relation and Create new Normal Relation and Set Property Field your Child Table Field(id) and related filed your Parent table field(id). 3> Child table field set in relation EDT which One you Created before. and you will get DropDown in Grid in Child table. --------------------------------------------------- If you want when you select id 1 then automatically name will fill in child table then you have to create method in Child table 1> go to Child table method create new display method and set your logic there. like Display str MethodName() { ParentTable objParentTable; ; select Name from objParentTable where objParentTable.id == this.id; return objParentTable.Name; } 2> now Copy method name and in form grid name field (Child table name string control) property set method name. Now run and you will get Popup and Name also. Thank you. if Suggested ans Reply.

Viewing all articles
Browse latest Browse all 101540

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>