---
title: "Codeunit 5011 Graph Mgt - Vendor Payments, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/points/
object: https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/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 5011 Graph Mgt - Vendor Payments, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/points/

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

## SetVendorPaymentsTemplateAndBatch

[Line 19](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L19).

- [21](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L21) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Journal Template Name`
- [21](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L21) calls [Codeunit 5482 Graph Mgt - Journal](https://jonas-paprotka.de/ref/codeunit/5482-graph-mgt-journal/) `GetDefaultVendorPaymentsTemplateName`
- [24](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L24) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Journal Batch Name`

## SetVendorPaymentsFilters

[Line 28](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L28).

- [32](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L32) calls [Codeunit 5482 Graph Mgt - Journal](https://jonas-paprotka.de/ref/codeunit/5482-graph-mgt-journal/) `GetDefaultVendorPaymentsTemplateName`

## SetVendorPaymentsValues

[Line 35](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L35).

- [39](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L39) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account Type`
- [40](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L40) calls [Codeunit 5478 Graph Mgt - Journal Lines](https://jonas-paprotka.de/ref/codeunit/5478-graph-mgt-journal-lines/) `SetPaymentsValues`

## HandleApiSetup

[Line 44](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L44), local.

- [46](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L46) calls `UpdateIds`

## UpdateIds

[Line 54](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L54).

- [64](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L64) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `UpdateVendorID`
- [65](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L65) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `UpdateAppliesToInvoiceID`
- [66](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L66) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `UpdateJournalBatchID`
- [67](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L67) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Modify
- [69](https://jonas-paprotka.de/ref/codeunit/5011-graph-mgt-vendor-payments/source/#L69) 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.
