Table

MCRUpSellItem

Up-sell items

Holds up-sell and cross-sell links between a trigger item and a linked item. Each row may relate to a catalog and a product and to a named rule. It also holds a priority and a script text.

Table name
MCRUpSellItem
Module
Commerce merchandising
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
MCRCallCenter
Primary index
RecId
Replacement key
UpSellIdx
Key fields
ItemId, Catalog, Product, LinkedItem, UpSellType, RuleID
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ItemIdThe parent or trigger item that starts the offer.String (20)
ItemId
NoInventTable.ItemIdNone
CatalogThe catalog the up-sell link relates to.Int64
CatalogRefRecId
NoCatalog.RecIdNone
ProductThe product the link relates to.Int64
EcoResProductRecId
NoEcoResProduct.RecIdNone
LinkedItemThe item that is suggested alongside the trigger item.String (20)
ItemId
YesInventTable.ItemIdNone
UpSellTypeShows whether the link is a cross-sell or an up-sell.Enum
MCRUpSellType (enum)
NoNone
RuleIDThe up-sell or cross-sell rule the row uses.String (50)
MCRUpSellRule
NoMCRUpSellVarRule.RuleIDNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriorityThe priority given to this link.Integer
Priority
NoNone
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
ScriptFree text, such as a script for staff to follow, for the offer.String (1000)
MCRScriptNote
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (6)

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

  • Catalog → Catalog

    Join on Catalog = Catalog.RecId

    Many MCRUpSellItem records → exactly one Catalog record

  • CatalogProduct → CatalogProduct

    Join on Product = CatalogProduct.Product, Catalog = CatalogProduct.Catalog

    Many MCRUpSellItem records → zero or one CatalogProduct record

  • EcoResProduct → EcoResProduct

    Join on Product = EcoResProduct.RecId

    Many MCRUpSellItem records → exactly one EcoResProduct record

  • ItemId → InventTable

    Join on ItemId = InventTable.ItemId

    Many MCRUpSellItem records → zero or one InventTable record

  • LinkedItem → InventTable

    Join on LinkedItem = InventTable.ItemId

    One or more MCRUpSellItem records → exactly one InventTable record

  • MCRUpSellVarRule → MCRUpSellVarRule

    Join on RuleID = MCRUpSellVarRule.RuleID

    Many MCRUpSellItem records → zero or one MCRUpSellVarRule record

Get this data out

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

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

Email sales@drdynamics.co.uk