Table

MCRPriceHistoryRef

Price history reference history

Links a price history reference record to a price history record. The key is the pair of the two references. It works as a link table between order line price history references and price history entries.

Table name
MCRPriceHistoryRef
Module
Sales and marketing
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
TradeAgreements
Primary index
OrderLine
Replacement key
OrderLine
Key fields
MCROrderLine2PriceHistoryRef, PriceHistoryRecId
Model
Foundation

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
MCROrderLine2PriceHistoryRefReference to the price history reference record for an order line.Int64
MCROrderLinePriceHistoryReference
YesMCROrderLine2PriceHistoryRef.RecIdNone
PriceHistoryRecIdSystem record ID of the related price history record.Int64
MCRPriceHistoryRefRecId
YesMCRPriceHistory.RecIdNone
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
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
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 (2)

Relations (2)

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

  • MCROrderLine2PriceHistoryRef → MCROrderLine2PriceHistoryRef

    Join on MCROrderLine2PriceHistoryRef = MCROrderLine2PriceHistoryRef.RecId

    Exactly one MCRPriceHistoryRef record → exactly one MCROrderLine2PriceHistoryRef record

  • MCRPriceHistory → MCRPriceHistory

    Join on PriceHistoryRecId = MCRPriceHistory.RecId

    One or more MCRPriceHistoryRef records → exactly one MCRPriceHistory record

Get this data out

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

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

Email sales@drdynamics.co.uk