---
id: object/table/20407
type: object
title: Table 20407 "Qlty. Inspect. Source Config."
summary: Table 20407 "Qlty. Inspect. Source Config." in Quality Management (Microsoft.QualityManagement.Configuration.SourceConfiguration). 10 fields. 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: 0c5c239fef21426f6b1e1bc7a539f6caa59cce1d41f276156aebb25f15d5c3ca
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Quality%20Management/app/src/Configuration/SourceConfiguration/QltyInspectSourceConfig.Table.al
    title: src/Apps/W1/Quality Management/app/src/Configuration/SourceConfiguration/QltyInspectSourceConfig.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10270
object_type: table
object_id: 20407
name: Qlty. Inspect. Source Config.
caption: Quality Inspection Source Configuration
namespace: Microsoft.QualityManagement.Configuration.SourceConfiguration
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: 10
  procedures: 3
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 1
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 20407 "Qlty. Inspect. Source Config."

> Table 20407 "Qlty. Inspect. Source Config." in Quality Management (Microsoft.QualityManagement.Configuration.SourceConfiguration). 10 fields. Introduced in BC29, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | Quality Inspection Source Configuration |
| DataClassification | CustomerContent |
| LookupPageId | Qlty. Ins. Source Config. List |
| DrillDownPageId | Qlty. Ins. Source Config. List |

## 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 a short name for this configuration. There is typically one entry for each configuration that associated a table with a given template. | NotBlank |
| 2 | From Table No. | Integer | Specifies the from table. As an example for production related inspection this should be 5409. | TableRelation AllObjWithCaption."Object ID" where("Object Type" = const(Table)); NotBlank |
| 3 | From Table Caption | Text[249] | Specifies the from table name. As an example for production related inspections this would typically be the Prod. Order Routing Line. | FlowField: lookup(AllObjWithCaption."Object Caption" where("Object Type" = const(Table), "Object ID" = field("From Table No."))); not editable |
| 4 | From Table Filter | Text[250] | Specifies a filter to specify specific criteria when to connect the From table to the To table |  |
| 5 | To Table No. | Integer | Specifies the destination table mapping. | TableRelation AllObjWithCaption."Object ID" where("Object Type" = const(Table)); NotBlank |
| 6 | To Table Caption | Text[249] | Specifies the table this is connected to. This can also be the Quality Inspection. | FlowField: lookup(AllObjWithCaption."Object Caption" where("Object Type" = const(Table), "Object ID" = field("To Table No."))); not editable |
| 7 | To Type | Enum "Qlty. Target Type" | Specifies the destination type for this mapping. "Inspection" maps fields directly to the quality inspection header. "Chained table" links to another table as an intermediate step, allowing you to pull data from related records (such as item attributes or customer details) for use in filters or visi... | enum [Enum 20400 "Qlty. Target Type"](../enum/20400.md) |
| 8 | Description | Text[100] | Specifies a description of the the mapping. |  |
| 9 | Sort Order | Integer | — |  |
| 11 | Enabled | Boolean | Specifies whether this is enabled or disabled. |  |

## Keys

- Key1: Code (clustered)
- Key2: Sort Order
- Key3: Sort Order, From Table No., To Table No., Enabled

## Procedures

3 local procedures, no public ones.

## Triggers

OnInsert, OnModify, OnDelete

## Relations

- drill-down page [Page 20412 "Qlty. Ins. Source Config. List"](../page/20412.md)
- lookup page [Page 20412 "Qlty. Ins. Source Config. List"](../page/20412.md)

## Referenced by

1 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 20409 "Qlty. Inspect. Src. Fld. Conf."](../table/20409.md): Code

## Pages and codeunits on this table

- [Page 20410 "Qlty. Inspect. Source Config."](../page/20410.md) (source table)
- [Page 20412 "Qlty. Ins. Source Config. List"](../page/20412.md) (source table)

## Recent changes

- 2026-08-20 [#10270 [Quality Management] Repair and improve XML documentation of procedures](../../changes/bcapps/10270.md) (main, BC30, refactor)

## 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). 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. Inspect. Source Config.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
