---
title: "Codeunit 20438 Qlty. Warehouse Integration, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/points/
object: https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/
app: "Quality Management"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 20438 Qlty. Warehouse Integration, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/points/

4 procedures and triggers with a step in src/Apps/W1/Quality Management/app/src/Integration/Warehouse/QltyWarehouseIntegration.Codeunit.al, in source order, read from the text, not from a run.

## HandleOnAfterInsertWhseEntry

[Line 32](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L32), local.

- [40](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L40) calls [Table 20400 Qlty. Management Setup](https://jonas-paprotka.de/ref/table/20400-qlty-management-setup/) `GetSetupRecord`
- [43](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L43) calls `HasWhseMovementRegisterGenRule`
- [46](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L46) calls `AttemptCreateInspectionWithWhseJournalLine`

## AttemptCreateInspectionWithWhseJournalLine

[Line 68](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L68), local.

- [79](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L79) raises `OnBeforeWarehouseAttemptCreateInspectionWithWhseJournalLine`, IsHandled
- [89](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L89) writes [Table 336 Tracking Specification](https://jonas-paprotka.de/ref/table/336-tracking-specification/) Insert
- [91](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L91) calls `GetOptionalSourceVariantForWarehouseJournalLine`
- [92](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L92) calls `CollectSourceItemTracking`
- [94](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L94) calls [Codeunit 20456 Qlty. Batch Notif. Helper](https://jonas-paprotka.de/ref/codeunit/20456-qlty-batch-notif-helper/) `BeginBatch`
- [95](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L95) calls [Codeunit 20456 Qlty. Batch Notif. Helper](https://jonas-paprotka.de/ref/codeunit/20456-qlty-batch-notif-helper/) `ConfigureForBatch`
- [100](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L100) calls [Codeunit 20404 Qlty. Inspection - Create](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/) `CreateInspectionWithMultiVariants`
- [102](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L102) calls [Codeunit 20404 Qlty. Inspection - Create](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/) `GetCreatedInspection`
- [103](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L103) calls [Codeunit 20456 Qlty. Batch Notif. Helper](https://jonas-paprotka.de/ref/codeunit/20456-qlty-batch-notif-helper/) `TrackCreatedInspection`
- [103](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L103) calls [Codeunit 20404 Qlty. Inspection - Create](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/) `IsLastInspectionNewlyCreated`
- [107](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L107) calls [Codeunit 20404 Qlty. Inspection - Create](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/) `CreateInspectionWithMultiVariants`
- [109](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L109) calls [Codeunit 20404 Qlty. Inspection - Create](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/) `GetCreatedInspection`
- [110](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L110) calls [Codeunit 20456 Qlty. Batch Notif. Helper](https://jonas-paprotka.de/ref/codeunit/20456-qlty-batch-notif-helper/) `TrackCreatedInspection`
- [110](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L110) calls [Codeunit 20404 Qlty. Inspection - Create](https://jonas-paprotka.de/ref/codeunit/20404-qlty-inspection-create/) `IsLastInspectionNewlyCreated`
- [112](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L112) calls [Codeunit 20456 Qlty. Batch Notif. Helper](https://jonas-paprotka.de/ref/codeunit/20456-qlty-batch-notif-helper/) `EndBatch`
- [114](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L114) raises `OnAfterWarehouseAttemptCreateInspectionWithWhseJournalLine`

## GetOptionalSourceVariantForWarehouseJournalLine

[Line 123](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L123), internal.

- [130](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L130) raises `OnBeforeGetOptionalSourceVariantForWarehouseJournalLine`, IsHandled

## CollectSourceItemTracking

[Line 158](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L158), internal.

- [170](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L170) writes [Table 336 Tracking Specification](https://jonas-paprotka.de/ref/table/336-tracking-specification/) DeleteAll
- [172](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L172) calls [Codeunit 20599 Qlty. Misc Helpers](https://jonas-paprotka.de/ref/codeunit/20599-qlty-misc-helpers/) `GetRecordRefFromVariant`
- [177](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L177) calls [Codeunit 99000834 Purch. Line-Reserve](https://jonas-paprotka.de/ref/codeunit/99000834-purch-line-reserve/) `FindReservEntry`
- [179](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L179) calls [Codeunit 99000836 Transfer Line-Reserve](https://jonas-paprotka.de/ref/codeunit/99000836-transfer-line-reserve/) `FindInboundReservEntry`
- [181](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L181) calls [Codeunit 99000832 Sales Line-Reserve](https://jonas-paprotka.de/ref/codeunit/99000832-sales-line-reserve/) `FindReservEntry`
- [193](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L193) calls [Table 336 Tracking Specification](https://jonas-paprotka.de/ref/table/336-tracking-specification/) `SetSourceFromReservEntry`
- [194](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L194) calls [Table 336 Tracking Specification](https://jonas-paprotka.de/ref/table/336-tracking-specification/) `CopyTrackingFromReservEntry`
- [195](https://jonas-paprotka.de/ref/codeunit/20438-qlty-warehouse-integration/source/#L195) writes [Table 336 Tracking Specification](https://jonas-paprotka.de/ref/table/336-tracking-specification/) Insert

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
