---
title: "Table 7321 Warehouse Shipment Line"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/7321-warehouse-shipment-line/
type: table
id: 7321
name: "Warehouse Shipment Line"
app: "Base Application"
namespace: Microsoft.Warehouse.Document
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/7321-warehouse-shipment-line/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 7321 Warehouse Shipment Line

Jonas Paprotka, https://jonas-paprotka.de/ref/table/7321-warehouse-shipment-line/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Warehouse.Document |
| Versions | 17-28 |
| Source file | Warehouse/Document/WarehouseShipmentLine.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | No. | Code[20] | 17-28 | - | - |
| 2 | Line No. | Integer | 17-28 | - | - |
| 3 | Source Type | Integer | 17-28 | - | - |
| 4 | Source Subtype | Option | 17-28 | - | - |
| 6 | Source No. | Code[20] | 17-28 | - | - |
| 7 | Source Line No. | Integer | 17-28 | - | - |
| 9 | Source Document | Enum Warehouse Activity Source Document | 17-28 | - | - |
| 10 | Location Code | Code[10] | 17-28 | - | - |
| 11 | Shelf No. | Code[10] | 17-28 | - | - |
| 12 | Bin Code | Code[20] | 17-28 | - | - |
| 13 | Zone Code | Code[10] | 17-28 | - | - |
| 14 | Item No. | Code[20] | 17-28 | - | - |
| 15 | Quantity | Decimal | 17-28 | - | - |
| 16 | Qty. (Base) | Decimal | 17-28 | - | - |
| 19 | Qty. Outstanding | Decimal | 17-28 | - | - |
| 20 | Qty. Outstanding (Base) | Decimal | 17-28 | - | - |
| 21 | Qty. to Ship | Decimal | 17-28 | - | - |
| 22 | Qty. to Ship (Base) | Decimal | 17-28 | - | - |
| 23 | Qty. Picked | Decimal | 17-28 | - | - |
| 24 | Qty. Picked (Base) | Decimal | 17-28 | - | - |
| 25 | Qty. Shipped | Decimal | 17-28 | - | - |
| 26 | Qty. Shipped (Base) | Decimal | 17-28 | - | - |
| 27 | Pick Qty. | Decimal | 17-28 | - | - |
| 28 | Pick Qty. (Base) | Decimal | 17-28 | - | - |
| 29 | Unit of Measure Code | Code[10] | 17-28 | - | - |
| 30 | Qty. per Unit of Measure | Decimal | 17-28 | - | - |
| 31 | Variant Code | Code[10] | 17-28 | - | - |
| 32 | Description | Text[100] | 17-28 | - | - |
| 33 | Description 2 | Text[50] | 17-28 | - | - |
| 34 | Status | Enum Warehouse Shipment Status | 17-28 | - | - |
| 35 | Sorting Sequence No. | Integer | 17-28 | - | - |
| 36 | Due Date | Date | 17-28 | - | - |
| 39 | Destination Type | Enum Warehouse Destination Type | 17-28 | - | - |
| 40 | Destination No. | Code[20] | 17-28 | - | - |
| 41 | Cubage | Decimal | 17-28 | - | - |
| 42 | Weight | Decimal | 17-28 | - | - |
| 44 | Shipping Advice | Enum Sales Header Shipping Advice | 17-28 | - | - |
| 45 | Shipment Date | Date | 17-28 | - | - |
| 46 | Completely Picked | Boolean | 17-28 | - | - |
| 48 | Not upd. by Src. Doc. Post. | Boolean | 17-28 | - | - |
| 49 | Posting from Whse. Ref. | Integer | 17-28 | - | - |
| 50 | Qty. Rounding Precision | Decimal | 19-28 | - | - |
| 51 | Qty. Rounding Precision (Base) | Decimal | 19-28 | - | - |
| 900 | Assemble to Order | Boolean | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | No., Line No. | 17-28 |
| Key2 | No., Sorting Sequence No. | 17-28 |
| Key3 | No., Item No. | 17-28 |
| Key4 | No., Source Document, Source No. | 17-28 |
| Key5 | No., Shelf No. | 17-28 |
| Key6 | No., Bin Code | 17-28 |
| Key7 | No., Due Date | 17-28 |
| Key8 | No., Destination Type, Destination No. | 17-28 |
| Key9 | Source Type, Source Subtype, Source No., Source Line No., Assemble to Order | 17-28 |
| Key10 | No., Source Type, Source Subtype, Source No., Source Line No. | 17-28 |
| Key11 | Item No., Location Code, Variant Code, Due Date | 17-28 |
| Key12 | Bin Code, Location Code | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| InitNewLine | (Code[20]) | - | public | 17-28 | - | - |
| CalcQty | (Decimal) | Decimal | public | 17-28 | - | - |
| CheckBin | (Decimal, Decimal) | - | public | 17-28 | - | - |
| CheckSourceDocLineQty | () | - | public | 17-28 | - | - |
| CalcStatusShptLine | () | Integer | public | 17-28 | Pending 26.0 | Replaced by procedure GetShipmentLineStatus |
| AutofillQtyToHandle | (var Record Warehouse Shipment Line) | - | public | 17-28 | - | - |
| DeleteQtyToHandle | (var Record Warehouse Shipment Line) | - | public | 17-28 | - | - |
| SetHideValidationDialog | (Boolean) | - | public | 17-28 | - | - |
| CreatePickDoc | (var Record Warehouse Shipment Line, Record Warehouse Shipment Header) | - | public | 17-28 | - | - |
| OpenItemTrackingLines | () | - | public | 17-28 | - | - |
| SetIgnoreErrors | () | - | public | 17-28 | - | - |
| HasErrorOccured | () | Boolean | public | 17-28 | - | - |
| GetATOAndNonATOLines | (var Record Warehouse Shipment Line, var Record Warehouse Shipment Line, var Boolean, var Boolean) | - | public | 17-28 | - | - |
| FullATOPosted | () | Boolean | public | 17-28 | - | - |
| InitOutstandingQtys | () | - | public | 17-28 | - | - |
| GetWhseShptLine | (Code[20], Integer, Option, Code[20], Integer) | Boolean | public | 17-28 | - | - |
| CreateWhseItemTrackingLines | () | - | public | 17-28 | - | - |
| DeleteWhseItemTrackingLines | () | - | public | 17-28 | - | - |
| SetItemData | (Code[20], Text[100], Text[50], Code[10], Code[10], Code[10], Decimal) | - | public | 17-28 | - | - |
| SetSource | (Integer, Option, Code[20], Integer) | - | public | 17-28 | - | - |
| SetSourceFilter | (Integer, Option, Code[20], Integer, Boolean) | - | public | 17-28 | - | - |
| ClearSourceFilter | () | - | public | 17-28 | - | - |
| SuspendStatusCheck | (Boolean) | - | public | 17-28 | - | - |
| GetWhseShptHeader | (Code[20]) | - | protected | 19-28 | - | - |
| SetItemData | (Code[20], Text[100], Text[50], Code[10], Code[10], Code[10], Decimal, Decimal, Decimal) | - | public | 19-28 | - | - |
| CheckDirectTransfer | (Boolean, Boolean) | Boolean | internal | 22-28 | - | - |
| CalcBaseQty | (Decimal, Text, Text) | Decimal | public | 23-28 | - | - |
| GetShipmentLineStatus | () | Enum Warehouse Shipment Status | public | 26-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterAutofillQtyToHandle | (var Record Warehouse Shipment Line, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterCreatePickDoc | (var Record Warehouse Shipment Header) | 17 | - | - |
| Integration event | OnAfterGetWhseShptHeader | (var Record Warehouse Shipment Line, var Record Warehouse Shipment Header, Code[20]) | 17-28 | - | - |
| Integration event | OnAfterOpenItemTrackingLines | (var Record Warehouse Shipment Line, var Decimal) | 17-28 | - | - |
| Integration event | OnAutoFillQtyToHandleOnBeforeModify | (var Record Warehouse Shipment Line) | 17-28 | - | - |
| Integration event | OnBeforeAutofillQtyToHandle | (var Record Warehouse Shipment Line, var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCalcStatusShptLine | (var Record Warehouse Shipment Line, var Integer, var Boolean) | 17-28 | Pending 26.0 | Replaced by event OnBeforeGetShipmentLineStatus |
| Integration event | OnBeforeCheckBin | (var Record Warehouse Shipment Line, var Record Bin, Decimal, Decimal, Boolean, var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCheckSourceDocLineQty | (var Record Warehouse Shipment Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCreatePickDoc | (var Record Warehouse Shipment Line, Record Warehouse Shipment Header, Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCompareQtyToShipAndOutstandingQty | (var Record Warehouse Shipment Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCompareShipAndPickQty | (Record Warehouse Shipment Line, var Boolean) | 17-19 | - | - |
| Integration event | OnBeforeInitOutstandingQtys | (var Record Warehouse Shipment Line, Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeOpenItemTrackingLines | (var Record Warehouse Shipment Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeTestReleased | (var Record Warehouse Shipment Header, var Boolean) | 17-28 | - | - |
| Integration event | OnCheckSourceDocLineQtyOnBeforeFieldError | (var Record Warehouse Shipment Line, Decimal, var Decimal, Decimal, var Boolean) | 17-28 | - | - |
| Integration event | OnCheckSourceDocLineQtyOnCaseSourceType | (var Record Warehouse Shipment Line, Decimal, var Decimal, Decimal) | 17-28 | - | - |
| Integration event | OnValidateQuantityStatusUpdate | (var Record Warehouse Shipment Line, Record Warehouse Shipment Line, var Boolean) | 17-28 | - | - |
| Integration event | OnDeleteQtyToHandleOnBeforeModify | (var Record Warehouse Shipment Line) | 17-28 | - | - |
| Integration event | OnCreatePickDocOnBeforeCreatePickDoc | (var Record Warehouse Shipment Line, var Record Warehouse Shipment Line, var Record Warehouse Shipment Header, Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeDeleteQtyToHandle | (var Record Warehouse Shipment Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeSetQuantityBase | (var Record Warehouse Shipment Line, var Decimal, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterCreatePickDoc | (var Record Warehouse Shipment Header, var Record Warehouse Shipment Line) | 18-28 | - | - |
| Integration event | OnAfterCreateWhseItemTrackingLines | (var Record Warehouse Shipment Line) | 19-28 | - | - |
| Integration event | OnBeforeUpdateDocumentStatus | (var Record Warehouse Shipment Line, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeValidateQuantityIsBalanced | (var Record Warehouse Shipment Line, var Boolean, Record Warehouse Shipment Line) | 19-28 | - | - |
| Integration event | OnBeforeValidateQtyToShipBase | (var Record Warehouse Shipment Line, Record Warehouse Shipment Line, Integer, var Boolean) | 19-28 | - | - |
| Integration event | OnAfterInitQtyToShip | (var Record Warehouse Shipment Line, Integer) | 20-28 | - | - |
| Integration event | OnAfterSetSourceFilter | (var Record Warehouse Shipment Line, Integer, Option, Code[20], Integer, Boolean) | 20-28 | - | - |
| Integration event | OnBeforeCompareShipAndPickQty | (Record Warehouse Shipment Line, var Boolean, Integer) | 20-28 | - | - |
| Integration event | OnBeforeCreateWhseItemTrackingLines | (var Record Warehouse Shipment Line, var Boolean) | 20-28 | - | - |
| Integration event | OnAfterValidateQtyToShip | (var Record Warehouse Shipment Line, var Record Warehouse Shipment Line) | 22-28 | - | - |
| Integration event | OnBeforeCalcBaseQty | (var Record Warehouse Shipment Line, var Decimal, Text, Text) | 22-27 | - | - |
| Integration event | OnAfterSetItemData | (var Record Warehouse Shipment Line) | 22-28 | - | - |
| Integration event | OnCreatePickDocFromWhseShptOnBeforeRunWhseShipmentCreatePick | (var Report Whse.-Shipment - Create Pick) | 22-28 | - | - |
| Integration event | OnDeleteOnBeforeConfirmDelete | (var Record Warehouse Shipment Line, var Boolean) | 23-28 | - | - |
| Integration event | OnCheckSourceDocLineQtyOnSetQtyOutstandingBase | (var Record Warehouse Shipment Line, Decimal, Decimal, var Decimal) | 25-28 | - | - |
| Integration event | OnOpenItemTrackingLines | (var Record Warehouse Shipment Line) | 25-28 | - | - |
| Integration event | OnBeforeGetShipmentLineStatus | (var Record Warehouse Shipment Line, var Enum Warehouse Shipment Status, var Boolean) | 26-28 | - | - |
| Integration event | OnBeforeLockTable | (var Record Warehouse Shipment Line, var Boolean) | 26-28 | - | - |
| Integration event | OnInitNewLineOnAfterInit | (var Record Warehouse Shipment Line) | 27-28 | - | - |
| Integration event | OnBeforeInitQtyToShip | (var Record Warehouse Shipment Line, Integer, var Boolean) | 27-28 | - | - |
| Integration event | OnBeforeGetLocation | (var Record Location, var Code[10]) | 27-28 | - | - |
| Integration event | OnAfterGetLocation | (var Record Location, var Code[10]) | 27-28 | - | - |
| Integration event | OnValidateQtyToShipOnBeforeCheckConfirm | (var Boolean, Record Warehouse Shipment Line, Integer) | 28 | - | - |
| Integration event | OnBeforeCalcBaseQty | (var Record Warehouse Shipment Line, var Decimal, Text, Text, var Boolean) | 28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
