Data entity

QMSSampleEntity

Holds quality samples, identified by sample ID. Each sample has an item, quantity, unit, sample type, test group, lifecycle state and inspection method. It also links to a production order, a quality order and inventory dimensions, and holds dates and personnel numbers for registering, testing and scrapping.

Entity name
QMSSampleEntity
Public entity name
QualitySample
OData collection
QualitySamples
Category
Transaction
Module
Inventory and warehouse management
Read-only
No
Data management enabled
Yes
Configuration key
InventQualityManagement
Keys
SampleId
Staging table
QMSSampleStaging

Use it in Power BI and Power Platform

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

  • QMSSample · root
  • RegisteredByWorker (table HcmWorker) · OuterJoin to QMSSample · read-only
  • ScrappedByWorker (table HcmWorker) · OuterJoin to QMSSample · read-only
  • TestedByWorker (table HcmWorker) · OuterJoin to QMSSample · read-only
  • InventDim · InnerJoin to QMSSample · read-only

Fields (37)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
SampleIdUnique ID of the sample.String (20)
QMSSampleId
YesYesQMSSample.SampleId
SampleInspectionMethodHow the sample is inspected: none, inline process, continuous process or both.Enum
QMSSampleInspectionMethod
  • None 0
  • Inline 1
  • Continuous 2
  • Both 3
NoYesQMSSample.SampleInspectionMethod
LifecycleStateIdCurrent lifecycle state of the sample.String
QMSSampleLifecycleStateId
NoYesQMSSampleLifecycleState.StateIdQMSSample.LifecycleStateId
ProductionOrderNumberProduction order the sample comes from.String (20)
ProdId
YesYesProdTable.ProdIdQMSSample.ProdId
ItemNumberItem the sample was taken from.String (20)
ItemId
YesYesInventTable.ItemIdQMSSample.ItemId
InventoryLotIdLot ID of the inventory transaction the sample relates to.String (20)
InventTransId
YesYesInventTransOrigin.InventTransIdQMSSample.InventTransId
SampleQuantityQuantity of the sample.Real
Qty
NoYesQMSSample.Qty
SampleUnitIdUnit of measure for the sample quantity.String
UnitOfMeasureSymbol
NoYesQMSSample.UnitId
SampleTypeIdSample type, which sets how the sample is inspected and its allowed lifecycle states.String
QMSSampleTypeId
YesYesQMSSampleType.SampleTypeIdQMSSample.SampleTypeId
ItemSamplingIdItem sampling record linked to the sample.String
InventItemSamplingId
YesYesInventItemSampling.InventItemSamplingIdQMSSample.ItemSamplingId
QualityTestGroupIdTest group used for the sample.String
InventTestGroupId
YesYesInventTestGroup.TestGroupIdQMSSample.TestGroupId
QualityOrderIdQuality order linked to the sample.String (20)
InventQualityOrderId
NoYesInventQualityOrderTable.QualityOrderIdQMSSample.QualityOrderId
SampleLabelLayoutIdThe layout used when a label is printed for the sample. It starts from the sample type and can be changed. It points to a calibration label layout.String (20)
QMSLabelLayoutId
NoYesQMSInventCalibrationLabelLayout.LabelLayoutIdQMSSample.LabelLayoutId
SampleExpirationDateDate from which the sample may be scrapped, set from registration date plus scrap days.Date
QMSSampleExpireDate
NoYesQMSSample.ExpireDate
RegisteredByWorkerRecIdWorker who registered the sample.Int64
QMSSampleRegisteredByWorker
NoNo (private)HcmWorker.RecIdQMSSample.RegisteredByWorker
RegisteredByWorkerPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
RegisteredDateTimeDate and time the sample was registered.UtcDateTime
QMSSampleRegisteredDateTime
NoYesQMSSample.RegisteredDateTime
ScrappedByWorkerRecIdWorker who set the sample to the scrapped state.Int64
QMSSampleScrappedByWorker
NoNo (private)HcmWorker.RecIdQMSSample.ScrappedByWorker
ScrappedByWorkerPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
ScrappedDateTimeDate and time the sample was scrapped.UtcDateTime
QMSSampleScrappedDateTime
NoYesQMSSample.ScrappedDateTime
TestedByWorkerRecIdWorker who tested the sample. After repeat tests it holds the latest one.Int64
QMSSampleTestedByWorker
NoNo (private)HcmWorker.RecIdQMSSample.TestedByWorker
TestedByWorkerPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
TestedDateTimeDate and time the sample was tested.UtcDateTime
QMSSampleTestedDateTime
NoYesQMSSample.TestedDateTime
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoYesEcoResVersion.NameInventDim.InventVersionId
ItemBatchNumberBatch number of the inventory.String (20)
InventBatchId
NoYesInventDim.inventBatchId
ItemSerialNumberSerial number of the inventory.String (20)
InventSerialId
NoYesInventDim.inventSerialId
InventorySiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
InventoryWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
WarehouseLocationIdLocation inside the warehouse.String
WMSLocationId
NoYesWMSLocation.wMSLocationIdInventDim.wMSLocationId
InventoryOwnerIdInventory owner; used for Russia.String (40)
InventOwnerId
NoYesInventOwner_RU.InventOwnerIdInventDim.InventOwnerId_RU
InventoryStatusIdInventory status of the stock.String
WHSInventStatusId
NoYesWHSInventStatus.InventStatusIdInventDim.InventStatusId
LicensePlateNumberLicense plate ID of the stock unit.String (25)
WHSLicensePlateId
NoYesWHSLicensePlate.LicensePlateIdInventDim.LicensePlateId
InventDimIdInventory dimension combination linked to the sample.String (20)
InventDimId
YesNo (private)InventDim.inventDimIdQMSSample.InventDimId

Foreign keys (24)

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.

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

Email sales@drdynamics.co.uk