---
id: change/bcapps/11824
type: change
title: "#11824 [29.x][Subscription Billing] Sales-Explode BOM fails for foreign-currency customers"
summary: Sales Subscription Line creation now correctly handles cached Sales Line data during BOM explosion for foreign-currency customers, preventing 'does not exist' errors.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - table sales subscription line
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:03:35.613Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: c7edd022c974c5538af4c628d4e93f25ae8ff9d2
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11824
    title: "microsoft/BCApps#11824: [29.x][Subscription Billing] Sales-Explode BOM fails for foreign-currency customers"
    date: "2026-09-28"
    commit: c7edd022c974c5538af4c628d4e93f25ae8ff9d2
    t: null
    quote: Replace the direct SalesLine.Get() call with GetSalesLine(SalesLine) so the existing cached Sales Line is reused before falling back to the database lookup.
links:
  learn: []
  objects:
    - object/table/8068
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11824
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11824
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-09-28T15:09:14Z"
author: neeleshsinghal
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: 47
  deletions: 1
  al: 1
apps:
  - Subscription Billing
objects_touched:
  - key: table/8068
    page: table/8068
    type: table
    id: 8068
    name: Sales Subscription Line
    app: Subscription Billing
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 651262
systems:
  - development
quote: Replace the direct SalesLine.Get() call with GetSalesLine(SalesLine) so the existing cached Sales Line is reused before falling back to the database lookup.
joined_against:
  major: "29"
  commit: 1d24dd5ee2a734510f0556ccc69342d0e616db2f
---

# #11824 [29.x][Subscription Billing] Sales-Explode BOM fails for foreign-currency customers

> Sales Subscription Line creation now correctly handles cached Sales Line data during BOM explosion for foreign-currency customers, preventing 'does not exist' errors.

[Pull request](https://github.com/microsoft/BCApps/pull/11824) · merged into `releases/29.x` (BC29) on 2026-09-28 by neeleshsinghal · 2 files (+47 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- GetDate() in Sales Subscription Line now calls GetSalesLine() instead of SalesLine.Get()
- The in-memory Sales Line is reused before falling back to a database lookup
- Fixes 'The Sales Line does not exist' error when exploding an Assembly BOM for a foreign-currency customer
- Added a test for the scenario
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 8068 "Sales Subscription Line"](../../objects/table/8068.md), Subscription Billing: modified

## Context

- Work items: AB#651262
- Labels: AL: Apps (W1), Team: Finance
- Systems: development
- From the description: "Replace the direct SalesLine.Get() call with GetSalesLine(SalesLine) so the existing cached Sales Line is reused before falling back to the database lookup."

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