#10898 [Extensibility Request] issue 30434: add purchase prepayment amount event
An extensibility event allows purchase prepayment amount calculations to be overridden by extensions, matching the existing sales prepayment extensibility.
- 6files
- 6AL files
- 1objects
Pull request · merged into main (BC30) on 2026-09-17 by AleksandricMarko · 6 files (+77 -6), 6 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Added OnBeforePrepmtAmount event to codeunit 444 Purchase-Post Prepayments
- Event supports overridable result parameter for custom calculation logic
- Event propagated across all localization layers (W1, APAC, ES, IT, NA, NL)
- Provides parity with existing sales prepayment extensibility
AL objects touched
- Codeunit 444 “Purchase-Post Prepayments”, Base Application: modified
src/Layers/ES/BaseApp/Purchases/Posting/PurchasePostPrepayments.Codeunit.al: modified, not in the BC30 snapshotsrc/Layers/NL/BaseApp/Purchases/Posting/PurchasePostPrepayments.Codeunit.al: modified, not in the BC30 snapshot
Context
- Work items: AB#647921
- Labels: Team: SCM, event-request
- Systems: purchasing
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).