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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
MCROrderLine2PriceHistoryRefReference to the price history reference record for an order line. | Int64MCROrderLinePriceHistoryReference | Yes | MCROrderLine2PriceHistoryRef.RecId | None |
PriceHistoryRecIdSystem record ID of the related price history record. | Int64MCRPriceHistoryRefRecId | Yes | MCRPriceHistory.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
PriceHistoryRecIdIdxNot unique.
OrderLinePrimary indexReplacement keyMCROrderLine2PriceHistoryRef,PriceHistoryRecIdUnique, alternate key.
Relations (2)
Each relation joins MCRPriceHistoryRef to another table on the fields shown.
MCROrderLine2PriceHistoryRef→MCROrderLine2PriceHistoryRefJoin on
MCROrderLine2PriceHistoryRef = MCROrderLine2PriceHistoryRef.RecIdExactly one MCRPriceHistoryRef record → exactly one MCROrderLine2PriceHistoryRef record
MCRPriceHistory→MCRPriceHistoryJoin on
PriceHistoryRecId = MCRPriceHistory.RecIdOne 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.