code change · fixInventoryofficial - Microsoftreviewed - checked by Opus

#10716 [Main] [ALL-E] "Item tracking is defined for item 1000 in the Requisition Line. You must delete the existing item tracking before modifying or deleting the Requisition line" err when creating a Purchase Order from a Sales Order including DROP Shipment Bug 643358

Fixes an error that occurred when creating a purchase order from a sales order with drop shipment, where item tracking validation was preventing requisition line operations.

Pull request · merged into main (BC30) on 2026-09-02 by Shikhverma · 3 files (+46 -3), 2 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Fixes the item tracking error raised for the requisition line when a purchase order is created from a sales order with drop shipment
  • Small changes in the Order Planning Mgt. and Sales Line-Planning codeunits
  • Adds a test for the scenario in SCM Order Planning III
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#648695
  • Labels: Team: SCM
  • Systems: inventory, sales

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