---
id: change/bcapps/12690
type: change
title: '#12690 [Master]-You must assign a serial number for item xxx" when trying to reverse Capacity Ledger Entry'
summary: Manufacturing item journal posting no longer requires serial numbers for reversing capacity ledger entries with zero output, fixing an error when reversing capacity entries for serial-tracked items.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit mfg. item jnl.-post line
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-10-24T00:37:49.985Z"
  flags: []
generated:
  at: "2026-10-24T01:02:25.817Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 0f9dd6ac33e82c6f010a2c4bb22afb758a648cd5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12690
    title: 'microsoft/BCApps#12690: [Master]-You must assign a serial number for item xxx" when trying to reverse Capacity Ledger Entry'
    date: "2026-10-23"
    commit: 0f9dd6ac33e82c6f010a2c4bb22afb758a648cd5
    t: null
    quote: turn off item tracking for output lines that reverse a capacity entry (Rev. Capacity Ledger Entry No. <> 0) and have Output Quantity = 0
links:
  learn: []
  objects:
    - object/codeunit/99000822
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/design-details-general-journal-post-line-overview
      title: General Journal Post Line Overview
      label: possibly related
      why: Documents manufacturing journal posting and reverse operations, applicable to capacity ledger entry reversal
      by: model
    - to: https://learn.microsoft.com/dynamics365/business-central/inventory-how-work-item-tracking
      title: Track items with serial, lot, and package numbers
      label: possibly related
      why: Covers item tracking with serial numbers across transactions, relevant to serial number assignment in reversals
      by: model
number: 12690
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12690
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-23T08:41:08Z"
author: DeepsShukla
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 163
  deletions: 2
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/99000822
    page: codeunit/99000822
    type: codeunit
    id: 99000822
    name: Mfg. Item Jnl.-Post Line
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 656359
systems:
  - inventory
quote: turn off item tracking for output lines that reverse a capacity entry (Rev. Capacity Ledger Entry No. <> 0) and have Output Quantity = 0
joined_against:
  major: "30"
  commit: eb2bfe5258a473c969a6b85cdc98ce8524408706
---

# #12690 [Master]-You must assign a serial number for item xxx" when trying to reverse Capacity Ledger Entry

> Manufacturing item journal posting no longer requires serial numbers for reversing capacity ledger entries with zero output, fixing an error when reversing capacity entries for serial-tracked items.

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

## What changed

- Disabled item tracking for reversing capacity ledger entries that have zero output quantity
- Allows reversals of capacity entries without requiring serial number assignment
- Specifically targets lines where Rev. Capacity Ledger Entry No. is set and Output Quantity is 0
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 99000822 "Mfg. Item Jnl.-Post Line"](../../objects/codeunit/99000822.md), Base Application: modified

## Context

- Work items: AB#656359
- Labels: Team: SCM
- Systems: inventory
- From the description: "turn off item tracking for output lines that reverse a capacity entry (Rev. Capacity Ledger Entry No. <> 0) and have Output Quantity = 0"

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [General Journal Post Line Overview](https://learn.microsoft.com/dynamics365/business-central/design-details-general-journal-post-line-overview) — possibly related: Documents manufacturing journal posting and reverse operations, applicable to capacity ledger entry reversal (model-linked)
- [Track items with serial, lot, and package numbers](https://learn.microsoft.com/dynamics365/business-central/inventory-how-work-item-tracking) — possibly related: Covers item tracking with serial numbers across transactions, relevant to serial number assignment in reversals (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).
