code change · fixInventoryofficial - Microsoftreviewed - checked by Opus

#9898 [Main]-The Reservation Entry does not exist error when creating a Purchase Order from a Sales Order

Reverts an earlier change (PR 242051) to Item Tracking Management and Sales Line-Planning that caused a 'Reservation Entry does not exist' error when creating a Purchase Order from a Sales Order. The earlier change had targeted reservation entries for serial numbers assigned in that flow.

Pull request · merged into main (BC30) on 2026-08-04 by DeepsShukla · 3 files (+10 -81), 2 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Reverts PR 242051, which dealt with reservation entries for serial numbers when creating a purchase order from a sales order card
  • Fixes the ‘Reservation Entry does not exist’ error when creating a purchase order from a sales order
  • Changes Item Tracking Management and Sales Line-Planning codeunits
  • Removes test code from SCM Order Planning III
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#644925
  • Labels: Team: SCM
  • Systems: inventory, sales
  • From the description: “Revert back the changes of Pull Request 242051”

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