---
id: object/report/20400
type: object
title: Report 20400 "Qlty. Create Inspection"
summary: Report 20400 "Qlty. Create Inspection" in Quality Management (Microsoft.QualityManagement.Document). 1 public procedures, 1 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - report
  - 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: 4997d17874b955d4a49291e93e9cda2b70647bbb3f82e703418b24fb6ef8820d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Quality%20Management/app/src/Document/QltyCreateInspection.Report.al
    title: src/Apps/W1/Quality Management/app/src/Document/QltyCreateInspection.Report.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
object_type: report
object_id: 20400
name: Qlty. Create Inspection
caption: Create Quality Inspection
namespace: Microsoft.QualityManagement.Document
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: 7
  events: 1
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 4
  called_by: 0
  implements: 0
---

# Report 20400 "Qlty. Create Inspection"

> Report 20400 "Qlty. Create Inspection" in Quality Management (Microsoft.QualityManagement.Document). 1 public procedures, 1 events. Introduced in BC29, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | Create Quality Inspection |
| UsageCategory | ReportsAndAnalysis |
| ApplicationArea | QualityManagement |
| Permissions | tabledata "Qlty. Inspection Header" = Rim, tabledata "Qlty. Inspection Line" = Rim |

## Events published

- `OnAfterInitializeCreateInspectionReportParameters(var QltyInspectionTemplateCode: Code[20]; var SourceTable: Code[20]; var CustomFilter: Text; var Target: RecordId; var TargetRecordRef: RecordRef; var TempQltyInspectionHeader: Record "Qlty. Inspection Header" temporary)` (integration): Allows subscribers to change the initial values used by the Create Inspection report.

## Procedures

- `InitializeReportParameters(QltyInspectionTemplateCode: Code[20])`: Initializes the preferred inspection template and infers a compatible source configuration for the request page.

Plus 5 local procedures.

## Triggers

OnPreReport

## 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) (2 calls: `InitializeReportParameters → FindAllCompatibleGenerationRules`, `InitializeReportParameters → SetFilterToApplicableTemplates`)
- [Codeunit 20404 "Qlty. Inspection - Create"](../codeunit/20404.md) (1 call: `CreateQltyInspection → CreateInspectionWithMultiVariantsAndTemplate`)
- [Codeunit 20406 "Qlty. Permission Mgmt."](../codeunit/20406.md) (1 call: `AssistEditChooseRecord → CanChangeSourceQuantity`)
- [Codeunit 20408 "Qlty. Traversal"](../codeunit/20408.md) (1 call: `AssistEditChooseRecord → ApplySourceFields`)

## 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)

## 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: "report", object_name: "Qlty. Create Inspection")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
