- In the AOT, expand the Data Dictionary node, right-click Views, and then click New View.
- Add tables as follows:
- Click the view that you created in step 1, and then expand the Metadata node.
- Click the Tables node in the Data Dictionary, and then click Open New Window.
- Create a parent data source by dragging a table from the new window to the Data Sources node, which is below the Metadata node. Existing views and maps can also be used as data sources in a view.
- Create a child data source by clicking the parent data source, and then drag a table from the new window to the Data Sources node, which is below the parent data source node.Repeat steps 2c and 2d to add more tables.
- Set up relations by using one of the following procedures:
- To automatically add a relation between the child and parent data sources, right-click the child table that you added in step 2d, clickProperties, and then set the Relations property to Yes. Microsoft Dynamics AX follows this procedure when it automatically adds a relation. If a table relation exists between the parent and child tables, the new relation is based on the existing table relation. If there's no existing table relation between the parent and child tables, the new relation is created based on an existing relation on an extended data type.–or–
- To manually add a new relation, click the child table added in step 2d, right-click Relations, and then click New Relation.
- Right-click the new relation, click Properties, and then select the fields you want to link together by setting the Field and RelatedFieldproperties.
- Add fields to the view as follows:
- Expand the view's Data Sources node, and then navigate to the table (or the map or view).
- Expand the data source Fields node.
- Drag a field from the data source Fields node to the Fields node under the view. Repeat steps 4a through 4c to add more fields.
Wednesday, 29 May 2013
Creating a View In Ms Dynamics Ax
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment