BeyondERP.Newsletter
Menu

Setup step on the Test variables page · Inventory management

Set up Test variables

Use this page to give each outcome a Pass or Fail status, so that the result of a qualitative test can be judged.

Used by
Quality control manager, Warehouse planner
Business process
Create test variables in Dynamics 365 Supply Chain Management
Menu item
InventTestVariable
Main table
InventTestVariable
Data entity
InventQualityTestVariableEntity
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 possible outcomes of a test variable that is used by a qualitative test.
What you do hereUse this page to give each outcome a Pass or Fail status, so that the result of a qualitative test can be judged.
ExampleFor example, a cookie maker's inspection test has a taste variable with the outcomes good and bad.
Test variables 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 Test variables1 screen

Use this page to give each outcome a Pass or Fail status, so that the result of a qualitative test can be judged.

  1. Screen 1

    Create a test variable

    Go to Inventory management > Setup > Quality control > Test variables

    1. Select New
    2. Enter the variable code and a description
    3. Select Save
    4. Select Outcomes and add each possible outcome, giving each one the status Pass or Fail
    5. Use the variable on a qualitative test
    1VariableBEAT-VIS
    DescriptionVisual check
    Create a test variable (zoomed on the outlined fields)
    Show the full screenCreate a test variable
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Inventory management > Setup > Quality control > Test variables.
  2. On the Action Pane, select New.
  3. In the Variable field, enter a unique ID or name, and add a Description.
  4. With the new row selected, select Outcomes on the Action Pane.
  5. On the Test variable outcomes page, select New.
  6. Enter the Outcome and its Description.
  7. In the Outcome status field, select Pass or Fail.
  8. Repeat for each outcome, making sure at least one is Pass and one is Fail.
  9. Close the pages.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
VariableThe unique ID or name of the test variable.Microsoft Learn APPEARANCEVariableId
OutcomeA possible result of the variable, set up on the Test variable outcomes page.Microsoft Learn
Outcome statusSets whether choosing this outcome means the test is passed or failed.Microsoft Learn
DescriptionA description of the test variable.Microsoft Learn Visual checkDescription

Test checklist

  1. Create variable PACKAGING with outcomes OK (Pass) and DAMAGED (Fail).
  2. Use it with a default outcome on an Option test in a test group.
  3. Record DAMAGED on a quality order and validate; check the test fails.
  4. Record OK on another and check it passes.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Test variablesAt least two outcomes per variable: one with Outcome status Pass and one with FailMicrosoft recommends at least one Pass and one Fail outcome so a qualitative result can always be judged.A variable with only Pass outcomes, so the test can never fail.
Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneReversible: Variables and outcomes can be edited; several tests can share a variable.
Technical architect

6Technical

Menu itemInventTestVariable Checked in Dynamics 365
FormInventTestVariable Checked in Dynamics 365
TableInventTestVariableShown as “Test variables” in Record infoKey field: VariableId, DescriptionChecked in Dynamics 365
Data entitiesInventQualityTestVariableEntityQuality test variables Microsoft data model
Who can open itPrivilegesMaintain test variables InventTestVariableMaintainView test variables InventTestVariableViewDutiesInquire into quality control policies InventQualityControlPoliciesInquireEnable quality control process InventQualityControlProcessEnable
2 security rolesQuality control manager InventQualityControlManagerWarehouse planner WHSWarehousePlanner
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itQuality control manager InventQualityControlManagerTo use itWarehouse planner WHSWarehousePlannerGive people one of these roles. On this system, 2 roles can open this page.Checked in Dynamics 365
Actions on the pageOptionsChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=InventTestVariable
Integrate withInventQualityTestVariableEntity data entity Microsoft data model
Data migrationInventQualityTestVariableEntity (Quality test variables): loaded for each company, in Microsoft's default template 395 - Quality management.Load order: Microsoft's default template 395 - Quality management loads Quality test variables at execution unit 1, level 30, sequence 10. Lower levels load first, and entities at the same level load in sequence order.Load first: the default templates at lower levels (System setup to General ledger)Microsoft Learn
Table definitionInventTestVariable columns and relations Microsoft data model
Everyone

8Sources

To cite this step: IM-QC-030, Set up Test variables. Beyond ERP Atlas Hub, 2026-11-11. https://www.beyonderp.cloud/atlas/step/IM-QC-030