Table
RetailOrderOperationStatus
Retail order operation status
Holds the processing status of operations on retail orders, such as a cancel request. Each record shows the operation's status, retry count, error message and result. It also holds a target transaction and sales order. The transaction is identified by transaction number, store, register and channel.
- Table name
RetailOrderOperationStatus- Module
Commerce transactions and orders- 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 (25)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelIdRecord ID of the retail channel for the transaction. | Int64RefRecId | No | RetailChannelTable.RecId | 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 | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OperationProcessingResultOutcome of processing the operation, such as success or a processing error. | EnumRetailOrderOperationProcessingResult (enum) | No | None | |
OperationProcessingTimeDate and time when the operation was processed (UTC). | UtcDateTime | No | None | |
OperationRequestTimeDate and time when the operation was committed (UTC). | UtcDateTimeRetailDocumentOperationCommittedDateTime | No | None | |
OperationTypeKind of operation requested. The only value besides none is cancel. | EnumRetailOrderOperationType (enum) | 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 | |
RetailDocumentOperationErrorMessageFree-text error message recorded for the operation. | String (-1)RetailDocumentOperationErrorMessage | No | None | |
RetailDocumentOperationIdIdentifier of the document operation that this status record tracks. | String (32)RetailDocumentOperationId | Yes | RetailDocumentOperation.RetailDocumentOperationId | None |
RetailDocumentOperationRetriesHow many times the operation has been retried. | IntegerRetailDocumentOperationRetries | No | None | |
RetailDocumentOperationStatusCurrent processing stage of the operation, such as queued, processing, success or failed. | EnumRetailDocumentOperationStatus (enum) | No | None | |
StoreIdStore number of the transaction. It points to a store record. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TargetChannelIdRecord ID of the retail channel of the target transaction. | Int64RefRecId | No | RetailChannelTable.RecId | None |
TargetSalesIdSales order that the operation targets. | String (20)SalesIdBase | No | SalesTable.SalesId | None |
TargetStoreIdStore number of the target transaction. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | None |
TargetTerminalIdRegister number of the target transaction. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | None |
TargetTransactionIdNumber of the retail transaction that the operation targets. | String (44)RetailTransactionId | No | RetailTransactionTable.transactionId | None |
TerminalIdRegister (POS terminal) number of the transaction. It points to a register record. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | None |
TransactionIdNumber of the retail transaction that the operation relates to. Together with channel, store and register it points to one transaction. | String (44)RetailTransactionId | No | RetailTransactionTable.transactionId | None |
TroubleshootingStatusProgress of troubleshooting for the operation: none, in progress, succeeded or failed. | EnumRetailOrderOperationTroubleshootingStatus (enum) | No | None |
Indexes (3)
RetailIncompleteAsyncOrderCancellationsIdxRetailDocumentOperationStatus,RetailDocumentOperationRetries,OperationTypeNot unique.
OperationIdIdxUnique, alternate key.
OperationTypeRetryCountOperationType,RetailDocumentOperationRetries,OperationProcessingResultNot unique.
Relations (10)
Each relation joins RetailOrderOperationStatus to another table on the fields shown.
RetailChannelTable→RetailChannelTableJoin on
ChannelId = RetailChannelTable.RecIdMany RetailOrderOperationStatus records → exactly one RetailChannelTable record
RetailStoreTable→RetailStoreTableJoin on
StoreId = RetailStoreTable.StoreNumberMany RetailOrderOperationStatus records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
TerminalId = RetailTerminalTable.terminalIdMany RetailOrderOperationStatus records → exactly one RetailTerminalTable record
RetailTransactionTable→RetailTransactionTableJoin on
ChannelId = RetailTransactionTable.Channel,StoreId = RetailTransactionTable.store,TerminalId = RetailTransactionTable.terminal,TransactionId = RetailTransactionTable.transactionIdCardinality not set in the metadata.
RetailDocumentOperation→RetailDocumentOperationJoin on
RetailDocumentOperationId = RetailDocumentOperation.RetailDocumentOperationIdCardinality not set in the metadata.
RetailTargetChannelTable→RetailChannelTableJoin on
TargetChannelId = RetailChannelTable.RecIdMany RetailOrderOperationStatus records → exactly one RetailChannelTable record
RetailTargetStoreTable→RetailStoreTableJoin on
TargetStoreId = RetailStoreTable.StoreNumberMany RetailOrderOperationStatus records → exactly one RetailStoreTable record
RetailTargetTerminalTable→RetailTerminalTableJoin on
TargetTerminalId = RetailTerminalTable.terminalIdMany RetailOrderOperationStatus records → exactly one RetailTerminalTable record
RetailTargetTransactionTable→RetailTransactionTableJoin on
TargetChannelId = RetailTransactionTable.Channel,TargetStoreId = RetailTransactionTable.store,TargetTerminalId = RetailTransactionTable.terminal,TargetTransactionId = RetailTransactionTable.transactionIdCardinality not set in the metadata.
TargetSalesTable→SalesTableJoin on
TargetSalesId = SalesTable.SalesIdCardinality not set in the metadata.
Get this data out
No public entity reads from RetailOrderOperationStatus. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailOrderOperationStatus in a report, an integration or a migration? Talk to Dr Dynamics.