Table

RetailCustomerOrderCancellationHistory

Holds a history of cancelled customer orders. Each row links a retail transaction (channel, store, register and transaction number) to a sales order. It has no defined key.

Table name
RetailCustomerOrderCancellationHistory
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelSystem record ID of the channel. It is part of the link to the retail transaction.Int64
RetailChannelRecId
NoRetailTransactionTable.ChannelNone
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
SalesIdNumber of the sales order, pointing to the sales order record.String (20)
SalesIdBase
NoSalesTable.SalesIdNone
StoreNumber of the store. It is part of the link to the retail transaction.String
RetailStoreId
NoRetailTransactionTable.storeNone
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
TerminalNumber of the register (terminal). It is part of the link to the retail transaction.String
RetailTerminalId
NoRetailTransactionTable.terminalNone
TransactionIdNumber of the retail transaction. It is part of the link to the retail transaction.String (44)
RetailTransactionId
NoRetailTransactionTable.transactionIdNone

Indexes (1)

Relations (2)

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

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Exactly one RetailCustomerOrderCancellationHistory record → zero or one SalesTable record

  • RetailTransactionTable → RetailTransactionTable

    Join on Channel = RetailTransactionTable.Channel, Store = RetailTransactionTable.store, Terminal = RetailTransactionTable.terminal, TransactionId = RetailTransactionTable.transactionId

    Exactly one RetailCustomerOrderCancellationHistory record → zero or one RetailTransactionTable record

Get this data out

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

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

Email sales@drdynamics.co.uk