code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#13786 [29.X]-Sales/Purchase Price List activation allows Duplicate Lines when the Price List is Inactive.

Activating a sales or purchase price list no longer allows duplicate lines that were added while the price list was inactive. The fix is a one-line change in Price List Management, with a new unit test.

Pull request · merged into releases/29.x (BC29) on 2026-11-26 by neeleshsinghal · 2 files (+61 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Activating a price list no longer lets duplicate lines through
  • Affects lines added while the price list was inactive
  • Applies to both sales and purchase price lists
  • One-line fix in the Price List Management codeunit
  • Unit test added in Price List Header UT
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#658309
  • Labels: Team: SCM
  • Systems: development

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

  • Set up prices and discounts — possibly related: Documents sales and purchase price list setup and management relevant to Price List activation. (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).