Data entity

QMSSampleAuditLogEntity

Holds audit log lines for quality samples. The key is the sample ID and line number. Each line records a sample event, the from and to values and a reference.

Entity name
QMSSampleAuditLogEntity
Public entity name
QualitySampleAuditLog
OData collection
QualitySampleAuditLogs
Category
Transaction
Module
Inventory and warehouse management
Read-only
No
Data management enabled
Yes
Configuration key
InventQualityManagement
Keys
SampleId, LineNumber
Staging table
QMSSampleAuditLogStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/QualitySampleAuditLogs
Dataverse virtual table
mserp_qmssampleauditlogentity. 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

  • QMSSampleAuditLog · root

Fields (6)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
SampleIdID of the sample the log entry belongs to.String (20)
QMSSampleId
YesYesQMSSample.SampleIdQMSSampleAuditLog.SampleId
LineNumberLine number of the log entry within the sample.Real
LineNum
YesYesQMSSampleAuditLog.LineNum
SampleEventTypeKind of event logged, for example sample registered, state change or label created.Enum
QMSSampleEventType
  • SampleRegistered 0
  • SampleLifecycleStateChange 1
  • QualityOrderCreated 2
  • QualityOrderValidated 3
  • BatchDispositionCodeUpdated 4
  • InventoryStatusUpdated 5
  • SampleUpdated 6
  • SampleLabelCreated 7
YesYesQMSSampleAuditLog.SampleEventType
ChangeFromValuePrevious value, where the event type changes a value.String (50)
QMSSampleAuditLogFromValue
NoYesQMSSampleAuditLog.FromValue
ChangeToValueNew value, where the event type changes a value.String (50)
QMSSampleAuditLogToValue
NoYesQMSSampleAuditLog.ToValue
AuditReferenceExtra detail about the change to the sample.String (100)
QMSSampleAuditLogReference
NoYesQMSSampleAuditLog.Reference

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.

  • SampleId → QMSSample.SampleId (key of QMSSample)

    Many QMSSampleAuditLog records → exactly one QMSSample record

    QMSSample details: see QMSSampleEntity

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

Email sales@drdynamics.co.uk