---
id: change/bcapps/12188
type: change
title: "#12188 [Master]-Reserved quantities do not match the expected quantities after planning - regression due to correction"
summary: Fixes a regression, caused by an earlier correction, where reserved quantities did not match the expected quantities after planning. The change is in the Mfg. Invt. Profile Offsetting codeunit and comes with new tests.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit mfg. invt. profile offsetting
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:01:54.887Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 7bdff7f98d3deac13565d1eb2c9d37b211d003d7
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12188
    title: "microsoft/BCApps#12188: [Master]-Reserved quantities do not match the expected quantities after planning - regression due to correction"
    date: "2026-10-06"
    commit: 7bdff7f98d3deac13565d1eb2c9d37b211d003d7
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/99000869
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 12188
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12188
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-06T14:50:55Z"
author: neeleshsinghal
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 252
  deletions: 5
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/99000869
    page: codeunit/99000869
    type: codeunit
    id: 99000869
    name: Mfg. Invt. Profile Offsetting
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 653015
systems:
  - inventory
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #12188 [Master]-Reserved quantities do not match the expected quantities after planning - regression due to correction

> Fixes a regression, caused by an earlier correction, where reserved quantities did not match the expected quantities after planning. The change is in the Mfg. Invt. Profile Offsetting codeunit and comes with new tests.

[Pull request](https://github.com/microsoft/BCApps/pull/12188) · merged into `main` (BC30) on 2026-10-06 by neeleshsinghal · 2 files (+252 -5), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Fixes reserved quantities not matching expected quantities after planning
- Regression was introduced by an earlier correction
- Change is in codeunit Mfg. Invt. Profile Offsetting
- Adds tests in SCM Production Orders II
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 99000869 "Mfg. Invt. Profile Offsetting"](../../objects/codeunit/99000869.md), Base Application: modified

## Context

- Work items: AB#653015
- Labels: Team: SCM
- Systems: inventory

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