---
title: "Create a Test Generation Rule for a Specific Item in Quality Inspector"
app: "Quality Inspector"
section: "Set up"
last_updated: "2026-08-25"
url: "https://insight-works.com/kb/quality-inspector/create-a-test-generation-rule-for-a-specific-item-in-quality-inspector/"
---

# Create a Test Generation Rule for a Specific Item in Quality Inspector

Note: To create a test generation rule for a category of items, see [_Create a Test Generation Rule for a Category of Items in Quality Inspector_](/kb/quality-inspector/create-a-test-generation-rule-for-a-category-of-items-in-quality-inspector/).

With Quality Inspector, you can specify the Quality Inspection Templates used to create tests for a specific item. The following walks you through an example of creating a test generation rule for receiving a specific product.

 Note: The following examples use the CRONUS “1900-S” Item “PARIS Guest Chair, black”.

Note: These steps presume you have a Quality Inspection Template. This walkthrough uses the RECEIVE example template and is used for purchase receipts.

These steps presume you already have a Quality Inspection Template. If you are new to templates and Test Generation Rules, see [**Understand Quality Inspection Templates and Test Generation Rules**](/kb/quality-inspector/understand-quality-inspection-templates-and-test-generation-rules/), which includes a walkthrough for building your first template. If you have not yet configured Quality Inspector refer to the overview on [**How to Set Up and Configure Quality Inspector**](/kb/quality-inspector/set-up-and-configure-quality-inspector/).

### Option 1: Use the Create Receiving Rule wizard

1. Navigate to _Quality Inspection Test Generation Rules_ in Business Central.
2. Select **Create Receiving Rule**.
3. Select “RECEIVE” in the _Choose Template_ dropdown.
4. Enable Purchase Line in the _What Kind of Receiving Rule are you making_section.
5. Select **Next**/ **Next**.
6. Select the … button for the _Specific Item_ field.
7. Select “1900-S” and select **OK**.
8. Select **Next** (the Receipt Rule Wizard summarizes the _Item Filter_ as “WHERE(No.=FILTER(1900-S))”.
9. Select **Finish**.

There is now a row for a test generation rule for purchase lines on the _Quality Inspection Test Generation Rules_ page.

### Option 2: Manually create the Quality Inspection Test Generation Rule

1. Navigate to _Quality Inspection Test Generation Rules_ in Business Central.
2. Select **+New**.
3. Input “RECEIVE” into the _Template Code_ field.
4. Select the _Table_ field and select “Purchase Line” (table ID 39).
5. Select the … button for the _Item Filter_ field.
6. Select **+Filter** in the _Filter: Item_ section and select “No.”
7. Select “1900-S” for the _No._ field.
8. Select **OK**.
