code change · featureSales & Receivablesofficial - Microsoftreviewed - checked by Opus

#9439 [Extensibility Request] issue 30330: add OnCancelInvoiceOnBeforeConfirm event

An integration event enables extensions to adjust the confirmation message shown when cancelling a posted sales invoice, ensuring the text matches any customized behavior for restoring quantities.

Pull request · merged into main (BC30) on 2026-07-24 by AleksandricMarko · 1 file (+9 -1), 1 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • New integration event OnCancelInvoiceOnBeforeConfirm in codeunit 1323
  • Confirmation text is now stored in a variable that subscribers can modify
  • Allows extensions to reflect customized order quantity behavior in the confirmation dialog
  • Integrates with existing extensibility for handling originating order quantities

AL objects touched

Context

  • Work items: AB#641733
  • Labels: Team: SCM, event-request
  • Systems: sales

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).