#13439 Validate negative Reorder Quantity for Fixed Reorder Qty. planning
Item, Item Template, and Stockkeeping Unit now reject negative Reorder Quantities with a clear validation error, and planning failures for Fixed Reorder Qty. policy are replaced with actionable error messages.
- 18files
- 17AL files
- 4objects
Pull request · merged into main (BC30) on 2026-11-06 by alexei-dobriansky · 18 files (+184 -4), 17 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Reorder Quantity on Item, Item Templ. and Stockkeeping Unit now has MinValue = 0; Item and Item Templ. changes are propagated to country layers
- CalcReorderQty in Inventory Profile Offsetting raises a clear field error for negative values under Fixed Reorder Qty. instead of the internal ‘Inventory Profile does not exist’ error
- With planning resiliency, the error is written to the Planning Error Log with the actual value instead of a hard-coded 0
- Existing negative values are not migrated; zero quantities behave as before
- New SCM planning test covers the negative quantity error
- Behaviour changes for users or extensions.
AL objects touched
- Table 27 “Item”, Base Application: modified
- Table 1382 “Item Templ.”, Base Application: modified
- Table 5700 “Stockkeeping Unit”, Base Application: modified
- Codeunit 99000854 “Inventory Profile Offsetting”, Base Application: modified
Also merged into
- #13799 into
releases/29.xon 2026-11-10
Context
- Work items: AB#651103
- Labels: Team: SCM
- Systems: inventory
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Design details - Handling reordering policies — possibly related: Documents Fixed Reorder Qty. reordering policy and how planning system handles reorder quantities and validation. (model-linked)
- Setup best practices - Planning parameters — possibly related: Best practices for planning parameters including reorder point validation on item cards. (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).