---
id: object/page/20402
type: object
title: Page 20402 "Qlty. Inspection Template"
summary: Page 20402 "Qlty. Inspection Template" in Quality Management (Microsoft.QualityManagement.Configuration.Template). 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: 482f8ad2ec0fefad25873bdfc10b28769f8d485d51b4a4e8f381d9eb43e16ea6
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Quality%20Management/app/src/Configuration/Template/QltyInspectionTemplate.Page.al
    title: src/Apps/W1/Quality Management/app/src/Configuration/Template/QltyInspectionTemplate.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/qms-overview
    title: Quality management overview
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/qms-production-output-testing
    title: Create a sampled inspection automatically from production output
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/qms-purchase-receipt-testing-simple
    title: Create an inspection manually from item tracking
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/qms-purchase-receipt-testing-warehouse
    title: Create an inspection automatically from a warehouse receipt and reinspect the lot
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/qms-quality-templates
    title: Create quality inspection templates
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/qms-scheduled-test-creation
    title: Create scheduled quality inspections
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/qms-setup
    title: Quality management setup and configuration
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/qms-test-generation-rules
    title: Set up quality inspection generation rules
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/qms-troubleshooting
    title: Troubleshoot quality management features
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/qms-overview
    - https://learn.microsoft.com/dynamics365/business-central/qms-production-output-testing
    - https://learn.microsoft.com/dynamics365/business-central/qms-purchase-receipt-testing-simple
    - https://learn.microsoft.com/dynamics365/business-central/qms-purchase-receipt-testing-warehouse
    - https://learn.microsoft.com/dynamics365/business-central/qms-quality-templates
    - https://learn.microsoft.com/dynamics365/business-central/qms-scheduled-test-creation
    - https://learn.microsoft.com/dynamics365/business-central/qms-setup
    - https://learn.microsoft.com/dynamics365/business-central/qms-test-generation-rules
    - https://learn.microsoft.com/dynamics365/business-central/qms-troubleshooting
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/quality-management
    - topic/business-central/business-functionality/quality-management/set-up-quality-management
    - topic/business-central/business-functionality/set-up-business-central/set-up-quality-management
    - topic/business-central/get-started/learn/contoso-coffee-demo-data/quality-management
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10270
object_type: page
object_id: 20402
name: Qlty. Inspection Template
caption: Quality Inspection Template
namespace: Microsoft.QualityManagement.Configuration.Template
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:
  - docs/learn-smb-docs/business-central/qms-overview.md
  - docs/learn-smb-docs/business-central/qms-production-output-testing.md
  - docs/learn-smb-docs/business-central/qms-purchase-receipt-testing-simple.md
  - docs/learn-smb-docs/business-central/qms-purchase-receipt-testing-warehouse.md
  - docs/learn-smb-docs/business-central/qms-quality-templates.md
  - docs/learn-smb-docs/business-central/qms-scheduled-test-creation.md
  - docs/learn-smb-docs/business-central/qms-setup.md
  - docs/learn-smb-docs/business-central/qms-test-generation-rules.md
  - docs/learn-smb-docs/business-central/qms-troubleshooting.md
counts:
  fields: 0
  procedures: 2
  events: 0
  subscribers: 0
  controls: 8
  actions: 4
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Page 20402 "Qlty. Inspection Template"

> Page 20402 "Qlty. Inspection Template" in Quality Management (Microsoft.QualityManagement.Configuration.Template). Introduced in BC29, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | Quality Inspection Template |
| SourceTable | Qlty. Inspection Template Hdr. |
| PageType | Card |
| UsageCategory | None |
| 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 |
|---|---|---|---|
| General | Code | [Code](../table/20402.md#fields) | Specifies the code to identify the Quality Inspection Template. |
|  | Description | [Description](../table/20402.md#fields) | Specifies an explanation of the Quality Inspection Template. You can enter a maximum of 100 characters, both numbers and letters. <small>from the table field</small> |
|  | Sample Source | [Sample Source](../table/20402.md#fields) | Specifies how the Sample Size initially gets set. Values are rounded up to the nearest whole number. <small>from the table field</small> |
| SampleFixedAmountVisibilityWrapper | Sample Fixed Amount | [Sample Fixed Amount](../table/20402.md#fields) | Specifies the discrete fixed sample amount when Sample Source is set to a fixed quantity. Samples can only be discrete units. If the quantity here exceeds the Source Quantity then the Source Quantity will be used instead. <small>from the table field</small> |
| SamplePercentVisibilityWrapper | Sample Percentage | [Sample Percentage](../table/20402.md#fields) | Specifies a percentage of the source quantity that will default the sample size. Samples can only be discrete units. Values will be rounded to the highest discrete amount. <small>from the table field</small> |
| Content | Lines | part [Page 20403 "Qlty. Inspection Template Subf"](../page/20403.md) | — |
| FactBoxes | Template Attachments | part [Page 1178 "Doc. Attachment List Factbox"](../page/1178.md) | — |
|  | Specification Attachments | part [Page 1178 "Doc. Attachment List Factbox"](../page/1178.md) | — |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Create Inspection | Create a new quality inspection from this template. |  |
|  | Copy Template | Copy an existing quality inspection template. |  |
| Navigation | Inspection Generation Rules | View existing quality inspection generation rules related to this template. | [Page 20405 "Qlty. Inspection Gen. Rules"](../page/20405.md) |
|  | Existing Inspections | Review existing quality inspections created using this template. | [Page 20408 "Qlty. Inspection List"](../page/20408.md) |

## Procedures

2 local procedures, no public ones.

## Triggers

OnAfterGetRecord, OnInsertRecord

## Relations

- source table [Table 20402 "Qlty. Inspection Template Hdr."](../table/20402.md)

## Pages and codeunits on this table

- [Page 20404 "Qlty. Inspection Template List"](../page/20404.md) (card 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 20458 "Qlty. Mgmt. Feature Telemetry"](../codeunit/20458.md) (1 call: `OnInsertRecord → LogFeatureUptakeSetup`)

## Recent changes

- 2026-08-20 [#10270 [Quality Management] Repair and improve XML documentation of procedures](../../changes/bcapps/10270.md) (main, BC30, refactor)

## Across versions

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

## Documented on Microsoft Learn

- [Quality management overview](https://learn.microsoft.com/dynamics365/business-central/qms-overview)
- [Create a sampled inspection automatically from production output](https://learn.microsoft.com/dynamics365/business-central/qms-production-output-testing)
- [Create an inspection manually from item tracking](https://learn.microsoft.com/dynamics365/business-central/qms-purchase-receipt-testing-simple)
- [Create an inspection automatically from a warehouse receipt and reinspect the lot](https://learn.microsoft.com/dynamics365/business-central/qms-purchase-receipt-testing-warehouse)
- [Create quality inspection templates](https://learn.microsoft.com/dynamics365/business-central/qms-quality-templates)
- [Create scheduled quality inspections](https://learn.microsoft.com/dynamics365/business-central/qms-scheduled-test-creation)
- [Quality management setup and configuration](https://learn.microsoft.com/dynamics365/business-central/qms-setup)
- [Set up quality inspection generation rules](https://learn.microsoft.com/dynamics365/business-central/qms-test-generation-rules)
- [Troubleshoot quality management features](https://learn.microsoft.com/dynamics365/business-central/qms-troubleshooting)

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 Template")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
