---
title: "Page 233 Apply Vendor Entries"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/page/233-apply-vendor-entries/
type: page
id: 233
name: "Apply Vendor Entries"
app: "Base Application"
namespace: Microsoft.Purchases.Payables
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/page/233-apply-vendor-entries/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Page 233 Apply Vendor Entries

Jonas Paprotka, https://jonas-paprotka.de/ref/page/233-apply-vendor-entries/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Purchases.Payables |
| Versions | 17-28 |
| Source table | 25 |
| Source file | Purchases/Payables/ApplyVendorEntries.Page.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetGenJnlLine | (Record Gen. Journal Line, Integer) | - | public | 17-28 | - | - |
| SetPurch | (Record Purchase Header, var Record Vendor Ledger Entry, Integer) | - | public | 17-28 | - | - |
| SetVendLedgEntry | (Record Vendor Ledger Entry) | - | public | 17-28 | - | - |
| SetApplyingVendLedgEntry | () | - | public | 17-28 | - | - |
| SetVendApplId | (Boolean) | - | public | 17-28 | - | - |
| CheckVendLedgEntry | (var Record Vendor Ledger Entry) | - | public | 17-28 | - | - |
| CalcApplnAmount | () | - | public | 17-28 | - | - |
| CheckRounding | () | - | public | 17-28 | - | - |
| GetVendLedgEntry | (var Record Vendor Ledger Entry) | - | public | 17-28 | - | - |
| SetAppliesToID | (Code[50]) | - | public | 17-28 | - | - |
| ExchangeAmountsOnLedgerEntry | (Option, Code[10], var Record Vendor Ledger Entry, Date) | - | public | 17-20 | Pending 18.0 | Replaced by ExchangeLedgerEntryAmounts() |
| CalcOppositeEntriesAmount | (var Record Vendor Ledger Entry) | Decimal | public | 17-28 | - | - |
| GetApplnCurrencyCode | () | Code[10] | public | 17-28 | - | - |
| GetCalcType | () | Integer | public | 17-28 | - | - |
| ExchangeLedgerEntryAmounts | (Enum Vendor Apply Calculation Type, Code[10], var Record Vendor Ledger Entry, Date) | - | protected | 18-28 | - | - |
| SetCalcType | (Enum Vendor Apply Calculation Type) | - | public | 18-28 | - | - |
| CalcApplnRemainingAmount | (Decimal) | Decimal | protected | 21-28 | - | - |
| FindAmountRounding | () | - | protected | 21-28 | - | - |
| HandleChosenEntries | (Enum Vendor Apply Calculation Type, Decimal, Code[10], Date) | - | protected | 21-28 | - | - |
| GetCustomAppliesToID | () | Code[50] | internal | 23-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCalcApplnAmount | (Record Vendor Ledger Entry, var Decimal, var Decimal) | 17-18 | - | - |
| Integration event | OnAfterCalcApplnAmountToApply | (Record Vendor Ledger Entry, var Decimal, var Decimal) | 17-28 | - | - |
| Integration event | OnAfterCalcApplnRemainingAmount | (Record Vendor Ledger Entry, var Decimal) | 17-28 | - | - |
| Integration event | OnAfterExchangeAmountsOnLedgerEntry | (var Record Vendor Ledger Entry, Record Vendor Ledger Entry, Code[10]) | 17-20 | Pending 18.0 | Replaced by event OnAfterExchangeLedgerEntryAmounts(). |
| Integration event | OnBeforeCalcApplnAmount | (var Record Vendor Ledger Entry, var Record Gen. Journal Line) | 17-21 | - | - |
| Integration event | OnBeforeCheckActionPerformed | (Boolean, Boolean, Option, Boolean, Record Vendor Ledger Entry, Option, var Boolean, var Boolean) | 17-20 | - | - |
| Integration event | OnBeforeHandledChosenEntries | (Option, Decimal, Code[10], Date, var Record Vendor Ledger Entry, var Boolean) | 17-18 | - | - |
| Integration event | OnBeforeEarlierPostingDateError | (Record Vendor Ledger Entry, Record Vendor Ledger Entry, var Boolean, Option, Decimal) | 17-28 | - | - |
| Integration event | OnBeforeSetApplyingVendLedgEntry | (var Record Vendor Ledger Entry, Record Gen. Journal Line) | 17 | - | - |
| Integration event | OnFindApplyingEntryOnAfterSetFilters | (Record Vendor Ledger Entry, var Record Vendor Ledger Entry) | 17-28 | - | - |
| Integration event | OnPostDirectApplicationBeforeSetValues | (var Date) | 17-28 | - | - |
| Integration event | OnPostDirectApplicationBeforeApply | () | 17-19 | - | - |
| Integration event | OnSetVendApplIdOnAfterCheckAgainstApplnCurrency | (var Record Vendor Ledger Entry, Option, Record Gen. Journal Line) | 17 | - | - |
| Integration event | OnAfterExchangeLedgerEntryAmounts | (var Record Vendor Ledger Entry, Record Vendor Ledger Entry, Code[10]) | 18-27 | - | - |
| Integration event | OnBeforePostDirectApplication | (var Record Vendor Ledger Entry, Boolean, var Boolean) | 18-25 | - | - |
| Integration event | OnBeforeSetApplyingVendLedgEntry | (var Record Vendor Ledger Entry, Record Gen. Journal Line, Record Purchase Header, var Enum Vendor Apply Calculation Type) | 18-21 | - | - |
| Integration event | OnSetVendApplIdOnAfterCheckAgainstApplnCurrency | (var Record Vendor Ledger Entry, Option, Record Gen. Journal Line, Record Purchase Header, Record Vendor Ledger Entry) | 18-28 | - | - |
| Integration event | OnAfterCalcApplnAmount | (Record Vendor Ledger Entry, var Decimal, var Decimal, Enum Vendor Apply Calculation Type, var Record Vendor Ledger Entry, var Record Gen. Journal Line) | 19-28 | - | - |
| Integration event | OnAfterOpenPage | (var Record Vendor Ledger Entry, var Record Vendor Ledger Entry) | 19-28 | - | - |
| Integration event | OnAfterSetApplyingVendLedgEntry | (var Record Vendor Ledger Entry, Record Gen. Journal Line, Record Purchase Header) | 19 | - | - |
| Integration event | OnBeforeCallVendEntrySetApplIDSetApplId | (Codeunit Vend. Entry-SetAppl.ID, var Record Vendor Ledger Entry, var Record Vendor Ledger Entry, var Boolean) | 19-28 | - | - |
| Integration event | OnFindApplyingEntryOnBeforeCalcApplnAmount | (var Record Vendor Ledger Entry) | 19-28 | - | - |
| Integration event | OnBeforeHandledChosenEntries | (Option, Decimal, Code[10], Date, var Record Vendor Ledger Entry, var Boolean, var Record Vendor Ledger Entry) | 19-27 | - | - |
| Integration event | OnBeforeOnFindRecord | (var Record Vendor Ledger Entry, Text, var Boolean, var Boolean) | 19 | - | - |
| Integration event | OnBeforeOnNextRecord | (var Record Vendor Ledger Entry, Integer, var Integer, var Boolean) | 19 | - | - |
| Integration event | OnBeforeRunVendEntryEdit | (var Record Vendor Ledger Entry) | 19-28 | - | - |
| Integration event | OnSetApplyingVendLedgEntryOnBeforeCalcTypeDirectCalcApplnAmount | (var Decimal, var Record Vendor Ledger Entry) | 19-21 | - | - |
| Integration event | OnAfterSetApplyingVendLedgEntry | (var Record Vendor Ledger Entry, Record Gen. Journal Line, Record Purchase Header, Enum Vendor Apply Calculation Type) | 20-28 | - | - |
| Integration event | OnFindApplyingEntryOnBeforeAssignTempApplyingVendLedgEntry | (var Record Vendor Ledger Entry) | 20-28 | - | - |
| Integration event | OnHandleChosenEntriesOnAfterTempAppliedVendLedgEntryInsert | (var Record Vendor Ledger Entry) | 20-28 | - | - |
| Integration event | OnPostDirectApplicationBeforeApply | (Record General Ledger Setup, var Record Apply Unapply Parameters) | 20-28 | - | - |
| Integration event | OnBeforeCheckActionPerformed | (Boolean, Boolean, Option, Boolean, Record Vendor Ledger Entry, Option, var Boolean, var Boolean, Code[50]) | 21-28 | - | - |
| Integration event | OnAfterSetApplyingVendLedgEntryPurchaseHeader | (var Record Vendor Ledger Entry, var Record Purchase Header) | 21-28 | - | - |
| Integration event | OnAfterSetApplyingVendLedgEntryGenJnlLine | (var Record Vendor Ledger Entry, var Record Gen. Journal Line) | 21-28 | - | - |
| Integration event | OnBeforeCalcApplnAmount | (var Record Vendor Ledger Entry, var Record Gen. Journal Line, Record Purchase Header, Record Vendor Ledger Entry, Enum Vendor Apply Calculation Type, Enum Vendor Apply-to Type, var Boolean) | 22-27 | - | - |
| Integration event | OnBeforeSetApplyingVendLedgEntry | (var Record Vendor Ledger Entry, Record Gen. Journal Line, Record Purchase Header, var Enum Vendor Apply Calculation Type, var Boolean) | 22-28 | - | - |
| Integration event | OnSetApplyingVendLedgEntryOnBeforeCalcTypeDirectCalcApplnAmount | (var Decimal, var Record Vendor Ledger Entry, var Record Vendor Ledger Entry) | 22-28 | - | - |
| Integration event | OnCheckVendLedgEntryOnBeforeCheckAgainstApplnCurrency | (var Record Gen. Journal Line, Record Vendor Ledger Entry) | 22-28 | - | - |
| Integration event | OnCheckVendLedgEntryOnAfterEarlierPostingDateTest | (Record Vendor Ledger Entry, Record Vendor Ledger Entry, Enum Vendor Apply Calculation Type, var Boolean) | 22-28 | - | - |
| Integration event | OnQueryClosePageOnAfterEarlierPostingDateTest | (Record Vendor Ledger Entry, Record Vendor Ledger Entry, Enum Vendor Apply Calculation Type, var Boolean) | 22-28 | - | - |
| Integration event | OnCalcApplnAmountOnAfterAppliedVendLedgEntrySetFilter | (var Record Vendor Ledger Entry, Record Vendor Ledger Entry, var Record Vendor Ledger Entry) | 22-28 | - | - |
| Integration event | OnSetVendApplIdOnAfterSetFilter | (var Record Vendor Ledger Entry, Boolean, var Record Vendor Ledger Entry, var Record Vendor Ledger Entry) | 23-28 | - | - |
| Integration event | OnModifyRecordOnBeforeRunCodeunitVendEntryEdit | (Enum Vendor Apply Calculation Type, var Record Vendor Ledger Entry, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeOnQueryClosePage | (Action, Record Vendor Ledger Entry, Enum Vendor Apply-to Type, Record Vendor Ledger Entry, Enum Vendor Apply Calculation Type, var Boolean) | 23-28 | - | - |
| Integration event | OnPostDirectApplicationOnBeforeCheckApplicationDate | (Record Vendor Ledger Entry, Record Apply Unapply Parameters, Date, Boolean, var Boolean) | 24-28 | - | - |
| Integration event | OnBeforePostDirectApplication | (var Record Vendor Ledger Entry, Boolean, var Boolean, var Record Vendor Ledger Entry) | 26-28 | - | - |
| Integration event | OnExchangeLedgerEntryAmountsOnBeforeCalculateAmounts | (var Record Vendor Ledger Entry, Record Vendor Ledger Entry, Code[10], Boolean, var Boolean) | 26-28 | - | - |
| Integration event | OnPostDirectApplicationOnAfterApply | (var Record Vendor Ledger Entry, var Record Apply Unapply Parameters, Boolean, Boolean) | 26-28 | - | - |
| Integration event | OnAfterExchangeLedgerEntryAmounts | (var Record Vendor Ledger Entry, Record Vendor Ledger Entry, Code[10], Date) | 28 | - | - |
| Integration event | OnBeforeCalcApplnAmount | (var Record Vendor Ledger Entry, var Record Gen. Journal Line, Record Purchase Header, Record Vendor Ledger Entry, Enum Vendor Apply Calculation Type, Enum Vendor Apply-to Type, var Boolean, Date, Code[10], Decimal, var Decimal, Decimal, var Decimal, var Boolean, var Decimal, Decimal) | 28 | - | - |
| Integration event | OnBeforeHandledChosenEntries | (Option, Decimal, Code[10], Date, var Record Vendor Ledger Entry, var Boolean, var Record Vendor Ledger Entry, var Decimal, var Decimal, var Boolean, Code[10], Record Gen. Journal Line) | 28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
