code change · featurePlatform, DevOps & Performanceofficial - Microsoftreviewed - checked by Opus

#9094 Add shared CompanyMetadata data source for report layouts

A shared CompanyMetadata data source is now available for report layouts to bind company information, eliminating the need for each report to manually code Company Information fields.

Pull request · merged into main (BC30) on 2026-08-03 by v-mortenr (community contribution) · 4 files (+561 -0), 2 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • ReportManagement subscribes to the GetCompanyMetadata business event and populates a shared company block with name, address, contact details, bank information, and identifiers
  • New Company Metadata Builder codeunit provides typed setters to centralize wire keys and avoid hand-written key strings
  • Company display name uses CompanyProperty.DisplayName() to align with how ReportRequest is built
  • Empty Company Information fields produce present-but-empty values in the data source
  • Tests-Report coverage validates values, captions, display-name logic, empty-safe behavior, and address repeater functionality
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#640703
  • Labels: ADO: Sync, From Fork, Team: Integrations
  • Systems: platform
  • From the description: “Adds a shared CompanyMetadata data source so report layouts can bind one shared company block instead of each report hand-coding Company Information fields.”

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