---
title: "Codeunit 7311 Whse. Worksheet-Create, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/points/
object: https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/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 7311 Whse. Worksheet-Create, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/points/

14 procedures and triggers with a step in src/Layers/W1/BaseApp/Warehouse/Worksheet/WhseWorksheetCreate.Codeunit.al, in source order, read from the text, not from a run.

## FromWhseShptLine

[Line 31](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L31).

- [35](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L35) calls `TransferFromWhseShptLine`
- [36](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L36) calls `AdjustQtyToHandle`
- [37](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L37) calls `CreateWhseWkshLine`

## TransferFromWhseShptLine

[Line 41](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L41), local.

- [47](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L47) raises `OnBeforeTransferFromWhseShptLine`, IsHandled
- [58](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L58) calls `FindLastWhseWkshLine`
- [62](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L62) calls [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `SetHideValidationDialog`
- [68](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L68) calls [Codeunit 5775 Whse. Management](https://jonas-paprotka.de/ref/codeunit/5775-whse-management/) `GetWhseActivSourceDocument`
- [81](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L81) validates [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `Quantity`
- [99](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L99) raises `OnAfterTransferFromWhseShptLine`

## FromWhseInternalPickLine

[Line 102](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L102).

- [113](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L113) calls `FindLastWhseWkshLine`
- [116](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L116) calls [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `SetHideValidationDialog`
- [128](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L128) validates [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `Quantity`
- [136](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L136) raises `OnFromWhseInternalPickLineOnAfterTransferFields`
- [138](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L138) calls `CreateWhseWkshLine`

## FromAssemblyLine

[Line 142](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L142).

- [146](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L146) calls `WhseWkshLineForAsmLineExists`
- [149](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L149) calls `FindLastWhseWkshLine`
- [152](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L152) calls `TransferAllButWhseDocDetailsFromAssemblyLine`
- [156](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L156) calls `CreateWhseWkshLine`

## FromJobPlanningLine

[Line 160](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L160), internal.

- [166](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L166) calls `WhseWkshLineForJobPlanLineExists`
- [169](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L169) calls `FindLastWhseWkshLine`
- [172](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L172) calls [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `SetHideValidationDialog`
- [182](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L182) calls [Codeunit 5775 Whse. Management](https://jonas-paprotka.de/ref/codeunit/5775-whse-management/) `GetWhseActivSourceDocument`
- [199](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L199) validates [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `Quantity`
- [207](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L207) raises `OnFromJobPlanningLineOnBeforeCreateWhseWkshLine`
- [208](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L208) calls `CreateWhseWkshLine`

## FromAssemblyLineInATOWhseShpt

[Line 212](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L212).

- [218](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L218) calls `WhseWkshLineForAsmLineExists`
- [221](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L221) calls `TransferFromWhseShptLine`
- [222](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L222) calls `TransferAllButWhseDocDetailsFromAssemblyLine`
- [223](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L223) calls `CreateWhseWkshLine`

## TransferAllButWhseDocDetailsFromAssemblyLine

[Line 250](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L250), local.

- [256](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L256) calls [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `SetHideValidationDialog`
- [257](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L257) calls `FindLastWhseWkshLine`
- [264](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L264) calls [Codeunit 5775 Whse. Management](https://jonas-paprotka.de/ref/codeunit/5775-whse-management/) `GetWhseActivSourceDocument`
- [279](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L279) validates [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `Quantity`
- [281](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L281) validates [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `Quantity`
- [287](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L287) raises `OnAfterTransferAllButWhseDocDetailsFromAssemblyLine`

## FromWhseRcptLine

[Line 290](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L290).

- [304](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L304) calls `FindLastWhseWkshLine`
- [312](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L312) calls [Codeunit 5775 Whse. Management](https://jonas-paprotka.de/ref/codeunit/5775-whse-management/) `GetWhseActivSourceDocument`
- [321](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L321) validates [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `Quantity`
- [322](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L322) validates [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `Qty. Handled`
- [334](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L334) raises `OnAfterFromWhseRcptLineCreateWhseWkshLine`
- [335](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L335) calls `CreateWhseWkshLine`

## FromWhseInternalPutawayLine

[Line 339](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L339).

- [353](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L353) calls `FindLastWhseWkshLine`
- [365](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L365) validates [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `Quantity`
- [366](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L366) validates [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `Qty. Handled`
- [376](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L376) raises `OnFromWhseInternalPutawayLineOnAfterTransferFields`
- [378](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L378) calls `CreateWhseWkshLine`

## CreateWhseWkshLine

[Line 382](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L382).

- [389](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L389) raises `OnBeforeCreateWhseWkshLine`, IsHandled
- [395](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L395) calls [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `ItemSKUGet`
- [398](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L398) raises `OnCreateWhseWkshLineOnBeforeInsert`
- [399](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L399) writes [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) Insert
- [403](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L403) raises `OnCreateWhseWkshLineOnBeforeGetWhseItemTrkgSetup`, IsHandled
- [405](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L405) calls [Codeunit 6500 Item Tracking Management](https://jonas-paprotka.de/ref/codeunit/6500-item-tracking-management/) `GetWhseItemTrkgSetup`
- [406](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L406) calls [Codeunit 6500 Item Tracking Management](https://jonas-paprotka.de/ref/codeunit/6500-item-tracking-management/) `InitTrackingSpecification`
- [408](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L408) raises `OnCreateWhseWkshLineOnAfterInsert`

## FindLastWhseWkshLine

[Line 412](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L412).

- [417](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L417) raises `OnBeforeFindLastWhseWkshLine`, IsHandled

## AdjustQtyToHandle

[Line 432](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L432), local.

- [439](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L439) calls `AvailableQtyToPickBase`
- [442](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L442) calls `AvailableQtyToPickBase`
- [442](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L442) calls [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `CalcAvailableQtyBase`
- [445](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L445) raises `OnAdjustQtyToHandleOnBeforeAssignQtyToHandle`, IsHandled
- [449](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L449) calls [Codeunit 10 Type Helper](https://jonas-paprotka.de/ref/codeunit/10-type-helper/) `Minimum`
- [450](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L450) calls [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `CalcBaseQty`
- [451](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L451) calls `CheckReservedBasedQuantityUnitOfMeasure`

## AvailableQtyToPickBase

[Line 454](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L454).

- [459](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L459) calls [Codeunit 5402 Unit of Measure Management](https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/) `QtyRndPrecision`

## CheckReservedBasedQuantityUnitOfMeasure

[Line 463](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L463), local.

- [466](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L466) calls [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `CalcBaseQty`
- [468](https://jonas-paprotka.de/ref/codeunit/7311-whse-worksheet-create/source/#L468) calls [Table 7326 Whse. Worksheet Line](https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/) `CalcReservedNotFromILEQty`

## Source

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

JOP-AL, 2026-11-20.
