---
id: change/bcapps/12520
type: change
title: "#12520 [29.X]-Reverse Production Entry fails when production output is posted using a non-base Unit of Measure"
summary: Reverse Production Entry now correctly handles production output posted using non-base units of measure.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - codeunit undo prod. posting mgmt.
system: manufacturing
review:
  state: reviewed
  by: opus
  at: "2026-11-03T00:58:53.877Z"
  flags: []
generated:
  at: "2026-11-06T00:17:27.413Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 5754c7b486784d2a56d56714f3c810b52f7ffd10
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12520
    title: "microsoft/BCApps#12520: [29.X]-Reverse Production Entry fails when production output is posted using a non-base Unit of Measure"
    date: "2026-11-02"
    commit: 5754c7b486784d2a56d56714f3c810b52f7ffd10
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/99000843
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/production-cancel-production-orders-that-have-consumption
      title: Reverse and correct production order transactions
      label: possibly related
      why: Explains reversing production order transactions including undo functionality for output entries.
      by: model
    - to: https://learn.microsoft.com/dynamics365/business-central/inventory-how-setup-units-of-measure
      title: Set up item units of measure
      label: possibly related
      why: Covers units of measure setup for items, relevant to the non-base UOM issue in the fix.
      by: model
number: 12520
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12520
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-11-02T13:21:46Z"
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: 180
  deletions: 6
  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:
  - 653412
systems:
  - manufacturing
quote: null
joined_against:
  major: "29"
  commit: 8e740e5061595dd231c4a2d9d453c86c84ec76ae
---

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

> Reverse Production Entry now correctly handles production output posted using non-base units of measure.

[Pull request](https://github.com/microsoft/BCApps/pull/12520) · merged into `releases/29.x` (BC29) on 2026-11-02 by neeleshsinghal · 2 files (+180 -6), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Fixed issue where reversing production entries failed with non-base units of measure
- Updated undo production posting management logic to handle unit of measure conversions
- Added test coverage for production entry reversal with non-base units
- 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#653412
- Labels: 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.

- [Reverse and correct production order transactions](https://learn.microsoft.com/dynamics365/business-central/production-cancel-production-orders-that-have-consumption) — possibly related: Explains reversing production order transactions including undo functionality for output entries. (model-linked)
- [Set up item units of measure](https://learn.microsoft.com/dynamics365/business-central/inventory-how-setup-units-of-measure) — possibly related: Covers units of measure setup for items, relevant to the non-base UOM issue in the fix. (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).
