#9452 [Extensibility Request] issue 30329: override confirmation text in CancelPostedInvoiceAndOpenSalesOrder
An integration event allows extensions to override the confirmation text when canceling a posted sales invoice, enabling accurate messaging when custom logic changes the behavior applied to the originating sales order.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-15 by AleksandricMarko · 1 file (+9 -1), 1 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New integration event
OnCancelPostedInvoiceAndOpenSalesOrderOnBeforeConfirmadded to codeunit 1322 - Extensions can now override confirmation question text instead of duplicating the procedure logic
- Confirmation text is stored in a variable before being shown to users
- Event exposes sales invoice header, sales header, and the confirmation text parameter
- Addresses inconsistency when extensions customize how posted invoice corrections affect originating order quantities
AL objects touched
- Codeunit 1322 “Correct PstdSalesInv (Yes/No)”, Base Application: modified
Context
- Work items: AB#641734
- Labels: Team: SCM, event-request
- Systems: sales
- From the description: “an extension can override the confirmation question text before it is shown, without duplicating the procedure’s logic”
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).