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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRecord ID of the channel the transaction belongs to.Int64
RefRecId
YesNone
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
ErrorDetailText describing the error that occurred for the order.String (-1)
RetailOrderErrorDetail
NoNone
LastEditUserUser who last changed the order record.String
RetailTransactionOrderStatusLastEditUser
NoNone
LastInventTransRecord ID of the last inventory transaction linked to the order.low confidenceInt64
RefRecId
NoNone
ManuallyModifiedYes or No flag showing whether someone edited the record after it was created.Enum
RetailTransactionOrderStatusManuallyModified
NoYes (enum)
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PutOnHoldYes or No flag; the name suggests the order is put on hold, but the metadata gives no label.low confidenceEnum
NoYes (enum)
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
RetryCountNumber of times the order synchronisation was retried.Integer
RetailOrderSyncRetryCount
NoNone
SalesIdNumber of the sales order.String (20)
SalesIdBase
YesNone
StatusStatus of the order, such as failed, succeeded, pending synchronisation or editing.Enum
RetailTransactionOrderStatusType (enum)
YesNone
storeNumber of the store where the transaction took place.String
RetailStoreId
YesNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SysRowVersionNumberRow version number kept by the system to track changes to the record.low confidenceInt64
SysRowVersionNumber
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
terminalNumber of the register used for the transaction.String
RetailTerminalId
YesNone
transactionIdNumber of the retail transaction.String (44)
RetailTransactionId
YesNone

Indexes (2)

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.

Email sales@drdynamics.co.uk