Data entity

SysDatabaseLogEntity

Read-only entries from the database log. Each entry records the table and record that changed, the log type, the old and new data, the company and who created it and when. It is keyed by table record ID, log record ID and table ID number.

Entity name
SysDatabaseLogEntity
Public entity name
DatabaseLog
OData collection
DatabaseLogs
Category
Not set
Module
System administration
Read-only
Yes
Data management enabled
Yes
Configuration key
None
Keys
TableRecId, LogRecId, TableIdNumber
Staging table
SysDatabaseLogStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/DatabaseLogs
Dataverse virtual table
mserp_sysdatabaselogentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • SysDataBaseLog · root

Fields (17)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
LogCreatedByThe user who created the record.String (20)
CreatedBy
NoYesSysDataBaseLog.CreatedBy
LogCreatedDateTimeThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesSysDataBaseLog.CreatedDateTime
LogCreatedTransactionIdA system number for the database transaction that created the record.Int64
CreatedTransactionId
NoYesSysDataBaseLog.CreatedTransactionId
DataLogged data stored as a binary container.Container
Blobdata
NoYesSysDataBaseLog.Data
LogDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesSysDataBaseLog.DataAreaId
DescriptionText that identifies the record the log entry is about.String (-1)YesYesSysDataBaseLog.Description
LogRecIdSystem record ID of the logged record.Int64
RefRecId
YesYesCommon.RecIdSysDataBaseLog.LogRecId
LogTypeType of log entry.Enum
DatabaseLogType

Platform enum: values not in the metadata extract.

NoYesSysDataBaseLog.LogType
NewDataLong text with the new data. Purpose not clear from the metadata.low confidenceString (-1)NoYesSysDataBaseLog.NewData
LogPartitionA system field for the data partition. In most environments every record has the same value.Int64
Partition
NoYesSysDataBaseLog.Partition
TableRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesSysDataBaseLog.RecId
TableRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates.Integer
RecVersion
NoYesSysDataBaseLog.RecVersion
SequenceNumberSequence number of the log entry. Purpose not clear from the metadata.low confidenceInt64NoYesSysDataBaseLog.SequenceNumber
TableIdNumberID of the table that the logged record belongs to.Integer
RefTableId
YesYesSysDataBaseLog.table
UsernameName of the user who created the log entry.String (60)
UserName
NoYesSysDataBaseLog.Username
FormattedDataLogged data shown as readable text.low confidenceStringNoYescomputed
TableNameName of the table the log entry refers to.String (30)NoYescomputed

Foreign keys (1)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

  • LogRecId → Common.RecId (key of Common)

    Many SysDataBaseLog records → exactly one Common record

    Not exposed by a public entity.

Need help with SysDatabaseLogEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk