---
title: "Table 6509 Whse. Item Entry Relation"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/6509-whse-item-entry-relation/
type: table
id: 6509
name: "Whse. Item Entry Relation"
app: "Base Application"
namespace: Microsoft.Warehouse.Ledger
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/6509-whse-item-entry-relation/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 6509 Whse. Item Entry Relation

Jonas Paprotka, https://jonas-paprotka.de/ref/table/6509-whse-item-entry-relation/

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

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Item Entry No. | Integer | 17-28 | - | - |
| 10 | Source Type | Integer | 17-28 | - | - |
| 11 | Source Subtype | Option | 17-28 | - | - |
| 12 | Source ID | Code[20] | 17-28 | - | - |
| 13 | Source Batch Name | Code[10] | 17-28 | - | - |
| 14 | Source Prod. Order Line | Integer | 17-28 | - | - |
| 15 | Source Ref. No. | Integer | 17-28 | - | - |
| 20 | Serial No. | Code[50] | 17-28 | - | - |
| 21 | Lot No. | Code[50] | 17-28 | - | - |
| 30 | Order No. | Code[20] | 17-28 | - | - |
| 31 | Order Line No. | Integer | 17-28 | - | - |
| 6515 | Package No. | Code[50] | 18-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Item Entry No. | 17-28 |
| Key2 | Source ID, Source Type, Source Subtype, Source Ref. No., Source Prod. Order Line, Source Batch Name | 17-28 |
| Key3 | Order No., Order Line No. | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| InitFromTrackingSpec | (Record Tracking Specification) | - | public | 17-28 | - | - |
| SetSource | (Integer, Integer, Code[20], Integer) | - | public | 17-28 | - | - |
| SetSource | (Code[10], Integer) | - | public | 17-28 | - | - |
| SetSourceFilter | (Integer, Integer, Code[20], Integer, Boolean) | - | public | 17-28 | - | - |
| SetSourceFilter | (Code[10], Integer) | - | public | 17-28 | - | - |
| SetOrderInfo | (Code[20], Integer) | - | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterInitFromTrackingSpec | (var Record Whse. Item Entry Relation, Record Tracking Specification) | 17-28 | - | - |
| Integration event | OnAfterSetSourceFilter | (var Record Whse. Item Entry Relation, Integer, Integer, Code[20], Integer, Boolean) | 22-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.
