Table
RetailMediaAndProductRelation
Links a media file to a product for a given internal organisation and catalogue. It also shows whether the image is the default one. It has no defined key.
- Table name
RetailMediaAndProductRelation- Module
Commerce merchandising- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CatalogIdCatalogue number the link applies to. | StringRetailCatalogId | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
InternalOrganizationPoints to the internal organisation in RetailInternalOrganization. | Int64RetailInternalOrgRefRecId | Yes | RetailInternalOrganization.RecId | None |
IsDefaultYes or No: whether this is the default image. | EnumNoYes (enum) | No | None | |
MediaResourceIdIdentifier of the media file. | Integer | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProductPoints to the product in EcoResProduct. | Int64EcoResProductRecId | No | EcoResProduct.RecId | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
ProductMediaIdxCatalogId,InternalOrganization,Product,MediaResourceIdUnique, alternate key.
Relations (2)
Each relation joins RetailMediaAndProductRelation to another table on the fields shown.
Product→EcoResProductJoin on
Product = EcoResProduct.RecIdMany RetailMediaAndProductRelation records → exactly one EcoResProduct record
RetailInternalOrganization→RetailInternalOrganizationJoin on
InternalOrganization = RetailInternalOrganization.RecIdMany RetailMediaAndProductRelation records → exactly one RetailInternalOrganization record
Get this data out
No public entity reads from RetailMediaAndProductRelation. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailMediaAndProductRelation in a report, an integration or a migration? Talk to Dr Dynamics.