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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesLineSystem record ID of the sales line this record belongs to. | Int64MCRSalesLineRefRecId | Yes | SalesLine.RecId | None |
ContinuityScheduleIdID of the continuity schedule for the line. | String (20)MCRContinuityScheduleID | No | None | |
CustInvoiceTransRecIdSystem record ID of a related customer invoice line. | Int64MCRCustInvoiceTransRefRecId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExchangeInventRefTransIdLot ID of the inventory transaction for an exchange. | String (20)MCRExchangeInventRefTransId | No | None | |
ExpediteExpedite value for the line. | StringMCRExpedite | No | None | |
GiftCardAmount_RUGift card issue amount, used for Russia. | RealMCRGiftCardIssueAmount_RU | No | None | |
GiftCardBuyerEmailEmail address of the gift card buyer. | String (80)Email | No | None | |
GiftCardBuyerNameName of the gift card buyer. | String (60)Name | No | None | |
GiftCardExpirationGift card expiry date as a short month and year text. | String (7)RetailGiftCardExpirationShort | No | None | |
GiftCardGiftMessageGift message for the gift card. | String (250)MCRGiftCertMessage | No | None | |
GiftCardNumberGift card number. | String (30)RetailGiftCardId | No | None | |
GiftCardRecipientEmailEmail address of the gift card recipient. | String (80)Email | No | None | |
GiftCardRecipientNameName of the gift card recipient. | String (60)Name | No | None | |
GiftCardTypeKind of gift card: email or physical card. | EnumMCRGiftCardType (enum) | No | None | |
InstallmentEligibleShows whether the line can be paid in instalments. | EnumMCRInstallmentEligibleNoYes (enum) | No | None | |
LineTypeKind of line: catalogue free gift, regular or continuity parent. | EnumMCRLineType (enum) | No | None | |
ParentLotIdLot ID of the parent line. | String (20)InventTransId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
RetailPriceOverrideWorkflowStateStage of the price override approval: none, not submitted, submitted, approved, rejected or completed. | EnumRetailPriceOverrideWorkflowState (enum) | No | None | |
SourceIdSource code linked to the line. | String (20)MCRSourceID | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UpSellOriginWhere the line came from: none, item cross-sell, item up-sell or catalogue. | EnumMCRUpSellOrigin (enum) | No | None | |
UpSellOriginRefReference to the item or offer behind the line origin; the label says estimated inventory days remaining, which does not match the type.low confidence | String (20)MCRItemIdOfferId | No | None |
Indexes (1)
SalesLineIdxReplacement keyUnique, alternate key.
Relations (1)
Each relation joins MCRSalesLineHistory to another table on the fields shown.
SalesLine→SalesLineJoin on
SalesLine = SalesLine.RecIdZero 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.