---
id: change/bcapps/10298
type: change
title: "#10298 [main]A WIP Balance is presented incorrectly on the “Production Order – WIP” Report 5802 after Finishing Production Order Without Output Item Ledger Entry posted with new Manufacturing Setup option for no Output required."
summary: Report 5802 now displays a new Expensed WIP column to correctly show work-in-progress that was written off when production orders are finished without output, resolving a reconciliation issue with the general ledger.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - report inventory valuation - wip
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:07:35.899Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 507566aabd10dc2779ba0726507ca89a18a70c7b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10298
    title: "microsoft/BCApps#10298: [main]A WIP Balance is presented incorrectly on the “Production Order – WIP” Report 5802 after Finishing Production Order Without Output Item Ledger Entry posted with new Manufacturing Setup option for no Output required."
    date: "2026-08-25"
    commit: 507566aabd10dc2779ba0726507ca89a18a70c7b
    t: null
    quote: Added a dedicated "Expensed WIP" column to Report 5802 to represent the written-off WIP for production orders finished without output.
links:
  learn: []
  objects:
    - object/report/5802
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10298
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10298
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-25T05:39:41Z"
author: Shikhverma
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 5
  additions: 697
  deletions: 33
  al: 1
apps:
  - Base Application
objects_touched:
  - key: report/5802
    page: report/5802
    type: report
    id: 5802
    name: Inventory Valuation - WIP
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 604329
systems:
  - inventory
quote: Added a dedicated "Expensed WIP" column to Report 5802 to represent the written-off WIP for production orders finished without output.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10298 [main]A WIP Balance is presented incorrectly on the “Production Order – WIP” Report 5802 after Finishing Production Order Without Output Item Ledger Entry posted with new Manufacturing Setup option for no Output required.

> Report 5802 now displays a new Expensed WIP column to correctly show work-in-progress that was written off when production orders are finished without output, resolving a reconciliation issue with the general ledger.

[Pull request](https://github.com/microsoft/BCApps/pull/10298) · merged into `main` (BC30) on 2026-08-25 by Shikhverma · 5 files (+697 -33), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Added Expensed WIP column to Report 5802 to display WIP written off for production orders finished without output
- Created IsFinishedWithoutOutput helper to detect finished orders with no Output Item Ledger Entry
- WIP amounts are reclassified from ending balance to Expensed WIP column when orders lack output
- Report layout updated in RDLC, Word, and Excel formats to include the new column
- New test verifies Expensed WIP equals written-off cost and ending WIP shows zero
- Behaviour changes for users or extensions.

## AL objects touched

- [Report 5802 "Inventory Valuation - WIP"](../../objects/report/5802.md), Base Application: modified

## Context

- Work items: AB#604329
- Labels: Team: SCM
- Systems: inventory
- From the description: "Added a dedicated "Expensed WIP" column to Report 5802 to represent the written-off WIP for production orders finished without output."

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).
