Table

MCRSalesLinePriceOverride

Price override for call center sales line

Holds price override details for a call center sales line, keyed by a reference to the sales line record. It stores the original unit price and its currency. It also stores a reason code taken from an information code and subcode.

Table name
MCRSalesLinePriceOverride
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 (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesLineSystem record ID of the sales line this record belongs to.Int64
MCRSalesLineRefRecId
YesSalesLine.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ListPriceOriginal unit price before the override.Real
MCROriginalUnitPrice
NoNone
ListPriceCurrencyCodeCurrency code of the original unit price.String (3)
CustCurrencyCode
NoCurrency.CurrencyCodeNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceOverrideShows whether the price was overridden.Enum
NoYes (enum)
NoNone
ReasonCodeSubcode giving the reason for the override, used together with the info code.String
RetailInformationSubcodeId
NoRetailInformationSubcodeTable.subcodeIdNone
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
RetailInfocodeIdInfo code that the reason code belongs to.String
RetailInfocodeId
NoRetailInformationSubcodeTable.infocodeIdNone
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

Indexes (1)

  • SalesLineIdxReplacement key

    SalesLine

    Unique, alternate key.

Relations (3)

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

  • Currency → Currency

    Join on ListPriceCurrencyCode = Currency.CurrencyCode

    Many MCRSalesLinePriceOverride records → zero or one Currency record

  • RetailInformationSubcodeTable → RetailInformationSubcodeTable

    Join on ReasonCode = RetailInformationSubcodeTable.subcodeId, RetailInfocodeId = RetailInformationSubcodeTable.infocodeId

    Many MCRSalesLinePriceOverride records → exactly one RetailInformationSubcodeTable record

  • SalesLine → SalesLine

    Join on SalesLine = SalesLine.RecId

    Zero or one MCRSalesLinePriceOverride record → exactly one SalesLine record

Get this data out

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

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

Email sales@drdynamics.co.uk