---
id: change/bcapps/14450
type: change
title: "#14450  [29.x] Reversed output entry stays uninvoiced (Invoiced Quantity = 0) after reopening a finished production order, causing quantity discrepancy in Inventory Valuation"
summary: After a finished production order is reopened, the reversed output entry no longer stays uninvoiced with Invoiced Quantity = 0. This removes the quantity discrepancy it caused in Inventory Valuation. The fix is in Calc. Inventory Adjmt. - Order.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - codeunit calc. inventory adjmt. - order
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-11-27T01:03:39.784Z"
  flags: []
generated:
  at: "2026-12-01T00:17:57.990Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 172abc08b982e6dba52fb4d1534000daa8fb2b0c
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14450
    title: "microsoft/BCApps#14450:  [29.x] Reversed output entry stays uninvoiced (Invoiced Quantity = 0) after reopening a finished production order, causing quantity discrepancy in Inventory Valuation"
    date: "2026-11-26"
    commit: 172abc08b982e6dba52fb4d1534000daa8fb2b0c
    t: null
    quote: Reversed output entry stays uninvoiced (Invoiced Quantity = 0) after reopening a finished production order
links:
  learn: []
  objects:
    - object/codeunit/5896
  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: Documents reversing production order transactions and reopening finished orders
      by: model
number: 14450
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14450
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-11-26T15:11:55Z"
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: 82
  deletions: 8
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/5896
    page: codeunit/5896
    type: codeunit
    id: 5896
    name: Calc. Inventory Adjmt. - Order
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 660441
systems:
  - inventory
quote: Reversed output entry stays uninvoiced (Invoiced Quantity = 0) after reopening a finished production order
joined_against:
  major: "29"
  commit: 34e1078527c84ba7c885b871a9be47229ba9e4f4
---

# #14450  [29.x] Reversed output entry stays uninvoiced (Invoiced Quantity = 0) after reopening a finished production order, causing quantity discrepancy in Inventory Valuation

> After a finished production order is reopened, the reversed output entry no longer stays uninvoiced with Invoiced Quantity = 0. This removes the quantity discrepancy it caused in Inventory Valuation. The fix is in Calc. Inventory Adjmt. - Order.

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

## What changed

- Reversed output entries are no longer left with Invoiced Quantity = 0 after a finished production order is reopened
- Removes the quantity discrepancy in Inventory Valuation
- Small change in the Calc. Inventory Adjmt. - Order codeunit
- Production order tests updated and extended
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 5896 "Calc. Inventory Adjmt. - Order"](../../objects/codeunit/5896.md), Base Application: modified

## Context

- Work items: AB#660441
- Labels: Team: SCM
- Systems: inventory
- From the description: "Reversed output entry stays uninvoiced (Invoiced Quantity = 0) after reopening a finished production order"

## 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: Documents reversing production order transactions and reopening finished orders (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).
