---
title: "Codeunit 20404 Qlty. Inspection - Create, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/points/
object: https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/
app: "Quality Management"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/
checked: 2026-11-20
changed: 2026-10-05
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/"
---

# Codeunit 20404 Qlty. Inspection - Create, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/points/

25 procedures and triggers with a step in src/Apps/W1/Quality Management/app/src/Document/QltyInspectionCreate.Codeunit.al, in source order, read from the text, not from a run.

## CreateInspectionWithVariant

[Line 71](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L71), internal.

- [73](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L73) calls `CreateInspectionWithVariantAndTemplate`

## CreateInspectionWithVariantAndTemplate

[Line 91](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L91), internal.

- [97](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L97) calls `InternalCreateInspectionWithVariantAndTemplate`

## InternalCreateInspectionWithVariantAndTemplate

[Line 112](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L112), local.

- [121](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L121) calls [Codeunit 20599 Qlty. Misc Helpers](https://jonas-paprotka.de/ref/codeunit/20599-qlty-misc-helpers/) `GetRecordRefFromVariant`
- [124](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L124) calls `InternalCreateInspectionWithSpecificTemplate`

## InternalCreateInspectionWithGenerationRule

[Line 137](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L137), local.

- [145](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L145) calls [Codeunit 20599 Qlty. Misc Helpers](https://jonas-paprotka.de/ref/codeunit/20599-qlty-misc-helpers/) `GetRecordRefFromVariant`
- [148](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L148) calls `InternalCreateInspectionWithSpecificTemplate`

## CreateInspectionWithMultiVariants

[Line 174](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L174), internal.

- [187](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L187) calls `InternalCreateInspectionWithGenerationRule`
- [189](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L189) calls `InternalCreateInspectionWithGenerationRule`
- [191](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L191) calls `InternalCreateInspectionWithGenerationRule`
- [195](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L195) calls `InternalCreateInspectionWithGenerationRule`
- [199](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L199) calls `GetCreatedInspection`

## CreateInspectionWithMultiVariantsAndTemplate

[Line 216](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L216), internal.

- [229](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L229) calls `InternalCreateInspectionWithVariantAndTemplate`
- [231](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L231) calls `InternalCreateInspectionWithVariantAndTemplate`
- [233](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L233) calls `InternalCreateInspectionWithVariantAndTemplate`
- [237](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L237) calls `InternalCreateInspectionWithVariantAndTemplate`
- [241](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L241) calls `GetCreatedInspection`

## CreateInspection

[Line 257](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L257), internal.

- [263](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L263) calls `InternalCreateInspectionWithVariantAndTemplate`

## CreateInspectionWithSpecificTemplate

[Line 278](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L278), internal.

- [283](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L283) calls `InternalCreateInspectionWithSpecificTemplate`

## InternalCreateInspectionWithSpecificTemplate

[Line 316](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L316), local.

- [337](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L337) calls [Table 20400 Qlty. Management Setup](https://jonas-paprotka.de/ref/table/20400-qlty-management-setup/) `GetSetupRecord`
- [346](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L346) calls [Codeunit 20406 Qlty. Permission Mgmt.](https://jonas-paprotka.de/ref/codeunit/20406-qlty-permission-mgmt/) `VerifyCanCreateManualInspection`
- [353](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L353) raises `OnBeforeCreateInspection`, IsHandled
- [360](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L360) calls [Codeunit 20408 Qlty. Traversal](https://jonas-paprotka.de/ref/codeunit/20408-qlty-traversal/) `FindRelatedItem`
- [362](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L362) calls [Codeunit 20405 Qlty. Inspec. Gen. Rule Mgmt.](https://jonas-paprotka.de/ref/codeunit/20405-qlty-inspec-gen-rule-mgmt/) `FindMatchingGenerationRule`
- [378](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L378) calls [Codeunit 20408 Qlty. Traversal](https://jonas-paprotka.de/ref/codeunit/20408-qlty-traversal/) `ApplySourceFields`
- [379](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L379) calls `ApplyAllSourceFieldsToStub`
- [381](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L381) calls `ApplyAllSourceFieldsToStub`
- [383](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L383) calls `GetExistingOrCreateNewInspectionFor`
- [384](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L384) calls [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) `SetIsCreating`
- [386](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L386) raises `OnAfterCreateInspectionBeforeDialog`
- [392](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L392) writes [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) Modify
- [395](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L395) calls [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) `UpdateResultFromLines`
- [397](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L397) calls [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) `SetIsCreating`
- [398](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L398) writes [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) Modify
- [404](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L404) calls [Table 20406 Qlty. Inspection Line](https://jonas-paprotka.de/ref/table/20406-qlty-inspection-line/) `UpdateExpressionsInOtherInspectionLinesInSameInspection`
- [407](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L407) calls [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) `SetIsCreating`
- [412](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L412) calls [Codeunit 20426 Qlty. Start Workflow](https://jonas-paprotka.de/ref/codeunit/20426-qlty-start-workflow/) `StartWorkflowInspectionCreated`
- [419](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L419) calls `TryRunInspectionPage`
- [420](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L420) calls [Codeunit 20437 Qlty. Notification Mgmt.](https://jonas-paprotka.de/ref/codeunit/20437-qlty-notification-mgmt/) `NotifyInspectionCreated`
- [423](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L423) calls [Codeunit 20437 Qlty. Notification Mgmt.](https://jonas-paprotka.de/ref/codeunit/20437-qlty-notification-mgmt/) `NotifyInspectionCreated`
- [426](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L426) calls `LogCreateInspectionProblem`
- [431](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L431) raises `OnAfterCreateInspectionAfterDialog`

## FindExistingInspectionWithVariant

[Line 457](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L457), internal.

- [463](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L463) calls `FindExistingInspectionWithMultipleVariants`

## FindExistingInspectionWithMultipleVariants

[Line 476](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L476), internal.

- [485](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L485) calls [Codeunit 20599 Qlty. Misc Helpers](https://jonas-paprotka.de/ref/codeunit/20599-qlty-misc-helpers/) `GetRecordRefFromVariant`
- [488](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L488) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`
- [489](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L489) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`
- [490](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L490) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`
- [491](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L491) calls `FindExistingInspection`

## FindExistingInspection

[Line 504](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L504), internal.

- [511](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L511) raises `OnBeforeFindExistingInspection`, IsHandled
- [515](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L515) calls [Codeunit 20408 Qlty. Traversal](https://jonas-paprotka.de/ref/codeunit/20408-qlty-traversal/) `FindRelatedItem`
- [516](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L516) calls [Codeunit 20405 Qlty. Inspec. Gen. Rule Mgmt.](https://jonas-paprotka.de/ref/codeunit/20405-qlty-inspec-gen-rule-mgmt/) `FindMatchingGenerationRule`
- [517](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L517) calls `LogCreateInspectionProblem`

## GetExistingOrCreateNewInspectionFor

[Line 565](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L565), local.

- [580](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L580) calls `FindExistingInspectionWithStub`
- [617](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L617) raises `OnCustomCreateInspectionBehavior`
- [622](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L622) calls [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) `SetIsCreating`
- [624](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L624) calls `InitReinspectionHeader`
- [627](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L627) validates [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) `Template Code`
- [634](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L634) calls [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) `SetIsCreating`
- [637](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L637) calls [Codeunit 20408 Qlty. Traversal](https://jonas-paprotka.de/ref/codeunit/20408-qlty-traversal/) `ApplySourceFields`
- [639](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L639) calls [Codeunit 20408 Qlty. Traversal](https://jonas-paprotka.de/ref/codeunit/20408-qlty-traversal/) `ApplySourceFields`
- [644](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L644) writes [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) Insert(true)
- [646](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L646) calls `CreateQualityInspectionResultLinesFromTemplate`

## CreateQualityInspectionResultLinesFromTemplate

[Line 661](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L661), local.

- [679](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L679) validates [Table 20406 Qlty. Inspection Line](https://jonas-paprotka.de/ref/table/20406-qlty-inspection-line/) `Test Code`
- [683](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L683) writes [Table 20406 Qlty. Inspection Line](https://jonas-paprotka.de/ref/table/20406-qlty-inspection-line/) Insert
- [684](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L684) calls [Codeunit 20409 Qlty. Result Condition Mgmt.](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/) `CopyResultConditionsFromTemplateToInspection`
- [685](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L685) calls [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) `SetPreventAutoAssignment`
- [693](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L693) calls [Codeunit 20410 Qlty. Result Evaluation](https://jonas-paprotka.de/ref/codeunit/20410-qlty-result-evaluation/) `TryValidateQltyInspectionLine`
- [694](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L694) writes [Table 20406 Qlty. Inspection Line](https://jonas-paprotka.de/ref/table/20406-qlty-inspection-line/) Modify(true)
- [695](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L695) writes [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) Modify(true)
- [699](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L699) calls [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) `SetPreventAutoAssignment`

## FindExistingInspectionWithVariant

[Line 713](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L713), internal.

- [720](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L720) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`
- [721](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L721) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`
- [722](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L722) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`
- [723](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L723) calls `FindExistingInspection`

## FindExistingInspection

[Line 737](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L737), internal.

- [745](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L745) calls `ApplyAllSourceFieldsToStub`
- [747](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L747) calls `FindExistingInspectionWithStub`

## CreateReinspection

[Line 804](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L804), internal.

- [811](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L811) raises `OnBeforeCreateReinspection`, IsHandled
- [821](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L821) writes [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) Modify
- [824](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L824) calls `InitReinspectionHeader`
- [825](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L825) writes [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) Insert(true)
- [826](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L826) calls `CreateQualityInspectionResultLinesFromTemplate`
- [830](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L830) raises `OnAfterCreateReinspection`

## InitReinspectionHeader

[Line 838](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L838), local.

- [843](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L843) validates [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) `Template Code`
- [848](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L848) validates [Table 20405 Qlty. Inspection Header](https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/) `Result Code`

## CreateMultipleInspectionsForMarkedTrackingSpecification

[Line 920](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L920), internal.

- [936](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L936) calls `CreateMultipleInspectionsForMultipleRecords`

## CreateMultipleInspectionsForMultipleRecords

[Line 957](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L957), internal.

- [962](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L962) calls `CreateMultipleInspectionsWithoutDisplaying`
- [967](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L967) calls `DisplayInspectionsIfConfigured`
- [972](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L972) calls `DisplayInspectionsIfConfigured`

## DisplayInspectionsIfConfigured

[Line 982](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L982), internal.

- [1007](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1007) calls [Codeunit 20437 Qlty. Notification Mgmt.](https://jonas-paprotka.de/ref/codeunit/20437-qlty-notification-mgmt/) `NotifyMultipleInspectionsCreatedByCount`
- [1016](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1016) calls `TryRunInspectionPage`
- [1017](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1017) calls [Codeunit 20437 Qlty. Notification Mgmt.](https://jonas-paprotka.de/ref/codeunit/20437-qlty-notification-mgmt/) `NotifyInspectionCreated`
- [1019](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1019) calls [Codeunit 20437 Qlty. Notification Mgmt.](https://jonas-paprotka.de/ref/codeunit/20437-qlty-notification-mgmt/) `NotifyInspectionCreated`
- [1023](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1023) calls `TryRunInspectionPage`
- [1024](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1024) calls [Codeunit 20437 Qlty. Notification Mgmt.](https://jonas-paprotka.de/ref/codeunit/20437-qlty-notification-mgmt/) `NotifyMultipleInspectionsCreated`
- [1026](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1026) calls [Codeunit 20437 Qlty. Notification Mgmt.](https://jonas-paprotka.de/ref/codeunit/20437-qlty-notification-mgmt/) `NotifyMultipleInspectionsCreated`

## CreateMultipleInspectionsWithoutDisplaying

[Line 1039](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1039), internal.

- [1055](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1055) calls `CreateInspectionForSelfOrDirectParent`

## CreateInspectionForSelfOrDirectParent

[Line 1087](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1087), local.

- [1098](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1098) calls [Codeunit 20404 Qlty. Inspection - Create](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/) `SetPreventDisplayingInspectionEvenIfConfigured`
- [1101](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1101) calls [Codeunit 20408 Qlty. Traversal](https://jonas-paprotka.de/ref/codeunit/20408-qlty-traversal/) `FindSingleParentRecord`
- [1116](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1116) calls [Codeunit 20408 Qlty. Traversal](https://jonas-paprotka.de/ref/codeunit/20408-qlty-traversal/) `FindRelatedItem`
- [1118](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1118) calls [Codeunit 20405 Qlty. Inspec. Gen. Rule Mgmt.](https://jonas-paprotka.de/ref/codeunit/20405-qlty-inspec-gen-rule-mgmt/) `DoesMatchItemAttributeFiltersOrNoFilter`
- [1121](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1121) calls [Codeunit 20428 Qlty. Item Tracking](https://jonas-paprotka.de/ref/codeunit/20428-qlty-item-tracking/) `IsItemTrackingUsed`
- [1123](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1123) calls [Codeunit 99000845 Reservation Management](https://jonas-paprotka.de/ref/codeunit/99000845-reservation-management/) `SetReservSource`
- [1152](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1152) writes [Table 336 Tracking Specification](https://jonas-paprotka.de/ref/table/336-tracking-specification/) DeleteAll
- [1153](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1153) calls [Table 336 Tracking Specification](https://jonas-paprotka.de/ref/table/336-tracking-specification/) `SetSourceFromReservEntry`
- [1154](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1154) calls [Table 336 Tracking Specification](https://jonas-paprotka.de/ref/table/336-tracking-specification/) `CopyTrackingFromReservEntry`
- [1155](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1155) writes [Table 336 Tracking Specification](https://jonas-paprotka.de/ref/table/336-tracking-specification/) Insert
- [1159](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1159) calls [Codeunit 20404 Qlty. Inspection - Create](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/) `CreateInspectionWithMultiVariants`
- [1160](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1160) calls `TrackResolvedInspection`
- [1165](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1165) calls [Codeunit 20408 Qlty. Traversal](https://jonas-paprotka.de/ref/codeunit/20408-qlty-traversal/) `FindRelatedItem`
- [1169](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1169) calls [Codeunit 20404 Qlty. Inspection - Create](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/) `CreateInspectionWithMultiVariants`
- [1170](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1170) calls `TrackResolvedInspection`

## TrackResolvedInspection

[Line 1184](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1184), local.

- [1188](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1188) calls [Codeunit 20404 Qlty. Inspection - Create](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/) `GetCreatedInspection`
- [1194](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1194) calls [Codeunit 20404 Qlty. Inspection - Create](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/) `IsLastInspectionNewlyCreated`

## ApplyAllSourceFieldsToStub

[Line 1217](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1217), local.

- [1224](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1224) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`
- [1225](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1225) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`
- [1226](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1226) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`
- [1231](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1231) calls [Codeunit 20408 Qlty. Traversal](https://jonas-paprotka.de/ref/codeunit/20408-qlty-traversal/) `ApplySourceFields`
- [1236](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1236) calls [Codeunit 20408 Qlty. Traversal](https://jonas-paprotka.de/ref/codeunit/20408-qlty-traversal/) `ApplySourceFields`
- [1241](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1241) calls [Codeunit 20408 Qlty. Traversal](https://jonas-paprotka.de/ref/codeunit/20408-qlty-traversal/) `ApplySourceFields`
- [1246](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/source/#L1246) calls [Codeunit 20408 Qlty. Traversal](https://jonas-paprotka.de/ref/codeunit/20408-qlty-traversal/) `ApplySourceFields`

## Source

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

JOP-AL, 2026-11-20.
