---
title: "Table 25 Vendor Ledger Entry, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/points/
object: https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/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/"
---

# Table 25 Vendor Ledger Entry, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/points/

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

## Document No..OnLookup

[Line 64](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L64), trigger.

- [68](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L68) calls [Table 130 Incoming Document](https://jonas-paprotka.de/ref/table/130-incoming-document/) `HyperlinkToDocument`

## Max. Payment Tolerance.OnValidate

[Line 502](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L502), trigger.

- [506](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L506) raises `OnValidateMaxPaymentToleranceBeforeError`

## Amount to Apply.OnValidate

[Line 538](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L538), trigger.

- [543](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L543) calls `AreOppositeSign`

## Message to Recipient.OnValidate

[Line 631](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L631), trigger.

- [636](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L636) raises `OnBeforeValidateMessagetoRecipient`, IsHandled

## Dimension Set ID.OnLookup

[Line 656](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L656), trigger.

- [658](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L658) calls `ShowDimensions`

## GetLastEntryNo

[Line 816](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L816).

- [820](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L820) calls [Codeunit 703 Find Record Management](https://jonas-paprotka.de/ref/codeunit/703-find-record-management/) `GetLastEntryIntFieldValue`

## ShowDoc

[Line 823](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L823).

- [830](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L830) raises `OnBeforeShowDoc`, IsHandled
- [837](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L837) runs [Page 138 Posted Purchase Invoice](https://jonas-paprotka.de/ref/page/138-posted-purchase-invoice/)
- [842](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L842) runs [Page 140 Posted Purchase Credit Memo](https://jonas-paprotka.de/ref/page/140-posted-purchase-credit-memo/)
- [847](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L847) raises `OnAfterShowDoc`

## ShowPostedDocAttachment

[Line 850](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L850).

- [858](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L858) calls `OpenDocumentAttachmentDetails`
- [861](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L861) calls `OpenDocumentAttachmentDetails`
- [864](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L864) raises `OnAfterShowPostedDocAttachment`

## OpenDocumentAttachmentDetails

[Line 867](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L867), local.

- [873](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L873) calls [Page 1173 Document Attachment Details](https://jonas-paprotka.de/ref/page/1173-document-attachment-details/) `OpenForRecRef`

## HasPostedDocAttachment

[Line 877](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L877).

- [889](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L889) calls [Table 1173 Document Attachment](https://jonas-paprotka.de/ref/table/1173-document-attachment/) `HasPostedDocumentAttachment`
- [892](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L892) calls [Table 1173 Document Attachment](https://jonas-paprotka.de/ref/table/1173-document-attachment/) `HasPostedDocumentAttachment`
- [895](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L895) raises `OnAfterHasPostedDocAttachment`

## DrillDownOnEntries

[Line 899](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L899).

- [912](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L912) raises `OnBeforeDrillDownEntries`

## DrillDownOnOverdueEntries

[Line 916](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L916).

- [930](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L930) raises `OnBeforeDrillDownOnOverdueEntries`

## ShowDimensions

[Line 948](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L948).

- [952](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L952) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `ShowDimensionSet`

## SetStyle

[Line 955](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L955).

- [960](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L960) raises `OnBeforeSetStyle`, IsHandled

## CopyFromGenJnlLine

[Line 973](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L973).

- [1018](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1018) raises `OnAfterCopyVendLedgerEntryFromGenJnlLine`

## CopyFromCVLedgEntryBuffer

[Line 1021](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1021).

- [1087](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1087) raises `OnAfterCopyVendLedgerEntryFromCVLedgEntryBuffer`

## RecalculateAmounts

[Line 1090](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1090).

- [1096](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1096) raises `OnBeforeRecalculateAmounts`, IsHandled
- [1102](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1102) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [1104](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1104) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [1106](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1106) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [1108](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1108) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [1110](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1110) raises `OnAfterRecalculateAmounts`

## UpdateAmountsForApplication

[Line 1113](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1113).

- [1119](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1119) raises `OnBeforeUpdateAmountsForApplication`, IsHandled
- [1125](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1125) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [1128](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1128) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [1132](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1132) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [1135](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1135) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [1139](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1139) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToFCY`
- [1142](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1142) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToFCY`
- [1146](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1146) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToFCY`
- [1149](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1149) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToFCY`
- [1153](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1153) raises `OnAfterUpdateAmountsForApplication`

## GetRemainingPmtDiscPossible

[Line 1156](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1156).

- [1160](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1160) raises `OnAfterGetRemainingPmtDiscPossible`

## AreOppositeSign

[Line 1163](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1163), local.

- [1170](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1170) calls [Codeunit 710 Math](https://jonas-paprotka.de/ref/codeunit/710-math/) `Sign`
- [1170](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/source/#L1170) calls [Codeunit 710 Math](https://jonas-paprotka.de/ref/codeunit/710-math/) `Sign`

## Source

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

JOP-AL, 2026-11-20.
