#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.
- 2files
- 1AL files
- 1objects
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
- Codeunit 7017 “Price List Management”, Base Application: modified
Context
- Work items: AB#658309
- Labels: Team: SCM
- Systems: development
Possibly related
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).