Table 20402 "Qlty. Inspection Template Hdr."
Quality Management · Microsoft.QualityManagement.Configuration.Template
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 16 connected objects and pages
Quality Management · Microsoft.QualityManagement.Configuration.Template · captioned “Quality Inspection Template Header” · BC29-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 20402 “Qlty. Inspection Template” (9 Learn pages), Page 20404 “Qlty. Inspection Template List” (9).
Properties
| Property | Value |
|---|---|
| Caption | Quality Inspection Template Header |
| DataClassification | CustomerContent |
| LookupPageId | Qlty. Inspection Template List |
| DrillDownPageId | Qlty. Inspection Template List |
| Permissions | tabledata “Qlty. Inspection Template Line” = d, tabledata “Qlty. Inspection Gen. Rule” = d, tabledata “Qlty. Inspection Line” = m |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Code | Code[20] | Specifies the code to identify the Quality Inspection Template set. | NotBlank |
| 2 | Description | Text[100] | Specifies an explanation of the Quality Inspection Template. You can enter a maximum of 100 characters, both numbers and letters. | |
| 7 | Copied From Template Code | Code[20] | Specifies where a template was copied from. | |
| 17 | Sample Source | Enum “Qlty. Sample Size Source” | Specifies how the Sample Size initially gets set. Values are rounded up to the nearest whole number. | enum Enum 20463 “Qlty. Sample Size Source” |
| 18 | Sample Fixed Amount | Integer | Specifies the discrete fixed sample amount when Sample Source is set to a fixed quantity. Samples can only be discrete units. If the quantity here exceeds the Source Quantity then the Source Quantity will be used instead. | |
| 19 | Sample Percentage | Decimal | Specifies a percentage of the source quantity that will default the sample size. Samples can only be discrete units. Values will be rounded to the highest discrete amount. |
Keys
- Key1: Code (clustered)
Procedures
AddTestToTemplate(TestCode: Code[20]): Boolean(obsolete 29.0: Replaced by SelectMultipleTests() / AddSelectedTests() on “Qlty. Inspection Template Line”.): Adds the supplied test to the template if it does not already exist. If it already exists then it will not add the test.AddTestToTemplate(TestCode: Code[20]; var QltyInspectionTemplateLine: Record "Qlty. Inspection Template Line"): Boolean(obsolete 29.0: Replaced by SelectMultipleTests() / AddSelectedTests() on “Qlty. Inspection Template Line”.): Adds the supplied test to the template if it does not already exist. If it already exists then it will not add the test and it will simply find it.
Triggers
OnDelete, OnRename
Relations
- drill-down page Page 20404 “Qlty. Inspection Template List”
- lookup page Page 20404 “Qlty. Inspection Template List”
Referenced by
5 fields in 5 objects relate to this table (TableRelation or CalcFormula).
- Table 20400 “Qlty. Management Setup”: Scheduler Template Code
- Table 20403 “Qlty. Inspection Template Line”: Template Code
- Table 20404 “Qlty. Inspection Gen. Rule”: Template Code
- Table 20405 “Qlty. Inspection Header”: Template Code
- Table 20412 “Qlty. I. Result Condit. Conf.”: Target Code
Pages and codeunits on this table
- Page 20402 “Qlty. Inspection Template” (source table)
- Page 20404 “Qlty. Inspection Template List” (source table)
Recent changes
- 2026-08-20 #10270 [Quality Management] Repair and improve XML documentation of procedures (main, BC30, refactor)
- 2026-07-08 #8556 [Quality Management] Enforce rules and restrictions with indirect and implicit permissions (main, BC30, feature)
Deprecations
- procedure AddTestToTemplate: Pending 29.0 (#if not CLEAN29), “Replaced by SelectMultipleTests() / AddSelectedTests() on “Qlty. Inspection Template Line”.”
- procedure AddTestToTemplate: Pending 29.0 (#if not CLEAN29), “Replaced by SelectMultipleTests() / AddSelectedTests() on “Qlty. Inspection Template Line”.”
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "table", object_name: "Qlty. Inspection Template Hdr."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.