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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimension set linked to the event.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
DeliveryDateDelivery date stored for the event.Date
DlvDate
NoNone
EventDescriptionFree text that describes the event.String (300)
MCRString300
NoNone
FTCActiveShows whether automatic notification and cancellation is active (Yes or No).Enum
MCRActive
NoYes (enum)
NoNone
FTCDaysFromStartNumber of days from the start for automatic notification and cancellation.Integer
MCRDaysFromStart
NoNone
HoldClearDateTimeDate and time when the hold was cleared.UtcDateTime
MCRHoldClearDateTime
NoNone
InventDimIdOriginal inventory dimensions of the line.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventDimIdofAlternateItemInventory dimensions of the alternate item.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventTransIdLot ID that links the event to an inventory transaction.String (20)
InventTransId
NoInventTransOrigin.InventTransIdNone
IsInvestigatedByUserShows whether a user has investigated the event (Yes or No).Enum
NoYes (enum)
NoNone
ItemIdItem that the event relates to.String (20)
ItemIdSmall
NoInventTable.ItemIdNone
ItemIdofAlternateItemAlternate item used in place of the original item.String (20)
ItemIdSmall
NoInventTable.ItemIdNone
LineAmountNet amount of the line.Real
SalesLineAmount
NoNone
LineAmountofAlternateItemLine amount for the alternate item.Real
SalesLineAmount
NoNone
MCRCommentFree-text comment on the event.String (250)
MCRComment
NoNone
MCRHoldCodeHold code that the event relates to.String
MCRHoldCode
NoMCRHoldCodeTable.MCRHoldCodeNone
MCRHoldCodeUserUser linked to the hold code. The metadata gives no label.low confidenceString
UserId
NoNone
MCRNewDeliveryAddressThe updated delivery address.String (250)
Addressing
NoNone
MCROMCReasonCodeReason code for the event, taken from the subcodes of an info code.String
RetailInformationSubcodeId
NoRetailInformationSubcodeTable.subcodeIdNone
MCROrderEventTypeType of order event, such as adding a hold, creating an order or a price override.Enum
MCROrderEventType (enum)
YesNone
MCROrigDeliveryAddressThe delivery address before the change.String (250)
Addressing
NoNone
MCROverrideUserUser who made the change.String
UserId
NoNone
MCRPriceMiscChargeOverrideReasonCodeReason code for a charge override, taken from the subcodes of an info code.String
RetailInformationSubcodeId
NoRetailInformationSubcodeTable.subcodeIdNone
MCRPriceOverrideReasonCodeReason code for a price override, taken from the subcodes of an info code.String
RetailInformationSubcodeId
NoRetailInformationSubcodeTable.subcodeIdNone
MCRReasonCodeReason code for the event, taken from the subcodes of an info code.String
RetailInformationSubcodeId
NoRetailInformationSubcodeTable.subcodeIdNone
OMCRetailInfocodeIdInfo code that goes with the reason code for the event.String
RetailInfocodeId
NoRetailInformationSubcodeTable.infocodeIdNone
OriginalDateValueDate before it was changed.Date
TransDate
NoNone
OriginalOrderCreatorUser who first created the order.String
UserId
NoNone
OriginalValuePrice value before the override.Real
SalesPrice
NoNone
OriginalValueCurrencyCodeCurrency of the original value.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
OverrideDateValueDate after it was changed.Date
TransDate
NoNone
OverrideValueValue entered in the override.Real
RealBase
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceMiscChargeOverrideRetailInfocodeIdInfo code for the charge override reason.String
RetailInfocodeId
NoRetailInformationSubcodeTable.infocodeIdNone
PriceOverrideRetailInfocodeIdInfo code for the price override reason.String
RetailInfocodeId
NoRetailInformationSubcodeTable.infocodeIdNone
PurchIdPurchase order that the event relates to.String (20)
PurchIdBase
NoPurchTable.PurchIdNone
QuotationIdSales quotation that the event relates to.String (20)
SalesQuotationId
NoSalesQuotationTable.QuotationIdNone
ReceiptDateReceipt date stored for the event.Date
SalesReceiptDate
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
RefRecIdSystem record ID of the related charges transaction.Int64
MarkupTransRefRecId
NoNone
RefTableIdID of the table that the reference points to, which is the charges transactions table.Integer
RefTableId
NoNone
RetailInfocodeIdInfo code that goes with the reason code on the event.String
RetailInfocodeId
NoRetailInformationSubcodeTable.infocodeIdNone
SalesIdSales order that the event relates to.String (20)
SalesIdBase
NoSalesTable.SalesIdNone
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 (11)

Relations (17)

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

  • Currency → Currency

    Join on OriginalValueCurrencyCode = Currency.CurrencyCode

    Many MCROrderEventTable records → exactly one Currency record

  • CustCreditReasonCode → RetailInformationSubcodeTable

    Join on MCROMCReasonCode = RetailInformationSubcodeTable.subcodeId, OMCRetailInfocodeId = RetailInformationSubcodeTable.infocodeId

    Many MCROrderEventTable records → zero or one RetailInformationSubcodeTable record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many MCROrderEventTable records → zero or one DimensionAttributeValueSet record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many MCROrderEventTable records → exactly one InventDim record

  • InventDimIdofAlternateItem → InventDim

    Join on InventDimIdofAlternateItem = InventDim.inventDimId

    Many MCROrderEventTable records → zero or one InventDim record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many MCROrderEventTable records → zero or one InventTransOrigin record

  • ItemdOfAlternateItem → InventTable

    Join on ItemIdofAlternateItem = InventTable.ItemId

    Many MCROrderEventTable records → exactly one InventTable record

  • ItemId → InventTable

    Join on ItemId = InventTable.ItemId

    Many MCROrderEventTable records → exactly one InventTable record

  • MarkupTrans → MarkupTrans

    Join on RefRecId = MarkupTrans.RecId, RefTableId = MarkupTrans.TableId

    Many MCROrderEventTable records → zero or one MarkupTrans record

  • MCRHoldCodeTable → MCRHoldCodeTable

    Join on MCRHoldCode = MCRHoldCodeTable.MCRHoldCode

    Many MCROrderEventTable records → exactly one MCRHoldCodeTable record

  • PriceOverrideMiscChargeReasonCode → RetailInformationSubcodeTable

    Join on MCRPriceMiscChargeOverrideReasonCode = RetailInformationSubcodeTable.subcodeId, PriceMiscChargeOverrideRetailInfocodeId = RetailInformationSubcodeTable.infocodeId

    Many MCROrderEventTable records → zero or one RetailInformationSubcodeTable record

  • PriceOverrideReasonCode → RetailInformationSubcodeTable

    Join on PriceOverrideRetailInfocodeId = RetailInformationSubcodeTable.infocodeId, MCRPriceOverrideReasonCode = RetailInformationSubcodeTable.subcodeId

    Many MCROrderEventTable records → zero or one RetailInformationSubcodeTable record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Many MCROrderEventTable records → exactly one PurchTable record

  • QuotationId → SalesQuotationTable

    Join on QuotationId = SalesQuotationTable.QuotationId, SalesQuotationTable.QuotationType = QuotationType::Sales

    Many MCROrderEventTable records → zero or one SalesQuotationTable record

  • ReasonCode → RetailInformationSubcodeTable

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

    Many MCROrderEventTable records → zero or one RetailInformationSubcodeTable record

  • SalesLine → SalesLine

    Join on SalesId = SalesLine.SalesId, InventTransId = SalesLine.InventTransId

    Many MCROrderEventTable records → zero or one SalesLine record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many 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.

Email sales@drdynamics.co.uk