Cardinality and RelatedTableCardinality table relation property in D365 FO
Cardinality and RelatedTableCardinality table relation property in D365 FO
Cardinality is the property which explains about nature of the relationship between two tables on the related table.
For example:
ZeroOne: You will select this, provided child
Table/related table can either have no record or have only one related record
(Fetch Mode is 1:1).
ExactlyOne: You will select this, provided child
Table/related table can have only one related record (Fetch Mode is 1:1).
ZeroMore: You will select this,
provided child Table/related table can either have no record or more than one
related record (Fetch Mode is 1:n).
OneMore: You will select this, provided child
Table/related table can have more than one related record (Fetch Mode is 1:n).
Cardinality specifies how many instances of SalesLine row can be related to a single instance of SalesTable row.ZeroMore means that for every sale order, there can be zero, or more sales lines related to it. If the business requirement dictates that you need to have at least one sales line to be able to create a sales order, the Cardinality would be OneMore (1:*).
RelatedTableCardinality specifies how many instances of
SalesTable row can be related to a single instance of SalesLine row. ExactlyOne
means that every sales line should belong to one and only one sales order.
- Get link
- X
- Other Apps
Comments
Post a Comment