---
id: change/bcapps/12760
type: change
title: "#12760 [29.X]-Order Planning Calculate Plan Stops on Blocked Item and Does Not Process Remaining Valid Demand."
summary: Order Planning feature now correctly processes remaining valid demand items when a blocked item is encountered instead of stopping the entire calculation.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - codeunit order planning mgt.
  - table requisition line
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-10-16T01:17:10.624Z"
  flags: []
generated:
  at: "2026-11-25T00:13:20.045Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: ef2eb9af5f76d594503300770c60878ad4b6c502
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12760
    title: "microsoft/BCApps#12760: [29.X]-Order Planning Calculate Plan Stops on Blocked Item and Does Not Process Remaining Valid Demand."
    date: "2026-10-14"
    commit: ef2eb9af5f76d594503300770c60878ad4b6c502
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/5522
    - object/table/246
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/inventory-powerbi-purchase-and-sales-qty
      title: Purchase and Sales Quantity Power BI Report
      label: possibly related
      why: touches Table 246 "Requisition Line"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/inventory-powerbi-scheduled-receipt
      title: Scheduled Receipt Power BI Report
      label: possibly related
      why: touches Table 246 "Requisition Line"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/production-how-to-plan-for-new-demand
      title: Plan for New Demand Order by Order
      label: possibly related
      why: Explains order planning functionality to manually plan demand from various sources.
      by: model
    - to: https://learn.microsoft.com/dynamics365/business-central/production-how-to-run-mps-and-mrp
      title: Run Full Planning, MPS, or MRP
      label: possibly related
      why: Covers running planning calculations including MPS and MRP for processing demand.
      by: model
number: 12760
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12760
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-10-14T07:07:51Z"
author: neeleshsinghal
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 4
  additions: 354
  deletions: 6
  al: 3
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: table/246
    page: table/246
    type: table
    id: 246
    name: Requisition Line
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/IT/BaseApp/Inventory/Requisition/RequisitionLine.Table.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 653994
systems:
  - inventory
quote: null
joined_against:
  major: "29"
  commit: e646fc169eb3bb7b1947b2089ed943d91dec46b0
---

# #12760 [29.X]-Order Planning Calculate Plan Stops on Blocked Item and Does Not Process Remaining Valid Demand.

> Order Planning feature now correctly processes remaining valid demand items when a blocked item is encountered instead of stopping the entire calculation.

[Pull request](https://github.com/microsoft/BCApps/pull/12760) · merged into `releases/29.x` (BC29) on 2026-10-14 by neeleshsinghal · 4 files (+354 -6), 3 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Order planning calculation no longer stops when it reaches a blocked item
- Remaining valid demand is still processed after a blocked item
- Changes Order Planning Mgt. and the Requisition Line table in the W1 and IT layers
- Adds tests in SCM Order Planning II for the scenario
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 5522 "Order Planning Mgt."](../../objects/codeunit/5522.md), Base Application: modified
- [Table 246 "Requisition Line"](../../objects/table/246.md), Base Application: modified
- `src/Layers/IT/BaseApp/Inventory/Requisition/RequisitionLine.Table.al`: modified, not in the BC29 snapshot

## Context

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

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Purchase and Sales Quantity Power BI Report](https://learn.microsoft.com/dynamics365/business-central/inventory-powerbi-purchase-and-sales-qty) — possibly related: touches Table 246 "Requisition Line"
- [Scheduled Receipt Power BI Report](https://learn.microsoft.com/dynamics365/business-central/inventory-powerbi-scheduled-receipt) — possibly related: touches Table 246 "Requisition Line"
- [Plan for New Demand Order by Order](https://learn.microsoft.com/dynamics365/business-central/production-how-to-plan-for-new-demand) — possibly related: Explains order planning functionality to manually plan demand from various sources. (model-linked)
- [Run Full Planning, MPS, or MRP](https://learn.microsoft.com/dynamics365/business-central/production-how-to-run-mps-and-mrp) — possibly related: Covers running planning calculations including MPS and MRP for processing demand. (model-linked)

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