Data entity
QMSSampleAssociationEntity
Holds sample settings for an item, keyed by item code and item relation. It includes the inline sample type, default inline test group and item sampling, and scrap periods in days. It also holds the continuous sample type and its scrap period.
- Entity name
QMSSampleAssociationEntity- Public entity name
QualitySampleAssociation- OData collection
QualitySampleAssociations- Category
Not set- Module
Inventory and warehouse management- Read-only
No- Data management enabled
Yes- Configuration key
InventQualityManagement- Keys
ItemCode, ItemRelation- Staging table
QMSSampleAssociationStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/QualitySampleAssociations- Dataverse virtual table
mserp_qmssampleassociationentity. 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
QMSSampleAssociation· root
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ItemCodeShows whether the settings apply to one item, an item quality group or all items. | EnumInventTestItemCode
| Yes | Yes | QMSSampleAssociation.ItemCode | |
ItemRelationThe item or item quality group the settings apply to, depending on the item code. | String (20)InventTestItemRelation | Yes | Yes | InventTable.ItemIdInventTestQualityGroup.TestQualityGroupId | QMSSampleAssociation.ItemRelation |
InlineSampleTypeIdSample type used when samples are inspected by the inline method. | StringQMSSampleTypeId | No | Yes | QMSSampleType.SampleTypeId | QMSSampleAssociation.InlineSampleTypeId |
InlineDefaultTestGroupIdDefault test group for inline samples taken from production. It can be changed later. | StringInventTestGroupId | No | Yes | InventTestGroup.TestGroupId | QMSSampleAssociation.InlineDefaultTestGroupId |
InlineDefaultItemSamplingIdDefault item sampling for inline samples taken from production. It can be changed later. | StringInventItemSamplingId | No | Yes | InventItemSampling.InventItemSamplingId | QMSSampleAssociation.InlineDefaultItemSamplingId |
InlineScrapDaysNumber of days inline samples are kept before they can be scrapped. | IntegerQMSSampleInlineScrapDays | No | Yes | QMSSampleAssociation.InlineScrapDays | |
ContinuousSampleTypeIdSample type used when samples are inspected by the continuous method. | StringQMSSampleTypeId | No | Yes | QMSSampleType.SampleTypeId | QMSSampleAssociation.ContinuousSampleTypeId |
ContinuousScrapDaysNumber of days continuous samples are kept before they can be scrapped. | IntegerQMSSampleContinuousScrapDays | No | Yes | QMSSampleAssociation.ContinuousScrapDays |
Foreign keys (6)
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.
ItemRelation→InventTable.ItemId(key of InventTable)Relation also requires ItemCode = TableGroupAll::Table.
Many QMSSampleAssociation records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
ItemRelation→InventTestQualityGroup.TestQualityGroupId(key of InventTestQualityGroup)Relation also requires ItemCode = TableGroupAll::GroupId.
Many QMSSampleAssociation records → zero or one InventTestQualityGroup record
Not exposed by a public entity.
InlineSampleTypeId→QMSSampleType.SampleTypeId(key of QMSSampleType)Many QMSSampleAssociation records → zero or one QMSSampleType record
QMSSampleType details: see QMSSampleTypeEntity, QMSSampleTypeStateAssignmentEntity
InlineDefaultTestGroupId→InventTestGroup.TestGroupId(key of InventTestGroup)Many QMSSampleAssociation records → exactly one InventTestGroup record
InventTestGroup details: see InventQualityTestGroupEntity
InlineDefaultItemSamplingId→InventItemSampling.InventItemSamplingId(key of InventItemSampling)Many QMSSampleAssociation records → exactly one InventItemSampling record
Not exposed by a public entity.
ContinuousSampleTypeId→QMSSampleType.SampleTypeId(key of QMSSampleType)Many QMSSampleAssociation records → zero or one QMSSampleType record
QMSSampleType details: see QMSSampleTypeEntity, QMSSampleTypeStateAssignmentEntity
Need help with QMSSampleAssociationEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.