BeyondERP.Newsletter
Menu

Setup page · Inventory management

Sample associations

A setup page where you define how and when quality samples are taken for a specific item.

Used by
Quality control clerk, Quality control manager
Business process
Maintain inventory levels
Menu item
QMSSampleAssociation
Main table
QMSSampleAssociation
Data entity
QMSSampleAssociationEntity
Setup steps
1 on this page
Show what matters for
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page where you define how and when quality samples are taken for a specific item.
What you do hereUse this page to link sample types, retention periods, item sampling policies, test groups and sample procedures to products so that quality control is consistent.
ExampleFor example, in a continuous sampling setup you create a sample association for a batch-controlled product before producing it.
Sample associations page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Step by step, with screenshots

Set up Sample associations1 screen

Use this page to link sample types, retention periods, item sampling policies, test groups and sample procedures to products so that quality control is consistent.

  1. Screen 1

    Create a sample association

    Go to Inventory management > Setup > Sample management > Sample associations

    1. Make sure the sample type, item sampling and test group exist (here demo sample type BEAT-ST, created on Sample types, item sampling BEAT-IS and test group BEAT-TGP)
    2. Select New
    3. Choose the item code: Table for one batch-controlled item, Group for a quality group, or All
    4. Select the item or quality group (here demo quality group BEAT-QG)
    5. Select an inline sample type, a continuous sample type, or both, and the retention periods
    6. Select the default item sampling and inline test group
    7. Select Save
    8. Under the lower grid, select Add to attach sample procedures
    1ItemBEAT-QG
    Item codeGroup
    Inline sample typeBEAT-ST
    Default item sampling for inlineBEAT-IS
    Default inline test groupBEAT-TGP
    Create a sample association (zoomed on the outlined fields)
    Show the full screenCreate a sample association
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Inventory management > Setup > Sample management > Sample associations.
  2. Select New to create a sample association, or select an existing one to edit.
  3. In the Item code field, choose Table, Group or All, and then select the Item if needed.
  4. Set the inline sample type, the number of days to keep inline samples, and the default item sampling and test group for inline samples.
  5. Set the continuous sample type and the number of days to keep continuous samples.
  6. In the bottom section, add the sample procedures that workers should follow for this association.
  7. Select Save.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Item codeSets whether the rule covers one product, a group of products or all products.Microsoft Learn GroupItemCode
Inline sample typeThe sample type that controls how inline samples for the item are inspected.Microsoft Learn RANDOMInlineSampleTypeId
Inline sample scrap in daysHow many days inline samples are kept before they're automatically scrapped.Microsoft Learn InlineScrapDays
Default item sampling for inlineThe item sampling policy that is suggested for inline samples during production.Microsoft Learn 10PCTInlineDefaultItemSamplingId
Default inline test groupThe test group that is suggested for inline samples from production.Microsoft Learn INCOMINGInlineDefaultTestGroupId
Continuous sample typeThe sample type that controls how continuous samples for the item are inspected.Microsoft Learn ContinuousSampleTypeId
Continuous sample scrap in daysHow many days continuous samples are kept before they're scrapped.Microsoft Learn ContinuousScrapDays
ItemPHARMAItemRelation

Test checklist

  1. Create an association for an item with an inline sample type, scrap days, default item sampling and default inline test group.
  2. Open a production order for the item and start inline sampling; check the dialog is prefilled.
  3. Check the created sample uses the inline sample type and its scrap date reflects the scrap days.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Sample associationsOne association per item or item group (Item code Table or Group) with the inline and continuous sample types, scrap days, default item sampling, default inline test group and proceduresThe association defines how and when samples are taken for an item, and its defaults prefill the inline sampling dialog on the production order.Expecting continuous samples without a quality association: continuous sampling needs a Production / Report as finished / After quality association, while inline samples don't.

Feature management and licence

Feature to turn onAdvanced quality management (Mandatory, on by default)Sample management (Must be on)

Microsoft Learn

Solution architect

5Design impact

Can it be undoneReversible: Associations can be edited or deleted. The default item sampling and test group only prefill the create dialog and can be changed there. Microsoft Learn
Technical architect

6Technical

Menu itemQMSSampleAssociation Checked in Dynamics 365
FormQMSSampleAssociation Checked in Dynamics 365
TableQMSSampleAssociationShown as “Sample associations” in Record infoChecked in Dynamics 365
Data entitiesQMSSampleAssociationEntityQuality sample associations Checked in Dynamics 365
Who can open itPrivilegesMaintain sample associations QMSSampleAssociationMaintainView sample associations QMSSampleAssociationViewDutiesInquire into quality control master InventQualityControlMasterInquireEnable quality control process InventQualityControlProcessEnable
2 security rolesQuality control clerk InventQualityControlClerkQuality control manager InventQualityControlManager
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itQuality control manager InventQualityControlManagerTo use itQuality control clerk InventQualityControlClerkGive people one of these roles. On this system, 2 roles can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=QMSSampleAssociation
Integrate withQMSSampleAssociationEntity data entity Checked in Dynamics 365
Everyone

8Sources