---
id: object/page/1190
type: object
title: Page 1190 "Create Payment"
summary: Page 1190 "Create Payment" in Base Application (Microsoft.Purchases.Payables). 9 public procedures, 9 events. Present since at least BC23, still in BC30, changed in BC24-25, BC27.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: "27"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 7aba8d9d46fa07bf6c974eac9eca0a2e5254203f0a7b3020379661388ebba142
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Payables/CreatePayment.Page.al
    title: src/Layers/W1/BaseApp/Purchases/Payables/CreatePayment.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/payables-make-payments
    title: Overview of tasks to manage payments to vendors
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/payables-make-payments
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/manage-payables/make-payments
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 1190
name: Create Payment
namespace: Microsoft.Purchases.Payables
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "27"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/payables-make-payments.md
counts:
  fields: 0
  procedures: 22
  events: 9
  subscribers: 0
  controls: 6
  actions: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 6
  called_by: 0
  implements: 0
---

# Page 1190 "Create Payment"

> Page 1190 "Create Payment" in Base Application (Microsoft.Purchases.Payables). 9 public procedures, 9 events. Present since at least BC23, still in BC30, changed in BC24-25, BC27.

Base Application · Microsoft.Purchases.Payables · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Payables/CreatePayment.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Create Payment |
| PageType | StandardDialog |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Control6 | Template Name | `JournalTemplateName` | Specifies the name of the journal template. |
|  | Batch Name | `JournalBatchName` | Specifies the name of the journal batch. |
|  | Posting Date | `PostingDate` | Specifies the entry's posting date. |
|  | Starting Document No. | `NextDocNo` | Specifies a document number for the journal line. |
|  | Bank Account | `BalAccountNo` | Specifies the bank account to which a balancing entry for the journal line will be posted. |
|  | Payment Type | `BankPaymentType` | Specifies the code for the payment type to be used for the entry on the payment journal line. |

## Events published

- `OnUpdateVendorPaymentBufferFromVendorLedgerEntry(var TempVendorPaymentBuffer: Record "Vendor Payment Buffer" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry")` (integration)
- `OnBeforeUpdateGnlJnlLineDimensionsFromVendorPayment(var GenJournalLine: Record "Gen. Journal Line"; TempVendorPaymentBuffer: Record "Vendor Payment Buffer" temporary)` (integration)
  - subscribers: [Codeunit 6786 "Withholding Tax Jnl Subscriber"](../codeunit/6786.md) AssignWHTPostingGroupOnCreatePayment
- `OnAfterUpdateDimensions(var GenJournalLine: Record "Gen. Journal Line")` (integration)
- `OnCheckVendorLedgerEntryPostingDate(var VendorLedgerEntry: Record "Vendor Ledger Entry"; PostingDate: Date)` (integration)
- `OnAfterAssignCombinedDimensionSetID(var GenJournalLine: Record "Gen. Journal Line"; DimSetIDArr: array[10] of Integer)` (integration)
- `OnBeforeGetMessageToRecipient(TempVendorPaymentBuffer: Record "Vendor Payment Buffer" temporary; DocumentsToApply: List of [Text]; var IsHandled: Boolean; var MessageToRecipient: Text[140])` (integration)
- `OnMakeGenJnlLinesOnAfterCalcRemainingAmount(var VendorLedgerEntry: Record "Vendor Ledger Entry")` (integration)
- `OnMakeGenJnlLinesOnAfterSetFilterTempVendorPymBuffer(var TempVendorPaymentBuffer: Record "Vendor Payment Buffer" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; Vendor: Record Vendor)` (integration)
- `OnCopyTempPaymentBufferToGenJournalLinesOnBeforeAssignDocumentType(var GenJournalLine: Record "Gen. Journal Line"; TempVendorPaymentBuffer: Record "Vendor Payment Buffer" temporary)` (integration)

## Procedures

- `GetPostingDate(): Date`
- `GetBankAccount(): Text`
- `GetBankPaymentType(): Integer`
- `GetBatchNumber(): Code[10]`
- `GetTemplateName(): Code[10]`
- `MakeGenJnlLines(var VendorLedgerEntry: Record "Vendor Ledger Entry")`
- `UpdateDimensions(var GenJnlLine: Record "Gen. Journal Line"; TempVendorPaymentBuffer: Record "Vendor Payment Buffer" temporary)` (protected)
- `SetNextNo(GenJournalBatchNoSeries: Code[20]; KeepSavedDocumentNo: Boolean)` (protected)
- `CheckCalcPmtDiscGenJnlVend(RemainingAmt: Decimal; OldVendLedgEntry2: Record "Vendor Ledger Entry"; ApplnRoundingPrecision: Decimal; CheckAmount: Boolean): Boolean`

Plus 4 local procedures.

## Triggers

OnOpenPage, OnQueryClosePage

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 408 "DimensionManagement"](../codeunit/408.md) (4 calls: `AssignCombinedDimensionSetID → GetCombinedDimensionSetID`, `UpdateDimensions → GetDimensionSet`, `UpdateDimensions → GetDimensionSetID`, …)
- [Codeunit 230 "GenJnlManagement"](../codeunit/230.md) (2 calls: `BatchSelection → CheckTemplateName`, `OnOpenPage → TemplateSelectionSimple`)
- [Codeunit 113 "Vend. Entry-Edit"](../codeunit/113.md) (1 call: `MakeGenJnlLines → (object)`)
- [Codeunit 308 "No. Series - Batch"](../codeunit/308.md) (1 call: `SetNextNo → GetNextNo`)
- [Codeunit 411 "Dimension Buffer Management"](../codeunit/411.md) (1 call: `UpdateDimensions → GetDimensions`)
- [Codeunit 426 "Payment Tolerance Management"](../codeunit/426.md) (1 call: `CheckCalcPmtDiscGenJnlVend → CheckCalcPmtDisc`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-25, BC27

## Documented on Microsoft Learn

- [Overview of tasks to manage payments to vendors](https://learn.microsoft.com/dynamics365/business-central/payables-make-payments)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "Create Payment")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
