code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#9850 Fix VariantCode lost during Contract Price Update proposal

Fixed variant code not being passed during subscription contract price updates, which caused the system to propose base item prices instead of variant-specific prices.

Pull request · merged into main (BC30) on 2026-07-31 by djukicmilica (community contribution) · 1 file (+4 -13), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Variant code from subscription header service object is now correctly passed to temporary sales and purchase lines
  • Added missing variant code assignment in the purchase line creation method
  • Pricing engine can now correctly identify and apply variant-specific prices
  • Behaviour changes for users or extensions.

AL objects touched

Context

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