BeyondERP.Newsletter
Menu

Setup step on the Sample lifecycle states page · Inventory management

Set up Sample lifecycle states

Use this page to track samples and update their status consistently, including the states set when a quality order is created or validated.

Used by
Quality control clerk, Quality control manager
Business process
Maintain inventory levels
Menu item
QMSSampleLifecycleState
Main table
QMSSampleLifecycleState
Data entity
QMSSampleLifecycleStateEntity
Setup steps
1 on this page
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page where you define the stages a sample goes through during its lifecycle.
What you do hereUse this page to track samples and update their status consistently, including the states set when a quality order is created or validated.
ExampleFor example, states can be named Registered, Tested, Archived or Scrapped.
Sample lifecycle states 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

Business processMaintain inventory levels
Menu pathInventory management › Setup › Sample management › Sample lifecycle states
Used next bySample types Microsoft Learn Set up Sample types
In this process Set up Diagnostic groups · Set up Inventory and warehouse management parameters
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 lifecycle states1 screen

Use this page to track samples and update their status consistently, including the states set when a quality order is created or validated.

  1. Screen 1

    Create a sample lifecycle state

    Go to Inventory management > Setup > Sample management > Sample lifecycle states

    1. Select New
    2. Enter the lifecycle state code and a description
    3. Select Quality order created, Quality order validated or Sample scrapped if the state should be set automatically at that event
    4. Select Save
    5. Add the state to sample types under Sample lifecycle states
    1Sample lifecycle stateBEAT-REG
    Sample lifecycle state descriptionSample registered
    Quality order createdNo
    Create a sample lifecycle state (zoomed on the outlined fields)
    Show the full screenCreate a sample lifecycle state
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Inventory management > Setup > Sample management > Sample lifecycle states.
  2. Create a new lifecycle state, or select one to edit.
  3. Enter the Sample lifecycle state and its description.
  4. Select Quality order created or Quality order validated for the state a sample moves to at those events.
  5. Select Sample scrapped for the state that records who scrapped a sample and when.
  6. On the Action Pane, select Save.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Sample lifecycle stateThe unique name of the state.Microsoft Learn REGISTEREDStateId
Quality order createdMarks the state a sample moves to when a quality order is created for it.Microsoft Learn NoQualityOrderCreated
Quality order validatedMarks the state a sample moves to when its quality order is validated.Microsoft Learn QualityOrderValidated
Sample scrappedMarks the state that logs who scrapped the sample and when.Microsoft Learn SampleScrapped
Sample lifecycle state descriptionSample registeredDescription

Test checklist

  1. Create the states and set the three flags.
  2. Select the states on a sample type.
  3. Create a quality order for a sample of that type and check the sample moves to the Quality order created state.
  4. Set a sample to the scrapped state and check Scrapped by and Scrapped date/time are filled and the sample can be deleted.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Sample lifecycle statesAt least one state flagged Quality order created, one flagged Quality order validated and one flagged Sample scrapped (for example Registered, Tested, Archived, Scrapped)These flags drive the automatic status updates when quality orders are created or validated, and the scrapped audit trail.Not flagging any state as Sample scrapped: only samples in a scrapped state can be deleted from the Sample management workbench, and no Scrapped by / Scrapped date/time trail is logged.

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: States and flags can be changed; states must also be selected on each sample type.
If you change it laterOnly samples in a state marked Sample scrapped can be deleted from the Sample management workbench. Microsoft Learn
Technical architect

6Technical

Menu itemQMSSampleLifecycleState Checked in Dynamics 365
FormQMSSampleLifecycleState Checked in Dynamics 365
TableQMSSampleLifecycleStateShown as “Sample lifecycle states” in Record infoChecked in Dynamics 365
Data entitiesQMSSampleLifecycleStateEntityQuality sample lifecycle states Checked in Dynamics 365
Who can open itPrivilegesMaintain sample label layouts QMSSampleLifecycleStateMaintainView sample label layouts QMSSampleLifecycleStateViewDutiesInquire 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=QMSSampleLifecycleState
Integrate withQMSSampleLifecycleStateEntity data entity Checked in Dynamics 365
Everyone

8Sources

To cite this step: IM-SAMPLE-020, Set up Sample lifecycle states. Beyond ERP Atlas Hub, 2026-11-11. https://www.beyonderp.cloud/atlas/step/IM-SAMPLE-020