Dear ALL,
i have doubt in the relation. why we are assign the number for the particular relation.
For EX: table.field ==1
please any one let me know
Regards
Smiley
Dear ALL,
i have doubt in the relation. why we are assign the number for the particular relation.
For EX: table.field ==1
please any one let me know
Regards
Smiley
I am not able to understand what you are asking…Plz what you have done what you want to do .
Also Plz read MorphX document where you will get any kind of doubts to be specified…
hi,
First i cannot understand your question…
and i think you are trying to ask in Table Relations, and in table relations we assign values for number sequence… accordingly…
Hello Smiley,
You can define the following type of relations in Dynamics AX:
In the Field property, select the field in the primary table that relates to a field in the related table.
In the Related Field property, select the field in the related table.
Table.Field == RelatedTable.Field
You can define conditional table relations to filter the records in either the primary or the related table. Following are the conditional table relations that can be specified when you define the fields in a table relation:
(Table.Field == ): Restricts the records selected in the primary table. Only records that meet the condition are selected.
The condition is ANDed with your relation.
So in the example you have given Table.Field == 1, 1 is the enum value and not any number.
( == Table.Field) : Restricts the records selected in the related table. Only records that meet the condition are selected.
The condition is ANDed with your relation.
You can create and define relations on Tables as well as on Extended Data Types. On any Extended Data Type you can define only Normal and Related Field Fixed type of relation.
Thank u shankar …
now i clear about the relations…
Hi Shankar,
how to specify the Extended Data Type value? ID value or any thing?
Thanks !!!
Hello Smiley,
In a relation on an Extended Data Type, the name of the Extended Data Type is used and no ID value or anything else. For example the relation on the EDT ItemGroupId with the InventItemGroup Table is as below:
ItemGroupId == InventItemGroup.ItemGroupId
To create a relationship on an extended data type :
Locate the Relations node for the relevant extended data type.
Right-click the Relations node and do the following to add one or more relations based on a specific table:
Click New > Normal, and then select a table in the Table property to add a relation that does not have a condition. It must be added before you can add a relation with a condition.
The Related Field Fixed condition filters the records selected in the other table. The condition is ANDed with your relation. Select a field in the Related Field property for each relation.