---
id: change/bcapps/8754
type: change
title: "#8754 [Bug Fix] #638815: Subcontracting: actionable error for blank Subc. Location Code on WIP transfers"
summary: The subcontracting transfer order report now raises a clear validation error when the subcontractor has no Subc. Location Code configured for WIP transfers, instead of showing a generic unhelpful message.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - report subc. create transf. order
system: manufacturing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:10:38.059Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 297489b7425ac51b051cf178d4fe6c714ea2eee4
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/8754
    title: "microsoft/BCApps#8754: [Bug Fix] #638815: Subcontracting: actionable error for blank Subc. Location Code on WIP transfers"
    date: "2026-08-04"
    commit: 297489b7425ac51b051cf178d4fe6c714ea2eee4
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/report/20501
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 8754
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/8754
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-04T08:06:50Z"
author: ventselartur
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - Subcontracting
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 62
  deletions: 1
  al: 1
apps:
  - Subcontracting
objects_touched:
  - key: report/20501
    page: report/20501
    type: report
    id: 20501
    name: Subc. Create Transf. Order
    app: Subcontracting
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 638815
systems:
  - manufacturing
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #8754 [Bug Fix] #638815: Subcontracting: actionable error for blank Subc. Location Code on WIP transfers

> The subcontracting transfer order report now raises a clear validation error when the subcontractor has no Subc. Location Code configured for WIP transfers, instead of showing a generic unhelpful message.

[Pull request](https://github.com/microsoft/BCApps/pull/8754) · merged into `main` (BC30) on 2026-08-04 by ventselartur · 2 files (+62 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Replaces a silent exit with a TestField error on the vendor's blank Subc. Location Code in the WIP transfer path
- WIP transfer path now validates the location code the same way the components path does
- Users see an actionable misconfiguration error instead of the generic 'Nothing to create' message
- Regression test added to the WIP transfer create test codeunit
- Behaviour changes for users or extensions.

## AL objects touched

- [Report 20501 "Subc. Create Transf. Order"](../../objects/report/20501.md), Subcontracting: modified

## Context

- Work items: AB#638815
- Labels: AL: Apps (W1), Subcontracting, Team: SCM
- Systems: manufacturing

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