Set up quality inspection generation rules

Quality inspection generation rules determine which inspection template and tests to use for a business transaction. For example, when you post production output, Business Central evaluates matching rules against the relevant transaction or document lines. The template supplies the measurements and questions for the inspection.

Types of source documents

You can create inspection generation rules for various types of source documents.

  • Purchase rules can use purchase lines and item-tracking lines and can trigger when purchase orders are released or received.
  • Production rules can use production routing lines and can trigger when production orders are released or refreshed, or when output is posted.
  • Assembly rules can create inspections when assembly output is posted.
  • Warehouse rules can use warehouse receipt or warehouse entry data and can trigger when receipts are created or posted or movements are registered.
  • Returns and transfers can create inspections when sales return receipts or transfer receipts are posted.

Activation settings

For source actions and automatic triggers, the Activation Trigger field controls how you can use a rule:

  • Manual or Automatic allows both creation methods.
  • Manual only allows actions that users run.
  • Automatic only allows configured automatic triggers.
  • Disabled prevents the rule from creating inspections.

Scheduled processing is an exception. A schedule can process any rule that isn't marked as Disabled, regardless of whether the rule is manual or automatic.

Set up a quality inspection generation rule manually

You might want to create an inspection generation rule manually when you have custom or complex filtering requirements.

  1. Select Search (Alt+Q) in the upper-right corner, enter Quality Inspection Generation Rules, and then choose the related link.

  2. Choose New.

  3. In the Sort Order field, specify how early you want Business Central to find this template among rules for the same source table. Lower sort order numbers are chosen first.

  4. In the Template Code field, choose the template to use as the basis for the quality inspection.

  5. In the Intent field, specify the type of source document that the rule applies to.

  6. In the Table field, choose a table that's relevant for the type of source document you chose in the Intent field. For example, if you chose Warehouse, you should probably choose the Warehouse Receipt Line table.

  7. In the Condition Filter, Item Filter, and Attribute Filter fields, choose one or more fields from the table you just selected to use as the filter that determines when to use this template.

  8. In the Activation Trigger field, choose how source actions and automatic triggers can use the rule. Learn more in Activation settings.

  9. Depending on your selection in the Intent field, specify when to trigger the creation of inspections for assembly, production, purchase orders, sales returns, transfer orders, or warehouse receipts and movements.

    Tip

    You can only choose an option for the trigger that corresponds to your selection in the Intent field.

  10. In the Schedule Group field, specify a group that allows a schedule to refer to multiple inspection generation rules. The schedule group creates a job queue entry for quality management.

Use assisted setup guides to create inspection generation rules

Business Central provides assisted setup guides that can speed up the process of creating inspection generation rules. Setup guides are available for:

  • Receiving goods and materials
  • Moving inventory between bins
  • Inspecting production

Create a receiving rule (purchases)

This rule is for inspecting goods for purchase receipts.

  1. Select Search (Alt+Q) in the upper-right corner, enter Quality Inspection Generation Rules, and then choose the related link.
  2. Choose the Create Receiving Rule action.
  3. In the Choose template field, choose the template you're creating the rule for.
  4. Turn on the toggle for the type of receiving rule to create. You can only choose one type.
  5. Choose Next.
  6. In the Location, Vendor No., and Purchasing Code fields, specify the purchase receipts that the rule applies to.
  7. Optionally, you can choose the Click here to choose advanced fields link to add more filters.
  8. Choose Next.
  9. Optionally, specify a specific item, category, or inventory posting group that creates inspections according to the rule.
  10. Optionally, you can choose the Click here to choose advanced fields link to add more filters.
  11. Choose Next.
  12. Review the filters you set, and add more if needed.
  13. In the Automatically Create Inspection field, specify a trigger to automatically create an inspection when you receive a product for a purchase order.
  14. Select Finish.

Create a bin movement rule

For example, this rule is typically used to move noncompliant goods to a quarantine bin.

  1. Select Search (Alt+Q) in the upper-right corner, enter Quality Inspection Generation Rules, and then choose the related link.
  2. Choose the Create Bin Movement Rule action.
  3. In the Choose template field, choose the template you're creating the rule for.
  4. Choose Next.
  5. Specify the location, zone, and/or bin that creates an inspection when you put goods in them.
  6. To create inspections only for put-aways, turn on the Just put-aways toggle.
  7. Optionally, you can choose the Click here to choose advanced fields link to add more filters.
  8. Choose Next.
  9. Optionally, specify a specific item, category, inventory posting group, or vendor that creates inspections according to the rule.
  10. Optionally, you can choose the Click here to choose advanced fields link to add more filters.
  11. Choose Next.
  12. Review the filters you set, and add more if needed.
  13. In the Automatically Create Inspection field, specify a trigger to automatically create an inspection when you put goods in the bins you specified.
  14. Select Finish.

Create a production rule

This rule is often used for inspecting production output.

  1. Select Search (Alt+Q) in the upper-right corner, enter Quality Inspection Generation Rules, and then choose the related link.
  2. Choose the Create Production Rule action.
  3. In the Choose template field, choose the template you're creating the rule for.
  4. Choose Next.
  5. Optionally, specify Location, From Bin, To Bin, Routing No., Operation No., Work Center No., Machine No., or Description to filter the production routing lines that create inspections.
  6. To filter on other production routing-line fields, select Click here to choose advanced fields....
  7. Choose Next.
  8. Optionally, specify Specific Item, Category, or Inventory Posting Group.
  9. To filter on other item fields, select Click here to choose advanced fields....
  10. Choose Next.
  11. Review Filters and Item Filter, and change them if needed.
  12. In the Automatically Create Inspection field, specify a trigger to automatically create an inspection for production.
  13. Select Finish.

To create a rule for assembly output, use the separate Create Assembly Rule action.

Create quality management workflows

If you're automating the process of creating quality inspections, the next step is to set up quality management workflows. Workflows can automatically run business actions when quality inspections are created, finished, or when specific conditions are met. Learn more in Quality management workflows.

Creating Quality Inspection Templates
Create an inspection manually from item tracking
Inspect production output
Work with quality inspections
Quality Management Overview

Find free e-learning modules for Business Central here