#10220 [main] Calculate Inventory - Add check to skip report processing if Warehouse Entry table is empty
The Calculate Inventory report now skips its per-iteration Warehouse Entry processing when the Warehouse Entry table is completely empty. This avoids needless work in databases that have no warehouse entries.
- 2files
- 2AL files
- 1objects
Pull request · merged into main (BC30) on 2026-08-14 by JakovljevicDusan · 2 files (+14 -0), 2 AL · performance · tier official · reviewed (checked by Opus)
What changed
- Added a check for an empty Warehouse Entry table in the Calculate Inventory report
- When the table is empty, Warehouse Entry processing is skipped on each iteration
- Applied to both the W1 and RU Base Application layers
AL objects touched
- Report 790 “Calculate Inventory”, Base Application: modified
src/Layers/RU/BaseApp/Inventory/Counting/Journal/CalculateInventory.Report.al: modified, not in the BC30 snapshot
Context
- Work items: AB#646647
- Labels: Team: SCM
- Systems: inventory
- From the description: “Stop processing “Warehouse Entry” in each iteration when it is completely empty”
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).