Table
MCROrderEventTable
Order event
Logs order events, such as holds, price overrides, address changes and alternate item use. A record can link to a sales order, sales quotation, purchase order, item, hold code and reason codes. It also stores original and changed values, and it has no defined key.
- Table name
MCROrderEventTable- Module
Sales and marketing- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (49)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension set linked to the event. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
DeliveryDateDelivery date stored for the event. | DateDlvDate | No | None | |
EventDescriptionFree text that describes the event. | String (300)MCRString300 | No | None | |
FTCActiveShows whether automatic notification and cancellation is active (Yes or No). | EnumMCRActiveNoYes (enum) | No | None | |
FTCDaysFromStartNumber of days from the start for automatic notification and cancellation. | IntegerMCRDaysFromStart | No | None | |
HoldClearDateTimeDate and time when the hold was cleared. | UtcDateTimeMCRHoldClearDateTime | No | None | |
InventDimIdOriginal inventory dimensions of the line. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventDimIdofAlternateItemInventory dimensions of the alternate item. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventTransIdLot ID that links the event to an inventory transaction. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
IsInvestigatedByUserShows whether a user has investigated the event (Yes or No). | EnumNoYes (enum) | No | None | |
ItemIdItem that the event relates to. | String (20)ItemIdSmall | No | InventTable.ItemId | None |
ItemIdofAlternateItemAlternate item used in place of the original item. | String (20)ItemIdSmall | No | InventTable.ItemId | None |
LineAmountNet amount of the line. | RealSalesLineAmount | No | None | |
LineAmountofAlternateItemLine amount for the alternate item. | RealSalesLineAmount | No | None | |
MCRCommentFree-text comment on the event. | String (250)MCRComment | No | None | |
MCRHoldCodeHold code that the event relates to. | StringMCRHoldCode | No | MCRHoldCodeTable.MCRHoldCode | None |
MCRHoldCodeUserUser linked to the hold code. The metadata gives no label.low confidence | StringUserId | No | None | |
MCRNewDeliveryAddressThe updated delivery address. | String (250)Addressing | No | None | |
MCROMCReasonCodeReason code for the event, taken from the subcodes of an info code. | StringRetailInformationSubcodeId | No | RetailInformationSubcodeTable.subcodeId | None |
MCROrderEventTypeType of order event, such as adding a hold, creating an order or a price override. | EnumMCROrderEventType (enum) | Yes | None | |
MCROrigDeliveryAddressThe delivery address before the change. | String (250)Addressing | No | None | |
MCROverrideUserUser who made the change. | StringUserId | No | None | |
MCRPriceMiscChargeOverrideReasonCodeReason code for a charge override, taken from the subcodes of an info code. | StringRetailInformationSubcodeId | No | RetailInformationSubcodeTable.subcodeId | None |
MCRPriceOverrideReasonCodeReason code for a price override, taken from the subcodes of an info code. | StringRetailInformationSubcodeId | No | RetailInformationSubcodeTable.subcodeId | None |
MCRReasonCodeReason code for the event, taken from the subcodes of an info code. | StringRetailInformationSubcodeId | No | RetailInformationSubcodeTable.subcodeId | None |
OMCRetailInfocodeIdInfo code that goes with the reason code for the event. | StringRetailInfocodeId | No | RetailInformationSubcodeTable.infocodeId | None |
OriginalDateValueDate before it was changed. | DateTransDate | No | None | |
OriginalOrderCreatorUser who first created the order. | StringUserId | No | None | |
OriginalValuePrice value before the override. | RealSalesPrice | No | None | |
OriginalValueCurrencyCodeCurrency of the original value. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
OverrideDateValueDate after it was changed. | DateTransDate | No | None | |
OverrideValueValue entered in the override. | RealRealBase | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceMiscChargeOverrideRetailInfocodeIdInfo code for the charge override reason. | StringRetailInfocodeId | No | RetailInformationSubcodeTable.infocodeId | None |
PriceOverrideRetailInfocodeIdInfo code for the price override reason. | StringRetailInfocodeId | No | RetailInformationSubcodeTable.infocodeId | None |
PurchIdPurchase order that the event relates to. | String (20)PurchIdBase | No | PurchTable.PurchId | None |
QuotationIdSales quotation that the event relates to. | String (20)SalesQuotationId | No | SalesQuotationTable.QuotationId | None |
ReceiptDateReceipt date stored for the event. | DateSalesReceiptDate | 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 | |
RefRecIdSystem record ID of the related charges transaction. | Int64MarkupTransRefRecId | No | None | |
RefTableIdID of the table that the reference points to, which is the charges transactions table. | IntegerRefTableId | No | None | |
RetailInfocodeIdInfo code that goes with the reason code on the event. | StringRetailInfocodeId | No | RetailInformationSubcodeTable.infocodeId | None |
SalesIdSales order that the event relates to. | String (20)SalesIdBase | No | SalesTable.SalesId | 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 (11)
SalesIdIdxNot unique.
QuotationIdIdxNot unique.
RefRecIdIdxNot unique.
PurchIdxNot unique.
CreatedDateTimeIdxNot unique.
MCROrderEventTypeIdxMCROrderEventType,IsInvestigatedByUser,CreatedDateTime,SalesIdNot unique.
ItemIdIdxNot unique.
ItemIdofAlternateItemIdxNot unique.
OriginalValueCurrencyCodeIdxNot unique.
DefaultDimensionIdxNot unique.
MCRHoldCodeIdxNot unique.
Relations (17)
Each relation joins MCROrderEventTable to another table on the fields shown.
Currency→CurrencyJoin on
OriginalValueCurrencyCode = Currency.CurrencyCodeMany MCROrderEventTable records → exactly one Currency record
CustCreditReasonCode→RetailInformationSubcodeTableJoin on
MCROMCReasonCode = RetailInformationSubcodeTable.subcodeId,OMCRetailInfocodeId = RetailInformationSubcodeTable.infocodeIdMany MCROrderEventTable records → zero or one RetailInformationSubcodeTable record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany MCROrderEventTable records → zero or one DimensionAttributeValueSet record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany MCROrderEventTable records → exactly one InventDim record
InventDimIdofAlternateItem→InventDimJoin on
InventDimIdofAlternateItem = InventDim.inventDimIdMany MCROrderEventTable records → zero or one InventDim record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany MCROrderEventTable records → zero or one InventTransOrigin record
ItemdOfAlternateItem→InventTableJoin on
ItemIdofAlternateItem = InventTable.ItemIdMany MCROrderEventTable records → exactly one InventTable record
ItemId→InventTableJoin on
ItemId = InventTable.ItemIdMany MCROrderEventTable records → exactly one InventTable record
MarkupTrans→MarkupTransJoin on
RefRecId = MarkupTrans.RecId,RefTableId = MarkupTrans.TableIdMany MCROrderEventTable records → zero or one MarkupTrans record
MCRHoldCodeTable→MCRHoldCodeTableJoin on
MCRHoldCode = MCRHoldCodeTable.MCRHoldCodeMany MCROrderEventTable records → exactly one MCRHoldCodeTable record
PriceOverrideMiscChargeReasonCode→RetailInformationSubcodeTableJoin on
MCRPriceMiscChargeOverrideReasonCode = RetailInformationSubcodeTable.subcodeId,PriceMiscChargeOverrideRetailInfocodeId = RetailInformationSubcodeTable.infocodeIdMany MCROrderEventTable records → zero or one RetailInformationSubcodeTable record
PriceOverrideReasonCode→RetailInformationSubcodeTableJoin on
PriceOverrideRetailInfocodeId = RetailInformationSubcodeTable.infocodeId,MCRPriceOverrideReasonCode = RetailInformationSubcodeTable.subcodeIdMany MCROrderEventTable records → zero or one RetailInformationSubcodeTable record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdMany MCROrderEventTable records → exactly one PurchTable record
QuotationId→SalesQuotationTableJoin on
QuotationId = SalesQuotationTable.QuotationId,SalesQuotationTable.QuotationType = QuotationType::SalesMany MCROrderEventTable records → zero or one SalesQuotationTable record
ReasonCode→RetailInformationSubcodeTableJoin on
MCRReasonCode = RetailInformationSubcodeTable.subcodeId,RetailInfocodeId = RetailInformationSubcodeTable.infocodeIdMany MCROrderEventTable records → zero or one RetailInformationSubcodeTable record
SalesLine→SalesLineJoin on
SalesId = SalesLine.SalesId,InventTransId = SalesLine.InventTransIdMany MCROrderEventTable records → zero or one SalesLine record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany MCROrderEventTable records → exactly one SalesTable record
Get this data out
No public entity reads from MCROrderEventTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with MCROrderEventTable in a report, an integration or a migration? Talk to Dr Dynamics.