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.
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
- 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.
- 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.
- 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.
- 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
Passoutcome. For example, if configured forProduct 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 Level | Item Code Field | Account Code Field |
|---|---|---|
| Table | Targets a single specific Released product. | Targets a single specific Vendor or Customer. |
| Group | Targets items in a Quality item group. | Targets vendors/customers in a Quality group. |
| All | Applies to all released products. | Applies to all vendors or customers. |
Scope Precedence Hierarchy
When multiple associations match a transaction, D365 SCM evaluates relational specificity:
Table / Table: Specific item and specific vendor/customer (highest precedence).Table / Group: Specific item and vendor/customer group.Table / All: Specific item across all vendors/customers.Group / Table: Item group and specific vendor/customer.Group / Group: Item group and vendor/customer group.Group / All: Item group across all vendors/customers.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, orProduction), enter inventory dimensions, and assign a Test group.
Recording Test Results
- On the Quality order, click Results on the Action Pane.
- For Quantitative tests: Enter numerical values in Result quantity. The system compares values against Min, Max, and Standard targets, displaying
PassorFail. - For Qualitative tests: Select an outcome from the Variable outcome dropdown. The system evaluates whether the underlying outcome status is
Pass. - 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.,
REJECTEDorHOLD-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 / Tableassociation exists. Specific table records override broader group or company-wide rules.
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?
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 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?