---
id: object/table/20400
type: object
title: Table 20400 "Qlty. Management Setup"
summary: Table 20400 "Qlty. Management Setup" in Quality Management (Microsoft.QualityManagement.Setup). 26 fields, 12 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - quality management
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: aec6e64ec7a6178efbd7a52402a261f1fe71faba9fa1d871022350e4797f6753
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Quality%20Management/app/src/Setup/QltyManagementSetup.Table.al
    title: src/Apps/W1/Quality Management/app/src/Setup/QltyManagementSetup.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/qms-contoso-coffee-demo-data
    - https://learn.microsoft.com/dynamics365/business-central/qms-overview
    - https://learn.microsoft.com/dynamics365/business-central/qms-production-output-testing
    - https://learn.microsoft.com/dynamics365/business-central/qms-purchase-receipt-testing-simple
    - https://learn.microsoft.com/dynamics365/business-central/qms-purchase-receipt-testing-warehouse
    - https://learn.microsoft.com/dynamics365/business-central/qms-quality-templates
    - https://learn.microsoft.com/dynamics365/business-central/qms-scheduled-test-creation
    - https://learn.microsoft.com/dynamics365/business-central/qms-setup
    - https://learn.microsoft.com/dynamics365/business-central/qms-test-generation-rules
    - https://learn.microsoft.com/dynamics365/business-central/qms-troubleshooting
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/quality-management
    - topic/business-central/business-functionality/quality-management/set-up-quality-management
    - topic/business-central/business-functionality/set-up-business-central/set-up-quality-management
    - topic/business-central/get-started/learn/contoso-coffee-demo-data/quality-management
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10270
    - change/bcapps/8556
object_type: table
object_id: 20400
name: Qlty. Management Setup
caption: Quality Management Setup
namespace: Microsoft.QualityManagement.Setup
app: Quality Management
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 26
  procedures: 12
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 0
  pages: 5
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 0
  implements: 0
---

# Table 20400 "Qlty. Management Setup"

> Table 20400 "Qlty. Management Setup" in Quality Management (Microsoft.QualityManagement.Setup). 26 fields, 12 public procedures. Introduced in BC29, still in BC30.

Quality Management · Microsoft.QualityManagement.Setup · captioned "Quality Management Setup" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Quality%20Management/app/src/Setup/QltyManagementSetup.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 20400 "Qlty. Management Setup"](../page/20400.md) (10 Learn pages).

## Properties

| Property | Value |
|---|---|
| Caption | Quality Management Setup |
| DataClassification | CustomerContent |
| DrillDownPageId | Qlty. Management Setup |
| Permissions | tabledata "Qlty. Management Setup" = r |

## 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 | Primary Key | Code[10] | — |  |
| 2 | Quality Inspection Nos. | Code[20] | Specifies the default number series for quality inspection documents. | TableRelation No. Series |
| 4 | Inspection Creation Option | Enum "Qlty. Inspect. Creation Option" | Specifies handling of inspection creation when existing inspections are found. | enum [Enum 20402 "Qlty. Inspect. Creation Option"](../enum/20402.md) |
| 5 | Inspection Search Criteria | Enum "Qlty. Inspect. Search Criteria" | Specifies the criteria the system uses to search for existing inspections. | enum [Enum 20403 "Qlty. Inspect. Search Criteria"](../enum/20403.md) |
| 6 | Certificate Contact No. | Code[20] | Specifies the contact details that will appear on the Certificate of Analysis report when supplied. | TableRelation Contact."No." |
| 10 | Production Order Trigger | Enum "Qlty. Production Order Trigger" | Specifies a default production order related trigger value for Inspection Generation Rules to try and create an inspection. | enum [Enum 20406 "Qlty. Production Order Trigger"](../enum/20406.md) |
| 11 | Production Update Control | Enum "Qlty. Update Source Behavior" | Specifies whether to update when the source changes. Set to "Update when source changes" to alter source information as the source record changes (for example, such as when a Production Order changes status to Finished). Set to "Do not update" to prevent updating the original source that created the... | enum [Enum 20407 "Qlty. Update Source Behavior"](../enum/20407.md) |
| 24 | Item Tracking Before Finishing | Enum "Qlty. Item Tracking Behavior" | Specifies when item tracking is required for inspections, including whether missing values are allowed, only posted tracking is accepted, reserved (unposted) tracking is permitted, or any non-empty lot/serial/package value is valid. | enum [Enum 20418 "Qlty. Item Tracking Behavior"](../enum/20418.md) |
| 26 | Scheduler Template Code | Code[20] | Specifies which specific template to use when using a specific template. | TableRelation [Table 20402 "Qlty. Inspection Template Hdr."](../table/20402.md) ("Qlty. Inspection Template Hdr.".Code) |
| 27 | Additional Picture Handling | Enum "Qlty. Add. Picture Handling" | Specifies additional actions for pictures taken during inspections. By default, pictures are stored in the inspection, and only the most recent version is retained. Previous versions can be preserved with additional options. | enum [Enum 20420 "Qlty. Add. Picture Handling"](../enum/20420.md) |
| 28 | Inspection Selection Criteria | Enum "Qlty. Insp. Selection Criteria" | Specifies the checks the system uses to decide if a document-specific transaction should be blocked. | enum [Enum 20437 "Qlty. Insp. Selection Criteria"](../enum/20437.md) |
| 29 | Warehouse Trigger | Enum "Qlty. Warehouse Trigger" | Specifies a default warehousing related trigger value for Inspection Generation Rules to try and create an inspection. | enum [Enum 20438 "Qlty. Warehouse Trigger"](../enum/20438.md) |
| 73 | Item Reclass. Batch Name | Code[10] | Specifies the item reclassification journal batch to use for bin movements and reclassifications for non-directed pick and put-away locations. |  |
| 74 | Whse. Reclass. Batch Name | Code[10] | Specifies the warehouse reclassification journal batch to use for bin movements and reclassifications for directed pick and put-away locations. |  |
| 91 | Max Rows Field Lookups | Integer | Specifies the maximum number of rows to fetch on data lookups. Keeping the number as low as possible will increase usability and performance. A larger number will reduce performance and reduce usability. | DataClassification SystemMetadata |
| 92 | Prod. Trigger Output Condition | Enum "Prod. Trigger Output Condition" | Specifies granular options for when an inspection should be created automatically during the production process. | enum [Enum 20442 "Prod. Trigger Output Condition"](../enum/20442.md) |
| 93 | Movement Worksheet Name | Code[10] | Specifies the movement worksheet name used for warehouse movements for directed pick and put-away locations. |  |
| 95 | Item Journal Batch Name | Code[10] | Specifies the item journal batch to use for negative inventory adjustments. |  |
| 96 | Whse. Item Journal Batch Name | Code[10] | Specifies the warehouse item journal batch to use for negative inventory adjustments. |  |
| 97 | Warehouse Receipt Trigger | Enum "Qlty. Whse. Receipt Trigger" | Specifies a default warehouse receipt trigger value for Inspection Generation Rules to create an inspection. | enum [Enum 20450 "Qlty. Whse. Receipt Trigger"](../enum/20450.md) |
| 98 | Purchase Order Trigger | Enum "Qlty. Purchase Order Trigger" | Specifies a default purchase order trigger value for Inspection Generation Rules to create an inspection. | enum [Enum 20452 "Qlty. Purchase Order Trigger"](../enum/20452.md) |
| 99 | Sales Return Trigger | Enum "Qlty. Sales Return Trigger" | Specifies a default sales return trigger value for Inspection Generation Rules to create an inspection. | enum [Enum 20453 "Qlty. Sales Return Trigger"](../enum/20453.md) |
| 100 | Transfer Order Trigger | Enum "Qlty. Transfer Order Trigger" | Specifies a default transfer order trigger value for Inspection Generation Rules to create an inspection. | enum [Enum 20454 "Qlty. Transfer Order Trigger"](../enum/20454.md) |
| 101 | Assembly Trigger | Enum "Qlty. Assembly Trigger" | Specifies when to create an inspection for assembly orders using inspection generation rules | enum [Enum 20457 "Qlty. Assembly Trigger"](../enum/20457.md) |
| 102 | Checklist Items Registered | Boolean | Specifies whether the guided experience checklist items have been registered. This is used internally to track setup completion. | not editable; DataClassification SystemMetadata |
| 103 | Guided Experience Registered | Boolean | Specifies whether the guided experience items (tours, features, links) have been registered. This is used internally to track setup completion. | not editable; DataClassification SystemMetadata |

## Keys

- Key1: Primary Key (clustered)

## Procedures

- `SanityCheckPictureAndCameraSettings()` (internal): Verifies that document service integration is configured when pictures are uploaded to OneDrive.
- `GetAppGuid(): Guid` (internal): Gets the application identifier for Quality Management.
- `GetVersion(): Text` (internal): Gets the installed major and minor version of Quality Management.
- `GetIsCompanyPremiumEnabled(): Boolean` (internal): Determines whether the premium experience is enabled for the company.
- `GetSetupVideoLink(): Text` (internal): Gets the setup video link.
- `GetInventoryAdjustmentJournalTemplate(): Code[10]`: Opens item journal template selection for an inventory adjustment and gets the selected template name.
- `GetWarehouseInventoryAdjustmentJournalTemplate(): Code[10]`: Opens warehouse item journal template selection and gets the selected template name.
- `GetWarehouseReclassificationJournalTemplate(): Code[10]`: Opens warehouse reclassification journal template selection and gets the selected template name.
- `GetItemReclassJournalTemplate(): Code[10]`: Opens item reclassification journal template selection and gets the selected template name.
- `GetMovementWorksheetTemplateName(): Code[10]`: Opens movement worksheet template selection and gets the selected template name.
- `GetSetupRecord(): Boolean` (internal): Loads the Quality Management Setup record.
- `GetRecordOnce()` (internal): Retrieves the Setup record from the database, caching the result to avoid repeated reads within the same session.

## Relations

- drill-down page [Page 20400 "Qlty. Management Setup"](../page/20400.md)
- Scheduler Template Code: TableRelation [Table 20402 "Qlty. Inspection Template Hdr."](../table/20402.md)

## Pages and codeunits on this table

- [Page 20400 "Qlty. Management Setup"](../page/20400.md) (source table)
- [Page 20460 "Qlty. Whse. Gen. Rule S. Guide"](../page/20460.md) (source table)
- [Page 20461 "Qlty. Rec. Gen. Rule S. Guide"](../page/20461.md) (source table)
- [Page 20462 "Qlty. Prod. Gen. Rule S. Guide"](../page/20462.md) (source table)
- [Page 20464 "Qlty. Asm. Gen. Rule S. Guide"](../page/20464.md) (source table)
- [Codeunit 20457 "Qlty. Demo Data Runner"](../codeunit/20457.md) (codeunit runs on it)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 240 "ItemJnlManagement"](../codeunit/240.md) (2 calls: `GetInventoryAdjustmentJournalTemplate → TemplateSelection`, `GetItemReclassJournalTemplate → TemplateSelection`)
- [Codeunit 9179 "Application Area Mgmt. Facade"](../codeunit/9179.md) (1 call: `GetIsCompanyPremiumEnabled → IsPremiumExperienceEnabled`)
- [Codeunit 9510 "Document Service Management"](../codeunit/9510.md) (1 call: `SanityCheckPictureAndCameraSettings → IsConfigured`)

## Recent changes

- 2026-08-20 [#10270 [Quality Management] Repair and improve XML documentation of procedures](../../changes/bcapps/10270.md) (main, BC30, refactor)
- 2026-07-08 [#8556 [Quality Management] Enforce rules and restrictions with indirect and implicit permissions](../../changes/bcapps/8556.md) (main, BC30, feature)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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). The call sections above are our own, per object, from the BC29 call graph. 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. Management Setup")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
