Table
RetailTransactionAuditLogTable
Audit log
Logs changes to values on retail transaction records. Each row points to a record by table ID and record ID, and holds the field name with its old and new value. It relates to transaction, sales, payment, discount and information code records. The table has no defined key.
- Table name
RetailTransactionAuditLogTable- 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 (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | RetailTransactionAuditLogTableBIEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | RetailTransactionAuditLogTableBIEntity | |
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 | RetailTransactionAuditLogTableBIEntity | |
FieldNameName of the field that was changed. | StringFieldName | No | RetailTransactionAuditLogTableBIEntity | |
NewValueValue of the field after the change. | String (-1)RetailTransactionAuditNewValue | No | RetailTransactionAuditLogTableBIEntity | |
OldValueValue of the field before the change. | String (-1)RetailTransactionAuditOldValue | No | RetailTransactionAuditLogTableBIEntity | |
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 | RetailTransactionAuditLogTableBIEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefRecIdSystem record ID of the changed record. | Int64RefRecId | Yes | RetailTransactionAuditLogTableBIEntity | |
RefTableIdID of the table that holds the changed record. | IntegerRefTableId | Yes | RetailTransactionAuditLogTableBIEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
RecordAuditRefTableId,RefRecId,CreatedDateTimeNot unique.
FieldAnalyticsNot unique.
Relations (5)
Each relation joins RetailTransactionAuditLogTable to another table on the fields shown.
RetailTransactionTable→RetailTransactionTableJoin on
RefTableId = RetailTransactionTable.TableId,RefRecId = RetailTransactionTable.RecIdCardinality not set in the metadata.
RetailTransactionSalesTrans→RetailTransactionSalesTransJoin on
RefTableId = RetailTransactionSalesTrans.TableId,RefRecId = RetailTransactionSalesTrans.RecIdCardinality not set in the metadata.
RetailTransactionPaymentTrans→RetailTransactionPaymentTransJoin on
RefTableId = RetailTransactionPaymentTrans.TableId,RefRecId = RetailTransactionPaymentTrans.RecIdCardinality not set in the metadata.
RetailTransactionDiscountTrans→RetailTransactionDiscountTransJoin on
RefTableId = RetailTransactionDiscountTrans.TableId,RefRecId = RetailTransactionDiscountTrans.RecIdCardinality not set in the metadata.
RetailTransactionInfocodeTrans→RetailTransactionInfocodeTransJoin on
RefTableId = RetailTransactionInfocodeTrans.TableId,RefRecId = RetailTransactionInfocodeTrans.RecIdCardinality not set in the metadata.
Get this data out
Tables are not exposed directly. These public entities read from RetailTransactionAuditLogTable; use one of them in Power BI, Power Platform or a data management project.
RetailTransactionAuditLogTableBIEntity· 9 fields from this table
Need help with RetailTransactionAuditLogTable in a report, an integration or a migration? Talk to Dr Dynamics.