---
id: change/bcapps/9898
type: change
title: "#9898 [Main]-The Reservation Entry does not exist error when creating a Purchase Order from a Sales Order"
summary: 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.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit item tracking management
  - codeunit sales line-planning
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:10:38.059Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: dede0873b3124d0f0841e606402095fbf97d2cc5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9898
    title: "microsoft/BCApps#9898: [Main]-The Reservation Entry does not exist error when creating a Purchase Order from a Sales Order"
    date: "2026-08-04"
    commit: dede0873b3124d0f0841e606402095fbf97d2cc5
    t: null
    quote: Revert back the changes of Pull Request 242051
links:
  learn: []
  objects:
    - object/codeunit/6500
    - object/codeunit/99000850
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9898
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9898
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-04T08:14:36Z"
author: DeepsShukla
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 10
  deletions: 81
  al: 2
apps:
  - Base Application
objects_touched:
  - key: codeunit/6500
    page: codeunit/6500
    type: codeunit
    id: 6500
    name: Item Tracking Management
    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:
  - 644925
systems:
  - inventory
  - sales
quote: Revert back the changes of Pull Request 242051
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

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

- [Codeunit 6500 "Item Tracking Management"](../../objects/codeunit/6500.md), Base Application: modified
- [Codeunit 99000850 "Sales Line-Planning"](../../objects/codeunit/99000850.md), Base Application: modified

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