---
title: "Page 1190 Create Payment, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/1190-create-payment/points/
object: https://jonas-paprotka.de/ref/page/1190-create-payment/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/1190-create-payment/source/
checked: 2026-11-20
changed: 2026-11-19
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/"
---

# Page 1190 Create Payment, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/1190-create-payment/points/

14 procedures and triggers with a step in src/Layers/W1/BaseApp/Purchases/Payables/CreatePayment.Page.al, in source order, read from the text, not from a run.

## Template Name.OnLookup

[Line 36](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L36), trigger.

- [49](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L49) calls `BatchSelection`

## Template Name.OnValidate

[Line 53](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L53), trigger.

- [58](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L58) calls `BatchSelection`

## Batch Name.OnLookup

[Line 70](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L70), trigger.

- [84](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L84) calls `BatchSelection`

## Batch Name.OnValidate

[Line 88](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L88), trigger.

- [91](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L91) calls `BatchSelection`

## Posting Date.OnValidate

[Line 101](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L101), trigger.

- [104](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L104) calls `BatchSelection`

## OnOpenPage

[Line 142](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L142), trigger.

- [154](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L154) calls [Codeunit 230 GenJnlManagement](https://jonas-paprotka.de/ref/codeunit/230-genjnlmanagement/) `TemplateSelectionSimple`
- [157](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L157) calls `BatchSelection`

## MakeGenJnlLines

[Line 214](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L214).

- [227](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L227) writes [Table 475 Vendor Payment Buffer](https://jonas-paprotka.de/ref/table/475-vendor-payment-buffer/) DeleteAll
- [234](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L234) calls [Table 23 Vendor](https://jonas-paprotka.de/ref/table/23-vendor/) `CheckBlockedVendOnJnls`
- [237](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L237) raises `OnCheckVendorLedgerEntryPostingDate`
- [240](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L240) raises `OnMakeGenJnlLinesOnAfterCalcRemainingAmount`
- [249](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L249) calls [Table 475 Vendor Payment Buffer](https://jonas-paprotka.de/ref/table/475-vendor-payment-buffer/) `CopyFieldsFromVendorLedgerEntry`
- [250](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L250) raises `OnUpdateVendorPaymentBufferFromVendorLedgerEntry`
- [258](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L258) calls `CheckCalcPmtDiscGenJnlVend`
- [259](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L259) calls [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `GetRemainingPmtDiscPossible`
- [266](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L266) raises `OnMakeGenJnlLinesOnAfterSetFilterTempVendorPymBuffer`
- [270](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L270) writes [Table 475 Vendor Payment Buffer](https://jonas-paprotka.de/ref/table/475-vendor-payment-buffer/) Modify
- [277](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L277) writes [Table 475 Vendor Payment Buffer](https://jonas-paprotka.de/ref/table/475-vendor-payment-buffer/) Insert
- [282](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L282) runs [Codeunit 113 Vend. Entry-Edit](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/)
- [288](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L288) calls `CopyTempPaymentBufferToGenJournalLines`

## CopyTempPaymentBufferToGenJournalLines

[Line 292](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L292), local.

- [317](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L317) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Journal Template Name`
- [318](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L318) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Journal Batch Name`
- [321](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L321) raises `OnCopyTempPaymentBufferToGenJournalLinesOnBeforeAssignDocumentType`
- [333](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L333) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `SetHideValidation`
- [334](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L334) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Posting Date`
- [335](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L335) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account No.`
- [341](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L341) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Bal. Account No.`
- [342](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L342) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Currency Code`
- [344](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L344) calls `GetMessageToRecipient`
- [355](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L355) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Amount`
- [360](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L360) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Payment Method Code`
- [364](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L364) calls [Table 475 Vendor Payment Buffer](https://jonas-paprotka.de/ref/table/475-vendor-payment-buffer/) `CopyFieldsToGenJournalLine`
- [366](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L366) raises `OnBeforeUpdateGnlJnlLineDimensionsFromVendorPayment`
- [367](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L367) calls `UpdateDimensions`
- [368](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L368) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Insert

## UpdateDimensions

[Line 372](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L372), protected.

- [386](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L386) writes [Table 360 Dimension Buffer](https://jonas-paprotka.de/ref/table/360-dimension-buffer/) DeleteAll
- [387](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L387) calls [Codeunit 411 Dimension Buffer Management](https://jonas-paprotka.de/ref/codeunit/411-dimension-buffer-management/) `GetDimensions`
- [394](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L394) writes [Table 36950 Dimension Set Entry](https://jonas-paprotka.de/ref/table/36950-dimension-set-entry/) Insert
- [396](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L396) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetDimensionSetID`
- [399](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L399) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `CreateDimFromDefaultDim`
- [401](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L401) calls `AssignCombinedDimensionSetID`
- [404](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L404) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetDimensionSet`
- [405](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L405) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `UpdateGlobalDimFromDimSetID`
- [407](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L407) raises `OnAfterUpdateDimensions`

## AssignCombinedDimensionSetID

[Line 410](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L410), local.

- [416](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L416) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetCombinedDimensionSetID`
- [418](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L418) raises `OnAfterAssignCombinedDimensionSetID`

## SetNextNo

[Line 421](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L421), protected.

- [435](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L435) calls [Codeunit 308 No. Series - Batch](https://jonas-paprotka.de/ref/codeunit/308-no-series-batch/) `GetNextNo`

## CheckCalcPmtDiscGenJnlVend

[Line 439](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L439).

- [448](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L448) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `CopyFromVendLedgEntry`
- [450](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L450) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CheckCalcPmtDisc`

## GetMessageToRecipient

[Line 454](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L454), local.

- [463](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L463) raises `OnBeforeGetMessageToRecipient`, IsHandled

## BatchSelection

[Line 482](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L482), local.

- [487](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L487) calls [Codeunit 230 GenJnlManagement](https://jonas-paprotka.de/ref/codeunit/230-genjnlmanagement/) `CheckTemplateName`
- [489](https://jonas-paprotka.de/ref/page/1190-create-payment/source/#L489) calls `SetNextNo`

## Source

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

JOP-AL, 2026-11-20.
