code change · featureAL Developmentofficial - Microsoftreviewed - checked by Opus

#175 9 AL/BC patterns: document distribution, price calculation & barcode extensibility

Nine new AL/BC patterns document best practices for document distribution, report selections, price calculation extensibility, barcode usage, and posting-cascade field mirroring, with verified examples from Business Central source.

Pull request · merged into main on 2026-09-30 by MichaelDieringer · 30 files (+1644 -6), 28 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • Adds nine knowledge articles, each with bad and good AL examples
  • Covers document distribution: Report Selections usage, Print and Email actions, and Find Entries (Navigate) extensions
  • Covers pricing extensibility: price calculation handlers, price source types and custom price sources
  • Covers TransferFields field mirroring in posting cascades and barcode generation through the Barcode module
  • Updates the data-modeling review skill so these topics are in scope, and adds evaluation fixtures

AL objects touched

Context

  • Systems: development
  • From the description: “Nine rules about Business Central’s document distribution architecture and posting-cascade/pricing extensibility, verified against BCApps source and Microsoft Learn”

Source: metadata of a merged pull request in microsoft/BCQuality (bcquality): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).