---
title: "Codeunit 20409 Qlty. Result Condition Mgmt., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/points/
object: https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/
app: "Quality Management"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/
checked: 2026-11-20
changed: 2026-10-29
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 20409 Qlty. Result Condition Mgmt., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/points/

15 procedures and triggers with a step in src/Apps/W1/Quality Management/app/src/Configuration/Result/QltyResultConditionMgmt.Codeunit.al, in source order, read from the text, not from a run.

## PromptUpdateTemplatesFromTestsIfApplicable

[Line 36](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L36), internal.

- [53](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L53) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [58](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L58) calls `CopyResultConditionsFromTestToTemplateLine`

## PromptUpdateTestsFromResultIfApplicable

[Line 73](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L73), internal.

- [80](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L80) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [83](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L83) calls `OverwriteExistingTestConditionsWithResultCondition`

## CopyResultConditionsFromTestToTemplateLine

[Line 107](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L107), local.

- [128](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L128) calls `CopyResultConditionsFromDefaultToTest`
- [149](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L149) writes [Table 20412 Qlty. I. Result Condit. Conf.](https://jonas-paprotka.de/ref/table/20412-qlty-i-result-condit-conf/) Insert
- [162](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L162) writes [Table 20412 Qlty. I. Result Condit. Conf.](https://jonas-paprotka.de/ref/table/20412-qlty-i-result-condit-conf/) Modify

## CopyResultConditionsFromTemplateLineToTemplateLine

[Line 174](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L174).

- [207](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L207) writes [Table 20412 Qlty. I. Result Condit. Conf.](https://jonas-paprotka.de/ref/table/20412-qlty-i-result-condit-conf/) Insert
- [212](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L212) writes [Table 20412 Qlty. I. Result Condit. Conf.](https://jonas-paprotka.de/ref/table/20412-qlty-i-result-condit-conf/) Modify

## CopyResultConditionsFromTemplateToInspection

[Line 222](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L222), internal.

- [258](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L258) writes [Table 20412 Qlty. I. Result Condit. Conf.](https://jonas-paprotka.de/ref/table/20412-qlty-i-result-condit-conf/) Insert
- [261](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L261) writes [Table 20412 Qlty. I. Result Condit. Conf.](https://jonas-paprotka.de/ref/table/20412-qlty-i-result-condit-conf/) Modify

## CopyGradeConditionsFromDefaultToAllTemplates

[Line 272](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L272), internal.

- [277](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L277) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [287](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L287) calls `CopyResultConditionsFromTestToTemplateLine`

## CopyResultConditionsFromDefaultToTest

[Line 314](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L314), internal.

- [319](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L319) calls `InternalCopyResultConditionsFromDefaultToTestSpecificType`

## OverwriteExistingTestConditionsWithResultCondition

[Line 326](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L326), local.

- [334](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L334) calls `InternalCopyResultConditionsFromDefaultToTest`

## InternalCopyResultConditionsFromDefaultToTest

[Line 345](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L345), local.

- [352](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L352) calls `InternalCopyResultConditionsFromDefaultToTestSpecificType`

## InternalCopyResultConditionsFromDefaultToTestSpecificType

[Line 363](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L363), local.

- [380](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L380) calls [Table 20401 Qlty. Test](https://jonas-paprotka.de/ref/table/20401-qlty-test/) `IsNumericFieldType`
- [403](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L403) writes [Table 20412 Qlty. I. Result Condit. Conf.](https://jonas-paprotka.de/ref/table/20412-qlty-i-result-condit-conf/) Insert
- [413](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L413) validates [Table 20412 Qlty. I. Result Condit. Conf.](https://jonas-paprotka.de/ref/table/20412-qlty-i-result-condit-conf/) `Condition`
- [417](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L417) writes [Table 20412 Qlty. I. Result Condit. Conf.](https://jonas-paprotka.de/ref/table/20412-qlty-i-result-condit-conf/) Modify

## GetPromotedResultsForTest

[Line 431](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L431), internal.

- [444](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L444) calls `CopyResultConditionsFromDefaultToTest`
- [446](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L446) calls `GetPromotedResults`

## GetPromotedResultsForTemplateLine

[Line 459](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L459), internal.

- [484](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L484) calls `CopyResultConditionsFromTestToTemplateLine`
- [486](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L486) calls `GetPromotedResults`
- [488](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L488) calls `GetDefaultPromotedResults`

## GetDefaultPromotedResults

[Line 502](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L502), internal.

- [520](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L520) calls `GetMaxResultConditions`

## GetPromotedResultsForInspectionLine

[Line 556](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L556), internal.

- [585](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L585) calls `CopyResultConditionsFromTemplateToInspection`
- [587](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L587) calls `GetPromotedResults`

## GetPromotedResults

[Line 626](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L626), local.

- [646](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L646) calls `GetMaxResultConditions`
- [675](https://jonas-paprotka.de/ref/codeunit/20409-qlty-result-condition-mgmt/source/#L675) calls [Codeunit 20416 Qlty. Expression Mgmt.](https://jonas-paprotka.de/ref/codeunit/20416-qlty-expression-mgmt/) `EvaluateTextExpression`

## Source

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

JOP-AL, 2026-11-20.
