---
title: "Page 6560 Document Line Tracking"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/page/6560-document-line-tracking/
type: page
id: 6560
name: "Document Line Tracking"
app: "Base Application"
namespace: Microsoft.Foundation.Navigate
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/page/6560-document-line-tracking/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Page 6560 Document Line Tracking

Jonas Paprotka, https://jonas-paprotka.de/ref/page/6560-document-line-tracking/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Foundation.Navigate |
| Versions | 17-28 |
| Source table | 265 |
| Source file | Foundation/Navigate/DocumentLineTracking.Page.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetDoc | (Option, Code[20], Integer, Code[20], Integer, Code[20], Integer) | - | public | 17-26 | Pending 24.0 | Replaced by procedure SetSourceDoc() with enum parameter |
| FindRecords | (Boolean) | - | protected | 19-28 | - | - |
| SetSourceDoc | (Enum Document Line Source Type, Code[20], Integer, Code[20], Integer, Code[20], Integer) | - | public | 24-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnFindRecordsAfterCase | (var Record Document Entry, Enum Document Line Source Type, Code[20], Integer, Code[20], Integer) | 24-28 | - | - |
| Integration event | OnAssignLineFieldFromDocumentAfterCase | (var Text[30], var Code[20], var Text[30], var Text[30], var Code[20], var Text[100], var Decimal, var Code[10]) | 24 | - | - |
| Integration event | OnAfterFindRecordsRelatedToSalesOrder | (Code[20], Integer, var Record Document Entry) | 24-28 | - | - |
| Integration event | OnAfterFindRecordsRelatedToPurchaseOrder | (Code[20], Integer, var Record Document Entry) | 24-28 | - | - |
| Integration event | OnAfterFindRecordsRelatedToSalesReturnOrder | (Code[20], Integer, var Record Document Entry) | 24-28 | - | - |
| Integration event | OnAfterFindRecordsRelatedToPurchaseReturnOrder | (Code[20], Integer, var Record Document Entry) | 24-28 | - | - |
| Integration event | OnAssignLineFieldFromDocumentAfterCase | (var Text[30], var Code[20], var Text[30], var Text[30], var Code[20], var Text[100], var Decimal, var Code[10], Enum Document Line Source Type) | 25-28 | - | - |
| Integration event | OnShowRecordsOnElseCase | (var Record Document Entry) | 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.
