---
title: "Codeunit 5478 Graph Mgt - Journal Lines, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/points/
object: https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 5478 Graph Mgt - Journal Lines, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/points/

8 procedures and triggers with a step in src/Layers/W1/BaseApp/Integration/Graph/GraphMgtJournalLines.Codeunit.al, in source order, read from the text, not from a run.

## SetJournalLineTemplateAndBatch

[Line 20](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L20).

- [22](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L22) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Journal Template Name`
- [22](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L22) calls [Codeunit 5482 Graph Mgt - Journal](https://jonas-paprotka.de/ref/codeunit/5482-graph-mgt-journal/) `GetDefaultJournalLinesTemplateName`
- [25](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L25) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Journal Batch Name`

## SetJournalLineTemplateAndBatchV2

[Line 29](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L29).

- [31](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L31) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Journal Template Name`
- [34](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L34) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Journal Batch Name`

## SetJournalLineFilters

[Line 38](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L38).

- [42](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L42) calls [Codeunit 5482 Graph Mgt - Journal](https://jonas-paprotka.de/ref/codeunit/5482-graph-mgt-journal/) `GetDefaultJournalLinesTemplateName`

## SetJournalLineFiltersV1

[Line 45](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L45).

- [49](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L49) calls [Codeunit 5482 Graph Mgt - Journal](https://jonas-paprotka.de/ref/codeunit/5482-graph-mgt-journal/) `GetDefaultJournalLinesTemplateName`

## SetJournalLineValues

[Line 52](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L52).

- [58](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L58) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account Type`
- [59](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L59) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account No.`
- [61](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L61) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Posting Date`
- [62](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L62) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Document Type`
- [64](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L64) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Document No.`
- [65](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L65) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `External Document No.`
- [66](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L66) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Amount`
- [68](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L68) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Description`
- [69](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L69) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Comment`
- [70](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L70) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Bal. Account No.`
- [72](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L72) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Bal. Account Type`
- [73](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L73) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Bal. Account No.`
- [76](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L76) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Bal. Account Type`
- [78](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L78) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Bal. Account No.`
- [80](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L80) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Tax Group Code`
- [82](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L82) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `CopyVATSetupToJnlLines`
- [83](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L83) calls `SetPostingGroupValues`

## SetPaymentsValues

[Line 86](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L86).

- [92](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L92) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account Id`
- [93](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L93) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account No.`
- [95](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L95) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Contact Graph Id`
- [97](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L97) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Posting Date`
- [98](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L98) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Document Type`
- [99](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L99) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Document No.`
- [100](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L100) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `External Document No.`
- [101](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L101) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Amount`
- [102](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L102) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Applies-to Doc. Type`
- [105](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L105) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Applies-to Invoice Id`
- [107](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L107) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Description`
- [108](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L108) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Comment`
- [109](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L109) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Bal. Account No.`
- [111](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L111) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Bal. Account Type`
- [112](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L112) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Bal. Account No.`

## HandleApiSetup

[Line 131](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L131), local.

- [133](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L133) calls `UpdateIds`

## UpdateIds

[Line 141](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L141).

- [151](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L151) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `UpdateAccountID`
- [152](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L152) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `UpdateJournalBatchID`
- [153](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L153) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Modify
- [155](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/source/#L155) calls [Codeunit 9994 API Data Upgrade](https://jonas-paprotka.de/ref/codeunit/9994-api-data-upgrade/) `CountRecordsAndCommit`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
