code change · fixInventoryofficial - Microsoftreviewed - checked by Opus

#9788 [Master]-Incorrect Reservation Split Generated After Replanning a Replenishment Production Order Created by MRP Planning Run

Fixed incorrect reservation splits when replanning production orders with multiple component lines using the same item. The fix rebuilds the reservation split instead of only adjusting the delta.

Pull request · merged into main (BC30) on 2026-07-29 by neeleshsinghal · 2 files (+171 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Resolves issue where replanning kept old reservation splits and only adjusted deltas
  • Adds event subscriber OnAfterShouldDeleteReservEntry in manufacturing layer
  • Handles cases with same component item on multiple production order lines
  • No schema changes required
  • Includes test coverage for the fix
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#643972
  • Labels: Team: SCM
  • Systems: inventory
  • From the description: “replanning kept the old reservation split and only adjusted the delta, producing an incorrect reserved quantity per line”

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