---
id: object/page/233
type: object
title: Page 233 "Apply Vendor Entries"
summary: Page 233 "Apply Vendor Entries" in Base Application (Microsoft.Purchases.Payables). 19 public procedures, 34 events. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: b4ed83190b28102f919dd01cf751a9bb96c8bd15264244252621307e5f784632
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Payables/ApplyVendorEntries.Page.al
    title: src/Layers/W1/BaseApp/Purchases/Payables/ApplyVendorEntries.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/payables-how-apply-purchase-transactions-manually
    title: Reconcile vendor payment receipts or refunds in the payment journal
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/payables-how-post-payments-refunds
    title: Record payments and refunds in payment journals
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/payables-how-apply-purchase-transactions-manually
    - https://learn.microsoft.com/dynamics365/business-central/payables-how-post-payments-refunds
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/manage-payables
    - topic/business-central/business-functionality/finance/manage-payables/make-payments
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 233
name: Apply Vendor Entries
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"
  - "26"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/payables-how-apply-purchase-transactions-manually.md
  - docs/learn-smb-docs/business-central/payables-how-post-payments-refunds.md
counts:
  fields: 0
  procedures: 69
  events: 34
  subscribers: 0
  controls: 46
  actions: 10
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 8
  called_by: 0
  implements: 0
---

# Page 233 "Apply Vendor Entries"

> Page 233 "Apply Vendor Entries" in Base Application (Microsoft.Purchases.Payables). 19 public procedures, 34 events. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Apply Vendor Entries |
| SourceTable | Vendor Ledger Entry |
| PageType | Worksheet |

## 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 |
|---|---|---|---|
| General | Posting Date | `TempApplyingVendLedgEntry."Posting Date"` | Specifies the posting date of the entry to be applied. This date is used to find the correct exchange rate when applying entries in different currencies. |
|  | Document Type | `TempApplyingVendLedgEntry."Document Type"` | Specifies the document type of the entry to be applied. |
|  | Document No. | `TempApplyingVendLedgEntry."Document No."` | Specifies the document number of the entry to be applied. |
|  | Vendor No. | `TempApplyingVendLedgEntry."Vendor No."` | Specifies the vendor number of the entry to be applied. |
|  | Vendor Name | `TempApplyingVendLedgEntry."Vendor Name"` | Specifies the vendor name of the entry to be applied. |
|  | Description | `TempApplyingVendLedgEntry.Description` | Specifies the description of the entry to be applied. |
|  | Currency Code | `TempApplyingVendLedgEntry."Currency Code"` | Specifies the code for the currency that amounts are shown in. |
|  | Amount | `TempApplyingVendLedgEntry.Amount` | Specifies the amount on the entry to be applied. |
|  | Remaining Amount | `TempApplyingVendLedgEntry."Remaining Amount"` | Specifies the amount on the entry to be applied. |
| Control1 | AppliesToID | [Applies-to ID](../table/25.md#fields) | Specifies the ID of entries that will be applied to when you choose the Apply Entries action. <small>from the table field</small> |
|  | Posting Date | [Posting Date](../table/25.md#fields) | Specifies the vendor entry's posting date. <small>from the table field</small> |
|  | Document Type | [Document Type](../table/25.md#fields) | Specifies the document type that the vendor entry belongs to. <small>from the table field</small> |
|  | Document No. | [Document No.](../table/25.md#fields) | Specifies the vendor entry's document number. <small>from the table field</small> |
|  | External Document No. | [External Document No.](../table/25.md#fields) | Specifies a document number that refers to the customer's or vendor's numbering system. <small>from the table field</small> |
|  | Vendor No. | [Vendor No.](../table/25.md#fields) | Specifies the number of the vendor account that the entry is linked to. <small>from the table field</small> |
|  | Vendor Name | [Vendor Name](../table/25.md#fields) | Specifies the name of the vendor account that the entry is linked to. <small>from the table field</small> |
|  | Description | [Description](../table/25.md#fields) | Specifies a description of the vendor entry. <small>from the table field</small> |
|  | Currency Code | [Currency Code](../table/25.md#fields) | Specifies the currency code for the amount on the line. <small>from the table field</small> |
|  | Original Amount | [Original Amount](../table/25.md#fields) | Specifies the amount of the original entry. <small>from the table field</small> |
|  | Amount | [Amount](../table/25.md#fields) | Specifies the amount of the entry. <small>from the table field</small> |
|  | Debit Amount | [Debit Amount](../table/25.md#fields) | Specifies the total of the ledger entries that represent debits. <small>from the table field</small> |
|  | Credit Amount | [Credit Amount](../table/25.md#fields) | Specifies the total of the ledger entries that represent credits. <small>from the table field</small> |
|  | Remaining Amount | [Remaining Amount](../table/25.md#fields) | Specifies the amount that remains to be applied to before the entry is totally applied to. <small>from the table field</small> |
|  | Appln. Remaining Amount | `CalcApplnRemainingAmount(Rec."Remaining Amount")` | Specifies the amount that remains to be applied to before the entry is totally applied to. |
|  | Amount to Apply | [Amount to Apply](../table/25.md#fields) | Specifies the amount to apply. <small>from the table field</small> |
|  | Appln. Amount to Apply | `CalcApplnAmountToApply(Rec."Amount to Apply")` | Specifies the amount to apply. |
|  | Due Date | [Due Date](../table/25.md#fields) | Specifies the due date on the entry. <small>from the table field</small> |
|  | Pmt. Discount Date | [Pmt. Discount Date](../table/25.md#fields) | Specifies the date on which the amount in the entry must be paid for a payment discount to be granted. <small>from the table field</small> |
|  | Pmt. Disc. Tolerance Date | [Pmt. Disc. Tolerance Date](../table/25.md#fields) | Specifies the latest date the amount in the entry must be paid in order for payment discount tolerance to be granted. <small>from the table field</small> |
|  | Payment Reference | [Payment Reference](../table/25.md#fields) | Specifies the payment of the purchase invoice. <small>from the table field</small> |
|  | Original Pmt. Disc. Possible | [Original Pmt. Disc. Possible](../table/25.md#fields) | Specifies the discount that you can obtain if the entry is applied to before the payment discount date. <small>from the table field</small> |
|  | Remaining Pmt. Disc. Possible | [Remaining Pmt. Disc. Possible](../table/25.md#fields) | Specifies the remaining payment discount which can be received if the payment is made before the payment discount date. <small>from the table field</small> |
|  | Appln. Pmt. Disc. Possible | `CalcApplnRemainingAmount(Rec."Remaining Pmt. Disc. Possible")` | Specifies the discount that you can obtain if the entry is applied to before the payment discount date. |
|  | Max. Payment Tolerance | [Max. Payment Tolerance](../table/25.md#fields) | Specifies the maximum tolerated amount the entry can differ from the amount on the invoice or credit memo. <small>from the table field</small> |
|  | Open | [Open](../table/25.md#fields) | Specifies whether the amount on the entry has been fully paid or there is still a remaining amount that must be applied to. <small>from the table field</small> |
|  | Positive | [Positive](../table/25.md#fields) | Specifies if the entry to be applied is positive. <small>from the table field</small> |
|  | Remit-to Code | [Remit-to Code](../table/25.md#fields) | Specifies the address for the remit-to code. <small>from the table field</small> |
|  | Global Dimension 1 Code | [Global Dimension 1 Code](../table/25.md#fields) | Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company's most important activities, are available on all cards, documents, reports, and lists. <small>from the table field</small> |
|  | Global Dimension 2 Code | [Global Dimension 2 Code](../table/25.md#fields) | Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company's most important activities, are available on all cards, documents, reports, and lists. <small>from the table field</small> |
| Appln. Currency | ApplnCurrencyCode | `ApplnCurrencyCode` | Specifies the currency code that the amount will be applied in, in case of different currencies. |
| Amount to Apply | Amount to Apply | `AppliedAmount` | Specifies the sum of the amounts on all the selected vendor ledger entries that will be applied by the entry shown in the Available Amount field. The amount is in the currency represented by the code in the Currency Code field. |
| Pmt. Disc. Amount | Pmt. Disc. Amount | `-PmtDiscAmount` | Specifies the sum of the payment discount amounts granted on all the selected vendor ledger entries that will be applied by the entry shown in the Available Amount field. The amount is in the currency represented by the code in the Currency Code field. |
| Rounding | Rounding | `ApplnRounding` | Specifies the rounding difference when you apply entries in different currencies to one another. The amount is in the currency represented by the code in the Currency Code field. |
| Applied Amount | Applied Amount | `AppliedAmount + (-PmtDiscAmount) + ApplnRounding` | Specifies the sum of the amounts in the Amount to Apply field, Pmt. Disc. Amount field, and the Rounding. The amount is in the currency represented by the code in the Currency Code field. |
| Available Amount | Available Amount | `ApplyingAmount` | Specifies the amount of the journal entry, purchase credit memo, or current vendor ledger entry that you have selected as the applying entry. |
| Balance | Balance | `AppliedAmount + (-PmtDiscAmount) + ApplyingAmount + ApplnRounding` | Specifies any extra amount that will remain after the application. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Entry | Applied Entries | View the ledger entries that have been applied to this record. | [Page 62 "Applied Vendor Entries"](../page/62.md) |
|  | Dimensions | View or edit dimensions, such as area, project, or department, that you can assign to sales and purchase documents to distribute costs and analyze transaction history. |  |
|  | Detailed Ledger Entries | View a summary of the all posted entries and adjustments related to a specific vendor ledger entry. | [Page 574 "Detailed Vendor Ledg. Entries"](../page/574.md) |
|  | Find entries... | Find entries and documents that exist for the document number and posting date on the selected document. (Formerly this action was named Navigate.) |  |
| Application | Set Applies-to ID | Set the Applies-to ID field on the posted entry to automatically be filled in with the document number of the entry in the journal. |  |
|  | Post Application | Define the document number of the ledger entry to use to perform the application. In addition, you specify the Posting Date for the application. |  |
|  | Preview Posting | Review the different types of entries that will be created when you post the document or journal. |  |
|  | Show Only Selected Entries to Be Applied | View the selected ledger entries that will be applied to the specified record. |  |
| Processing | Show Posted Document | Show details for the posted payment, invoice, or credit memo. |  |
|  | Show Document Attachment | View documents or images that are attached to the posted invoice or credit memo. |  |

## Events published

- `OnAfterCalcApplnAmount(VendorLedgerEntry: Record "Vendor Ledger Entry"; var AppliedAmount: Decimal; var ApplyingAmount: Decimal; CalcType: Enum "Vendor Apply Calculation Type"; var AppliedVendLedgEntry: Record "Vendor Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line")` (integration)
- `OnAfterCalcApplnAmountToApply(VendorLedgerEntry: Record "Vendor Ledger Entry"; var ApplnAmountToApply: Decimal; var ApplnAmtToApply: Decimal)` (integration)
- `OnAfterCalcApplnRemainingAmount(VendorLedgerEntry: Record "Vendor Ledger Entry"; var ApplnRemainingAmount: Decimal)` (integration)
- `OnAfterExchangeLedgerEntryAmounts(var CalcVendorLedgerEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; CurrencyCode: Code[10]; PostingDate: Date)` (integration)
- `OnAfterOpenPage(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var ApplyingVendLedgEntry: Record "Vendor Ledger Entry")` (integration)
- `OnAfterSetApplyingVendLedgEntry(var TempApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; PurchaseHeader: Record "Purchase Header"; CalcType: Enum "Vendor Apply Calculation Type")` (integration)
- `OnBeforeCallVendEntrySetApplIDSetApplId(VendEntrySetApplID: Codeunit "Vend. Entry-SetAppl.ID"; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempApplyingVendLedgEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)` (integration)
- `OnBeforeCalcApplnAmount(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; PurchaseHeader: record "Purchase Header"; AppliedVendLedgEntry: Record "Vendor Ledger Entry"; CalcType: Enum "Vendor Apply Calculation Type"; ApplnType: Enum "Vendor Apply-to Type"; var IsHandled: Boolean; ApplnDate: Date; ApplnCurrencyCode: Code[10]; AmountRoundingPrecision: Decimal; var AppliedAmount: Decimal; ApplnRoundingPrecision: Decimal; var PmtDiscAmount: Decimal; var DifferentCurrenciesInAppln: Boolean; var ApplnRounding: Decimal; ApplyingAmount: Decimal)` (integration)
- `OnBeforeCheckActionPerformed(ActionPerformed: Boolean; OK: Boolean; CalcType: Option Direct,GenJnlLine,PurchHeader; PostingDone: Boolean; ApplyingVendLedgEntry: Record "Vendor Ledger Entry" temporary; ApplnType: Option " ","Applies-to Doc. No.","Applies-to ID"; var Result: Boolean; var IsHandled: Boolean; AppliesToID: Code[50])` (integration)
- `OnFindApplyingEntryOnBeforeCalcApplnAmount(var VendorLedgerEntry: Record "Vendor Ledger Entry")` (integration)
- `OnFindApplyingEntryOnBeforeAssignTempApplyingVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry")` (integration)
- `OnBeforeHandledChosenEntries(Type: Option Direct,GenJnlLine,PurchHeader; CurrentAmount: Decimal; CurrencyCode: Code[10]; PostingDate: Date; var AppliedVendLedgEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var PmtDiscAmount: Decimal; var AppliedAmount: Decimal; var DifferentCurrenciesInAppln: Boolean; ApplnCurrencyCode: Code[10]; GenJournalLine2: Record "Gen. Journal Line")` (integration)
- `OnBeforeEarlierPostingDateError(ApplyingVendLedgEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; var RaiseError: Boolean; CalcType: Option; PmtDiscAmount: Decimal)` (integration)
- `OnBeforePostDirectApplication(var VendorLedgerEntry: Record "Vendor Ledger Entry"; PreviewMode: Boolean; var IsHandled: Boolean; var TempApplyingVendLedgEntry: Record "Vendor Ledger Entry" temporary)` (integration)
- `OnBeforeSetApplyingVendLedgEntry(var ApplyingVendLedgEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; PurchHeader: Record "Purchase Header"; var CalcType: enum "Vendor Apply Calculation Type"; var IsHandled: Boolean)` (integration)
- `OnBeforeRunVendEntryEdit(var VendorLedgerEntry: Record "Vendor Ledger Entry")` (integration)
- `OnFindApplyingEntryOnAfterSetFilters(ApplyingVendLedgEntry: Record "Vendor Ledger Entry"; var VendorLedgerEntry: Record "Vendor Ledger Entry")` (integration)
- `OnHandleChosenEntriesOnAfterTempAppliedVendLedgEntryInsert(var TempAppliedVendorLedgerEntry: Record "Vendor Ledger Entry" temporary)` (integration)
- `OnPostDirectApplicationBeforeSetValues(var ApplicationDate: Date)` (integration)
- `OnPostDirectApplicationBeforeApply(GLSetup: Record "General Ledger Setup"; var NewApplyUnapplyParameters: Record "Apply Unapply Parameters")` (integration)
- `OnSetApplyingVendLedgEntryOnBeforeCalcTypeDirectCalcApplnAmount(var ApplyingAmount: Decimal; var ApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; var VendorLedgerEntry: Record "Vendor Ledger Entry")` (integration)
- `OnSetVendApplIdOnAfterCheckAgainstApplnCurrency(var VendorLedgerEntry: Record "Vendor Ledger Entry"; CalcType: Option Direct,GenJnlLine,PurchHeader; GenJnlLine: Record "Gen. Journal Line"; PurchHeader: Record "Purchase Header"; ApplyingVendLedgEntry: Record "Vendor Ledger Entry")` (integration)
- `OnAfterSetApplyingVendLedgEntryPurchaseHeader(var TempApplyingVendLedgEntry: Record "Vendor Ledger Entry" temporary; var PurchHeader: Record "Purchase Header")` (integration)
- `OnAfterSetApplyingVendLedgEntryGenJnlLine(var TempApplyingVendLedgEntry: Record "Vendor Ledger Entry" temporary; var GenJnlLine: Record "Gen. Journal Line")` (integration)
- `OnCheckVendLedgEntryOnBeforeCheckAgainstApplnCurrency(var GenJournalLine: Record "Gen. Journal Line"; VendorLedgerEntry: Record "Vendor Ledger Entry")` (integration)
- `OnCheckVendLedgEntryOnAfterEarlierPostingDateTest(ApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; CalcType: Enum "Vendor Apply Calculation Type"; var OK: Boolean)` (integration)
- `OnQueryClosePageOnAfterEarlierPostingDateTest(ApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; CalcType: Enum "Vendor Apply Calculation Type"; var OK: Boolean)` (integration)
- `OnCalcApplnAmountOnAfterAppliedVendLedgEntrySetFilter(var AppliedVendorLedgerEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; var RecVendorLedgerEntry: Record "Vendor Ledger Entry")` (integration)
- `OnSetVendApplIdOnAfterSetFilter(var RecVendorLedgerEntry: Record "Vendor Ledger Entry"; CurrentRec: Boolean; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempApplyingVendorLedgerEntry: Record "Vendor Ledger Entry" temporary)` (integration)
- `OnModifyRecordOnBeforeRunCodeunitVendEntryEdit(VendorApplyCalculationType: Enum "Vendor Apply Calculation Type"; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)` (integration)
- `OnBeforeOnQueryClosePage(CloseAction: Action; ApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; ApplnType: Enum "Vendor Apply-to Type"; VendorLedgerEntry: Record "Vendor Ledger Entry"; CalcType: Enum "Vendor Apply Calculation Type"; var IsHandled: Boolean)` (integration)
- `OnPostDirectApplicationOnBeforeCheckApplicationDate(VendorLedgerEntry: Record "Vendor Ledger Entry"; NewApplyUnapplyParameters: Record "Apply Unapply Parameters"; ApplicationDate: Date; PreviewMode: Boolean; var IsHandled: Boolean)` (integration)
- `OnExchangeLedgerEntryAmountsOnBeforeCalculateAmounts(var CalcVendLedgEntry: Record "Vendor Ledger Entry"; VendLedgEntry: Record "Vendor Ledger Entry"; CurrencyCode: Code[10]; CalculateCurrency: Boolean; var IsHandled: Boolean)` (integration)
- `OnPostDirectApplicationOnAfterApply(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var NewApplyUnapplyParameters: Record "Apply Unapply Parameters"; PreviewMode: Boolean; Applied: Boolean)` (integration)

## Procedures

- `SetGenJnlLine(NewGenJnlLine: Record "Gen. Journal Line"; ApplnTypeSelect: Integer)`
- `GetCustomAppliesToID(): Code[50]` (internal)
- `SetPurch(NewPurchHeader: Record "Purchase Header"; var NewVendLedgEntry: Record "Vendor Ledger Entry"; ApplnTypeSelect: Integer)`
- `SetVendLedgEntry(NewVendLedgEntry: Record "Vendor Ledger Entry")`
- `SetApplyingVendLedgEntry()`
- `SetVendApplId(CurrentRec: Boolean)`
- `CheckVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry")`
- `CalcApplnAmount()`
- `CalcApplnRemainingAmount(Amount: Decimal): Decimal` (protected)
- `FindAmountRounding()` (protected)
- `CheckRounding()`
- `GetVendLedgEntry(var VendLedgEntry: Record "Vendor Ledger Entry")`
- `HandleChosenEntries(Type: Enum "Vendor Apply Calculation Type"; CurrentAmount: Decimal; CurrencyCode: Code[10]; PostingDate: Date)` (protected)
- `SetAppliesToID(AppliesToID2: Code[50])`
- `ExchangeLedgerEntryAmounts(Type: Enum "Vendor Apply Calculation Type"; CurrencyCode: Code[10]; var CalcVendLedgEntry: Record "Vendor Ledger Entry"; PostingDate: Date)` (protected)
- `CalcOppositeEntriesAmount(var TempAppliedVendorLedgerEntry: Record "Vendor Ledger Entry" temporary): Decimal`
- `GetApplnCurrencyCode(): Code[10]`
- `GetCalcType(): Integer`
- `SetCalcType(NewCalcType: Enum "Vendor Apply Calculation Type")`

Plus 16 local procedures.

## Triggers

OnAfterGetCurrRecord, OnAfterGetRecord, OnInit, OnModifyRecord, OnOpenPage, OnQueryClosePage

## Relations

- source table [Table 25 "Vendor Ledger Entry"](../table/25.md)

## 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 113 "Vend. Entry-Edit"](../codeunit/113.md) (3 calls: `OnModifyRecord → (object)`, `RunVendEntryEdit → (object)`, `SetApplyingVendLedgEntryDirect → (object)`)
- [Codeunit 227 "VendEntry-Apply Posted Entries"](../codeunit/227.md) (3 calls: `PostDirectApplication → Apply`, `PostDirectApplication → GetApplicationDate`, `PostDirectApplication → PreviewApply`)
- [Codeunit 426 "Payment Tolerance Management"](../codeunit/426.md) (3 calls: `CalcApplnAmount → CheckCalcPmtDiscGenJnlVend`, `HandleChosenEntries → CheckCalcPmtDiscGenJnlVend`, `HandleChosenEntries → CheckCalcPmtDiscVend`)
- [Codeunit 111 "Vend. Entry-SetAppl.ID"](../codeunit/111.md) (1 call: `CallVendEntrySetApplIDSetApplId → SetApplId`)
- [Codeunit 1630 "Office Management"](../codeunit/1630.md) (1 call: `OnOpenPage → IsAvailable`)
- [Codeunit 225 "Gen. Jnl.-Apply"](../codeunit/225.md) (1 call: `CheckVendLedgEntry → CheckAgainstApplnCurrency`)
- [Codeunit 366 "Exchange Acc. G/L Journal Line"](../codeunit/366.md) (1 call: `CalcApplnAmount → (object)`)
- [Codeunit 90 "Purch.-Post"](../codeunit/90.md) (1 call: `SetPurch → SumPurchLines`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26, BC28

## Documented on Microsoft Learn

- [Reconcile vendor payment receipts or refunds in the payment journal](https://learn.microsoft.com/dynamics365/business-central/payables-how-apply-purchase-transactions-manually)
- [Record payments and refunds in payment journals](https://learn.microsoft.com/dynamics365/business-central/payables-how-post-payments-refunds)

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: "Apply Vendor Entries")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
