---
id: change/bcapps/11938
type: change
title: "#11938 Bug 650344: [Subcontracting] Prevent cancellation of vendor-supplied component lines"
summary: Subcontracting planning no longer proposes cancellation actions for vendor-supplied component purchase lines, preventing unintended line removals during regenerative planning.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit subc. planning line mgmt ext.
system: manufacturing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:03:35.613Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 243f0176296a6794052ef03e55a4c42376605560
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11938
    title: "microsoft/BCApps#11938: Bug 650344: [Subcontracting] Prevent cancellation of vendor-supplied component lines"
    date: "2026-09-28"
    commit: 243f0176296a6794052ef03e55a4c42376605560
    t: null
    quote: Exclude vendor-supplied subcontracting component purchase lines from planning supply.
links:
  learn: []
  objects:
    - object/codeunit/20518
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11938
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11938
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-28T10:54:08Z"
author: ChethanT
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 75
  deletions: 0
  al: 1
apps:
  - Subcontracting
objects_touched:
  - key: codeunit/20518
    page: codeunit/20518
    type: codeunit
    id: 20518
    name: Subc. Planning Line Mgmt Ext.
    app: Subcontracting
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 11964
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/11964
fixes_issues: []
work_items:
  - 650344
systems:
  - manufacturing
quote: Exclude vendor-supplied subcontracting component purchase lines from planning supply.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11938 Bug 650344: [Subcontracting] Prevent cancellation of vendor-supplied component lines

> Subcontracting planning no longer proposes cancellation actions for vendor-supplied component purchase lines, preventing unintended line removals during regenerative planning.

[Pull request](https://github.com/microsoft/BCApps/pull/11938) · merged into `main` (BC30) on 2026-09-28 by ChethanT · 2 files (+75 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Vendor-supplied component lines are excluded from planning supply calculations
- Regenerative planning no longer generates Cancel requisition lines for these components
- Regression test added to ensure the fix prevents future cancellation proposals
- Change affects only subcontracting planning behavior
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 20518 "Subc. Planning Line Mgmt Ext."](../../objects/codeunit/20518.md), Subcontracting: modified

## Also merged into

- [#11964](https://github.com/microsoft/BCApps/pull/11964) into `releases/29.x` on 2026-10-01

## Context

- Work items: AB#650344
- Labels: AL: Apps (W1), Team: SCM
- Systems: manufacturing
- From the description: "Exclude vendor-supplied subcontracting component purchase lines from planning supply."

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