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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelSystem record ID of the channel. It is part of the link to the retail transaction. | Int64RetailChannelRecId | No | RetailTransactionTable.Channel | 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 | |
SalesIdNumber of the sales order, pointing to the sales order record. | String (20)SalesIdBase | No | SalesTable.SalesId | None |
StoreNumber of the store. It is part of the link to the retail transaction. | StringRetailStoreId | No | RetailTransactionTable.store | 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 | |
TerminalNumber of the register (terminal). It is part of the link to the retail transaction. | StringRetailTerminalId | No | RetailTransactionTable.terminal | None |
TransactionIdNumber of the retail transaction. It is part of the link to the retail transaction. | String (44)RetailTransactionId | No | RetailTransactionTable.transactionId | None |
Indexes (1)
SalesIdxUnique.
Relations (2)
Each relation joins RetailCustomerOrderCancellationHistory to another table on the fields shown.
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdExactly one RetailCustomerOrderCancellationHistory record → zero or one SalesTable record
RetailTransactionTable→RetailTransactionTableJoin on
Channel = RetailTransactionTable.Channel,Store = RetailTransactionTable.store,Terminal = RetailTransactionTable.terminal,TransactionId = RetailTransactionTable.transactionIdExactly 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.