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

Jonas Paprotka, https://jonas-paprotka.de/ref/table/7317-warehouse-receipt-line/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Warehouse.Document |
| Versions | 17-28 |
| Source file | Warehouse/Document/WarehouseReceiptLine.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 Receive | Decimal | 17-28 | - | - |
| 22 | Qty. to Receive (Base) | Decimal | 17-28 | - | - |
| 23 | Qty. Received | Decimal | 17-28 | - | - |
| 24 | Qty. Received (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 | Option | 17-28 | - | - |
| 35 | Sorting Sequence No. | Integer | 17-28 | - | - |
| 36 | Due Date | Date | 17-28 | - | - |
| 37 | Starting Date | Date | 17-28 | - | - |
| 38 | Cubage | Decimal | 17-28 | - | - |
| 39 | Weight | Decimal | 17-28 | - | - |
| 48 | Not upd. by Src. Doc. Post. | Boolean | 17-28 | - | - |
| 49 | Posting from Whse. Ref. | Integer | 17-28 | - | - |
| 50 | Qty. to Cross-Dock | Decimal | 17-28 | - | - |
| 51 | Qty. to Cross-Dock (Base) | Decimal | 17-28 | - | - |
| 52 | Cross-Dock Zone Code | Code[10] | 17-28 | - | - |
| 53 | Cross-Dock Bin Code | Code[20] | 17-28 | - | - |
| 55 | Qty. Rounding Precision | Decimal | 19-28 | - | - |
| 56 | Qty. Rounding Precision (Base) | Decimal | 19-28 | - | - |
| 8509 | Over-Receipt Quantity | Decimal | 17-28 | - | - |
| 8510 | Over-Receipt Code | Code[20] | 17-28 | - | - |

## Keys

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

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| InitNewLine | (Code[20]) | - | public | 17-28 | - | - |
| AutofillQtyToReceive | (var Record Warehouse Receipt Line) | - | public | 17-28 | - | - |
| DeleteQtyToReceive | (var Record Warehouse Receipt Line) | - | public | 17-28 | - | - |
| GetLineStatus | () | Integer | public | 17-28 | - | - |
| OpenItemTrackingLines | () | - | public | 17-28 | - | - |
| SetIgnoreErrors | () | - | public | 17-28 | - | - |
| HasErrorOccured | () | Boolean | public | 17-28 | - | - |
| InitOutstandingQtys | () | - | public | 17-28 | - | - |
| GetWhseRcptLine | (Code[20], Integer, Option, Code[20], Integer) | Boolean | 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 | - | - |
| SetItemData | (Code[20], Text[100], Text[50], Code[10], Code[10], Code[10], Decimal, Decimal, Decimal) | - | public | 19-28 | - | - |
| CalcBaseQty | (Decimal, Text, Text) | Decimal | public | 25-28 | - | - |
| GetLocation | (Code[10]) | - | public | 25-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterOpenItemTrackingLines | (var Record Warehouse Receipt Line, Decimal) | 17-28 | - | - |
| Integration event | OnAutoFillQtyToReceiveOnBeforeModify | (var Record Warehouse Receipt Line) | 17-28 | - | - |
| Integration event | OnBeforeConfirmDelete | (var Record Warehouse Receipt Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeInitOutstandingQtys | (var Record Warehouse Receipt Line, Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeOpenItemTrackingLines | (var Record Warehouse Receipt Line, var Boolean, Integer) | 17-28 | - | - |
| Integration event | OnBeforeValidateQtyToReceive | (var Record Warehouse Receipt Line, var Boolean) | 17-19 | - | - |
| Integration event | OnValidateOverReceiptQuantity | (var Record Warehouse Receipt Line, Record Warehouse Receipt Line, Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnDeleteQtyToReceiveOnBeforeModify | (var Record Warehouse Receipt Line) | 17-28 | - | - |
| Integration event | OnBeforeAutofillQtyToReceive | (var Record Warehouse Receipt Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeDeleteQtyToReceive | (var Record Warehouse Receipt Line, var Boolean) | 17-28 | - | - |
| Integration event | OnCheckBinOnAfterCheckIncreaseBin | (var Record Warehouse Receipt Line, var Record Bin, Decimal, Decimal, Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeOverReceiptProcessing | (var Record Warehouse Receipt Line, var Boolean, var Boolean) | 17-21 | - | - |
| Integration event | OnGetWhseRcptLineOnAfterSetFilters | (var Record Warehouse Receipt Line, Code[20], Integer, Option, Code[20], Integer) | 17-28 | - | - |
| Integration event | OnAfterSetItemData | (var Record Warehouse Receipt Line) | 19-28 | - | - |
| Integration event | OnBeforeValidateQtyToReceiveBase | (var Record Warehouse Receipt Line, Record Warehouse Receipt Line, Integer, var Boolean) | 19-28 | - | - |
| Integration event | OnValidateQtyToReceiveOnBeforeUOMMgtValidateQtyIsBalanced | (var Record Warehouse Receipt Line, Record Warehouse Receipt Line, var Boolean) | 19-28 | - | - |
| Integration event | OnAfterInitQtyToReceive | (var Record Warehouse Receipt Line, Integer) | 20-28 | - | - |
| Integration event | OnBeforeCheckBin | (var Record Warehouse Receipt Line, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeValidateQtyToReceive | (var Record Warehouse Receipt Line, var Boolean, Integer) | 20-24 | - | - |
| Integration event | OnBeforeOverReceiptProcessing | (var Record Warehouse Receipt Line, var Boolean, var Boolean, Record Warehouse Receipt Line) | 22-28 | - | - |
| Integration event | OnBeforeCalcBaseQty | (var Record Warehouse Receipt Line, var Decimal, Text, Text) | 22-27 | - | - |
| Integration event | OnBeforeValidateQtyToReceive | (var Record Warehouse Receipt Line, var Boolean, Integer, Record Warehouse Receipt Line) | 25-28 | - | - |
| Integration event | OnBeforeInitNewLine | (Code[20], var Boolean) | 26-28 | - | - |
| Integration event | OnValidateQtyToCrossDockOnBeforeGetUseCrossDock | (var Record Warehouse Receipt Line, Integer, var Boolean, var Boolean) | 26-28 | - | - |
| Integration event | OnBeforeCalcBaseQty | (var Record Warehouse Receipt Line, var Decimal, Text, Text, var Boolean) | 28 | - | - |
| Integration event | OnBeforeOpenItemTrackingLineForPurchLine | (Record Purchase Line, Decimal, 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.
