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

#9445 [Extensibility Request] issue 30173: add integration events to Sales Line Discounts page

Two integration events are added to the Sales Line Discounts page to allow extensions to customize record filtering and resolve filter descriptions for item type values without modifying base code.

Pull request · merged into main (BC30) on 2026-07-15 by AleksandricMarko · 1 file (+25 -0), 1 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • OnSetRecFiltersOnBeforeCurrPageUpdate is raised in SetRecFilters before CurrPage.Update so subscribers can add filters
  • That event uses IncludeSender = true, matching existing events on the page
  • OnGetFilterDescriptionCaseElse is raised from a new else branch in GetFilterDescription for item type values other than Item and Item Discount Group
  • Event parameters use the page’s ItemTypeFilter option type; the requested enum does not exist yet

AL objects touched

Context

  • Work items: AB#637953
  • Labels: Team: SCM, event-request
  • Systems: sales

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