code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#9598 [main] bug 633618 - Add VAT Statement Calc. Events CZL codeunit and integrate with VAT Statement Calculation CZL

The local events of the internal codeunit VAT Statement Calculation CZL were moved to a new codeunit, VAT Statement Calc. Events CZL. Other apps can now subscribe to them, including the event that replaces the obsolete OnBeforeOpenPageVATEntryTotaling.

Pull request · merged into main (BC30) on 2026-07-23 by DavidHolusa · 4 files (+55 -20), 4 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • New codeunit 11775 VAT Statement Calc. Events CZL holds the VAT statement calculation events
  • Events moved out of the internal VAT Statement Calculation CZL codeunit
  • Lets extensions use the replacement for the obsolete OnBeforeOpenPageVATEntryTotaling event
  • VAT Statement Preview Line CZL page and the CZ Core Pack permission set updated

AL objects touched

Context

  • Work items: AB#633618
  • Labels: Team: Finance
  • Systems: finance, development
  • From the description: “Moved local events to separated codeunit “VAT Statement Calc. Events CZL””

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