code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#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 · 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

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