code change · fixSales & Receivablesofficial - Microsoftreviewed - checked by Opus

#12998 [main] Discount is not taken into account on Renewal Offer using Sales Quote for Subscription Billing report layout.

The Subscription Billing renewal quote report now correctly applies discounts to line amounts, fixing a logic error that prevented discount copying to renewal subscription lines.

Pull request · merged into main (BC30) on 2026-10-26 by Shikhverma · 2 files (+49 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Discount percentage comparison logic was always false, blocking discount transfer
  • Discount is now properly applied after setting the renewal subscription line price
  • Added regression test confirming 50 price with 10% discount yields 45 total
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #13239 into releases/29.x on 2026-10-26

Context

  • Work items: AB#655904
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: sales
  • From the description: “A self-comparison of the discount percentage always evaluated to false, preventing the discount from being copied to the Sales Subscription Line.”

No source states these links: they share an object, a model read them, or a person found the same subject.

  • Contract Standard Sales Quote report — possibly related: Documents the Contract Standard Sales Quote report that extends sales quotes with subscription billing information. (model-linked)
  • Subscription contract renewal — possibly related: Documents subscription contract renewal using sales quotes and converting to orders to update subscription lines. (model-linked)

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