Table
RetailTransactionAuditLogTableHistory
Audit log
Archived audit log entries for retail transactions. Each row names a table and record, a field, and the old and new values of that field.
- Table name
RetailTransactionAuditLogTableHistory- Module
Commerce transactions and orders- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FieldNameName of the field that was changed. | StringFieldName | No | None | |
NewValueValue of the field after the change. | String (-1)RetailTransactionAuditNewValue | No | None | |
OldValueValue of the field before the change. | String (-1)RetailTransactionAuditOldValue | No | None | |
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 | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefRecIdRecord ID of the audited record. | Int64RefRecId | Yes | None | |
RefTableIdID of the table that the audited record belongs to. | IntegerRefTableId | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
RecordAuditRefTableId,RefRecId,DataAreaId,PartitionNot unique.
Get this data out
No public entity reads from RetailTransactionAuditLogTableHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailTransactionAuditLogTableHistory in a report, an integration or a migration? Talk to Dr Dynamics.