---
id: change/bcapps/10447
type: change
title: "#10447 [Bug][Subscription Billing] Price Update Template filters on Subscription Lines are overwritten by the proposal's own default filters"
summary: "Price Update Template filters on Subscription Lines are now correctly preserved instead of being overwritten by default filters. Two defects in the filter application logic were fixed: mandatory filters now use a separate filter group to intersect with template filters, and the Subscription Line record parameter is passed by reference to carry filters correctly."
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit price update management
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:03:33.442Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: bd0a2bbd3ac4a256a245910dac031dcc1f34df8e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10447
    title: "microsoft/BCApps#10447: [Bug][Subscription Billing] Price Update Template filters on Subscription Lines are overwritten by the proposal's own default filters"
    date: "2026-09-28"
    commit: bd0a2bbd3ac4a256a245910dac031dcc1f34df8e
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/8009
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10447
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10447
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-28T19:21:31Z"
author: miljance
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - "AL: Apps (W1)"
  - From Fork
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 206
  deletions: 5
  al: 1
apps:
  - Subscription Billing
objects_touched:
  - key: codeunit/8009
    page: codeunit/8009
    type: codeunit
    id: 8009
    name: Price Update Management
    app: Subscription Billing
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 12288
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/12288
fixes_issues:
  - 10358
work_items:
  - 651556
systems:
  - development
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10447 [Bug][Subscription Billing] Price Update Template filters on Subscription Lines are overwritten by the proposal's own default filters

> Price Update Template filters on Subscription Lines are now correctly preserved instead of being overwritten by default filters. Two defects in the filter application logic were fixed: mandatory filters now use a separate filter group to intersect with template filters, and the Subscription Line record parameter is passed by reference to carry filters correctly.

[Pull request](https://github.com/microsoft/BCApps/pull/10447) · merged into `main` (BC30) on 2026-09-28 by miljance (community contribution) · 2 files (+206 -5), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Mandatory default filters moved to FilterGroup(2) so they intersect with template filters instead of replacing them field by field
- Subscription Line record parameter changed from pass-by-value to pass-by-reference to preserve caller's filters
- Removed dead code checking Closed field since it's now a mandatory default filter
- Added comprehensive tests covering filter preservation, filter intersection, and exclusion scenarios
- Fixes issue where filtered-out subscription lines were still included in price update proposals
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 8009 "Price Update Management"](../../objects/codeunit/8009.md), Subscription Billing: modified

## Also merged into

- [#12288](https://github.com/microsoft/BCApps/pull/12288) into `releases/29.x` on 2026-10-06

## Context

- Fixes: [#10358 [Bug][Subscription Billing] Price Update Template filters on Subscription Lines are overwritten by the proposal's own default filters](https://github.com/microsoft/BCApps/issues/10358) (closed)
- Work items: AB#651556
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Team: Finance
- Systems: development

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