---
id: change/bcapps/12143
type: change
title: "#12143 Bug 649440: [Subcontracting] [IT] Disable Legacy Subcontracting leaves Component Supply Method empty after conversion"
summary: The Italian subcontracting legacy migration now correctly maps the vendor's procurement setting to the component supply method for both production BOM lines and existing production-order components during conversion.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit it subc. migration
system: manufacturing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:02:03.524Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 3df81bcd9eff84993c51c80b4c20350665ee1f52
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12143
    title: "microsoft/BCApps#12143: Bug 649440: [Subcontracting] [IT] Disable Legacy Subcontracting leaves Component Supply Method empty after conversion"
    date: "2026-10-06"
    commit: 3df81bcd9eff84993c51c80b4c20350665ee1f52
    t: null
    quote: Component Supply Method remained blank on linked production BOM lines and existing production-order components.
links:
  learn: []
  objects:
    - object/codeunit/149951-it
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 12143
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12143
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-06T07:33:12Z"
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: 1282
  deletions: 0
  al: 1
apps:
  - SubcontractingMigrationIT
objects_touched:
  - key: codeunit/149951
    page: codeunit/149951-it
    type: codeunit
    id: 149951
    name: IT Subc. Migration
    app: SubcontractingMigrationIT
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 649440
systems:
  - manufacturing
quote: Component Supply Method remained blank on linked production BOM lines and existing production-order components.
joined_against:
  major: "30"
  commit: a4406cfa9e57437fedc49c53c327a199a854491e
---

# #12143 Bug 649440: [Subcontracting] [IT] Disable Legacy Subcontracting leaves Component Supply Method empty after conversion

> The Italian subcontracting legacy migration now correctly maps the vendor's procurement setting to the component supply method for both production BOM lines and existing production-order components during conversion.

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

## What changed

- Maps legacy vendor procurement settings to component supply method via routing links and work centers
- Handles both production BOM lines and existing production-order components
- Preserves existing nonblank methods and skips already-migrated rows for efficiency
- Evaluates routing versions, BOM/version date intervals, and handles family routings
- Extends pre-migration locking to all newly read source tables
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 149951 "IT Subc. Migration"](../../objects/codeunit/149951-it.md), SubcontractingMigrationIT (IT layer): modified

## Context

- Work items: AB#649440
- Labels: Team: SCM
- Systems: manufacturing
- From the description: "Component Supply Method remained blank on linked production BOM lines and existing production-order components."

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