---
id: object/codeunit/20451
type: object
title: Codeunit 20451 "Qlty. Disp. Move Worksheet"
summary: Codeunit 20451 "Qlty. Disp. Move Worksheet" in Quality Management (Microsoft.QualityManagement.Dispositions.Move). 2 public procedures, 2 events, 1 event subscribers. Introduced in BC29, still in BC30, changed in BC30.
tier: official
language: en
tags:
  - codeunit
  - quality management
versions:
  introduced: "29"
  last_changed: "30"
  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: ef95c3846bad643f77672ce9b43d4b9606c272adf56e05998452a01c009bd4b1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Quality%20Management/app/src/Dispositions/Move/QltyDispMoveWorksheet.Codeunit.al
    title: src/Apps/W1/Quality Management/app/src/Dispositions/Move/QltyDispMoveWorksheet.Codeunit.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: codeunit
object_id: 20451
name: Qlty. Disp. Move Worksheet
namespace: Microsoft.QualityManagement.Dispositions.Move
app: Quality Management
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in:
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 9
  events: 2
  subscribers: 1
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 4
  called_by: 2
  implements: 1
---

# Codeunit 20451 "Qlty. Disp. Move Worksheet"

> Codeunit 20451 "Qlty. Disp. Move Worksheet" in Quality Management (Microsoft.QualityManagement.Dispositions.Move). 2 public procedures, 2 events, 1 event subscribers. Introduced in BC29, still in BC30, changed in BC30.

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

## Events published

- `OnAfterCreateWarehouseWorksheetLine(QltyInspectionHeader: Record "Qlty. Inspection Header"; FromLocationCode: Code[10]; FromBinCode: Code[20]; ToBinCode: Code[20]; Quantity: Decimal; var WorksheetLineCreated: Boolean; var TempWarehouseEntry: Record "Warehouse Entry" temporary; var WkshWhseWorksheetLine: Record "Whse. Worksheet Line")` (integration): Occurs after a warehouse movement worksheet line and any tracking lines are created.
- `OnBeforeSetWhseWkshTrackingLines(QltyInspectionHeader: Record "Qlty. Inspection Header"; FromLocationCode: Code[10]; FromBinCode: Code[20]; ToBinCode: Code[20]; Quantity: Decimal; var WorksheetLineCreated: Boolean; WkshWhseWorksheetLine: Record "Whse. Worksheet Line"; var TempWarehouseEntry: Record "Warehouse Entry" temporary; var IsHandled: Boolean)` (integration): Occurs before item tracking lines are assigned to a warehouse movement worksheet line.

## Event subscriptions

- HandleOnAfterPostReport subscribes to Report "Whse.-Source - Create Document" OnAfterPostReport

## Procedures

- `PerformDisposition(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary): Boolean` (internal): Creates movement worksheet lines and optionally creates a warehouse movement document.
- `OpenQualityManagementSetup(ErrorInfo: ErrorInfo)`: Opens Quality Management Setup from a movement worksheet setup error action.

Plus 4 local procedures.

## 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 20437 "Qlty. Notification Mgmt."](../codeunit/20437.md) (2 calls: `PerformDisposition → NotifyDocumentCreated`, `PerformDisposition → NotifyMovementOccurred`)
- [Codeunit 20445 "Qlty. Inventory Availability"](../codeunit/20445.md) (2 calls: `PerformDisposition → ErrorIfFromBinIsReceiveBin`, `PerformDisposition → PopulateQuantityBuffer`)
- [Codeunit 20439 "Qlty. Item Tracking Mgmt."](../codeunit/20439.md) (1 call: `CreateWarehouseWorksheetLine → GetExpirationDate`)
- [Page 20400 "Qlty. Management Setup"](../page/20400.md) (1 call: `OpenQualityManagementSetup → (object)`)

## Called by

- [Codeunit 20424 "Qlty. Workflow Response"](../codeunit/20424.md) (1 call: `HandleOnExecuteWorkflowResponse → PerformDisposition`)
- [Codeunit 20442 "Qlty. Disp. Move Auto Choose"](../codeunit/20442.md) (1 call: `PerformDisposition → PerformDisposition`)

## Implements

- [Interface "Qlty. Disposition"](../interface/qlty-disposition.md)

## 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: BC30

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: "codeunit", object_name: "Qlty. Disp. Move Worksheet")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
