Table
RetailTransactionOrderStatusHistory
Archived commerce order status
Archived status records for retail orders that are sent to the back office. Each record holds the order status, any error details, the retry count and the sales order number. It also shows whether a user edited the record by hand.
- Table name
RetailTransactionOrderStatusHistory- 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 (21)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRecord ID of the channel the transaction belongs to. | Int64RefRecId | Yes | 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 | |
ErrorDetailText describing the error that occurred for the order. | String (-1)RetailOrderErrorDetail | No | None | |
LastEditUserUser who last changed the order record. | StringRetailTransactionOrderStatusLastEditUser | No | None | |
LastInventTransRecord ID of the last inventory transaction linked to the order.low confidence | Int64RefRecId | No | None | |
ManuallyModifiedYes or No flag showing whether someone edited the record after it was created. | EnumRetailTransactionOrderStatusManuallyModifiedNoYes (enum) | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PutOnHoldYes or No flag; the name suggests the order is put on hold, but the metadata gives no label.low confidence | EnumNoYes (enum) | 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 | |
RetryCountNumber of times the order synchronisation was retried. | IntegerRetailOrderSyncRetryCount | No | None | |
SalesIdNumber of the sales order. | String (20)SalesIdBase | Yes | None | |
StatusStatus of the order, such as failed, succeeded, pending synchronisation or editing. | EnumRetailTransactionOrderStatusType (enum) | Yes | None | |
storeNumber of the store where the transaction took place. | StringRetailStoreId | Yes | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
SysRowVersionNumberRow version number kept by the system to track changes to the record.low confidence | Int64SysRowVersionNumber | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
terminalNumber of the register used for the transaction. | StringRetailTerminalId | Yes | None | |
transactionIdNumber of the retail transaction. | String (44)RetailTransactionId | Yes | None |
Indexes (2)
transactionIdxChannel,store,terminal,transactionId,Status,DataAreaId,PartitionUnique, alternate key.
RetailTransactionTableIdxChannel,store,terminal,transactionId,DataAreaId,PartitionNot unique.
Get this data out
No public entity reads from RetailTransactionOrderStatusHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailTransactionOrderStatusHistory in a report, an integration or a migration? Talk to Dr Dynamics.