#9098 Align the Vend. Entry-Edit post-modify event with its Cust. Entry-Edit counterpart
The vendor entry-edit codeunit now raises an improved post-modify event that mirrors its customer counterpart, passing both the original and modified entry records for better context to event subscribers.
- 8files
- 8AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-09 by Franco111000 (community contribution) · 8 files (+128 -0), 8 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New event OnRunOnAfterVendLedgEntryModify added with the same signature as OnRunOnAfterCustLedgEntryModify from the customer counterpart
- Old misspelled event OnRunOnAfterVendLedgEntryMofidy obsoleted and guarded with CLEAN29 pattern to maintain backward compatibility
- Both event parameters passed by reference to provide full context to subscribers
- Change applied uniformly across W1 and all localization layers (APAC, CH, IT, NA, NL, NO, RU)
- No behavior changes to end users; change is event-focused for extension developers
AL objects touched
- Codeunit 113 “Vend. Entry-Edit”, Base Application: modified
src/Layers/APAC/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al: modified, not in the BC30 snapshotsrc/Layers/CH/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al: modified, not in the BC30 snapshotsrc/Layers/IT/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al: modified, not in the BC30 snapshotsrc/Layers/NA/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al: modified, not in the BC30 snapshotsrc/Layers/NL/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al: modified, not in the BC30 snapshotsrc/Layers/NO/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al: modified, not in the BC30 snapshot
Context
- Fixes: #8316 [Bug]: “Vend. Entry-Edit” wrong Event, not the same as in “Cust. Entry-Edit” (Latest BC Insider W1 29.0.50796.0) (closed)
- Work items: AB#641574
- Labels: ADO: Sync, From Fork, Team: Finance
- Systems: purchasing
- From the description: “The event name is misspelled, and it only exposes the modified entry.”
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).