---
id: change/bcapps/14539
type: change
title: "#14539 [Master]- Onward WIP shipment records the destination work center on the source operation's ledger entry"
summary: Fixes a subcontracting issue where posting an onward WIP shipment recorded the destination work center on the source operation's ledger entry. The posting logic in Subc. Transfer WIP Posting is corrected and new tests are added.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit subc. transfer wip posting
system: manufacturing
review:
  state: reviewed
  by: opus
  at: "2026-12-04T01:06:44.956Z"
  flags: []
generated:
  at: "2026-12-05T00:13:03.967Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 268ae60932ba5046709abbe4bf66ffa983c4ca61
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14539
    title: "microsoft/BCApps#14539: [Master]- Onward WIP shipment records the destination work center on the source operation's ledger entry"
    date: "2026-12-03"
    commit: 268ae60932ba5046709abbe4bf66ffa983c4ca61
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/20541
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/subcontract-wip-transfers
      title: Transfer WIP items between subcontractors
      label: possibly related
      why: Documents WIP item transfers between subcontractors and ledger entry recording
      by: model
number: 14539
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14539
kind: pr
base_branch: main
major: "30"
merged_at: "2026-12-03T05:35:21Z"
author: neeleshsinghal
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: 170
  deletions: 2
  al: 1
apps:
  - Subcontracting
objects_touched:
  - key: codeunit/20541
    page: codeunit/20541
    type: codeunit
    id: 20541
    name: Subc. Transfer WIP Posting
    app: Subcontracting
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 660674
systems:
  - manufacturing
quote: null
joined_against:
  major: "30"
  commit: f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671
---

# #14539 [Master]- Onward WIP shipment records the destination work center on the source operation's ledger entry

> Fixes a subcontracting issue where posting an onward WIP shipment recorded the destination work center on the source operation's ledger entry. The posting logic in Subc. Transfer WIP Posting is corrected and new tests are added.

[Pull request](https://github.com/microsoft/BCApps/pull/14539) · merged into `main` (BC30) on 2026-12-03 by neeleshsinghal · 2 files (+170 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Fixes the wrong work center on the source operation's ledger entry when posting an onward WIP shipment
- Fix is in codeunit 20541 Subc. Transfer WIP Posting
- Adds test coverage in SubcWIPTransferPostTest
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 20541 "Subc. Transfer WIP Posting"](../../objects/codeunit/20541.md), Subcontracting: modified

## Context

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

## Possibly related

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

- [Transfer WIP items between subcontractors](https://learn.microsoft.com/dynamics365/business-central/subcontract-wip-transfers) — possibly related: Documents WIP item transfers between subcontractors and ledger entry recording (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).
