---
id: object/page/20405
type: object
title: Page 20405 "Qlty. Inspection Gen. Rules"
summary: Page 20405 "Qlty. Inspection Gen. Rules" in Quality Management (Microsoft.QualityManagement.Configuration.GenerationRule). Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - quality management
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: ad7ca14f9a01923c24090305a79a48903be02bc8049126532ff80886d483f480
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Quality%20Management/app/src/Configuration/GenerationRule/QltyInspectionGenRules.Page.al
    title: src/Apps/W1/Quality Management/app/src/Configuration/GenerationRule/QltyInspectionGenRules.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10270
    - change/bcapps/7938
    - change/bcapps/8556
object_type: page
object_id: 20405
name: Qlty. Inspection Gen. Rules
caption: Quality Inspection Generation Rules
namespace: Microsoft.QualityManagement.Configuration.GenerationRule
app: Quality Management
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 6
  events: 0
  subscribers: 0
  controls: 18
  actions: 10
relations:
  out: 1
  referenced_by: 0
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Page 20405 "Qlty. Inspection Gen. Rules"

> Page 20405 "Qlty. Inspection Gen. Rules" in Quality Management (Microsoft.QualityManagement.Configuration.GenerationRule). Introduced in BC29, still in BC30.

Quality Management · Microsoft.QualityManagement.Configuration.GenerationRule · captioned "Quality Inspection Generation Rules" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Quality%20Management/app/src/Configuration/GenerationRule/QltyInspectionGenRules.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Quality Inspection Generation Rules |
| SourceTable | Qlty. Inspection Gen. Rule |
| PageType | List |
| UsageCategory | Lists |
| ApplicationArea | QualityManagement |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Repeater | Sort Order | [Sort Order](../table/20404.md#fields) | Specifies the order to look for matches. The smallest value will get looked at first. <small>from the table field</small> |
|  | Template Code | [Template Code](../table/20404.md#fields) | Specifies the Quality Inspection Template to use when the conditions match. <small>from the table field</small> |
|  | Description | [Description](../table/20404.md#fields) | Specifies an explanation of this rule. <small>from the table field</small> |
|  | Intent | [Intent](../table/20404.md#fields) | Specifies the intent of this rule. This is used for categorization and to help control the editability of various trigger fields. <small>from the table field</small> |
|  | Source Table No. | [Source Table No.](../table/20404.md#fields) | Specifies the table for this rule. For example for receiving to a Purchase Line, you would use table 39. For production typically 5409 for Production Order Routing Line. <small>from the table field</small> |
|  | Table Caption | [Table Caption](../table/20404.md#fields) | Specifies the table for this rule. For example for receiving to a Purchase Line, you would use table 39. For production typically 5409 for Production Order Routing Line. |
|  | Condition Filter | [Condition Filter](../table/20404.md#fields) | Specifies the criteria for defining when to use this template. For example, if you wanted to only use a template for a certain item then you would define that item here. <small>from the table field</small> |
|  | Item Filter | [Item Filter](../table/20404.md#fields) | Specifies the item specific criteria for defining when to use this template. <small>from the table field</small> |
|  | Item Attribute Filter | [Item Attribute Filter](../table/20404.md#fields) | Specifies the item attribute specific criteria for defining when to use this template. <small>from the table field</small> |
|  | Activation Trigger | [Activation Trigger](../table/20404.md#fields) | Specifies whether the generation rule is active for manually created inspections only, automatically created inspections only, both, or disabled entirely. <small>from the table field</small> |
|  | Assembly Trigger | [Assembly Trigger](../table/20404.md#fields) | Specifies whether the generation rule should be used to automatically create inspections based on an assembly trigger. <small>from the table field</small> |
|  | Production Order Trigger | [Production Order Trigger](../table/20404.md#fields) | Specifies whether the generation rule should be used to automatically create inspections based on a Production Order Trigger. <small>from the table field</small> |
|  | Purchase Order Trigger | [Purchase Order Trigger](../table/20404.md#fields) | Specifies whether the generation rule should be used to automatically create inspections based on a purchase receive trigger. <small>from the table field</small> |
|  | Sales Return Trigger | [Sales Return Trigger](../table/20404.md#fields) | Specifies whether the generation rule should be used to automatically create inspections based on a sales return receive trigger. <small>from the table field</small> |
|  | Transfer Order Trigger | [Transfer Order Trigger](../table/20404.md#fields) | Specifies whether the generation rule should be used to automatically create inspections based on a transfer receive trigger. <small>from the table field</small> |
|  | Warehouse Receipt Trigger | [Warehouse Receipt Trigger](../table/20404.md#fields) | Specifies whether the generation rule should be used to automatically create inspections based on a Warehouse Receipt Trigger. <small>from the table field</small> |
|  | Warehouse Movement Trigger | [Warehouse Movement Trigger](../table/20404.md#fields) | Specifies whether the generation rule should be used to automatically create inspections based on a warehouse movement trigger. <small>from the table field</small> |
|  | Schedule Group | [Schedule Group](../table/20404.md#fields) | Specifies a group which allows a schedule to refer to multiple inspection generation rules. <small>from the table field</small> |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Create Assembly Rule | Create a generation rule for assembly. |  |
|  | Edit Assembly Rule | Edit a generation rule for assembly. |  |
|  | Create Production Rule | Create a generation rule for production. |  |
|  | Edit Production Rule | Edit a generation rule for production. |  |
|  | Create Receiving Rule | Create a generation rule for receiving. |  |
|  | Edit Receiving Rule | Edit a generation rule for receiving. |  |
|  | Create Bin Movement Rule | Create a generation rule for warehouse bin movements. |  |
|  | Edit Bin Movement Rule | Edit a generation rule for a bin movement. |  |
|  | Job Queue Entries | Display related job queue entries. |  |
|  | Create a Job Queue Entry | Creates another job queue entry. |  |

## Procedures

6 local procedures, no public ones.

## Triggers

OnInit, OnFindRecord, OnOpenPage, OnNewRecord, OnAfterGetCurrRecord, OnAfterGetRecord

## Relations

- source table [Table 20404 "Qlty. Inspection Gen. Rule"](../table/20404.md)

## Pages and codeunits on this table

- [Table 20404 "Qlty. Inspection Gen. Rule"](../table/20404.md) (drill-down page)
- [Table 20404 "Qlty. Inspection Gen. Rule"](../table/20404.md) (lookup page)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 20405 "Qlty. Inspec. Gen. Rule Mgmt."](../codeunit/20405.md) (1 call: `OnOpenPage → GetFilterForAvailableConfigurations`)
- [Codeunit 20458 "Qlty. Mgmt. Feature Telemetry"](../codeunit/20458.md) (1 call: `OnOpenPage → LogFeatureUptakeDiscovered`)

## Recent changes

- 2026-08-20 [#10270 [Quality Management] Repair and improve XML documentation of procedures](../../changes/bcapps/10270.md) (main, BC30, refactor)
- 2026-07-16 [#7938 Bugs/632378 make quality inspection gen rule warning actionable](../../changes/bcapps/7938.md) (main, BC30, fix)
- 2026-07-08 [#8556 [Quality Management] Enforce rules and restrictions with indirect and implicit permissions](../../changes/bcapps/8556.md) (main, BC30, feature)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "Qlty. Inspection Gen. Rules")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
