Table

RetailDocumentOperationHistory

Stores a history of retail document operations. Each row links to a retail document operation and records its request, result, status, error code, retry count and timing. It also shows the batch, company and operator involved.

Table name
RetailDocumentOperationHistory
Module
Commerce miscellaneous
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BatchIdSystem record ID of the batch linked to the operation. The related table is not stated in the metadata.low confidenceInt64
RefRecId
NoNone
CommittedDateTimeDate and time when the operation was committed.UtcDateTime
RetailDocumentOperationCommittedDateTime
NoNone
CompanyCompany (legal entity) that the operation belongs to.String
SelectableDataArea
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
EndDateTimeDate and time when processing ended.UtcDateTime
EndDateTime
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OperationNameName of the operation.String (50)
RetailDocumentOperationOperationName
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcessingErrorCodeCode showing why processing failed, for example a time limit or the retry limit being reached.Enum
RetailDocumentOperationProcessingErrorCode (enum)
NoNone
ProcessorClassNumberNumber of the class registered to process the operation.Integer
ClassId
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
RequestContainerStored content of the operation's request.Container
RetailDocumentOperationRequestContainer
NoNone
RequestIdUnique ID (GUID) of the operation's request.Guid
RetailDocumentOperationRequestId
NoNone
ResultContainerStored content of the operation's result.Container
RetailDocumentOperationResultContainer
NoNone
RetailDocumentOperationIdIdentifier of the retail document operation.String (32)
RetailDocumentOperationId
NoNone
RetailDocumentOperationRecIdSystem record ID of the retail document operation that this row relates to.Int64
RefRecId
NoRetailDocumentOperation.RecIdNone
RetailStaffIdID of the operator linked to the operation.String (25)
RetailStaffId
NoNone
RetryCountNumber of times the operation has been retried.Integer
RetailDocumentOperationRetries
NoNone
StartDateTimeDate and time when processing started.UtcDateTime
StartDateTime
NoNone
StatusProcessing status of the operation, such as committed, queued, processing, success or failed.Enum
RetailDocumentOperationStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (1)

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

  • RetailDocumentOperationRelation → RetailDocumentOperation

    Join on RetailDocumentOperationRecId = RetailDocumentOperation.RecId

    Many RetailDocumentOperationHistory records → zero or one RetailDocumentOperation record

Get this data out

No public entity reads from RetailDocumentOperationHistory. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk