---
title: "Table 20406 Qlty. Inspection Line"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/20406-qlty-inspection-line/
type: table
id: 20406
name: "Qlty. Inspection Line"
app: "Quality Management"
namespace: Microsoft.QualityManagement.Document
versions: "28-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/table/20406-qlty-inspection-line/source/?v=28 https://jonas-paprotka.de/ref/table/20406-qlty-inspection-line/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/"
---

# Table 20406 Qlty. Inspection Line

JOP-AL, https://jonas-paprotka.de/ref/table/20406-qlty-inspection-line/

| | |
| --- | --- |
| App | Quality Management |
| Namespace | Microsoft.QualityManagement.Document |
| 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/table/20406-qlty-inspection-line/editions.json) |
| Source file | src/Document/QltyInspectionLine.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Inspection No. | Code[20] | 28-29 | - | - |
| 2 | Re-inspection No. | Integer | 28-29 | - | - |
| 3 | Line No. | Integer | 28-29 | - | - |
| 4 | Template Code | Code[20] | 28-29 | - | - |
| 5 | Template Line No. | Integer | 28-29 | - | - |
| 12 | Test Code | Code[20] | 28-29 | - | - |
| 13 | Description | Text[100] | 28-29 | - | - |
| 14 | Test Value Type | Enum Qlty. Test Value Type | 28-29 | - | - |
| 16 | Allowable Values | Text[500] | 28-29 | - | - |
| 18 | Test Value | Text[250] | 28-29 | - | - |
| 19 | Test Value Blob | Blob | 28-29 | - | - |
| 25 | Derived Numeric Value | Decimal | 28-29 | - | - |
| 28 | Result Code | Code[20] | 28-29 | - | - |
| 29 | Result Description | Text[100] | 28-29 | - | - |
| 30 | Evaluation Sequence | Integer | 28-29 | - | - |
| 33 | Failure State | Enum Qlty. Line Failure State | 28-29 | - | - |
| 34 | Non-Conformance Inspection No. | Code[20] | 28-29 | - | - |
| 35 | Unit of Measure Code | Code[10] | 28-29 | - | - |

## Keys

| Name | Fields | Sum fields | Versions |
| --- | --- | --- | --- |
| Key1, clustered | Inspection No., Re-inspection No., Line No. | - | 28-29 |
| Key2 | Template Code, Inspection No., Re-inspection No., Test Code, Result Code | Evaluation Sequence | 28-29 |
| Key3 | Template Code, Inspection No., Re-inspection No., Evaluation Sequence | - | 28-29 |
| Key4 | Template Code, Inspection No., Re-inspection No., Test Code, SystemCreatedAt, SystemModifiedAt | - | 28-29 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ValidateTestValue | () | - | protected | 28-29 | - | - |
| AssistEditTestValue | () | - | public | 28-29 | - | - |
| AssistEditFreeText | () | - | internal | 28-29 | - | - |
| GetLargeText | () | Text | internal | 28-29 | - | - |
| SetLargeText | (LargeText: Text; ValidateValue: Boolean; OnlySetBlob: Boolean) | - | internal | 28-29 | - | - |
| CollectAllowableValues | (var TempBufferQltyTestLookupValue: Record "Qlty. Test Lookup Value" temporary) | - | internal | 28-29 | - | - |
| IsNumericFieldType | () | Boolean | internal | 28-29 | - | - |
| GetFailedSampleCount | () | Integer | internal | 28-29 | - | - |
| GetResultStyle | () | Text | public | 28-29 | - | - |
| UpdateExpressionsInOtherInspectionLinesInSameInspection | () | - | internal | 28-29 | - | - |
| EvaluateTextExpression | (var EvaluateAgainstQltyInspectionHeader: Record "Qlty. Inspection Header") | - | internal | 28-29 | - | - |
| GetMeasurementNote | () | Text | public | 28-29 | - | - |
| SetMeasurementNote | (Note: Text) | - | public | 28-29 | - | - |
| RunModalEditMeasurementNote | () | - | internal | 28-29 | - | - |
| RunModalReadOnlyComment | () | - | internal | 28-29 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeEvaluateNumericTestValue | (var QltyInspectionLine: Record "Qlty. Inspection Line"; var IsHandled: Boolean) | 28-29 | - | - |

## Trigger events

| Name | Parameters | ElementName | Docs |
| --- | --- | --- | --- |
| OnBeforeInsertEvent | (var Rec: Record "Qlty. Inspection Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforeinsertevent-table-trigger/ |
| OnAfterInsertEvent | (var Rec: Record "Qlty. Inspection Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterinsertevent-table-trigger/ |
| OnBeforeModifyEvent | (var Rec: Record "Qlty. Inspection Line"; var xRec: Record "Qlty. Inspection Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforemodifyevent-table-trigger/ |
| OnAfterModifyEvent | (var Rec: Record "Qlty. Inspection Line"; var xRec: Record "Qlty. Inspection Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftermodifyevent-table-trigger/ |
| OnBeforeDeleteEvent | (var Rec: Record "Qlty. Inspection Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforedeleteevent-table-trigger/ |
| OnAfterDeleteEvent | (var Rec: Record "Qlty. Inspection Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterdeleteevent-table-trigger/ |
| OnBeforeRenameEvent | (var Rec: Record "Qlty. Inspection Line"; var xRec: Record "Qlty. Inspection Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforerenameevent-table-trigger/ |
| OnAfterRenameEvent | (var Rec: Record "Qlty. Inspection Line"; var xRec: Record "Qlty. Inspection Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterrenameevent-table-trigger/ |
| OnBeforeValidateEvent | (var Rec: Record "Qlty. Inspection Line"; var xRec: Record "Qlty. Inspection Line"; CurrFieldNo: Integer) | per field, ElementName: field name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforevalidateevent-table-trigger/ |
| OnAfterValidateEvent | (var Rec: Record "Qlty. Inspection Line"; var xRec: Record "Qlty. Inspection Line"; CurrFieldNo: Integer) | per field, ElementName: field name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftervalidateevent-table-trigger/ |

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