---
id: object/page/20414
type: object
title: Page 20414 "Qlty. Inspections API"
summary: Page 20414 "Qlty. Inspections API" in Quality Management (Microsoft.QualityManagement.API). 18 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - 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: 0fcf21c8a9c3efe74f937f7a9bfeb55c6cccc377810add005bcadb92762791bc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Quality%20Management/app/src/API/QltyInspectionsAPI.Page.al
    title: src/Apps/W1/Quality Management/app/src/API/QltyInspectionsAPI.Page.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: page
object_id: 20414
name: Qlty. Inspections API
namespace: Microsoft.QualityManagement.API
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: 0
  procedures: 20
  events: 0
  subscribers: 0
  controls: 26
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 9
  called_by: 0
  implements: 0
---

# Page 20414 "Qlty. Inspections API"

> Page 20414 "Qlty. Inspections API" in Quality Management (Microsoft.QualityManagement.API). 18 public procedures. Introduced in BC29, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| SourceTable | Qlty. Inspection Header |
| PageType | API |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Inspections | System ID of inspection | `Rec.SystemId` | Specifies the System ID of the inspection. |
|  | Inspection No. | [No.](../table/20405.md#fields) | Specifies the quality inspection document No. |
|  | Re-inspection No. | [Re-inspection No.](../table/20405.md#fields) | Specifies the re-inspection counter. |
|  | Template | [Template Code](../table/20405.md#fields) | Specifies which template this inspection was created from. |
|  | Description | [Description](../table/20405.md#fields) | Specifies a description of the inspection. |
|  | Inspection status | [Status](../table/20405.md#fields) | Specifies the status of the inspection. No additional changes can be made to a finished quality inspection. |
|  | Result code | [Result Code](../table/20405.md#fields) | Specifies the result is automatically determined based on the test value and result configuration. |
|  | Result description | [Result Description](../table/20405.md#fields) | Specifies the result description for this inspection. The result is automatically determined based on the test value and result configuration. |
|  | Finished date | [Finished Date](../table/20405.md#fields) | Specifies the date that the inspection was finished. |
|  | Evaluation sequence | [Evaluation Sequence](../table/20405.md#fields) | Specifies the associated evaluation sequence for this inspection. The result is automatically determined based on the test value and result configuration. |
|  | Source table No. | [Source Table No.](../table/20405.md#fields) | Specifies a reference to the table that the quality inspection is for. |
|  | Source document No. | [Source Document No.](../table/20405.md#fields) | Specifies a reference to the source that this quality inspection is referring to. |
|  | Source document line No. | [Source Document Line No.](../table/20405.md#fields) | Specifies a reference to the source line No. that this quality inspection is referring to. |
|  | Source item No. | [Source Item No.](../table/20405.md#fields) | Specifies the item that the quality inspection is for. |
|  | Source variant code | [Source Variant Code](../table/20405.md#fields) | Specifies the item variant that the quality inspection is for. |
|  | Source serial No. | [Source Serial No.](../table/20405.md#fields) | Specifies the serial number that the quality inspection is for. This is only used for serial tracked items. |
|  | Source lot No. | [Source Lot No.](../table/20405.md#fields) | Specifies the lot number that the quality inspection is for. This is only used for lot tracked items. |
|  | Source package No. | [Source Package No.](../table/20405.md#fields) | Specifies the package number that the quality inspection is for. This is only used for package tracked items. |
|  | Source quantity | [Source Quantity (Base)](../table/20405.md#fields) | Specifies the source quantity when configured. |
|  | Source record ID | [Source RecordId](../table/20405.md#fields) | Specifies the source record ID. |
|  | Source record table No. | [Source Record Table No.](../table/20405.md#fields) | Specifies the source record table No. |
|  | Assigned user ID | [Assigned User ID](../table/20405.md#fields) | Specifies the user this inspection is assigned to. |
|  | System created at | `Rec.SystemCreatedAt` | Specifies the date the inspection was created. |
|  | System created by | `Rec.SystemCreatedBy` | Specifies which user ID created the inspection. |
|  | System modified at | `Rec.SystemModifiedAt` | Specifies the last modified date of the inspection. |
|  | System modified by | `Rec.SystemModifiedBy` | Specifies the last modified by user ID. |

## Procedures

- `FinishInspection(var ActionContext: WebServiceActionContext)`: Finishes the inspection.
- `CreateReinspection(var ActionContext: WebServiceActionContext)`: Creates a reinspection.
- `ReopenInspection(var ActionContext: WebServiceActionContext)`: Reopens an inspection.
- `SetTestValue(var ActionContext: WebServiceActionContext; testCode: Text; testValue: Text)`: Sets a test value.
- `AssignTo(var ActionContext: WebServiceActionContext; assignToUser: Text)`: Assigns the inspection to a user.
- `BlockLot(var ActionContext: WebServiceActionContext)`: Blocks the lot.
- `UnBlockLot(var ActionContext: WebServiceActionContext)`: Unblocks the lot.
- `BlockSerial(var ActionContext: WebServiceActionContext)`: Blocks the serial number.
- `UnBlockSerial(var ActionContext: WebServiceActionContext)`: Unblocks the serial number.
- `BlockPackage(var ActionContext: WebServiceActionContext)`: Blocks the package.
- `UnBlockPackage(var ActionContext: WebServiceActionContext)`: Unblocks the package.
- `CreateMovement(var ActionContext: WebServiceActionContext; optionalDestinationLocation: Text; binCode: Text; optionalSpecificQuantity: Text; moveEntireLot: Text; optionalSourceLocationFilter: Text; optionalSourceBinFilter: Text)`: Moves inventory with an Inventory Movement.
- `CreateWarehouseInternalPutaway(var ActionContext: WebServiceActionContext; optionalSpecificQuantity: Text; releaseImmediately: Text; optionalSourceLocationFilter: Text; optionalSourceBinFilter: Text; moveBehavior: Text)`: Creates a Warehouse Internal Put-away document. This feature can be used with directed pick and put locations with lot warehouse tracked items.
- `CreateWarehousePutAway(var ActionContext: WebServiceActionContext; optionalSpecificQuantity: Text; optionalSourceLocationFilter: Text; optionalSourceBinFilter: Text; putAwayBehavior: Text; moveBehavior: Text)`: Creates a Warehouse Put-away document. This feature can be used with directed pick and put locations with lot warehouse tracked items.
- `MoveInventory(var ActionContext: WebServiceActionContext; optionalDestinationLocation: Text; optionalDestinationBin: Text; optionalSpecificQuantity: Text; postImmediately: Text; optionalSourceLocationFilter: Text; optionalSourceBinFilter: Text; useMoveSheet: Text; moveBehavior: Text)`: Uses an item/warehouse reclassification journal or movement worksheet to move the inventory.
- `CreateNegativeAdjustment(var ActionContext: WebServiceActionContext; optionalSourceLocationFilter: Text; optionalSourceBinFilter: Text; optionalSpecificQuantity: Text; optionalReasonCode: Text; adjustmentBehavior: Text; postingBehavior: Text)`: Creates a negative inventory adjustment.
- `ChangeItemTracking(var ActionContext: WebServiceActionContext; optionalSourceLocationFilter: Text; optionalSourceBinFilter: Text; optionalSpecificQuantity: Text; quantityChoice: Text; postImmediately: Text; newLotNo: Text; newSerialNo: Text; newPackageNo: Text; newExpirationDate: Text)`: Updates item tracking information.
- `CreateTransferOrder(var ActionContext: WebServiceActionContext; optionalSourceLocationFilter: Text; optionalSourceBinFilter: Text; destinationLocation: Text; optionalSpecificQuantity: Text; quantityChoice: Text; directTransfer: Text; inTransitLocation: Text)`: Creates a transfer order to move the inventory.

Plus 2 local procedures.

## Relations

- source table [Table 20405 "Qlty. Inspection Header"](../table/20405.md)

## 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 20428 "Qlty. Item Tracking"](../codeunit/20428.md) (6 calls: `BlockLot → SetLotBlockState`, `BlockPackage → SetPackageBlockState`, `BlockSerial → SetSerialBlockState`, …)
- [Codeunit 20436 "Qlty. Boolean Parsing"](../codeunit/20436.md) (5 calls: `ChangeItemTracking → GetBooleanFor`, `CreateMovement → GetBooleanFor`, `CreateTransferOrder → GetBooleanFor`, …)
- [Codeunit 20447 "Qlty. Disp. Internal Put-away"](../codeunit/20447.md) (2 calls: `CreateWarehouseInternalPutaway → PerformDisposition`, `CreateWarehousePutAway → PerformDisposition`)
- [Codeunit 20442 "Qlty. Disp. Move Auto Choose"](../codeunit/20442.md) (1 call: `MoveInventory → MoveInventory`)
- [Codeunit 20443 "Qlty. Disp. Change Tracking"](../codeunit/20443.md) (1 call: `ChangeItemTracking → PerformDisposition`)
- [Codeunit 20444 "Qlty. Disp. Transfer"](../codeunit/20444.md) (1 call: `CreateTransferOrder → PerformDisposition`)
- [Codeunit 20446 "Qlty. Disp. Neg. Adjust Inv."](../codeunit/20446.md) (1 call: `CreateNegativeAdjustment → PerformDisposition`)
- [Codeunit 20450 "Qlty. Disp. Internal Move"](../codeunit/20450.md) (1 call: `CreateMovement → PerformDisposition`)
- [Codeunit 20453 "Qlty. Disp. Warehouse Put-away"](../codeunit/20453.md) (1 call: `CreateWarehousePutAway → PerformDisposition`)

## 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). 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: "page", object_name: "Qlty. Inspections API")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
