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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoRetailTransactionAuditLogTableBIEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoRetailTransactionAuditLogTableBIEntity
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionAuditLogTableBIEntity
FieldNameName of the field that was changed.String
FieldName
NoRetailTransactionAuditLogTableBIEntity
NewValueValue of the field after the change.String (-1)
RetailTransactionAuditNewValue
NoRetailTransactionAuditLogTableBIEntity
OldValueValue of the field before the change.String (-1)
RetailTransactionAuditOldValue
NoRetailTransactionAuditLogTableBIEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
NoRetailTransactionAuditLogTableBIEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefRecIdSystem record ID of the changed record.Int64
RefRecId
YesRetailTransactionAuditLogTableBIEntity
RefTableIdID of the table that holds the changed record.Integer
RefTableId
YesRetailTransactionAuditLogTableBIEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (5)

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

  • RetailTransactionTable → RetailTransactionTable

    Join on RefTableId = RetailTransactionTable.TableId, RefRecId = RetailTransactionTable.RecId

    Cardinality not set in the metadata.

  • RetailTransactionSalesTrans → RetailTransactionSalesTrans

    Join on RefTableId = RetailTransactionSalesTrans.TableId, RefRecId = RetailTransactionSalesTrans.RecId

    Cardinality not set in the metadata.

  • RetailTransactionPaymentTrans → RetailTransactionPaymentTrans

    Join on RefTableId = RetailTransactionPaymentTrans.TableId, RefRecId = RetailTransactionPaymentTrans.RecId

    Cardinality not set in the metadata.

  • RetailTransactionDiscountTrans → RetailTransactionDiscountTrans

    Join on RefTableId = RetailTransactionDiscountTrans.TableId, RefRecId = RetailTransactionDiscountTrans.RecId

    Cardinality not set in the metadata.

  • RetailTransactionInfocodeTrans → RetailTransactionInfocodeTrans

    Join on RefTableId = RetailTransactionInfocodeTrans.TableId, RefRecId = RetailTransactionInfocodeTrans.RecId

    Cardinality 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.

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

Email sales@drdynamics.co.uk