---
id: change/bcapps/11368
type: change
title: "#11368 [29.X]-[Subcontracting] Purchase Return Order cannot be posted for subcontracting, while Corrective Credit Memo works well"
summary: Fixed an issue where purchase return orders could not be posted for subcontracting operations, while corrective credit memos worked correctly.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - codeunit mfg. purchase document mgt.
system: manufacturing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:03:39.052Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: ef0c55077e0eb1da968a21a959b4c059bc159d81
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11368
    title: "microsoft/BCApps#11368: [29.X]-[Subcontracting] Purchase Return Order cannot be posted for subcontracting, while Corrective Credit Memo works well"
    date: "2026-09-28"
    commit: ef0c55077e0eb1da968a21a959b4c059bc159d81
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/99000789
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11368
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11368
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-09-28T07:41:41Z"
author: neeleshsinghal
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 4
  additions: 258
  deletions: 1
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/99000789
    page: codeunit/99000789
    type: codeunit
    id: 99000789
    name: Mfg. Purchase Document Mgt.
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 649809
systems:
  - manufacturing
quote: null
joined_against:
  major: "29"
  commit: 1d24dd5ee2a734510f0556ccc69342d0e616db2f
---

# #11368 [29.X]-[Subcontracting] Purchase Return Order cannot be posted for subcontracting, while Corrective Credit Memo works well

> Fixed an issue where purchase return orders could not be posted for subcontracting operations, while corrective credit memos worked correctly.

[Pull request](https://github.com/microsoft/BCApps/pull/11368) · merged into `releases/29.x` (BC29) on 2026-09-28 by neeleshsinghal · 4 files (+258 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Purchase return orders for subcontracting can now be posted successfully
- Aligns behavior between purchase return orders and corrective credit memos
- Modified manufacturing purchase document management logic
- Added test coverage for Belgium, Italy, and W1 regions
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 99000789 "Mfg. Purchase Document Mgt."](../../objects/codeunit/99000789.md), Base Application: modified

## Context

- Work items: AB#649809
- Labels: 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).
