---
id: change/bcapps/11481
type: change
title: "#11481 [Master] - Bug 648681: [Expense Agent] Fix Expense Agent KPI report-line drill-down filter"
summary: The Expense Agent KPI drill-down filter now correctly shows only expense report lines for the selected report instead of displaying unrelated lines.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page ea kpi entries
  - table ea kpi entry
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:04:51.214Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 90d71453f46ebff7813c51eca6646ae562a2c679
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11481
    title: "microsoft/BCApps#11481: [Master] - Bug 648681: [Expense Agent] Fix Expense Agent KPI report-line drill-down filter"
    date: "2026-09-15"
    commit: 90d71453f46ebff7813c51eca6646ae562a2c679
    t: null
    quote: Filter the Expense Report Line record by Document No. before finding and opening the report lines.
links:
  learn: []
  objects:
    - object/page/7075
    - object/table/6951
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11481
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11481
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-15T17:11:09Z"
author: v-rohangarg20
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 18
  deletions: 1
  al: 2
apps:
  - ExpenseAgent
objects_touched:
  - key: page/7075
    page: page/7075
    type: page
    id: 7075
    name: EA KPI Entries
    app: ExpenseAgent
    status: modified
  - key: table/6951
    page: table/6951
    type: table
    id: 6951
    name: EA KPI Entry
    app: ExpenseAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 648681
systems:
  - development
quote: Filter the Expense Report Line record by Document No. before finding and opening the report lines.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11481 [Master] - Bug 648681: [Expense Agent] Fix Expense Agent KPI report-line drill-down filter

> The Expense Agent KPI drill-down filter now correctly shows only expense report lines for the selected report instead of displaying unrelated lines.

[Pull request](https://github.com/microsoft/BCApps/pull/11481) · merged into `main` (BC30) on 2026-09-15 by v-rohangarg20 · 2 files (+18 -1), 2 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Filters Expense Report Line records by Document No. before opening the Expense Report Lines page
- Ensures the filtered record set is passed to the page to show all and only lines for the selected report
- Fixes drill-down behavior in Expense Agent KPI entries
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 7075 "EA KPI Entries"](../../objects/page/7075.md), ExpenseAgent: modified
- [Table 6951 "EA KPI Entry"](../../objects/table/6951.md), ExpenseAgent: modified

## Context

- Work items: AB#648681
- Labels: AL: Apps (W1), Team: Finance
- Systems: development
- From the description: "Filter the Expense Report Line record by Document No. before finding and opening the report lines."

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