#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.
- 2files
- 1AL files
- 1objects
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
- Codeunit 99000869 “Mfg. Invt. Profile Offsetting”, Base Application: modified
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”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Run Full Planning, MPS, or MRP — possibly related: Documents MRP planning runs that create replenishment production orders affected by reservation splitting bug. (model-linked)
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).