---
id: change/bcapps/10716
type: change
title: '#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'
summary: 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.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit order planning mgt.
  - codeunit sales line-planning
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:06:43.037Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 101ca85f5e03200251c89df05fdf6f66eb6380a8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10716
    title: 'microsoft/BCApps#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'
    date: "2026-09-02"
    commit: 101ca85f5e03200251c89df05fdf6f66eb6380a8
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/5522
    - object/codeunit/99000850
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10716
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10716
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-02T12:19:04Z"
author: Shikhverma
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 46
  deletions: 3
  al: 2
apps:
  - Base Application
objects_touched:
  - key: codeunit/5522
    page: codeunit/5522
    type: codeunit
    id: 5522
    name: Order Planning Mgt.
    app: Base Application
    status: modified
  - key: codeunit/99000850
    page: codeunit/99000850
    type: codeunit
    id: 99000850
    name: Sales Line-Planning
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 648695
systems:
  - inventory
  - sales
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #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](https://github.com/microsoft/BCApps/pull/10716) · 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

- [Codeunit 5522 "Order Planning Mgt."](../../objects/codeunit/5522.md), Base Application: modified
- [Codeunit 99000850 "Sales Line-Planning"](../../objects/codeunit/99000850.md), Base Application: modified

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