code change · fixInventoryofficial - Microsoftreviewed - checked by Opus

#9346 [master]-Cannot delete Project Planning Line due to incorrect reservation entries

Fixes a bug where a Project Planning Line could not be deleted because incorrect reservation entries existed. The fix is in the Inventory Profile Offsetting codeunit, which is used for planning, and a test was added for the scenario.

Pull request · merged into main (BC30) on 2026-07-28 by MSNehaNawal (community contribution) · 2 files (+123 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Changes reservation handling in codeunit Inventory Profile Offsetting
  • Addresses incorrect reservation entries that blocked deleting project planning lines
  • Adds a regression test to the SCM planning tests
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#642150
  • Labels: ADO: Sync, From Fork, Team: SCM
  • Systems: inventory
  • From the description: “Cannot delete Project Planning Line due to incorrect reservation entries”

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).