---
title: "Codeunit 20410 Qlty. Result Evaluation"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/20410-qlty-result-evaluation/
type: codeunit
id: 20410
name: "Qlty. Result Evaluation"
app: "Quality Management"
namespace: Microsoft.QualityManagement.Configuration.Result
versions: "28-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/20410-qlty-result-evaluation/source/?v=28 https://jonas-paprotka.de/ref/codeunit/20410-qlty-result-evaluation/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 20410 Qlty. Result Evaluation

JOP-AL, https://jonas-paprotka.de/ref/codeunit/20410-qlty-result-evaluation/

| | |
| --- | --- |
| App | Quality Management |
| Namespace | Microsoft.QualityManagement.Configuration.Result |
| Versions | 28-29 |
| Minors | W1 28.0-29.0; DE 28.0-29.0; US 28.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/20410-qlty-result-evaluation/editions.json) |
| TableNo | Qlty. Inspection Line |
| Source file | src/Configuration/Result/QltyResultEvaluation.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| EvaluateResult | (var OptionalQltyInspectionHeader: Record "Qlty. Inspection Header"; var QltyIResultConditConf: Record "Qlty. I. Result Condit. Conf."; QltyTestValueType: Enum "Qlty. Test Value Type"; TestValue: Text; QltyCaseSensitivity: Enum "Qlty. Case Sensitivity") | Code[20] | internal | 28-29 | - | - |
| EvaluateResult | (var OptionalQltyInspectionHeader: Record "Qlty. Inspection Header"; var OptionalQltyInspectionLine: Record "Qlty. Inspection Line"; var QltyIResultConditConf: Record "Qlty. I. Result Condit. Conf."; QltyTestValueType: Enum "Qlty. Test Value Type"; TestValue: Text; QltyCaseSensitivity: Enum "Qlty. Case Sensitivity") | Code[20] | internal | 28-29 | - | - |
| ValidateQltyInspectionLine | (var QltyInspectionLine: Record "Qlty. Inspection Line") | - | internal | 28-29 | - | - |
| TryValidateQltyInspectionLine | (var QltyInspectionLine: Record "Qlty. Inspection Line"; var OptionalQltyInspectionHeader: Record "Qlty. Inspection Header") | Boolean | internal | 28-29 | - | - |
| ValidateQltyInspectionLine | (var QltyInspectionLine: Record "Qlty. Inspection Line"; var OptionalQltyInspectionHeader: Record "Qlty. Inspection Header"; Modify: Boolean) | - | public | 28-29 | - | - |
| ValidateInspectionLineWithAllowableValues | (var QltyInspectionLine: Record "Qlty. Inspection Line"; var OptionalQltyInspectionHeader: Record "Qlty. Inspection Header"; CheckForAllowableValues: Boolean; UpdateHeader: Boolean) | - | internal | 28-29 | - | - |
| GetInspectionLineConfigFilters | (var QltyInspectionLine: Record "Qlty. Inspection Line"; var TemplateLineQltyIResultConditConf: Record "Qlty. I. Result Condit. Conf.") | - | internal | 28-29 | - | - |
| ValidateAllowableValuesOnTest | (var QltyTest: Record "Qlty. Test") | - | internal | 28-29 | - | - |
| ValidateAllowableValuesOnTest | (var QltyTest: Record "Qlty. Test"; var OptionalContextQltyInspectionHeader: Record "Qlty. Inspection Header") | - | internal | 28-29 | - | - |
| ValidateAllowableValuesOnTest | (var QltyTest: Record "Qlty. Test"; var OptionalContextQltyInspectionHeader: Record "Qlty. Inspection Header"; var OptionalContextQltyInspectionLine: Record "Qlty. Inspection Line") | - | internal | 28-29 | - | - |
| ValidateAllowableValuesFormat | (var QltyTest: Record "Qlty. Test") | - | internal | 28-29 | - | - |
| CheckIfValueIsDecimal | (ValueToCheck: Text; AcceptableValue: Text) | Boolean | internal | 28-29 | - | - |
| CheckIfValueIsInteger | (ValueToCheck: Text; AcceptableValue: Text) | Boolean | internal | 28-29 | - | - |
| CheckIfValueIsDateTime | (var ValueToCheck: Text[250]; AcceptableValue: Text; AdjustValueIfGood: Boolean) | Boolean | internal | 28-29 | - | - |
| CheckIfValueIsDate | (var ValueToCheck: Text[250]; AcceptableValue: Text; AdjustValueIfGood: Boolean) | Boolean | internal | 28-29 | - | - |
| CheckIfValueIsString | (ValueToCheck: Text; AcceptableValue: Text) | Boolean | internal | 28-29 | - | - |
| CheckIfValueIsString | (ValueToCheck: Text; AcceptableValue: Text; QltyCaseSensitivity: Enum "Qlty. Case Sensitivity") | Boolean | internal | 28-29 | - | - |
| CheckIfValueIsInPredefinedList | (ValueToCheck: Text; AcceptableValue: Text; QltyCaseSensitivity: Enum "Qlty. Case Sensitivity") | Boolean | internal | 28-29 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeEvaluateResult | (var QltyIResultConditConf: Record "Qlty. I. Result Condit. Conf."; var QltyTestValueType: Enum "Qlty. Test Value Type"; var TestValue: Text; var Result: Code[20]; var IsHandled: Boolean) | 28-29 | - | - |
| Integration event | OnAfterEvaluateResult | (var QltyIResultConditConf: Record "Qlty. I. Result Condit. Conf."; var QltyTestValueType: Enum "Qlty. Test Value Type"; var TestValue: Text; var Result: Code[20]; var TempHighestQltyIResultConditConf: Record "Qlty. I. Result Condit. Conf." temporary) | 28-29 | - | - |
| Integration event | OnBeforeValidateAllowableValuesOnText | (var TestNameForError: Text; var TextToValidate: Text[250]; var AllowableValues: Text; var QltyTestValueType: Enum "Qlty. Test Value Type"; var TempBufferQltyTestLookupValue: Record "Qlty. Test Lookup Value" temporary; var QltyCaseSensitivity: Enum "Qlty. Case Sensitivity"; var IsHandled: Boolean) | 28-29 | - | - |
| Integration event | OnAfterValidateAllowableValuesOnText | (var TestNameForError: Text; var TextToValidate: Text[250]; var AllowableValues: Text; var QltyTestValueType: Enum "Qlty. Test Value Type"; var TempBufferQltyTestLookupValue: Record "Qlty. Test Lookup Value" temporary; var QltyCaseSensitivity: Enum "Qlty. Case Sensitivity") | 28-29 | - | - |

## Source

Symbols: Microsoft.QualityManagement.symbols.bc7b3891-f61b-4883-bbb3-384cdef88bec, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
