code change · fixInventoryofficial - Microsoftreviewed - checked by Opus

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

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

Also merged into

  • #13799 into releases/29.x on 2026-11-10

Context

  • Work items: AB#651103
  • Labels: Team: SCM
  • Systems: inventory

No source states these links: they share an object, a model read them, or a person found the same subject.

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