Table
EcoResProductRelationTable
Product relationships
Links one product to another product using a relationship type. The key combines the first product, the relationship type and the second product. Each record can also carry a display order.
- Table name
EcoResProductRelationTable- Module
Product information management- Table group
Main- Table type
Regular- Data per company
No- Configuration key
LogisticsBasic- Primary index
None- Replacement key
ProductsRelationIdx- Key fields
Product1, ProductRelationType, Product2- Model
Foundation
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
Product1System record ID of the first product, pointing to EcoResProduct. | Int64RefRecId | Yes | EcoResProduct.RecId | None |
ProductRelationTypeSystem record ID of the relationship type, pointing to EcoResProductRelationType. | Int64RefRecId | Yes | EcoResProductRelationType.RecId | None |
Product2System record ID of the second, related product, pointing to EcoResProduct. | Int64RefRecId | Yes | EcoResProduct.RecId | None |
DisplayOrderNumber used to sort the related products. | RealEcoResProductRelationDisplayOrder | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
ProductsRelationIdxReplacement keyProduct1,ProductRelationType,Product2Unique, alternate key.
DisplayOrderIdxProduct1,ProductRelationType,DisplayOrder,Product2Not unique.
Relations (3)
Each relation joins EcoResProductRelationTable to another table on the fields shown.
Product1→EcoResProductJoin on
Product1 = EcoResProduct.RecIdMany EcoResProductRelationTable records → exactly one EcoResProduct record
Product2→EcoResProductJoin on
Product2 = EcoResProduct.RecIdMany EcoResProductRelationTable records → exactly one EcoResProduct record
ProductRelationType→EcoResProductRelationTypeJoin on
ProductRelationType = EcoResProductRelationType.RecIdMany EcoResProductRelationTable records → exactly one EcoResProductRelationType record
Get this data out
No public entity reads from EcoResProductRelationTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with EcoResProductRelationTable in a report, an integration or a migration? Talk to Dr Dynamics.