---
title: "Table 7311 Warehouse Journal Line"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/7311-warehouse-journal-line/
type: table
id: 7311
name: "Warehouse Journal Line"
app: "Base Application"
namespace: Microsoft.Warehouse.Journal
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/7311-warehouse-journal-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 7311 Warehouse Journal Line

Jonas Paprotka, https://jonas-paprotka.de/ref/table/7311-warehouse-journal-line/

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

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Journal Template Name | Code[10] | 17-28 | - | - |
| 2 | Journal Batch Name | Code[10] | 17-28 | - | - |
| 3 | Line No. | Integer | 17-28 | - | - |
| 4 | Registering Date | Date | 17-28 | - | - |
| 5 | Location Code | Code[10] | 17-28 | - | - |
| 6 | From Zone Code | Code[10] | 17-28 | - | - |
| 7 | From Bin Code | Code[20] | 17-28 | - | - |
| 8 | Description | Text[100] | 17-28 | - | - |
| 9 | Item No. | Code[20] | 17-28 | - | - |
| 10 | Quantity | Decimal | 17-28 | - | - |
| 11 | Qty. (Base) | Decimal | 17-28 | - | - |
| 12 | Qty. (Absolute) | Decimal | 17-28 | - | - |
| 13 | Qty. (Absolute, Base) | Decimal | 17-28 | - | - |
| 14 | Zone Code | Code[10] | 17-28 | - | - |
| 15 | Bin Code | Code[20] | 17-28 | - | - |
| 20 | Source Type | Integer | 17-28 | - | - |
| 21 | Source Subtype | Option | 17-28 | - | - |
| 22 | Source No. | Code[20] | 17-28 | - | - |
| 23 | Source Line No. | Integer | 17-28 | - | - |
| 24 | Source Subline No. | Integer | 17-28 | - | - |
| 25 | Source Document | Enum Warehouse Journal Source Document | 17-28 | - | - |
| 26 | Source Code | Code[10] | 17-28 | - | - |
| 27 | To Zone Code | Code[10] | 17-28 | - | - |
| 28 | To Bin Code | Code[20] | 17-28 | - | - |
| 29 | Reason Code | Code[10] | 17-28 | - | - |
| 33 | Registering No. Series | Code[20] | 17-28 | - | - |
| 35 | From Bin Type Code | Code[10] | 17-28 | - | - |
| 40 | Cubage | Decimal | 17-28 | - | - |
| 41 | Weight | Decimal | 17-28 | - | - |
| 50 | Whse. Document No. | Code[20] | 17-28 | - | - |
| 51 | Whse. Document Type | Enum Warehouse Journal Document Type | 17-28 | - | - |
| 52 | Whse. Document Line No. | Integer | 17-28 | - | - |
| 53 | Qty. (Calculated) | Decimal | 17-28 | - | - |
| 54 | Qty. (Phys. Inventory) | Decimal | 17-28 | - | - |
| 55 | Entry Type | Option | 17-28 | - | - |
| 56 | Phys. Inventory | Boolean | 17-28 | - | - |
| 60 | Reference Document | Enum Whse. Reference Document Type | 17-28 | - | - |
| 61 | Reference No. | Code[20] | 17-28 | - | - |
| 67 | User ID | Code[50] | 17-28 | - | - |
| 68 | Qty. (Calculated) (Base) | Decimal | 17-28 | - | - |
| 69 | Qty. (Phys. Inventory) (Base) | Decimal | 17-28 | - | - |
| 5402 | Variant Code | Code[10] | 17-28 | - | - |
| 5404 | Qty. per Unit of Measure | Decimal | 17-28 | - | - |
| 5407 | Unit of Measure Code | Code[10] | 17-28 | - | - |
| 5408 | Qty. Rounding Precision | Decimal | 19-28 | - | - |
| 5409 | Qty. Rounding Precision (Base) | Decimal | 19-28 | - | - |
| 6500 | Serial No. | Code[50] | 17-28 | - | - |
| 6501 | Lot No. | Code[50] | 17-28 | - | - |
| 6502 | Warranty Date | Date | 17-28 | - | - |
| 6503 | Expiration Date | Date | 17-28 | - | - |
| 6504 | New Serial No. | Code[50] | 17-28 | - | - |
| 6505 | New Lot No. | Code[50] | 17-28 | - | - |
| 6506 | New Expiration Date | Date | 17-28 | - | - |
| 6515 | Package No. | Code[50] | 18-28 | - | - |
| 6516 | New Package No. | Code[50] | 18-28 | - | - |
| 7380 | Phys Invt Counting Period Code | Code[10] | 17-28 | - | - |
| 7381 | Phys Invt Counting Period Type | Option | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Journal Template Name, Journal Batch Name, Location Code, Line No. | 17-28 |
| Key2 | Item No., Location Code, Entry Type, From Bin Type Code, Variant Code, Unit of Measure Code | 17-28 |
| Key3 | Item No., From Bin Code, Location Code, Entry Type, Variant Code, Unit of Measure Code, Lot No., Serial No., Package No. | 17-28 |
| Key4 | Item No., To Bin Code, Location Code, Variant Code, Unit of Measure Code, Lot No., Serial No., Package No. | 17-28 |
| Key5 | To Bin Code, Location Code | 17-28 |
| Key6 | Location Code, Item No., Variant Code | 17-28 |
| Key7 | Location Code, Bin Code, Item No., Variant Code | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetItem | (Code[20], var Text[100]) | - | public | 17-28 | - | - |
| SetUpNewLine | (Record Warehouse Journal Line) | - | public | 17-28 | - | - |
| SetUpAdjustmentBin | () | - | public | 17-28 | - | - |
| EmptyLine | () | Boolean | public | 17-28 | - | - |
| GetBinType | (Code[10], Code[20]) | Code[10] | public | 17-28 | - | - |
| TemplateSelection | (Integer, Option, var Record Warehouse Journal Line, var Boolean) | - | public | 17-21 | Pending 19.0 | Replaced by TemplateSelection() with return value JnlSelected. |
| TemplateSelectionFromBatch | (var Record Warehouse Journal Batch) | - | public | 17-28 | - | - |
| OpenJnl | (var Code[10], var Code[10], var Record Warehouse Journal Line) | - | public | 17-28 | - | - |
| CheckTemplateName | (Code[10], var Code[10], var Code[10]) | - | public | 17-28 | - | - |
| CheckName | (Code[10], Code[10], var Record Warehouse Journal Line) | - | public | 17-28 | - | - |
| SetName | (Code[10], Code[10], var Record Warehouse Journal Line) | - | public | 17-28 | - | - |
| LookupName | (var Code[10], var Code[10], var Record Warehouse Journal Line) | - | public | 17-28 | - | - |
| OpenItemTrackingLines | () | - | public | 17-28 | - | - |
| ItemTrackingReclass | (Code[10], Code[10], Code[10], Integer) | Boolean | public | 17-28 | - | - |
| RetrieveItemTracking | (var Code[50], var Code[50]) | - | public | 17-19 | Pending 17.0 | Replaced by LookupItemTracking() |
| LookupItemTracking | (var Record Item Tracking Setup) | - | public | 17-28 | - | - |
| IsReclass | (Code[10]) | Boolean | public | 17-28 | - | - |
| SetProposal | (Boolean) | - | public | 17-28 | - | - |
| IsOpenedFromBatch | () | Boolean | public | 17-28 | - | - |
| CheckTrackingIfRequired | (Record Item Tracking Setup) | - | public | 17-28 | - | - |
| CopyTrackingFromItemLedgEntry | (Record Item Ledger Entry) | - | public | 17-28 | - | - |
| CopyTrackingFromItemTrackingSetupIfRequired | (Record Item Tracking Setup) | - | public | 17-28 | - | - |
| CopyTrackingFromWhseActivityLine | (Record Warehouse Activity Line) | - | public | 17-28 | - | - |
| CopyTrackingFromWhseEntry | (Record Warehouse Entry) | - | public | 17-28 | - | - |
| SetSource | (Integer, Integer, Code[20], Integer, Integer) | - | public | 17-28 | - | - |
| SetTracking | (Code[50], Code[50], Date, Date) | - | public | 17-19 | Pending 17.0 | Replaced by CopyTrackingFrom procedures. |
| SetTrackingFilterFromBinContent | (var Record Bin Content) | - | public | 17-28 | - | - |
| SetWhseDoc | (Option, Code[20], Integer) | - | public | 17-21 | Pending 19.0 | Replaced by SetWhseDocument(). |
| CalcReservEntryQuantity | () | Decimal | public | 18-28 | - | - |
| CopyNewTrackingFromItemTrackingSetupIfRequired | (Record Item Tracking Setup) | - | public | 18-28 | - | - |
| TemplateSelection | (Integer, Enum Warehouse Journal Template Type, var Record Warehouse Journal Line) | Boolean | public | 19-28 | - | - |
| SetWhseDocument | (Enum Warehouse Journal Document Type, Code[20], Integer) | - | public | 19-28 | - | - |
| IsQtyPhysInventoryBaseEditable | () | Boolean | public | 20-28 | - | - |
| CheckBin | (Boolean) | - | internal | 22-28 | - | - |
| InitExpirationDate | () | - | public | 23-28 | - | - |
| CheckExpirationDateExists | () | Boolean | public | 23-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCheckTrackingIfRequired | (var Record Warehouse Journal Line, Record Item Tracking Setup) | 17-28 | - | - |
| Integration event | OnAfterCopyTrackingFromItemLedgEntry | (var Record Warehouse Journal Line, Record Item Ledger Entry) | 17-28 | - | - |
| Integration event | OnAfterCopyTrackingFromItemTrackingSetupIfRequired | (var Record Warehouse Journal Line, Record Item Tracking Setup) | 17-28 | - | - |
| Integration event | OnAfterCopyTrackingFromWhseActivityLine | (var Record Warehouse Journal Line, Record Warehouse Activity Line) | 17-28 | - | - |
| Integration event | OnAfterCopyTrackingFromWhseEntry | (var Record Warehouse Journal Line, Record Warehouse Entry) | 17-28 | - | - |
| Integration event | OnAfterOpenItemTrackingLines | (var Record Warehouse Journal Line, var Page Whse. Item Tracking Lines) | 17-28 | - | - |
| Integration event | OnAfterOpenJnl | (var Record Warehouse Journal Line, Code[10], Code[10]) | 17-28 | - | - |
| Integration event | OnAfterSetupNewLine | (var Record Warehouse Journal Line, var Record Warehouse Journal Line, Record Warehouse Journal Template) | 17-28 | - | - |
| Integration event | OnAfterSetName | (var Record Warehouse Journal Line, var Record Warehouse Journal Line) | 17-28 | - | - |
| Integration event | OnAfterSetTrackingFilterFromBinContent | (var Record Warehouse Journal Line, var Record Bin Content) | 17-28 | - | - |
| Integration event | OnBeforeCheckBin | (var Record Warehouse Journal Line, Code[10], Code[20], Boolean, var Boolean, Integer) | 17-28 | - | - |
| Integration event | OnBeforeCheckIncreaseBin | (Record Warehouse Journal Line, Code[20], Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCheckName | (var Code[10], var Code[10], var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCheckQtyPhysInventory | (var Record Warehouse Journal Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCheckTemplateName | (var Code[10], var Code[10], var Code[10], var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeGetLocation | (var Record Location, Code[10], var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeGetWhseJnlBatch | (var Record Warehouse Journal Line, var Record Warehouse Journal Batch, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeLookupBinCode | (var Record Warehouse Journal Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeOpenItemTrackingLines | (var Record Warehouse Journal Line) | 17-28 | - | - |
| Integration event | OnBeforeOpenJnl | (var Record Warehouse Journal Line, var Code[10], Code[10]) | 17-28 | - | - |
| Integration event | OnBeforeSetItemFields | (var Record Warehouse Journal Line, var Boolean) | 17 | - | - |
| Integration event | OnBeforeTemplateSelectionFromBatch | (var Record Warehouse Journal Line, Record Warehouse Journal Batch) | 17-28 | - | - |
| Integration event | OnCheckBinOnBeforeCheckOutboundBin | (var Record Warehouse Journal Line, var Boolean) | 17-28 | - | - |
| Integration event | OnLookupNameOnBeforeSetName | (var Record Warehouse Journal Line, Record Warehouse Journal Batch) | 17-28 | - | - |
| Integration event | OnOpenItemTrackingLinesOnBeforeSetSource | (var Record Whse. Worksheet Line, Record Warehouse Journal Line) | 17-28 | - | - |
| Integration event | OnSetUpNewLineOnAfterWhseJnlLineSetFilters | (var Record Warehouse Journal Line, Record Warehouse Journal Line, Record Warehouse Journal Line) | 17-28 | - | - |
| Integration event | OnTemplateSelectionOnAfterSetFilters | (var Record Warehouse Journal Line, var Record Warehouse Journal Template, Boolean) | 17-28 | - | - |
| Integration event | OnValidateUnitOfMeasureCodeOnBeforeValidateQuantity | (var Record Warehouse Journal Line, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterCopyNewTrackingFromItemTrackingSetupIfRequired | (var Record Warehouse Journal Line, Record Item Tracking Setup) | 18-28 | - | - |
| Integration event | OnBeforeCheckSerialNoTrackedQuantity | (var Record Warehouse Journal Line, Integer, var Boolean) | 18-28 | - | - |
| Integration event | OnBeforeLookupFromBinCode | (var Record Warehouse Journal Line, var Boolean) | 18-28 | - | - |
| Integration event | OnBeforeSetItemFields | (var Record Warehouse Journal Line, var Boolean, Record Warehouse Journal Line, Record Item) | 18-28 | - | - |
| Integration event | OnValidateToBinCodeOnBeforeSetToZoneCode | (var Record Warehouse Journal Line, var Record Bin) | 18-28 | - | - |
| Integration event | OnBeforeValidateQtyBase | (var Record Warehouse Journal Line, Record Warehouse Journal Line, Integer, var Boolean) | 19-28 | - | - |
| Integration event | OnValidateQuantityOnAfterCalcBaseQty | (var Record Warehouse Journal Line, Record Warehouse Journal Line) | 19-28 | - | - |
| Integration event | OnAfterIsFieldEditable | (var Record Warehouse Journal Line, Integer, var Boolean) | 20-28 | - | - |
| Integration event | OnAfterValidateQtyPhysInventoryBase | (var Record Warehouse Journal Line, Boolean) | 20-28 | - | - |
| Integration event | OnBeforeCalcBaseQty | (var Record Warehouse Journal Line, var Decimal, Text, Text) | 22-28 | - | - |
| Integration event | OnValidateQuantityOnBeforeGetWhseJnlTemplate | (var Record Warehouse Journal Line, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeGetBinType | (Code[10], Code[20], var Code[10], var Boolean) | 25-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.
