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· rootRegisteredByWorker(tableHcmWorker) · OuterJoin toQMSSample· read-onlyScrappedByWorker(tableHcmWorker) · OuterJoin toQMSSample· read-onlyTestedByWorker(tableHcmWorker) · OuterJoin toQMSSample· read-onlyInventDim· InnerJoin toQMSSample· read-only
Fields (37)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
SampleIdUnique ID of the sample. | String (20)QMSSampleId | Yes | Yes | QMSSample.SampleId | |
SampleInspectionMethodHow the sample is inspected: none, inline process, continuous process or both. | Enum
| No | Yes | QMSSample.SampleInspectionMethod | |
LifecycleStateIdCurrent lifecycle state of the sample. | StringQMSSampleLifecycleStateId | No | Yes | QMSSampleLifecycleState.StateId | QMSSample.LifecycleStateId |
ProductionOrderNumberProduction order the sample comes from. | String (20)ProdId | Yes | Yes | ProdTable.ProdId | QMSSample.ProdId |
ItemNumberItem the sample was taken from. | String (20)ItemId | Yes | Yes | InventTable.ItemId | QMSSample.ItemId |
InventoryLotIdLot ID of the inventory transaction the sample relates to. | String (20)InventTransId | Yes | Yes | InventTransOrigin.InventTransId | QMSSample.InventTransId |
SampleQuantityQuantity of the sample. | RealQty | No | Yes | QMSSample.Qty | |
SampleUnitIdUnit of measure for the sample quantity. | StringUnitOfMeasureSymbol | No | Yes | QMSSample.UnitId | |
SampleTypeIdSample type, which sets how the sample is inspected and its allowed lifecycle states. | StringQMSSampleTypeId | Yes | Yes | QMSSampleType.SampleTypeId | QMSSample.SampleTypeId |
ItemSamplingIdItem sampling record linked to the sample. | StringInventItemSamplingId | Yes | Yes | InventItemSampling.InventItemSamplingId | QMSSample.ItemSamplingId |
QualityTestGroupIdTest group used for the sample. | StringInventTestGroupId | Yes | Yes | InventTestGroup.TestGroupId | QMSSample.TestGroupId |
QualityOrderIdQuality order linked to the sample. | String (20)InventQualityOrderId | No | Yes | InventQualityOrderTable.QualityOrderId | QMSSample.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 | No | Yes | QMSInventCalibrationLabelLayout.LabelLayoutId | QMSSample.LabelLayoutId |
SampleExpirationDateDate from which the sample may be scrapped, set from registration date plus scrap days. | DateQMSSampleExpireDate | No | Yes | QMSSample.ExpireDate | |
RegisteredByWorkerRecIdWorker who registered the sample. | Int64QMSSampleRegisteredByWorker | No | No (private) | HcmWorker.RecId | QMSSample.RegisteredByWorker |
RegisteredByWorkerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
RegisteredDateTimeDate and time the sample was registered. | UtcDateTimeQMSSampleRegisteredDateTime | No | Yes | QMSSample.RegisteredDateTime | |
ScrappedByWorkerRecIdWorker who set the sample to the scrapped state. | Int64QMSSampleScrappedByWorker | No | No (private) | HcmWorker.RecId | QMSSample.ScrappedByWorker |
ScrappedByWorkerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
ScrappedDateTimeDate and time the sample was scrapped. | UtcDateTimeQMSSampleScrappedDateTime | No | Yes | QMSSample.ScrappedDateTime | |
TestedByWorkerRecIdWorker who tested the sample. After repeat tests it holds the latest one. | Int64QMSSampleTestedByWorker | No | No (private) | HcmWorker.RecId | QMSSample.TestedByWorker |
TestedByWorkerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
TestedDateTimeDate and time the sample was tested. | UtcDateTimeQMSSampleTestedDateTime | No | Yes | QMSSample.TestedDateTime | |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | Yes | EcoResVersion.Name | InventDim.InventVersionId |
ItemBatchNumberBatch number of the inventory. | String (20)InventBatchId | No | Yes | InventDim.inventBatchId | |
ItemSerialNumberSerial number of the inventory. | String (20)InventSerialId | No | Yes | InventDim.inventSerialId | |
InventorySiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
InventoryWarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
WarehouseLocationIdLocation inside the warehouse. | StringWMSLocationId | No | Yes | WMSLocation.wMSLocationId | InventDim.wMSLocationId |
InventoryOwnerIdInventory owner; used for Russia. | String (40)InventOwnerId | No | Yes | InventOwner_RU.InventOwnerId | InventDim.InventOwnerId_RU |
InventoryStatusIdInventory status of the stock. | StringWHSInventStatusId | No | Yes | WHSInventStatus.InventStatusId | InventDim.InventStatusId |
LicensePlateNumberLicense plate ID of the stock unit. | String (25)WHSLicensePlateId | No | Yes | WHSLicensePlate.LicensePlateId | InventDim.LicensePlateId |
InventDimIdInventory dimension combination linked to the sample. | String (20)InventDimId | Yes | No (private) | InventDim.inventDimId | QMSSample.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.
LifecycleStateId→QMSSampleLifecycleState.StateId(key of QMSSampleLifecycleState)Many QMSSample records → exactly one QMSSampleLifecycleState record
QMSSampleLifecycleState details: see QMSSampleLifecycleStateEntity, QMSSampleTypeStateAssignmentEntity
ProductionOrderNumber→ProdTable.ProdId(key of ProdTable)Many QMSSample records → exactly one ProdTable record
ProdTable details: see ProdBatchOrderHeaderEntity, ProdProductionOrderHeaderEntity, IoTIntMfgSensorJobItemBatchAttributeEntity
ItemNumber→InventTable.ItemId(key of InventTable)Many QMSSample records → exactly one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
InventoryLotId→InventTransOrigin.InventTransId(key of InventTransOrigin)Zero or one QMSSample record → exactly one InventTransOrigin record
InventTransOrigin details: see WHSOrderCommittedLicensePlateReservationEntity, InventTransOriginBiEntity, InventTransOriginCDREntity
SampleTypeId→QMSSampleType.SampleTypeId(key of QMSSampleType)Many QMSSample records → exactly one QMSSampleType record
QMSSampleType details: see QMSSampleTypeEntity, QMSSampleTypeStateAssignmentEntity
ItemSamplingId→InventItemSampling.InventItemSamplingId(key of InventItemSampling)Many QMSSample records → exactly one InventItemSampling record
Not exposed by a public entity.
QualityTestGroupId→InventTestGroup.TestGroupId(key of InventTestGroup)Many QMSSample records → exactly one InventTestGroup record
InventTestGroup details: see InventQualityTestGroupEntity
QualityOrderId→InventQualityOrderTable.QualityOrderId(key of InventQualityOrderTable)Many QMSSample records → exactly one InventQualityOrderTable record
InventQualityOrderTable details: see InventQualityOrderHeaderEntity, InventQualityOrderHeaderV2Entity
SampleLabelLayoutId→QMSInventCalibrationLabelLayout.LabelLayoutId(key of QMSInventCalibrationLabelLayout)Many QMSSample records → exactly one QMSInventCalibrationLabelLayout record
QMSInventCalibrationLabelLayout details: see QMSSampleLabelLayoutEntity, QMSTestInstrumentCalibrationLabelLayoutEntity
RegisteredByWorkerRecId→HcmWorker.RecId(key of HcmWorker)Many QMSSample records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
ScrappedByWorkerRecId→HcmWorker.RecId(key of HcmWorker)Many QMSSample records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
TestedByWorkerRecId→HcmWorker.RecId(key of HcmWorker)Many QMSSample records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
ProductStyleId→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
ProductVersionId→EcoResVersion.Name(key of EcoResVersion)Many InventDim records → zero or one EcoResVersion record
EcoResVersion details: see EcoResProductMasterVersionEntity, EcoResProductMasterVersionTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
InventorySiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
InventoryWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
WarehouseLocationId→WMSLocation.wMSLocationId(key of WMSLocation)Join on all of:
WarehouseLocationId=WMSLocation.wMSLocationId,InventoryWarehouseId=WMSLocation.inventLocationIdMany InventDim records → zero or one WMSLocation record
WMSLocation details: see WMSWarehouseLocationEntity, WHSWarehouseSlottingTemplateDetailsV3Entity, WHSWarehouseLocationAdvancedWarehouseManagementProcessEnablementRequestEntity
InventoryOwnerId→InventOwner_RU.InventOwnerId(key of InventOwner_RU)Many InventDim records → zero or one InventOwner_RU record
InventOwner_RU details: see ConsignmentInventoryOwnerEntity
InventoryStatusId→WHSInventStatus.InventStatusId(key of WHSInventStatus)Many InventDim records → zero or one WHSInventStatus record
WHSInventStatus details: see WHSInventoryStatusEntity, WHSInventStatusCDREntity
LicensePlateNumber→WHSLicensePlate.LicensePlateId(key of WHSLicensePlate)Many InventDim records → zero or one WHSLicensePlate record
WHSLicensePlate details: see WHSLicensePlateEntity
InventDimId→InventDim.inventDimId(key of InventDim)Cardinality not set in the metadata.
InventDim details: see ProdProductionPickingListJournalEntryEntity, ProdReportAsFinishedProductionJournalEntryEntity, WHSExternalInventoryAdjustmentEntity
Need help with QMSSampleEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.