#10902 [Extensibility Request] issue 30424: add prepayment update event
A handled integration event was added to allow extensions to control prepayment amount updates when correcting posted sales invoices.
- 3files
- 3AL files
- 1objects
Pull request · merged into main (BC30) on 2026-09-02 by AleksandricMarko · 3 files (+57 -0), 3 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Handled integration event added in UpdateSalesOrderLinePrepmtAmount, before prepayment amounts are updated
- Fires after currency initialization in the Correct Posted Sales Invoice codeunit
- Subscribers can set it as handled to skip the standard prepayment amount updates
- Added in the W1, APAC and ES layers
AL objects touched
- Codeunit 1303 “Correct Posted Sales Invoice”, Base Application: modified
src/Layers/ES/BaseApp/Sales/History/CorrectPostedSalesInvoice.Codeunit.al: modified, not in the BC30 snapshot
Context
- Work items: AB#648506
- Labels: SCM, Team: SCM, event-request
- Systems: sales
- From the description: “Extensions need a supported way to prevent sales order prepayment amounts from being restored when correcting a posted sales invoice.”
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).