Table

RetailMediaProductRelation

Retail product media relationship

Links a media resource to a product, and optionally to a catalog or internal organization. Each link carries language, display order, default-image and media purpose values. It has no declared key.

Table name
RetailMediaProductRelation
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 (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CatalogSystem record ID of the catalog the link applies to.Int64
CatalogRefRecId
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DisplayOrderNumber that sets the order in which the media is shown.Real
RetailDisplayOrder
NoRetailMediaProductRelationEntity
InternalOrganizationSystem record ID of the internal organization the link applies to.Int64
RetailInternalOrgRefRecId
NoNone
IsAdditionalMediaShows whether the media is an additional item rather than the main one.Enum
NoYes (enum)
NoRetailMediaProductRelationEntity
IsDefaultShows whether this media is the default image.Enum
NoYes (enum)
NoRetailMediaProductRelationEntity
LanguageIdLanguage that the media link applies to.String (7)
LanguageId
NoRetailMediaProductRelationEntity
MediaPurposeFree text that states what the media is used for.String (1000)
RetailMediaPurpose
NoNone
MediaResourceSystem record ID of the media resource that is linked.Int64
RefRecId
YesNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProductSystem record ID of the product the media belongs to.Int64
EcoResProductRecId
YesNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Get this data out

Tables are not exposed directly. These public entities read from RetailMediaProductRelation; use one of them in Power BI, Power Platform or a data management project.

Need help with RetailMediaProductRelation in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk