Skip to content

Quality Inspector · Set up

Create a Test Generation Rule for a Category of Items in Quality Inspector

Last updated August 25, 2026

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

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 Category field.
  7. Select “CHAIR” and select OK.
  8. Select Next (the Receipt Rule Wizard summarizes the Item Filter as “WHERE(Item Category Code=FILTER(CHAIR))”.
  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 “Item Category Code”.
  7. Select “CHAIR” for the Item Category Code field.
  8. Select OK.

View this article as Markdown

Still need help?

Ask other Business Central users in the Insight Works community, or send the details to the support team. Include the steps you took and any error message you saw.