Table
RetailAssortmentLookup
Retail assortments
Lookup rows for a retail assortment, listing products and product variants. Each row is marked as an include or an exclude line and has a validity date range. It links to assortments, products and distinct product variants. It has no defined key.
- Table name
RetailAssortmentLookup- 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 (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AssortmentIdPoints to the retail assortment this row belongs to. | Int64RetailAssortmentRefRecId | No | RetailAssortmentTable.RecId | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
LineTypeShows whether the line includes or excludes the product. | EnumRetailAssortmentLineTypeRetailAssortmentExcludeIncludeType (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProductIdPoints to the product the line refers to. | 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 | |
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 | |
ValidFromFirst date on which the line is valid. | DateValidFromDate | No | None | |
ValidToLast date on which the line is valid. | DateValidToDate | No | None | |
VariantIdPoints to the product variant the line refers to. | Int64EcoResDistinctProductVariantRecId | No | EcoResDistinctProductVariant.RecId | None |
Indexes (5)
AssortmentIdxAssortmentId,ProductId,VariantId,LineTypeUnique, alternate key.
LineTypeValidFromValidToIdxLineType,ValidFrom,ValidTo,AssortmentId,ProductIdNot unique.
ProductIDIdxNot unique.
AssortmentLineTypeVariantIdxAssortmentId,LineType,VariantIdNot unique.
RetailAssortmentLookupIdxAssortmentId,ProductId,ValidFrom,ValidToNot unique.
Relations (3)
Each relation joins RetailAssortmentLookup to another table on the fields shown.
EcoResDistinctProductVariant→EcoResDistinctProductVariantJoin on
VariantId = EcoResDistinctProductVariant.RecIdMany RetailAssortmentLookup records → zero or one EcoResDistinctProductVariant record
EcoResProduct→EcoResProductJoin on
ProductId = EcoResProduct.RecIdMany RetailAssortmentLookup records → zero or one EcoResProduct record
RetailAssortmentTable→RetailAssortmentTableJoin on
AssortmentId = RetailAssortmentTable.RecIdMany RetailAssortmentLookup records → exactly one RetailAssortmentTable record
Get this data out
No public entity reads from RetailAssortmentLookup. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailAssortmentLookup in a report, an integration or a migration? Talk to Dr Dynamics.