---
title: "Codeunit 113 Vend. Entry-Edit, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/points/
object: https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/
checked: 2026-11-20
changed: 2026-10-31
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/"
---

# Codeunit 113 Vend. Entry-Edit, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/points/

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

## OnRun

[Line 20](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L20), trigger.

- [28](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L28) raises `OnBeforeOnRun`, IsHandled
- [33](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L33) calls `GetPurchInvHeader`
- [40](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L40) calls `LogFieldChanged`
- [48](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L48) raises `OnRunOnBeforeDtldVendLedgEntryModifyAll`
- [49](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L49) writes [Table 380 Detailed Vendor Ledg. Entry](https://jonas-paprotka.de/ref/table/380-detailed-vendor-ledg-entry/) ModifyAll
- [52](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L52) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Payment Method Code`
- [53](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L53) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Payment Reference`
- [54](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L54) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Remaining Pmt. Disc. Possible`
- [56](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L56) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Max. Payment Tolerance`
- [57](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L57) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Accepted Payment Tolerance`
- [58](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L58) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Accepted Pmt. Disc. Tolerance`
- [59](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L59) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Amount to Apply`
- [60](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L60) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Applying Entry`
- [61](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L61) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Applies-to Ext. Doc. No.`
- [62](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L62) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Message to Recipient`
- [63](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L63) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Recipient Bank Account`
- [64](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L64) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Remit-to Code`
- [67](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L67) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Exported to Payment File`
- [68](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L68) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Creditor No.`
- [69](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L69) validates [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `Dispute Status`
- [70](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L70) raises `OnBeforeVendLedgEntryModify`
- [72](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L72) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) Modify
- [73](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L73) raises `OnRunOnAfterVendLedgEntryModify`
- [75](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L75) raises `OnRunOnAfterVendLedgEntryMofidy`
- [78](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L78) calls `UpdatePurchInvHeader`

## UpdatePurchInvHeader

[Line 99](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L99), local.

- [104](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L104) raises `OnBeforeUpdatePurchaseInvoiceHeader`, IsHandled
- [113](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L113) writes [Table 122 Purch. Inv. Header](https://jonas-paprotka.de/ref/table/122-purch-inv-header/) Modify(true)

## SetOnHold

[Line 120](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L120).

- [130](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L130) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) Modify

## LogFieldChanged

[Line 133](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L133), local.

- [144](https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/#L144) raises `OnAfterLogFieldChanged`

## Source

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

JOP-AL, 2026-11-20.
