Table

RetailTransactionOrderStatus

Transaction order status

Holds the status of retail transaction orders that are sent to the sales order system. It records the current status, the number of retries and any error text. Each row refers to a retail transaction and its sales order. No key is listed in the metadata.

Table name
RetailTransactionOrderStatus
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 (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelThe retail channel of the transaction. Points to the channel record.Int64
RefRecId
YesRetailChannelTable.RecIdRetailTransactionOrderStatusBIEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoRetailTransactionOrderStatusBIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionOrderStatusBIEntity
ErrorDetailLong text with details of an error found for the order.String (-1)
RetailOrderErrorDetail
NoRetailTransactionOrderStatusBIEntity
LastEditUserUser who last changed the asynchronous or online transaction.String
RetailTransactionOrderStatusLastEditUser
NoRetailTransactionOrderStatusBIEntity
LastInventTransPoints to an inventory transaction record linked to the order.Int64
RefRecId
NoInventTrans.RecIdRetailTransactionOrderStatusBIEntity
ManuallyModifiedYes/No flag showing whether someone edited the record after it was created.Enum
RetailTransactionOrderStatusManuallyModified
NoYes (enum)
NoRetailTransactionOrderStatusBIEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoRetailTransactionOrderStatusBIEntity
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
NoRetailTransactionOrderStatusBIEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RetryCountNumber of times the order has been retried.Integer
RetailOrderSyncRetryCount
NoRetailTransactionOrderStatusBIEntity
SalesIdSales order linked to the retail transaction.String (20)
SalesIdBase
YesSalesTable.SalesIdRetailTransactionOrderStatusBIEntity
StatusCurrent status of the pending order, for example failed, succeeded, pending synchronization or editing.Enum
RetailTransactionOrderStatusType (enum)
YesRetailTransactionOrderStatusBIEntityRetailTransactionAuditableAddressLineEntityRetailTransactionAuditableChargeLineEntityand 5 more
storeStore where the transaction took place.String
RetailStoreId
YesRetailStoreTable.StoreNumberRetailTransactionOrderStatusBIEntity
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
terminalRegister (POS terminal) where the transaction took place.String
RetailTerminalId
YesRetailTerminalTable.terminalIdRetailTransactionOrderStatusBIEntity
transactionIdNumber of the retail transaction this status belongs to.String (44)
RetailTransactionId
YesRetailTransactionTable.transactionIdRetailTransactionOrderStatusBIEntity

Indexes (3)

Relations (6)

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

  • InventTrans → InventTrans

    Join on LastInventTrans = InventTrans.RecId

    Zero or one RetailTransactionOrderStatus record → zero or one InventTrans record

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionOrderStatus records → exactly one RetailChannelTable record

  • RetailStoreTable → RetailStoreTable

    Join on store = RetailStoreTable.StoreNumber

    Many RetailTransactionOrderStatus records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on terminal = RetailTerminalTable.terminalId

    Many RetailTransactionOrderStatus records → exactly one RetailTerminalTable record

  • RetailTransactionTable → RetailTransactionTable

    Join on Channel = RetailTransactionTable.Channel, store = RetailTransactionTable.store, terminal = RetailTransactionTable.terminal, transactionId = RetailTransactionTable.transactionId

    Zero or one RetailTransactionOrderStatus record → exactly one RetailTransactionTable record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many RetailTransactionOrderStatus records → exactly one SalesTable record

Get this data out

Tables are not exposed directly. These public entities read from RetailTransactionOrderStatus; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk