---
id: object/codeunit/20442
type: object
title: Codeunit 20442 "Qlty. Disp. Move Auto Choose"
summary: Codeunit 20442 "Qlty. Disp. Move Auto Choose" in Quality Management (Microsoft.QualityManagement.Dispositions.Move). 2 public procedures, 2 events. 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: df77e086a55e49242702f85bd8f3c454fce14394d33e303002366967786a046a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Quality%20Management/app/src/Dispositions/Move/QltyDispMoveAutoChoose.Codeunit.al
    title: src/Apps/W1/Quality Management/app/src/Dispositions/Move/QltyDispMoveAutoChoose.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: 20442
name: Qlty. Disp. Move Auto Choose
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: 4
  events: 2
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 6
  called_by: 1
  implements: 1
---

# Codeunit 20442 "Qlty. Disp. Move Auto Choose"

> Codeunit 20442 "Qlty. Disp. Move Auto Choose" in Quality Management (Microsoft.QualityManagement.Dispositions.Move). 2 public procedures, 2 events. 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/QltyDispMoveAutoChoose.Codeunit.al) · facts from BC29

## Events published

- `OnBeforeProcessDisposition(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; var DidSomething: Boolean; var IsHandled: Boolean)` (integration): Provides an opportunity to modify the instruction or replace it completely.
- `OnAfterProcessDisposition(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; var DidSomething: Boolean)` (integration): Occurs after the automatically selected movement disposition is processed.

## Procedures

- `PerformDisposition(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary): Boolean` (internal): Used as an interim shim to assist with obsoletions and refactoring. Consider using the disposition method that you want directly instead.
- `MoveInventory(QltyInspectionHeader: Record "Qlty. Inspection Header"; TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; UseMovement: Boolean): Boolean` (internal): Do not use directly for net new code. This method is an interim shim to help with obsoletions and refactoring for dispositions. Instead use the new dispositions directly.

## 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 20445 "Qlty. Inventory Availability"](../codeunit/20445.md) (2 calls: `PerformDisposition → ErrorIfFromBinIsReceiveBin`, `PerformDisposition → PopulateQuantityBuffer`)
- [Codeunit 20437 "Qlty. Notification Mgmt."](../codeunit/20437.md) (1 call: `PerformDisposition → NotifyDocumentCreationFailed`)
- [Codeunit 20449 "Qlty. Disp. Move Whse.Reclass."](../codeunit/20449.md) (1 call: `PerformDisposition → PerformDisposition`)
- [Codeunit 20450 "Qlty. Disp. Internal Move"](../codeunit/20450.md) (1 call: `PerformDisposition → PerformDisposition`)
- [Codeunit 20451 "Qlty. Disp. Move Worksheet"](../codeunit/20451.md) (1 call: `PerformDisposition → PerformDisposition`)
- [Codeunit 20452 "Qlty. Disp. Move Item Reclass."](../codeunit/20452.md) (1 call: `PerformDisposition → PerformDisposition`)

## Called by

- [Page 20414 "Qlty. Inspections API"](../page/20414.md) (1 call: `MoveInventory → MoveInventory`)

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