---
id: change/bcapps/12059
type: change
title: "#12059 [Master]-Reverse Production Entry fails when production output is posted using a non-base Unit of Measure."
summary: Reversing a production entry no longer fails when the production output was posted using a non-base unit of measure. The fix is in the Undo Prod. Posting Mgmt. codeunit.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit undo prod. posting mgmt.
system: manufacturing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:02:16.417Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 4515e4848d5c6becad687d2526f4e52beb6ca978
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12059
    title: "microsoft/BCApps#12059: [Master]-Reverse Production Entry fails when production output is posted using a non-base Unit of Measure."
    date: "2026-10-05"
    commit: 4515e4848d5c6becad687d2526f4e52beb6ca978
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/99000843
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 12059
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12059
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-05T19:03:34Z"
author: neeleshsinghal
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 65
  deletions: 2
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/99000843
    page: codeunit/99000843
    type: codeunit
    id: 99000843
    name: Undo Prod. Posting Mgmt.
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 652999
systems:
  - manufacturing
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #12059 [Master]-Reverse Production Entry fails when production output is posted using a non-base Unit of Measure.

> Reversing a production entry no longer fails when the production output was posted using a non-base unit of measure. The fix is in the Undo Prod. Posting Mgmt. codeunit.

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

## What changed

- Reversing production output posted with a non-base unit of measure previously failed
- Fix applied in codeunit Undo Prod. Posting Mgmt.
- New test added in SCM Production Orders II
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 99000843 "Undo Prod. Posting Mgmt."](../../objects/codeunit/99000843.md), Base Application: modified

## Context

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