---
id: change/bcapps/10156
type: change
title: "#10156 [Bug][SubscriptionBilling] Assign Subscription Lines dialog does not identify the sales line it was opened for"
summary: The Assign Subscription Lines dialog caption now shows the sales line No. and Description, and a new event lets extensions supply their own caption. During Explode BOM, package assignment now runs only once per component line, so the dialog no longer opens twice per component.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit sales subscription line mgmt.
  - tableextension sales line
  - page assign service commitments
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: bbd83b641b97ecb0fabc7bbd6651fea278176783
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10156
    title: "microsoft/BCApps#10156: [Bug][SubscriptionBilling] Assign Subscription Lines dialog does not identify the sales line it was opened for"
    date: "2026-09-28"
    commit: bbd83b641b97ecb0fabc7bbd6651fea278176783
    t: null
    quote: The Assign Subscription Lines page gave the user no way to tell which sales line it was opened for.
links:
  learn: []
  objects:
    - object/codeunit/8069
    - object/tableextension/8054
    - object/page/8065
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10156
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10156
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-28T16:49:07Z"
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: 4
  additions: 318
  deletions: 0
  al: 3
apps:
  - Subscription Billing
objects_touched:
  - key: codeunit/8069
    page: codeunit/8069
    type: codeunit
    id: 8069
    name: Sales Subscription Line Mgmt.
    app: Subscription Billing
    status: modified
  - key: tableextension/8054
    page: tableextension/8054
    type: tableextension
    id: 8054
    name: Sales Line
    app: Subscription Billing
    status: modified
  - key: page/8065
    page: page/8065
    type: page
    id: 8065
    name: Assign Service Commitments
    app: Subscription Billing
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues:
  - 9965
work_items:
  - 650454
systems:
  - development
quote: The Assign Subscription Lines page gave the user no way to tell which sales line it was opened for.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10156 [Bug][SubscriptionBilling] Assign Subscription Lines dialog does not identify the sales line it was opened for

> The Assign Subscription Lines dialog caption now shows the sales line No. and Description, and a new event lets extensions supply their own caption. During Explode BOM, package assignment now runs only once per component line, so the dialog no longer opens twice per component.

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

## What changed

- Page 8065 caption shows the sales line No. and Description instead of the Subscription Package code
- The previous caption is kept when the page is opened from a Subscription Header
- New event OnAfterGetAssignSubscriptionLinesCaption lets extensions customize the caption
- During Explode BOM the No. validation path is skipped for the line being exploded, so duplicate dialogs no longer appear
- Fixes a latent defect where Sales Subscription Lines were committed before their sales line was inserted
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 8069 "Sales Subscription Line Mgmt."](../../objects/codeunit/8069.md), Subscription Billing: modified
- [Table extension 8054 "Sales Line"](../../objects/tableextension/8054.md), Subscription Billing: modified
- [Page 8065 "Assign Service Commitments"](../../objects/page/8065.md), Subscription Billing: modified

## Context

- Fixes: [#9965 [Bug][SubscriptionBilling] Assign Subscription Lines dialog does not identify the sales line it was opened for](https://github.com/microsoft/BCApps/issues/9965) (closed)
- Work items: AB#650454
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Team: Finance
- Systems: development
- From the description: "The Assign Subscription Lines page gave the user no way to tell which sales line it was opened for."

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