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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelThe retail channel of the transaction. Points to the channel record. | Int64RefRecId | Yes | RetailChannelTable.RecId | RetailTransactionOrderStatusBIEntity |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | RetailTransactionOrderStatusBIEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | RetailTransactionOrderStatusBIEntity | |
ErrorDetailLong text with details of an error found for the order. | String (-1)RetailOrderErrorDetail | No | RetailTransactionOrderStatusBIEntity | |
LastEditUserUser who last changed the asynchronous or online transaction. | StringRetailTransactionOrderStatusLastEditUser | No | RetailTransactionOrderStatusBIEntity | |
LastInventTransPoints to an inventory transaction record linked to the order. | Int64RefRecId | No | InventTrans.RecId | RetailTransactionOrderStatusBIEntity |
ManuallyModifiedYes/No flag showing whether someone edited the record after it was created. | EnumRetailTransactionOrderStatusManuallyModifiedNoYes (enum) | No | RetailTransactionOrderStatusBIEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | RetailTransactionOrderStatusBIEntity | |
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 | RetailTransactionOrderStatusBIEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RetryCountNumber of times the order has been retried. | IntegerRetailOrderSyncRetryCount | No | RetailTransactionOrderStatusBIEntity | |
SalesIdSales order linked to the retail transaction. | String (20)SalesIdBase | Yes | SalesTable.SalesId | RetailTransactionOrderStatusBIEntity |
StatusCurrent status of the pending order, for example failed, succeeded, pending synchronization or editing. | EnumRetailTransactionOrderStatusType (enum) | Yes | RetailTransactionOrderStatusBIEntityRetailTransactionAuditableAddressLineEntityRetailTransactionAuditableChargeLineEntityand 5 more | |
storeStore where the transaction took place. | StringRetailStoreId | Yes | RetailStoreTable.StoreNumber | RetailTransactionOrderStatusBIEntity |
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 | |
terminalRegister (POS terminal) where the transaction took place. | StringRetailTerminalId | Yes | RetailTerminalTable.terminalId | RetailTransactionOrderStatusBIEntity |
transactionIdNumber of the retail transaction this status belongs to. | String (44)RetailTransactionId | Yes | RetailTransactionTable.transactionId | RetailTransactionOrderStatusBIEntity |
Indexes (3)
RetailTransactionTableIdxChannel,store,terminal,transactionId,StatusUnique, alternate key.
SalesTableIdxNot unique.
InventTransIdxNot unique.
Relations (6)
Each relation joins RetailTransactionOrderStatus to another table on the fields shown.
InventTrans→InventTransJoin on
LastInventTrans = InventTrans.RecIdZero or one RetailTransactionOrderStatus record → zero or one InventTrans record
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailTransactionOrderStatus records → exactly one RetailChannelTable record
RetailStoreTable→RetailStoreTableJoin on
store = RetailStoreTable.StoreNumberMany RetailTransactionOrderStatus records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
terminal = RetailTerminalTable.terminalIdMany RetailTransactionOrderStatus records → exactly one RetailTerminalTable record
RetailTransactionTable→RetailTransactionTableJoin on
Channel = RetailTransactionTable.Channel,store = RetailTransactionTable.store,terminal = RetailTransactionTable.terminal,transactionId = RetailTransactionTable.transactionIdZero or one RetailTransactionOrderStatus record → exactly one RetailTransactionTable record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany 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.
RetailTransactionOrderStatusBIEntity· 15 fields from this tableRetailTransactionAuditableAddressLineEntity· 1 field from this tableRetailTransactionAuditableChargeLineEntity· 1 field from this tableRetailTransactionAuditableDiscountLineEntity· 1 field from this tableRetailTransactionAuditableEntity· 1 field from this tableRetailTransactionAuditablePaymentLineEntity· 1 field from this tableRetailTransactionAuditableSalesLineEntity· 1 field from this tableRetailTransactionAuditableTaxLineEntity· 1 field from this table
Need help with RetailTransactionOrderStatus in a report, an integration or a migration? Talk to Dr Dynamics.