---
id: change/bcapps/12080
type: change
title: "#12080 Bug 649448: [Subcontracting] [IT] Fully received WIP purchase orders block Disable Legacy Subcontracting"
summary: Fully received work-in-progress purchase order lines no longer prevent disabling the Legacy Subcontracting feature.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit legacy subc. feature handler
system: manufacturing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:03:14.134Z"
  flags: []
generated:
  at: "2026-10-09T00:24:51.437Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 2816b3da92e409a97c1ae66a6963dc657eb740ee
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12080
    title: "microsoft/BCApps#12080: Bug 649448: [Subcontracting] [IT] Fully received WIP purchase orders block Disable Legacy Subcontracting"
    date: "2026-09-30"
    commit: 2816b3da92e409a97c1ae66a6963dc657eb740ee
    t: null
    quote: Fix the Legacy Subcontracting disable prerequisite so fully received WIP purchase order lines no longer count as open.
links:
  learn: []
  objects:
    - object/codeunit/99008501-it
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 12080
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12080
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-30T12:38:39Z"
author: ChethanT
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 46
  deletions: 0
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/99008501
    page: codeunit/99008501-it
    type: codeunit
    id: 99008501
    name: Legacy Subc. Feature Handler
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 12158
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/12158
fixes_issues: []
work_items:
  - 649448
systems:
  - manufacturing
quote: Fix the Legacy Subcontracting disable prerequisite so fully received WIP purchase order lines no longer count as open.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #12080 Bug 649448: [Subcontracting] [IT] Fully received WIP purchase orders block Disable Legacy Subcontracting

> Fully received work-in-progress purchase order lines no longer prevent disabling the Legacy Subcontracting feature.

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

## What changed

- Fixed a prerequisite check that incorrectly counted fully received WIP purchase orders as open
- Allows users to disable Legacy Subcontracting when WIP purchase orders are fully received
- Added regression test to verify the fix and prevent recurrence
- Verified the fix works correctly and does not break existing validation
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 99008501 "Legacy Subc. Feature Handler"](../../objects/codeunit/99008501-it.md), Base Application (IT layer): modified

## Also merged into

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

## Context

- Work items: AB#649448
- Labels: Team: SCM
- Systems: manufacturing
- From the description: "Fix the Legacy Subcontracting disable prerequisite so fully received WIP purchase order lines no longer count as open."

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