#9571 [Master]-Opening price list from Customer Card is extremely slow on large datasets (~220s) due to AddAllSourceType call
Opening a price list from the Customer Card is made faster on large datasets, where it took around 220 seconds because of the AddAllSourceType call. The logic in Price List Management is reworked and UI tests are added.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-22 by neeleshsinghal · 2 files (+199 -9), 1 AL · performance · tier official · reviewed (checked by Opus)
What changed
- Addresses slow opening of price lists from the Customer Card on large datasets (~220s)
- Title attributes the slowness to the AddAllSourceType call
- Changes are in the Price List Management codeunit
- New tests added in the Price Lists UI test codeunit
AL objects touched
- Codeunit 7017 “Price List Management”, Base Application: modified
Context
- Work items: AB#641061
- Labels: Team: SCM
- 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).