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

#9960 [Extensibility Request] issue 30396: expose sales document lookup

The lookup procedure in the Copy Sales Document report is now public, allowing report extensions to reuse the standard sales document selection logic without duplication.

Pull request · merged into main (BC30) on 2026-08-10 by AleksandricMarko · 2 files (+2 -2), 2 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • LookupSalesDoc procedure made public in Copy Sales Document report
  • Extensions can now invoke standard sales document lookup directly
  • Preserves all existing lookup behavior and filters
  • Change applied to both W1 and APAC layers
  • Eliminates need for extensions to duplicate lookup logic

AL objects touched

Context

  • Work items: AB#645112
  • Labels: Team: SCM, request-for-external
  • Systems: sales
  • From the description: “Extensions with custom source document types need to reuse the standard sales document lookup instead of duplicating its filters and selection behavior.”

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