---
title: "Table 20402 Qlty. Inspection Template Hdr., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/points/
object: https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/
app: "Quality Management"
major: 29
source: https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/source/
checked: 2026-11-20
changed: 2026-11-13
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Table 20402 Qlty. Inspection Template Hdr., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/points/

3 procedures and triggers with a step in src/Apps/W1/Quality Management/app/src/Configuration/Template/QltyInspectionTemplateHdr.Table.al, in source order, read from the text, not from a run.

## OnDelete

[Line 78](https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/source/#L78), trigger.

- [84](https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/source/#L84) writes [Table 20403 Qlty. Inspection Template Line](https://jonas-paprotka.de/ref/table/20403-qlty-inspection-template-line/) DeleteAll(true)
- [87](https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/source/#L87) writes [Table 20404 Qlty. Inspection Gen. Rule](https://jonas-paprotka.de/ref/table/20404-qlty-inspection-gen-rule/) DeleteAll

## OnRename

[Line 90](https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/source/#L90), trigger.

- [96](https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/source/#L96) writes [Table 20406 Qlty. Inspection Line](https://jonas-paprotka.de/ref/table/20406-qlty-inspection-line/) ModifyAll

## AddTestToTemplate

[Line 125](https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/source/#L125).

- [134](https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/source/#L134) calls [Table 20403 Qlty. Inspection Template Line](https://jonas-paprotka.de/ref/table/20403-qlty-inspection-template-line/) `InitLineNoIfNeeded`
- [135](https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/source/#L135) validates [Table 20403 Qlty. Inspection Template Line](https://jonas-paprotka.de/ref/table/20403-qlty-inspection-template-line/) `Test Code`
- [136](https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/source/#L136) writes [Table 20403 Qlty. Inspection Template Line](https://jonas-paprotka.de/ref/table/20403-qlty-inspection-template-line/) Insert(true)
- [137](https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/source/#L137) calls [Table 20403 Qlty. Inspection Template Line](https://jonas-paprotka.de/ref/table/20403-qlty-inspection-template-line/) `EnsureResultsExist`
- [138](https://jonas-paprotka.de/ref/table/20402-qlty-inspection-template-hdr/source/#L138) writes [Table 20403 Qlty. Inspection Template Line](https://jonas-paprotka.de/ref/table/20403-qlty-inspection-template-line/) Modify

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
