---
id: change/bcapps/9445
type: change
title: "#9445 [Extensibility Request] issue 30173: add integration events to Sales Line Discounts page"
summary: 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.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - page sales line discounts
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:12:22.579Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 75d5da90a9d83b746f02216cae0810afa6c222ea
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9445
    title: "microsoft/BCApps#9445: [Extensibility Request] issue 30173: add integration events to Sales Line Discounts page"
    date: "2026-07-15"
    commit: 75d5da90a9d83b746f02216cae0810afa6c222ea
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/page/7004
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9445
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9445
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-15T14:25:24Z"
author: AleksandricMarko
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
  - event-request
change_class: code
change_kind: feature
behavior_change: false
breaking: false
files:
  count: 1
  additions: 25
  deletions: 0
  al: 1
apps:
  - Base Application
objects_touched:
  - key: page/7004
    page: page/7004
    type: page
    id: 7004
    name: Sales Line Discounts
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 637953
systems:
  - sales
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #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](https://github.com/microsoft/BCApps/pull/9445) · 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

- [Page 7004 "Sales Line Discounts"](../../objects/page/7004.md), Base Application: modified

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