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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelIdRecord ID of the retail channel for the transaction.Int64
RefRecId
NoRetailChannelTable.RecIdNone
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
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OperationProcessingResultOutcome of processing the operation, such as success or a processing error.Enum
RetailOrderOperationProcessingResult (enum)
NoNone
OperationProcessingTimeDate and time when the operation was processed (UTC).UtcDateTimeNoNone
OperationRequestTimeDate and time when the operation was committed (UTC).UtcDateTime
RetailDocumentOperationCommittedDateTime
NoNone
OperationTypeKind of operation requested. The only value besides none is cancel.Enum
RetailOrderOperationType (enum)
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
RetailDocumentOperationErrorMessageFree-text error message recorded for the operation.String (-1)
RetailDocumentOperationErrorMessage
NoNone
RetailDocumentOperationIdIdentifier of the document operation that this status record tracks.String (32)
RetailDocumentOperationId
YesRetailDocumentOperation.RetailDocumentOperationIdNone
RetailDocumentOperationRetriesHow many times the operation has been retried.Integer
RetailDocumentOperationRetries
NoNone
RetailDocumentOperationStatusCurrent processing stage of the operation, such as queued, processing, success or failed.Enum
RetailDocumentOperationStatus (enum)
NoNone
StoreIdStore number of the transaction. It points to a store record.String
RetailStoreId
NoRetailStoreTable.StoreNumberNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TargetChannelIdRecord ID of the retail channel of the target transaction.Int64
RefRecId
NoRetailChannelTable.RecIdNone
TargetSalesIdSales order that the operation targets.String (20)
SalesIdBase
NoSalesTable.SalesIdNone
TargetStoreIdStore number of the target transaction.String
RetailStoreId
NoRetailStoreTable.StoreNumberNone
TargetTerminalIdRegister number of the target transaction.String
RetailTerminalId
NoRetailTerminalTable.terminalIdNone
TargetTransactionIdNumber of the retail transaction that the operation targets.String (44)
RetailTransactionId
NoRetailTransactionTable.transactionIdNone
TerminalIdRegister (POS terminal) number of the transaction. It points to a register record.String
RetailTerminalId
NoRetailTerminalTable.terminalIdNone
TransactionIdNumber of the retail transaction that the operation relates to. Together with channel, store and register it points to one transaction.String (44)
RetailTransactionId
NoRetailTransactionTable.transactionIdNone
TroubleshootingStatusProgress of troubleshooting for the operation: none, in progress, succeeded or failed.Enum
RetailOrderOperationTroubleshootingStatus (enum)
NoNone

Indexes (3)

Relations (10)

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

  • RetailChannelTable → RetailChannelTable

    Join on ChannelId = RetailChannelTable.RecId

    Many RetailOrderOperationStatus records → exactly one RetailChannelTable record

  • RetailStoreTable → RetailStoreTable

    Join on StoreId = RetailStoreTable.StoreNumber

    Many RetailOrderOperationStatus records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on TerminalId = RetailTerminalTable.terminalId

    Many RetailOrderOperationStatus records → exactly one RetailTerminalTable record

  • RetailTransactionTable → RetailTransactionTable

    Join on ChannelId = RetailTransactionTable.Channel, StoreId = RetailTransactionTable.store, TerminalId = RetailTransactionTable.terminal, TransactionId = RetailTransactionTable.transactionId

    Cardinality not set in the metadata.

  • RetailDocumentOperation → RetailDocumentOperation

    Join on RetailDocumentOperationId = RetailDocumentOperation.RetailDocumentOperationId

    Cardinality not set in the metadata.

  • RetailTargetChannelTable → RetailChannelTable

    Join on TargetChannelId = RetailChannelTable.RecId

    Many RetailOrderOperationStatus records → exactly one RetailChannelTable record

  • RetailTargetStoreTable → RetailStoreTable

    Join on TargetStoreId = RetailStoreTable.StoreNumber

    Many RetailOrderOperationStatus records → exactly one RetailStoreTable record

  • RetailTargetTerminalTable → RetailTerminalTable

    Join on TargetTerminalId = RetailTerminalTable.terminalId

    Many RetailOrderOperationStatus records → exactly one RetailTerminalTable record

  • RetailTargetTransactionTable → RetailTransactionTable

    Join on TargetChannelId = RetailTransactionTable.Channel, TargetStoreId = RetailTransactionTable.store, TargetTerminalId = RetailTransactionTable.terminal, TargetTransactionId = RetailTransactionTable.transactionId

    Cardinality not set in the metadata.

  • TargetSalesTable → SalesTable

    Join on TargetSalesId = SalesTable.SalesId

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

Email sales@drdynamics.co.uk