---
id: object/codeunit/113
type: object
title: Codeunit 113 "Vend. Entry-Edit"
summary: Codeunit 113 "Vend. Entry-Edit" in Base Application (Microsoft.Purchases.Payables). 1 public procedures, 6 events. Present since at least BC23, still in BC30, changed in BC27, BC29.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "29"
  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: 7d81a3e23b17efccec67f98cdb41ffabdd0566a696814815d261e249c3b6e208
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al
    title: src/Layers/W1/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/ru
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9098
object_type: codeunit
object_id: 113
name: Vend. Entry-Edit
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:
  - "27"
  - "29"
source_major: "29"
obsolete: null
countries:
  - ru
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 8
  events: 6
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 18
  implements: 0
---

# Codeunit 113 "Vend. Entry-Edit"

> Codeunit 113 "Vend. Entry-Edit" in Base Application (Microsoft.Purchases.Payables). 1 public procedures, 6 events. Present since at least BC23, still in BC30, changed in BC27, BC29.

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

## Properties

| Property | Value |
|---|---|
| TableNo | Vendor Ledger Entry |
| Permissions | TableData "Vendor Ledger Entry" = m, TableData "Detailed Vendor Ledg. Entry" = m |

## Events published

- `OnBeforeVendLedgEntryModify(var VendLedgEntry: Record "Vendor Ledger Entry"; FromVendLedgEntry: Record "Vendor Ledger Entry")` (integration)
- `OnBeforeOnRun(var VendorLedgerEntryRec: Record "Vendor Ledger Entry"; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var DetailedVendLedgerEntry: Record "Detailed Vendor Ledg. Entry"; var IsHandled: Boolean)` (integration)
- `OnRunOnBeforeDtldVendLedgEntryModifyAll(FromVendLedgEntry: Record "Vendor Ledger Entry"; var DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; var VendLedgEntry: Record "Vendor Ledger Entry")` (integration)
- `OnRunOnAfterVendLedgEntryMofidy(var VendorLedgerEntry: Record "Vendor Ledger Entry")` (integration, obsolete 29.0)
- `OnRunOnAfterVendLedgEntryModify(var VendorLedgerEntryRec: Record "Vendor Ledger Entry"; var VendorLedgerEntry: Record "Vendor Ledger Entry")` (integration): Raised after the vendor ledger entry has been modified.
- `OnAfterLogFieldChanged(CurrVendorLedgerEntry: Record "Vendor Ledger Entry"; NewVendorLedgerEntry: Record "Vendor Ledger Entry"; var Changed: Boolean)` (integration)

## Procedures

- `SetOnHold(var VendorLedgerEntry: Record "Vendor Ledger Entry"; NewOnHold: Code[3])`

Plus 1 local procedures.

## Triggers

OnRun

## Relations

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

## Called by

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.

- [Page 233 "Apply Vendor Entries"](../page/233.md) (3 calls: `OnModifyRecord → (object)`, `RunVendEntryEdit → (object)`, `SetApplyingVendLedgEntryDirect → (object)`)
- [Table 81 "Gen. Journal Line"](../table/81.md) (3 calls: `ClearCustVendApplnEntry → (object)`, `RenumberAppliesToID → (object)`, `SetApplyToAmount → (object)`)
- [Codeunit 370 "Bank Acc. Reconciliation Post"](../codeunit/370.md) (2 calls: `ApplyVendLedgEntry → (object)`, `VendEntryEditNoCommit → (object)`)
- [Report 393 "Suggest Vendor Payments"](../report/393.md) (2 calls: `GetVendLedgEntries → (object)`, `MakeGenJnlLines → (object)`)
- [Codeunit 1207 "Pmt Export Mgt Vend Ledg Entry"](../codeunit/1207.md) (1 call: `SetExportFlagOnVendorLedgerEntries → (object)`)
- [Codeunit 1250 "Match General Journal Lines"](../codeunit/1250.md) (1 call: `PrepareVendorLedgerEntryForApplication → (object)`)
- [Codeunit 1255 "Match Bank Payments"](../codeunit/1255.md) (1 call: `SetVendAppicationData → (object)`)
- [Codeunit 1278 "Exp. User Feedback Gen. Jnl."](../codeunit/1278.md) (1 call: `SetExportFlagOnAppliedVendorLedgerEntry → (object)`)
- [Codeunit 1404 "Purch. Cr. Memo. Hdr. - Edit"](../codeunit/1404.md) (1 call: `UpdateVendorLedgerEntry → (object)`)
- [Codeunit 1405 "Purch. Inv. Header - Edit"](../codeunit/1405.md) (1 call: `UpdateVendorLedgerEntry → (object)`)
- [Codeunit 20111 "AMC Bank Exp. CT Feedback"](../codeunit/20111.md) (1 call: `SetExportFlagOnAppliedVendorLedgerEntry → (object)`)
- [Codeunit 227 "VendEntry-Apply Posted Entries"](../codeunit/227.md) (1 call: `ApplyVendEntryFormEntry → (object)`)
- [Codeunit 6620 "Copy Document Mgt."](../codeunit/6620.md) (1 call: `UpdateVendLedgEntry → (object)`)
- [Page 1159 "Purchase Documents"](../page/1159.md) (1 call: `OnModifyRecord → (object)`)
- [Page 1190 "Create Payment"](../page/1190.md) (1 call: `MakeGenJnlLines → (object)`)
- [Page 29 "Vendor Ledger Entries"](../page/29.md) (1 call: `OnModifyRecord → (object)`)
- [Table 1294 "Applied Payment Entry"](../table/1294.md) (1 call: `ClearVendApplicationData → (object)`)
- [Table 38 "Purchase Header"](../table/38.md) (1 call: `SetAmountToApply → (object)`)

## Recent changes

- 2026-07-09 [#9098 Align the Vend. Entry-Edit post-modify event with its Cust. Entry-Edit counterpart](../../changes/bcapps/9098.md) (main, BC30, feature)

## Across versions

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

## Countries that replace it

[RU](../../localizations/ru.md)

## Deprecations

- procedure OnRunOnAfterVendLedgEntryMofidy: Pending 29.0 (#if not CLEAN29), "Replaced by event OnRunOnAfterVendLedgEntryModify()"

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: "codeunit", object_name: "Vend. Entry-Edit")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
