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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AssortmentIdPoints to the retail assortment this row belongs to.Int64
RetailAssortmentRefRecId
NoRetailAssortmentTable.RecIdNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
LineTypeShows whether the line includes or excludes the product.Enum
RetailAssortmentLineType
RetailAssortmentExcludeIncludeType (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProductIdPoints to the product the line refers to.Int64
EcoResProductRecId
NoEcoResProduct.RecIdNone
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
ValidFromFirst date on which the line is valid.Date
ValidFromDate
NoNone
ValidToLast date on which the line is valid.Date
ValidToDate
NoNone
VariantIdPoints to the product variant the line refers to.Int64
EcoResDistinctProductVariantRecId
NoEcoResDistinctProductVariant.RecIdNone

Indexes (5)

Relations (3)

Each relation joins RetailAssortmentLookup to another table on the fields shown.

  • EcoResDistinctProductVariant → EcoResDistinctProductVariant

    Join on VariantId = EcoResDistinctProductVariant.RecId

    Many RetailAssortmentLookup records → zero or one EcoResDistinctProductVariant record

  • EcoResProduct → EcoResProduct

    Join on ProductId = EcoResProduct.RecId

    Many RetailAssortmentLookup records → zero or one EcoResProduct record

  • RetailAssortmentTable → RetailAssortmentTable

    Join on AssortmentId = RetailAssortmentTable.RecId

    Many 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.

Email sales@drdynamics.co.uk