Table
RetailProductSwatchOverride
Stores overrides for how a product swatch looks. A row is identified by product master, dimension value, dimension type, catalog, language and internal organization. It can hold a hex colour code, an image reference and a text name.
- Table name
RetailProductSwatchOverride- Module
Commerce merchandising- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
Retail- Primary index
None- Replacement key
ProductDimensionIdx- Key fields
ProductMaster, DimensionValue, DimensionType, CatalogId, LanguageId, InternalOrganization- Model
Retail
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ProductMasterReference to the product master that the override applies to. Part of the key. | Int64RefRecId | Yes | RetailProductSwatchOverrideEntity | |
DimensionValueReference to the product dimension value, such as a particular colour or size. Part of the key. | Int64RefRecId | Yes | RetailProductSwatchOverrideEntity | |
DimensionTypeKind of product dimension: none, colour, configuration, size or style. | EnumRetailProductDimensionType (enum) | Yes | RetailProductSwatchOverrideEntity | |
CatalogIdReference to the catalog that the override applies to. Part of the key. | Int64RefRecId | Yes | RetailProductSwatchOverrideEntity | |
LanguageIdLanguage code for which the override is used. Part of the key. | String (7)LanguageId | Yes | RetailProductSwatchOverrideEntity | |
InternalOrganizationReference to the internal organization that the override applies to. Part of the key. | Int64RefRecId | Yes | RetailProductSwatchOverrideEntity | |
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 | |
HexCodeHexadecimal colour code used for the swatch. | String (60)RetailHexCode | No | RetailProductSwatchOverrideEntity | |
ImageReference to the image used for the swatch. The target table is not stated in the metadata. | Int64RefRecId | No | RetailProductSwatchOverrideEntity | |
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 | |
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 | |
TextName shown for the swatch. | String (60)Name | No | RetailProductSwatchOverrideEntity |
Indexes (1)
ProductDimensionIdxReplacement keyProductMaster,DimensionValue,DimensionType,CatalogId,LanguageId,InternalOrganizationUnique, alternate key.
Get this data out
Tables are not exposed directly. These public entities read from RetailProductSwatchOverride; use one of them in Power BI, Power Platform or a data management project.
RetailProductSwatchOverrideEntity· 9 fields from this table
Need help with RetailProductSwatchOverride in a report, an integration or a migration? Talk to Dr Dynamics.