---
id: change/bcapps/9079
type: change
title: "#9079 Bug 631472: Cost Shares Breakdown (WIP) does not filter by Item"
summary: Cost Shares Breakdown report now correctly filters capacity ledger entries by the selected item when printing WIP inventory costs, ensuring only the filtered item appears in the report.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - report cost shares breakdown
system: manufacturing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:13:20.864Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 12c22a51050426ebdf941c332b24210fe6842cb1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9079
    title: "microsoft/BCApps#9079: Bug 631472: Cost Shares Breakdown (WIP) does not filter by Item"
    date: "2026-07-09"
    commit: 12c22a51050426ebdf941c332b24210fe6842cb1
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/report/5848
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9079
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9079
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-09T12:48:01Z"
author: alexei-dobriansky
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 67
  deletions: 0
  al: 1
apps:
  - Base Application
objects_touched:
  - key: report/5848
    page: report/5848
    type: report
    id: 5848
    name: Cost Shares Breakdown
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 631472
systems:
  - manufacturing
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #9079 Bug 631472: Cost Shares Breakdown (WIP) does not filter by Item

> Cost Shares Breakdown report now correctly filters capacity ledger entries by the selected item when printing WIP inventory costs, ensuring only the filtered item appears in the report.

[Pull request](https://github.com/microsoft/BCApps/pull/9079) · merged into `main` (BC30) on 2026-07-09 by alexei-dobriansky · 2 files (+67 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Capacity ledger entries are now filtered to exclude items outside the request-page Item filter
- Uses the existing CopyFilters/IsEmpty pattern for consistency with WIP buffer filtering
- Added test case to verify only the filtered item is included in WIP output
- Behaviour changes for users or extensions.

## AL objects touched

- [Report 5848 "Cost Shares Breakdown"](../../objects/report/5848.md), Base Application: modified

## Context

- Work items: AB#631472
- Labels: Team: SCM
- Systems: manufacturing

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