Table

MCRSalesLineHistory

Order lines

Extra call center details for a sales order line, keyed by a reference to the sales line record. It holds continuity schedule, gift card, exchange, instalment and up-sell or cross-sell information. It also holds the line type and price override workflow state.

Table name
MCRSalesLineHistory
Module
Commerce transactions and orders
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
MCRCallCenter
Primary index
None
Replacement key
SalesLineIdx
Key fields
SalesLine
Model
Foundation

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesLineSystem record ID of the sales line this record belongs to.Int64
MCRSalesLineRefRecId
YesSalesLine.RecIdNone
ContinuityScheduleIdID of the continuity schedule for the line.String (20)
MCRContinuityScheduleID
NoNone
CustInvoiceTransRecIdSystem record ID of a related customer invoice line.Int64
MCRCustInvoiceTransRefRecId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExchangeInventRefTransIdLot ID of the inventory transaction for an exchange.String (20)
MCRExchangeInventRefTransId
NoNone
ExpediteExpedite value for the line.String
MCRExpedite
NoNone
GiftCardAmount_RUGift card issue amount, used for Russia.Real
MCRGiftCardIssueAmount_RU
NoNone
GiftCardBuyerEmailEmail address of the gift card buyer.String (80)
Email
NoNone
GiftCardBuyerNameName of the gift card buyer.String (60)
Name
NoNone
GiftCardExpirationGift card expiry date as a short month and year text.String (7)
RetailGiftCardExpirationShort
NoNone
GiftCardGiftMessageGift message for the gift card.String (250)
MCRGiftCertMessage
NoNone
GiftCardNumberGift card number.String (30)
RetailGiftCardId
NoNone
GiftCardRecipientEmailEmail address of the gift card recipient.String (80)
Email
NoNone
GiftCardRecipientNameName of the gift card recipient.String (60)
Name
NoNone
GiftCardTypeKind of gift card: email or physical card.Enum
MCRGiftCardType (enum)
NoNone
InstallmentEligibleShows whether the line can be paid in instalments.Enum
MCRInstallmentEligible
NoYes (enum)
NoNone
LineTypeKind of line: catalogue free gift, regular or continuity parent.Enum
MCRLineType (enum)
NoNone
ParentLotIdLot ID of the parent line.String (20)
InventTransId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
RetailPriceOverrideWorkflowStateStage of the price override approval: none, not submitted, submitted, approved, rejected or completed.Enum
RetailPriceOverrideWorkflowState (enum)
NoNone
SourceIdSource code linked to the line.String (20)
MCRSourceID
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UpSellOriginWhere the line came from: none, item cross-sell, item up-sell or catalogue.Enum
MCRUpSellOrigin (enum)
NoNone
UpSellOriginRefReference to the item or offer behind the line origin; the label says estimated inventory days remaining, which does not match the type.low confidenceString (20)
MCRItemIdOfferId
NoNone

Indexes (1)

  • SalesLineIdxReplacement key

    SalesLine

    Unique, alternate key.

Relations (1)

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

  • SalesLine → SalesLine

    Join on SalesLine = SalesLine.RecId

    Zero or one MCRSalesLineHistory record → exactly one SalesLine record

Get this data out

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

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

Email sales@drdynamics.co.uk