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 descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ItemCodeShows whether the settings apply to one item, an item quality group or all items.Enum
InventTestItemCode
TableGroupAll
  • Table 0
  • GroupId 1
  • All 2
YesYesQMSSampleAssociation.ItemCode
ItemRelationThe item or item quality group the settings apply to, depending on the item code.String (20)
InventTestItemRelation
YesYesInventTable.ItemIdInventTestQualityGroup.TestQualityGroupIdQMSSampleAssociation.ItemRelation
InlineSampleTypeIdSample type used when samples are inspected by the inline method.String
QMSSampleTypeId
NoYesQMSSampleType.SampleTypeIdQMSSampleAssociation.InlineSampleTypeId
InlineDefaultTestGroupIdDefault test group for inline samples taken from production. It can be changed later.String
InventTestGroupId
NoYesInventTestGroup.TestGroupIdQMSSampleAssociation.InlineDefaultTestGroupId
InlineDefaultItemSamplingIdDefault item sampling for inline samples taken from production. It can be changed later.String
InventItemSamplingId
NoYesInventItemSampling.InventItemSamplingIdQMSSampleAssociation.InlineDefaultItemSamplingId
InlineScrapDaysNumber of days inline samples are kept before they can be scrapped.Integer
QMSSampleInlineScrapDays
NoYesQMSSampleAssociation.InlineScrapDays
ContinuousSampleTypeIdSample type used when samples are inspected by the continuous method.String
QMSSampleTypeId
NoYesQMSSampleType.SampleTypeIdQMSSampleAssociation.ContinuousSampleTypeId
ContinuousScrapDaysNumber of days continuous samples are kept before they can be scrapped.Integer
QMSSampleContinuousScrapDays
NoYesQMSSampleAssociation.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.

Email sales@drdynamics.co.uk