8.2 Quality Associations, Automatic Generation, and Quality Orders Processing

Key Takeaways

  • Quality associations define the event-driven automation rules that evaluate inbound, outbound, production, and inventory movements to trigger quality orders automatically.
  • Execution conditions combine document types (Purchase, Sales, Production, Inventory) with execution timing (Before or After) and scope filters (Table, Group, All).
  • The Before execution timing halts triggering business processes (such as product receipt or packing slip posting) until inspection passes, whereas After permits completion while controlling downstream inventory usage.
  • Process blocking rules (Block invoice, Block physical issue, Block receipt) prevent unauthorized financial settlement or physical consumption of suspect inventory during testing.
  • Quality order validation against test tolerances evaluates Pass/Fail outcomes and dynamically updates the inventory status (e.g., from 'QC-HOLD' to 'AVAILABLE' or 'REJECTED') in advanced warehouse management.
Last updated: September 2026

8.2 Quality Associations, Automatic Generation, and Quality Orders Processing

Quick Answer: Quality associations in Microsoft Dynamics 365 Supply Chain Management (D365 SCM) automate quality order creation when inventory transactions occur. Governed by Document type (Purchase, Sales, Production, Inventory) and Event type (Registration, Product receipt, Picking list, Packing slip, Route operation, Report as finished), they execute either Before or After the transaction. Quality associations enforce Blocking rules (Block invoice, Block physical issue, Block receipt) and follow scope precedence (Table, Group, All). When tests are entered and validated, D365 SCM updates the item's Inventory Status in advanced warehouse management to release or restrict the goods.


1. Quality Associations Architecture and Event Framework

A Quality association defines the business conditions under which D365 SCM automatically generates a quality order.

  • Navigation: Inventory management > Setup > Quality control > Quality associations

When an operational transaction matches an active quality association, the system creates a quality order and assigns the designated test group and sampling policy.

Document Types and Event Types

  1. Purchase Orders:
    • Registration: Triggers when inbound goods are registered at the receiving dock prior to product receipt.
    • Product receipt: Triggers when the product receipt is posted in Accounts payable or Warehouse management.
  2. Sales Orders:
    • Picking list: Triggers when picking lists or warehouse picking work are generated.
    • Packing slip: Triggers during outbound dispatch when the sales packing slip is posted.
  3. Production Orders:
    • Route operation: Triggers upon completing a specific routing operation, enabling in-process inspection.
    • Report as finished: Triggers when finished products or co-products are completed.
  4. Inventory:
    • Quarantine: Triggers when inventory is placed into or processed through quarantine.

Execution Timing: "Before" vs. "After"

The Execution parameter controls the operational sequence between the business transaction and the quality inspection:

  • Before: Halts the triggering transaction until the quality order is validated with a Pass outcome. For example, if configured for Product receipt / Before, the receiving clerk cannot post the product receipt until quality testing passes.
  • After: Allows the triggering transaction to post immediately, generating the quality order concurrently in the background while downstream movement is controlled via blocking rules or inventory status.

2. Filtering Conditions: Document, Item, and Account Scopes

Quality associations use a three-tier hierarchy (Table, Group, All) to filter when quality orders are triggered:

Scope LevelItem Code FieldAccount Code Field
TableTargets a single specific Released product.Targets a single specific Vendor or Customer.
GroupTargets items in a Quality item group.Targets vendors/customers in a Quality group.
AllApplies to all released products.Applies to all vendors or customers.

Scope Precedence Hierarchy

When multiple associations match a transaction, D365 SCM evaluates relational specificity:

  1. Table / Table: Specific item and specific vendor/customer (highest precedence).
  2. Table / Group: Specific item and vendor/customer group.
  3. Table / All: Specific item across all vendors/customers.
  4. Group / Table: Item group and specific vendor/customer.
  5. Group / Group: Item group and vendor/customer group.
  6. Group / All: Item group across all vendors/customers.
  7. All / All: Universal fallback rule (lowest precedence).

3. Automatic Quality Order Generation and Process Blocking Rules

When a quality order is generated, the association enforces Process blocking controls on source documents:

  • Block invoice:
    • Purchase: Prevents Accounts payable from posting a matching vendor invoice until inspection passes.
    • Sales: Prevents Accounts receivable from invoicing the customer.
  • Block physical issue: Restricts on-hand stock from being reserved, picked, packed, or issued on transfer orders, production orders, or sales orders.
  • Block receipt: Prevents completing physical arrival receipts or warehouse putaway until inspection passes.

[!IMPORTANT] Blocking Scope Alignment: The quantity blocked depends on the Full blocking setting in the linked Item sampling record. If enabled, the entire line quantity is blocked; if disabled, only the sampled units are locked.


4. Manual Quality Order Creation and Test Results Entry

Quality orders can also be created manually for damaged pallets, ad-hoc audits, or customer complaints.

  • Navigation: Inventory management > Periodic tasks > Quality management > Quality orders
  • Click New, select the Reference type (Inventory, Purchase, Sales, or Production), enter inventory dimensions, and assign a Test group.

Recording Test Results

  1. On the Quality order, click Results on the Action Pane.
  2. For Quantitative tests: Enter numerical values in Result quantity. The system compares values against Min, Max, and Standard targets, displaying Pass or Fail.
  3. For Qualitative tests: Select an outcome from the Variable outcome dropdown. The system evaluates whether the underlying outcome status is Pass.
  4. Authorized personnel can select Override test results to accept an out-of-spec line with audit notes.

5. Validating Quality Orders and Advanced Warehouse Inventory Status Updates

Clicking Validate on the Action Pane finalizes the inspection:

  • Pass: All required tests met specifications (or fell within the AQL threshold). Status updates to Closed / Pass, and blocking rules clear automatically.
  • Fail: One or more mandatory tests failed. Status updates to Closed / Fail, blocking remains active, and a Nonconformance is auto-generated if configured.

Advanced Warehouse Management (WMS) Status Integration

In WMS-enabled facilities, inventory availability is governed by the Inventory Status tracking dimension. Quality associations configure dynamic status transitions upon validation:

  • Quality order pass: Inventory status: Automatically switches the license plate status to an available status (e.g., AVAILABLE).
  • Quality order fail: Inventory status: Automatically switches the license plate status to a restricted status (e.g., REJECTED or HOLD-QC).

6. Practical Implementation Scenarios and Exam Tips

[!TIP] Exam Tip — Execution Timing in Warehouse Receiving: If mobile device workers encounter an error during purchase receiving stating that an unvalidated quality order blocks the transaction, check if the Quality Association has Execution = Before. Changing execution to After permits receiving while using inventory status to block putaway or reservation.

[!WARNING] Exam Trap — Scope Precedence: If a specific vendor delivery triggers an unexpected test group, verify whether a Table / Table association exists. Specific table records override broader group or company-wide rules.

Loading diagram...
Quality Order Execution Lifecycle
Test Your Knowledge

A manufacturing company requires that raw material steel coils received from external vendors must be inspected before the warehouse receiving team posts the formal Product Receipt. If the material does not pass chemical purity testing, the product receipt transaction must be prevented from posting in the system. Which Quality Association configuration should the functional consultant implement?

A
B
C
D
Test Your Knowledge

An enterprise utilizes advanced warehouse management (WMS) and wants received goods to automatically transition from a non-reservable status of 'HOLD-QC' to a reservable status of 'AVAILABLE' once quality order testing is successfully passed. If the quality order fails, the status must instead transition to 'REJECTED'. Where should the functional consultant configure this automatic inventory status change?

A
B
C
D
Test Your Knowledge

A quality consultant configures three quality associations for an inbound inspection process: Association 1 applies to Item Code 'All' with a sample size of 5%; Association 2 applies to Item Code 'Group' (Chemicals) with a sample size of 10%; Association 3 applies to Item Code 'Table' for specific hazardous chemical Item C-900 with a sample size of 20%. When a purchase order for Item C-900 arrives, which sampling rate and test group will Dynamics 365 Supply Chain Management apply?

A
B
C
D