#9777 [Extensibility Request] issue 30377: add OnBeforePrintOnlyIfSalesCheck event in Item Sales Statistics report
Item Sales Statistics report now exposes an integration event that allows extensions to override the skip decision for items based on sales quantity before printing, enabling custom logic for alternate UOM scenarios.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-30 by AleksandricMarko · 1 file (+10 -1), 1 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New integration event OnAfterGetRecordItemOnBeforePrintOnlyIfSalesCheck allows subscribers to override the skip record decision
- Event fires after CalcFields calculates sales quantity but before CurrReport.Skip() executes
- Extensions can now influence whether items appear in the report output based on alternate-UOM sales figures
- Behavior remains unchanged when no subscribers are present
- Skip logic refactored from inline check into SkipRecord boolean variable
AL objects touched
- Report 10135 “Item Sales Statistics”, Base Application (CA layer): modified
Context
- Work items: AB#644155
- Labels: Team: SCM, event-request
- Systems: inventory
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Resource Usage and Sales Statistics (report) — possibly related: Resource and sales statistics reporting with date filtering and ledger entry analysis (model-linked)
- Sales Statistics (report) — possibly related: Sales statistics report with filtering and extensibility for sales analysis (model-linked)
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).