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

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

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Item |
| Versions | 17-28 |
| Source file | Inventory/Item/ItemEntryRelation.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 | - | - |
| CopyTrackingFromItemLedgEntry | (Record Item Ledger Entry) | - | public | 17-28 | - | - |
| CopyTrackingFromItemJnlLine | (Record Item Journal Line) | - | public | 17-28 | - | - |
| CopyTrackingFromSpec | (Record Tracking Specification) | - | public | 17-28 | - | - |
| TransferFieldsSalesShptLine | (var Record Sales Shipment Line) | - | public | 17-28 | - | - |
| TransferFieldsReturnRcptLine | (var Record Return Receipt Line) | - | public | 17-28 | - | - |
| TransferFieldsPurchRcptLine | (var Record Purch. Rcpt. Line) | - | public | 17-28 | - | - |
| TransferFieldsReturnShptLine | (var Record Return Shipment Line) | - | public | 17-28 | - | - |
| TransferFieldsTransShptLine | (var Record Transfer Shipment Line) | - | public | 17-28 | - | - |
| TransferFieldsTransRcptLine | (var Record Transfer Receipt Line) | - | public | 17-28 | - | - |
| TransferFieldsServShptLine | (var Record Service Shipment Line) | - | public | 17-27 | Pending 25.0 | Moved to table Service Shipment Line |
| TransferFieldsPostedAsmHeader | (var Record Posted Assembly Header) | - | public | 17-28 | - | - |
| TransferFieldsPostedAsmLine | (var Record Posted Assembly Line) | - | public | 17-28 | - | - |
| SetSource | (Integer, Integer, Code[20], Integer) | - | public | 17-28 | - | - |
| SetSource2 | (Code[10], Integer) | - | public | 17-28 | - | - |
| SetSourceFilter | (Integer, Integer, Code[20], Integer, Boolean) | - | public | 17-28 | - | - |
| SetSourceFilter2 | (Code[10], Integer) | - | public | 17-28 | - | - |
| SetOrderInfo | (Code[20], Integer) | - | public | 17-28 | - | - |
| TransferFieldsInvtRcptLine | (var Record Invt. Receipt Line) | - | public | 18-28 | - | - |
| TransferFieldsInvtShptLine | (var Record Invt. Shipment Line) | - | public | 18-28 | - | - |
| TransferFieldsDirectTransLine | (var Record Direct Trans. Line) | - | public | 18-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterInitFromTrackingSpec | (var Record Item Entry Relation, Record Tracking Specification) | 17-28 | - | - |
| Integration event | OnAfterCopyTrackingFromItemLedgEntry | (var Record Item Entry Relation, Record Item Ledger Entry) | 17-28 | - | - |
| Integration event | OnAfterCopyTrackingFromItemJnlLine | (var Record Item Entry Relation, Record Item Journal Line) | 17-28 | - | - |
| Integration event | OnAfterCopyTrackingFromSpec | (var Record Item Entry Relation, Record Tracking Specification) | 17-28 | - | - |
| Integration event | OnAfterSetSource | (Record Item Entry Relation, var Integer, var Option, var Code[20], var Integer) | 20-28 | - | - |
| Integration event | OnAfterSetSource2 | (Record Item Entry Relation, var Code[10], var Integer) | 20-28 | - | - |
| Integration event | OnAfterSetOrderInfo | (Record Item Entry Relation, var Code[20], var Integer) | 20-28 | - | - |
| Integration event | OnAfterSetSourceFilter | (var Record 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.
