---
title: "Create a Test from Sales Order Production Planning in Quality Inspector"
app: "Quality Inspector"
section: "How-to guides"
last_updated: "2026-02-26"
url: "https://insight-works.com/kb/quality-inspector/create-a-test-from-sales-order-production-planning-in-quality-inspector/"
---

# Create a Test from Sales Order Production Planning in Quality Inspector

Generating a released production order from Sales Order Planning can automatically create one or more tests.

### Prerequisites

- Have run Quality Inspector Assisted Setup.
- Have a production-related source configuration (e.g., the default **Order Routing Line to Test** source configuration).
- Have a Quality Inspection Template.

### Setup

1. Navigate to the _Quality Inspection Test Generation Rules List_ page in Business Central.
2. Edit the list and either create a new rule (or modify an existing generation rule) with an intent of Production.
3. Set the _Production Trigger_ field to “When Released Order is Created from Sales Planning”.

### Create a test

1. Navigate to the _Sales Orders_ page in Business Central.
2. Select the required Sales Order.
3. Select **Actions** / **Plan** / **Planning**.
4. Select **Create Prod. Order**.
5. Set the _Prod. Order Status_ field to “Released” and select **Yes**.

Creates one or more tests based on the configured generation rule.
