code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#11218 [master] - Subscription Contract Price Update applies the lowest sales price across all Unit of Measure codes instead of respecting Unit-Specific Price List entries in Subscription Billing.

Subscription Contract Price Update now correctly respects unit-specific price list entries when calculating prices instead of applying the lowest price across all units of measure.

Pull request · merged into main (BC30) on 2026-09-10 by DhavalMore88 (community contribution) · 3 files (+72 -6), 2 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Fixed price calculation to filter by the subscription’s specific unit of measure
  • Updated CreateTempSalesLine and CreateTempPurchaseLine procedures to populate Unit of Measure Code
  • Ensured temporary sales/purchase lines pass the correct Unit of Measure for accurate price filtering
  • Added test coverage to validate unit-specific price list behavior
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#649438
  • 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).