Table

RetailAssortmentLookupStaging

Retail assortments

Staging rows that list assortment lines with a product, an optional variant and a valid date range. Each row is marked as include or exclude. It points to the assortment, product and product variant tables. It has no key defined.

Table name
RetailAssortmentLookupStaging
Module
Cross-module and platform
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 (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AssortmentIdThe retail assortment, as a system record ID from the assortment table.Int64
RetailAssortmentRefRecId
NoRetailAssortmentTable.RecIdNone
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
ProductIdThe product, as a system record ID.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
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
VariantIdThe distinct product variant, as a system record ID.Int64
EcoResDistinctProductVariantRecId
NoEcoResDistinctProductVariant.RecIdNone

Indexes (3)

Relations (3)

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

  • EcoResDistinctProductVariant → EcoResDistinctProductVariant

    Join on VariantId = EcoResDistinctProductVariant.RecId

    Many RetailAssortmentLookupStaging records → zero or one EcoResDistinctProductVariant record

  • EcoResProduct → EcoResProduct

    Join on ProductId = EcoResProduct.RecId

    Many RetailAssortmentLookupStaging records → zero or one EcoResProduct record

  • RetailAssortmentTable → RetailAssortmentTable

    Join on AssortmentId = RetailAssortmentTable.RecId

    Many RetailAssortmentLookupStaging records → exactly one RetailAssortmentTable record

Get this data out

No public entity reads from RetailAssortmentLookupStaging. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk