code change · featureAL Developmentofficial - Microsoftreviewed - checked by Opus

#10169 [Extensibility Request] issue 30081: add VAT registration number override event

An integration event allows extensions to override VAT registration number formatting in Intrastat reports before standard concatenation logic runs.

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

What changed

  • New OnBeforeGetVATRegNo integration event in GetVATRegNo of IntrastatReportManagement
  • Subscribers can return their own VAT registration number and set IsHandled to skip the standard concatenation
  • Lets extensions avoid invalid partner VAT IDs when the stored number already includes the country prefix

AL objects touched

Context

  • Work items: AB#635857
  • Labels: AL: Apps (W1), Team: Finance, event-request
  • Systems: development

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