#9351 [master]Subscription Billing: O(N²) contract-renewal detection in Sales-Post subscribers slows posting (~28% of batch CPU)
Contract renewal detection in the Subscription Billing Sales-Post subscribers was reworked to remove O(N²) behavior. Before the fix, this check took about 28% of batch posting CPU.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-16 by AndreasHans · 1 file (+72 -21), 1 AL · performance · tier official · reviewed (checked by Opus)
What changed
- Contract renewal detection in the Sales-Post subscribers no longer scales quadratically
- The old check took about 28% of batch posting CPU
- The change is limited to codeunit 8001 Sub. Contr. Renewal Subcribers
- Intended to speed up sales posting when Subscription Billing is used
AL objects touched
- Codeunit 8001 “Sub. Contr. Renewal Subcribers”, Subscription Billing: modified
Context
- Work items: AB#640070
- Labels: AL: Apps (W1)
- 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).