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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BatchIdSystem record ID of the batch linked to the operation. The related table is not stated in the metadata.low confidence | Int64RefRecId | No | None | |
CommittedDateTimeDate and time when the operation was committed. | UtcDateTimeRetailDocumentOperationCommittedDateTime | No | None | |
CompanyCompany (legal entity) that the operation belongs to. | StringSelectableDataArea | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
EndDateTimeDate and time when processing ended. | UtcDateTimeEndDateTime | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OperationNameName of the operation. | String (50)RetailDocumentOperationOperationName | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcessingErrorCodeCode showing why processing failed, for example a time limit or the retry limit being reached. | EnumRetailDocumentOperationProcessingErrorCode (enum) | No | None | |
ProcessorClassNumberNumber of the class registered to process the operation. | IntegerClassId | 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 | |
RequestContainerStored content of the operation's request. | ContainerRetailDocumentOperationRequestContainer | No | None | |
RequestIdUnique ID (GUID) of the operation's request. | GuidRetailDocumentOperationRequestId | No | None | |
ResultContainerStored content of the operation's result. | ContainerRetailDocumentOperationResultContainer | No | None | |
RetailDocumentOperationIdIdentifier of the retail document operation. | String (32)RetailDocumentOperationId | No | None | |
RetailDocumentOperationRecIdSystem record ID of the retail document operation that this row relates to. | Int64RefRecId | No | RetailDocumentOperation.RecId | None |
RetailStaffIdID of the operator linked to the operation. | String (25)RetailStaffId | No | None | |
RetryCountNumber of times the operation has been retried. | IntegerRetailDocumentOperationRetries | No | None | |
StartDateTimeDate and time when processing started. | UtcDateTimeStartDateTime | No | None | |
StatusProcessing status of the operation, such as committed, queued, processing, success or failed. | EnumRetailDocumentOperationStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
RequestIdIdxUnique.
RetailDocumentOperationIdIdxRetailDocumentOperationId,RetryCountUnique.
Relations (1)
Each relation joins RetailDocumentOperationHistory to another table on the fields shown.
RetailDocumentOperationRelation→RetailDocumentOperationJoin on
RetailDocumentOperationRecId = RetailDocumentOperation.RecIdMany 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.