---
title: "Codeunit 6503 Item Tracking Doc. Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/6503-item-tracking-doc-management/
type: codeunit
id: 6503
name: "Item Tracking Doc. Management"
app: "Base Application"
namespace: Microsoft.Inventory.Tracking
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/6503-item-tracking-doc-management/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 6503 Item Tracking Doc. Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/6503-item-tracking-doc-management/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Tracking |
| Versions | 17-28 |
| Source file | Inventory/Tracking/ItemTrackingDocManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CollectItemTrkgPerPostedDocLine | (var Record Reservation Entry, var Record Item Ledger Entry, Boolean, Code[20], Integer) | - | public | 17-28 | - | - |
| CopyItemLedgerEntriesToTemp | (var Record Item Ledger Entry, var Record Item Ledger Entry) | - | public | 17-28 | - | - |
| FillTrackingSpecBufferFromILE | (var Record Item Ledger Entry, var Record Tracking Specification, Integer, Integer, Code[20], Code[10], Integer, Integer, Text[100]) | - | public | 17-28 | - | - |
| FindReservEntries | (var Record Tracking Specification, Integer, Integer, Code[20], Code[10], Integer, Integer, Text[100]) | - | public | 17-28 | - | - |
| FindShptRcptEntries | (var Record Tracking Specification, Integer, Integer, Code[20], Code[10], Integer, Integer, Text[100]) | - | public | 17-28 | - | - |
| FindInvoiceEntries | (var Record Tracking Specification, Integer, Integer, Code[20], Code[10], Integer, Integer, Text[100]) | - | public | 17-28 | - | - |
| RetrieveDocumentItemTracking | (var Record Tracking Specification, Code[20], Integer, Option) | Integer | public | 17-28 | - | - |
| RetrieveEntriesFromShptRcpt | (var Record Item Ledger Entry, Integer, Integer, Code[20], Code[10], Integer, Integer) | - | public | 17-28 | - | - |
| RetrieveEntriesFromPostedInvoice | (var Record Item Ledger Entry, Text[250]) | - | public | 17-28 | - | - |
| SetRetrieveAsmItemTracking | (Boolean) | - | public | 17-28 | - | - |
| ShowItemTrackingForInvoiceLine | (Text[250]) | Boolean | public | 17-28 | - | - |
| ShowItemTrackingForMasterData | (Option, Code[20], Code[20], Code[20], Code[50], Code[50], Code[10]) | - | public | 17-19 | Pending 17.0 | Replaced by ShowItemTrackingForEntity(). |
| ShowItemTrackingForEntity | (Integer, Code[20], Code[20], Code[20], Code[10], Record Item Tracking Setup) | - | public | 17-28 | - | - |
| ShowItemTrackingForEntity | (Integer, Code[20], Code[20], Code[20], Code[10]) | - | public | 17-28 | - | - |
| ShowItemTrackingForProdOrderComp | (Integer, Code[20], Integer, Integer) | Boolean | public | 17-28 | Pending 27.0 | Moved to codeunit Mfg. Item Tracking Mgt. |
| ShowItemTrackingForShptRcptLine | (Integer, Integer, Code[20], Code[10], Integer, Integer) | Boolean | public | 17-28 | - | - |
| FindTrackingEntries | (var Record Tracking Specification, Integer, Integer, Code[20], Code[10], Integer, Integer, Text[100]) | - | public | 18-28 | - | - |
| CreateTrackingInfo | (Integer, Integer, Code[20]) | - | public | 18-28 | - | - |
| CopyDocTrkgFromReservation | (Integer, Integer, Code[20], Boolean) | - | public | 18-28 | - | - |
| ShowItemTrackingForJobPlanningLine | (Integer, Code[20], Integer) | Boolean | internal | 21-28 | - | - |
| AddTempRecordToSet | (var Record Item Ledger Entry, Integer) | - | public | 24-28 | - | - |
| TableSignFactor | (Integer) | Integer | public | 24-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterAddTempRecordToSet | (var Record Item Ledger Entry, var Record Item Ledger Entry, Integer) | 17-28 | - | - |
| Integration event | OnAfterFillTrackingSpecBufferFromItemLedgEntry | (var Record Tracking Specification, var Record Item Ledger Entry) | 17-28 | - | - |
| Integration event | OnAfterFillTrackingSpecBufferFromReservEntry | (var Record Tracking Specification, var Record Reservation Entry) | 17-28 | - | - |
| Integration event | OnAfterFillTrackingSpecBufferFromTrackingEntries | (var Record Tracking Specification, var Record Tracking Specification) | 17-28 | - | - |
| Integration event | OnBeforeRetrieveDocumentItemTracking | (var Record Tracking Specification, Code[20], Integer, Option, var Boolean) | 17-28 | - | - |
| Integration event | OnRetrieveDocumentItemTracking | (var Record Tracking Specification, Code[20], var Boolean, Integer, Option) | 17-18 | - | - |
| Integration event | OnRetrieveEntriesFromPostedInvOnBeforeAddTempRecordToSet | (var Record Item Ledger Entry, Record Value Entry) | 17-28 | - | - |
| Integration event | OnCollectItemTrkgPerPostedDocLineOnBeforeTempItemLedgEntryInsert | (var Record Item Ledger Entry, var Record Reservation Entry, Record Item Ledger Entry, Boolean) | 17-28 | - | - |
| Integration event | OnAddTempRecordToSetOnAfterTempItemLedgEntrySetFilters | (var Record Item Ledger Entry, Record Item Ledger Entry) | 18-28 | - | - |
| Integration event | OnAddTempRecordToSetOnAfterApplySignFactor | (var Record Item Ledger Entry, Integer) | 18-28 | - | - |
| Integration event | OnAddTempRecordToSetOnBeforeTempItemLedgEntryModify | (var Record Item Ledger Entry, Record Item Ledger Entry) | 18-28 | - | - |
| Integration event | OnRetrieveTrackingPurchaseOnAfterSetFilters | (var Record Purchase Line, Code[20], Option) | 18-28 | - | - |
| Integration event | OnRetrieveTrackingPurchaseReceiptOnAfterSetFilters | (var Record Purch. Rcpt. Line, Code[20]) | 18-28 | - | - |
| Integration event | OnRetrieveTrackingPurchCrMemoHeaderOnAfterSetFilters | (var Record Purch. Cr. Memo Line, Code[20]) | 18-28 | - | - |
| Integration event | OnRetrieveTrackingPurhInvHeaderOnAfterSetFilters | (var Record Purch. Inv. Line, Code[20]) | 18-28 | - | - |
| Integration event | OnRetrieveTrackingSalesOnAfterSetFilters | (var Record Sales Line, Code[20], Option) | 18-28 | - | - |
| Integration event | OnRetrieveTrackingSalesCrMemoHeaderOnAfterSetFilters | (var Record Sales Cr.Memo Line, Code[20]) | 18-28 | - | - |
| Integration event | OnRetrieveTrackingSalesInvoiceOnAfterSetFilters | (var Record Sales Invoice Line, Code[20]) | 18-28 | - | - |
| Integration event | OnRetrieveTrackingSalesShipmentOnAfterSetFilters | (var Record Sales Shipment Line, Code[20]) | 18-28 | - | - |
| Integration event | OnCreateTrackingInformationOnAfterTrackingSpecLoop | (Record Tracking Specification, Record Item Tracking Code, Boolean) | 18-28 | - | - |
| Integration event | OnItemTrackingExistsInBufferOnAfterTempTrackingSpecBufferSetFilters | (var Record Tracking Specification) | 18-28 | - | - |
| Integration event | OnShowItemTrackingForEntityOnBeforeTempItemLedgEntryInsert | (var Record Item Ledger Entry, Record Item) | 18-28 | - | - |
| Integration event | OnAddTempRecordToSetOnAfterRetrieveAppliedExpirationDate | (var Record Item Ledger Entry) | 19-28 | - | - |
| Integration event | OnRetrieveDocumentItemTracking | (var Record Tracking Specification, Code[20], var Boolean, Integer, Option, Boolean) | 19-28 | - | - |
| Integration event | OnAfterTableSignFactor | (Integer, var Integer) | 25-28 | - | - |
| Integration event | OnRetrieveTrackingSalesShipmentForAssembly | (Record Sales Shipment Line, var Record Tracking Specification) | 27-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.
