---
id: object/table/5832
type: object
title: Table 5832 "Capacity Ledger Entry"
summary: Table 5832 "Capacity Ledger Entry" in Base Application (Microsoft.Manufacturing.Capacity). 39 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC26-28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 9a4989fbf205113f1e27cedeb872dff37806feeec53f5823cb5f949f1d450880
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Capacity/CapacityLedgerEntry.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Capacity/CapacityLedgerEntry.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/production-how-to-post-capacities
  objects: []
  features: []
  topics:
    - topic/business-central/analytics-business-intelligence-and-repo/built-in-reports/manufacture
    - topic/business-central/business-functionality/manufacturing
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5832
name: Capacity Ledger Entry
namespace: Microsoft.Manufacturing.Capacity
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
  - "27"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 39
  procedures: 4
  events: 0
  subscribers: 0
relations:
  out: 23
  referenced_by: 12
  pages: 1
  extended_by: 3
  event_subscribers: 1
  calls: 3
  called_by: 0
  implements: 0
---

# Table 5832 "Capacity Ledger Entry"

> Table 5832 "Capacity Ledger Entry" in Base Application (Microsoft.Manufacturing.Capacity). 39 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC26-28.

Base Application · Microsoft.Manufacturing.Capacity · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Capacity/CapacityLedgerEntry.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 5832 "Capacity Ledger Entries"](../page/5832.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Capacity Ledger Entry |
| DataClassification | CustomerContent |
| Permissions | TableData "Capacity Ledger Entry" = ri |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Entry No. | Integer | Specifies the number of the entry, as assigned from the specified number series when the entry was created. |  |
| 2 | No. | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. | TableRelation [Table 156 "Resource"](../table/156.md) (if (Type = const(Resource)) Resource) |
| 3 | Posting Date | Date | Specifies the posting date of the entry. |  |
| 4 | Type | Enum "Capacity Type Journal" | Specifies the type of capacity entry. | enum [Enum 5873 "Capacity Type Journal"](../enum/5873.md) |
| 6 | Document No. | Code[20] | Specifies the document number of the entry. |  |
| 7 | Description | Text[100] | Specifies a description of the entry. |  |
| 10 | Quantity | Decimal | Specifies the quantity of this entry, in base units of measure. |  |
| 15 | Invoiced Quantity | Decimal | — |  |
| 20 | Item Register No. | Integer | — | TableRelation [Table 46 "Item Register"](../table/46.md) (Item Register); not editable |
| 21 | SIFT Bucket No. | Integer | Specifies an automatically generated number that is used by the system to enable better concurrency. | not editable |
| 28 | Cap. Unit of Measure Code | Code[10] | Specifies the unit of measure code for the capacity usage. | TableRelation [Table 99000780 "Capacity Unit of Measure"](../table/99000780.md) (Capacity Unit of Measure) |
| 29 | Qty. per Cap. Unit of Measure | Decimal | — |  |
| 33 | Global Dimension 1 Code | Code[20] | Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company's most important activities, are available on all cards, documents, reports, and lists. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(1))) |
| 34 | Global Dimension 2 Code | Code[20] | Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company's most important activities, are available on all cards, documents, reports, and lists. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(2))) |
| 42 | Completely Invoiced | Boolean | Specifies if the entry has been fully invoiced or if more posted invoices are expected. |  |
| 56 | Item No. | Code[20] | Specifies the item number. | TableRelation [Table 27 "Item"](../table/27.md) |
| 57 | Variant Code | Code[10] | Specifies the variant of the item on the line. | TableRelation [Table 5401 "Item Variant"](../table/5401.md) ("Item Variant".Code where("Item No." = field("Item No."))) |
| 58 | Unit of Measure Code | Code[10] | — | TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md) ("Item Unit of Measure".Code where("Item No." = field("Item No."))) |
| 59 | Qty. per Unit of Measure | Decimal | — |  |
| 60 | Document Date | Date | — |  |
| 61 | External Document No. | Code[35] | — |  |
| 71 | Direct Cost | Decimal | Specifies the direct cost in LCY of the quantity posting. | FlowField: sum("Value Entry"."Cost Amount (Actual)" where("Capacity Ledger Entry No." = field("Entry No."), "Entry Type" = const("Direct Cost"))); not editable |
| 72 | Overhead Cost | Decimal | Specifies the overhead cost in LCY of the quantity posting. | FlowField: sum("Value Entry"."Cost Amount (Actual)" where("Capacity Ledger Entry No." = field("Entry No."), "Entry Type" = const("Indirect Cost"))); not editable |
| 76 | Direct Cost (ACY) | Decimal | Specifies the direct cost in the additional reporting currency. <small>via [Page 5832 "Capacity Ledger Entries"](../page/5832.md)</small> | FlowField: sum("Value Entry"."Cost Amount (Actual) (ACY)" where("Capacity Ledger Entry No." = field("Entry No."), "Entry Type" = const("Direct Cost"))); not editable |
| 77 | Overhead Cost (ACY) | Decimal | Specifies the overhead cost in the additional reporting currency. <small>via [Page 5832 "Capacity Ledger Entries"](../page/5832.md)</small> | FlowField: sum("Value Entry"."Cost Amount (Actual) (ACY)" where("Capacity Ledger Entry No." = field("Entry No."), "Entry Type" = const("Indirect Cost"))); not editable |
| 78 | Subcontracting | Boolean | — |  |
| 87 | Reversed | Boolean | Specifies if the entry has been part of a reverse transaction. |  |
| 88 | Reversed by Entry No. | Integer | Specifies the number of the correcting entry that replaced the original entry in the reverse transaction. | TableRelation [Table 5832 "Capacity Ledger Entry"](../table/5832.md) (Capacity Ledger Entry) |
| 89 | Reversed Entry No. | Integer | Specifies the number of the original entry that was undone by the reverse transaction. | TableRelation [Table 5832 "Capacity Ledger Entry"](../table/5832.md) (Capacity Ledger Entry) |
| 90 | Order Type | Enum "Inventory Order Type" | Specifies which type of order the entry was created in. | enum [Enum 90 "Inventory Order Type"](../enum/90.md); not editable |
| 91 | Order No. | Code[20] | Specifies the number of the order that created the entry. | not editable |
| 92 | Order Line No. | Integer | Specifies the line number of the order that created the entry. | not editable |
| 480 | Dimension Set ID | Integer | Specifies a reference to a combination of dimension values. The actual values are stored in the Dimension Set Entry table. | TableRelation [Table 480 "Dimension Set Entry"](../table/480.md) (Dimension Set Entry); not editable |
| 481 | Shortcut Dimension 3 Code | Code[20] | Specifies the code for Shortcut Dimension 3, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup("Dimension Set Entry"."Dimension Value Code" where("Dimension Set ID" = field("Dimension Set ID"), "Global Dimension No." = const(3))); not editable |
| 482 | Shortcut Dimension 4 Code | Code[20] | Specifies the code for Shortcut Dimension 4, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup("Dimension Set Entry"."Dimension Value Code" where("Dimension Set ID" = field("Dimension Set ID"), "Global Dimension No." = const(4))); not editable |
| 483 | Shortcut Dimension 5 Code | Code[20] | Specifies the code for Shortcut Dimension 5, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup("Dimension Set Entry"."Dimension Value Code" where("Dimension Set ID" = field("Dimension Set ID"), "Global Dimension No." = const(5))); not editable |
| 484 | Shortcut Dimension 6 Code | Code[20] | Specifies the code for Shortcut Dimension 6, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup("Dimension Set Entry"."Dimension Value Code" where("Dimension Set ID" = field("Dimension Set ID"), "Global Dimension No." = const(6))); not editable |
| 485 | Shortcut Dimension 7 Code | Code[20] | Specifies the code for Shortcut Dimension 7, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup("Dimension Set Entry"."Dimension Value Code" where("Dimension Set ID" = field("Dimension Set ID"), "Global Dimension No." = const(7))); not editable |
| 486 | Shortcut Dimension 8 Code | Code[20] | Specifies the code for Shortcut Dimension 8, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup("Dimension Set Entry"."Dimension Value Code" where("Dimension Set ID" = field("Dimension Set ID"), "Global Dimension No." = const(8))); not editable |

## Keys

- Key1: Entry No. (clustered)
- Key2: Document No., Posting Date
- Key3: Order Type, Order No., Order Line No.
- Key5: Type, No., Item No., Posting Date

## Trigger event subscribers

- OnAfterInsertEvent: [Codeunit 99000799 "Mfg. Posting Preview Handler"](../codeunit/99000799.md) OnInsertCapacityLedgerEntry

## Procedures

- `GetNextEntryNo(): Integer`
- `GetLastEntryNo(): Integer`
- `ShowDimensions()`

Plus 1 local procedures.

## Triggers

OnInsert

## Relations

- drill-down page [Page 5832 "Capacity Ledger Entries"](../page/5832.md)
- lookup page [Page 5832 "Capacity Ledger Entries"](../page/5832.md)
- No.: TableRelation [Table 156 "Resource"](../table/156.md)
- Item No.: TableRelation [Table 27 "Item"](../table/27.md)
- Global Dimension 1 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Global Dimension 2 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Item Register No.: TableRelation [Table 46 "Item Register"](../table/46.md)
- Shortcut Dimension 3 Code: CalcFormula [Table 480 "Dimension Set Entry"](../table/480.md)
- Shortcut Dimension 4 Code: CalcFormula [Table 480 "Dimension Set Entry"](../table/480.md)
- Shortcut Dimension 5 Code: CalcFormula [Table 480 "Dimension Set Entry"](../table/480.md)
- Shortcut Dimension 6 Code: CalcFormula [Table 480 "Dimension Set Entry"](../table/480.md)
- Shortcut Dimension 7 Code: CalcFormula [Table 480 "Dimension Set Entry"](../table/480.md)
- Shortcut Dimension 8 Code: CalcFormula [Table 480 "Dimension Set Entry"](../table/480.md)
- Dimension Set ID: TableRelation [Table 480 "Dimension Set Entry"](../table/480.md)
- Variant Code: TableRelation [Table 5401 "Item Variant"](../table/5401.md)
- Unit of Measure Code: TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md)
- Direct Cost: CalcFormula [Table 5802 "Value Entry"](../table/5802.md)
- Direct Cost (ACY): CalcFormula [Table 5802 "Value Entry"](../table/5802.md)
- Overhead Cost: CalcFormula [Table 5802 "Value Entry"](../table/5802.md)
- Overhead Cost (ACY): CalcFormula [Table 5802 "Value Entry"](../table/5802.md)
- Reversed by Entry No.: TableRelation [Table 5832 "Capacity Ledger Entry"](../table/5832.md)
- Reversed Entry No.: TableRelation [Table 5832 "Capacity Ledger Entry"](../table/5832.md)
- Cap. Unit of Measure Code: TableRelation [Table 99000780 "Capacity Unit of Measure"](../table/99000780.md)

## Referenced by

12 fields in 7 objects relate to this table (TableRelation or CalcFormula).

- [Table 5409 "Prod. Order Routing Line"](../table/5409.md): Posted Output Quantity, Posted Run Time, Posted Scrap Quantity, Posted Setup Time
- [Table 46 "Item Register"](../table/46.md): From Capacity Entry No., To Capacity Entry No.
- [Table 5832 "Capacity Ledger Entry"](../table/5832.md): Reversed by Entry No., Reversed Entry No.
- [Table 5405 "Production Order"](../table/5405.md): Actual Time Used
- [Table 5802 "Value Entry"](../table/5802.md): Capacity Ledger Entry No.
- [Table 6227 "Sustainability Value Entry"](../table/6227.md): Capacity Ledger Entry No.
- [Table extension 99000758 "Mfg. Item Journal Line"](../tableextension/99000758.md): Rev. Capacity Ledger Entry No.

## Pages and codeunits on this table

- [Page 5832 "Capacity Ledger Entries"](../page/5832.md) (source table)

## Extended by

- [Table extension 20504 "Subc. Cap Ledger Entry Ext."](../tableextension/20504.md)
- [Table extension 6259 "Sust. Capacity Ledger Entry"](../tableextension/6259.md)
- [Table extension 99000801 "Mfg. Capacity Ledger Entry"](../tableextension/99000801.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 408 "DimensionManagement"](../codeunit/408.md) (1 call: `ShowDimensions → ShowDimensionSet`)
- [Codeunit 703 "Find Record Management"](../codeunit/703.md) (1 call: `GetLastEntryNo → GetLastEntryIntFieldValue`)
- [Codeunit 9500 "Sequence No. Mgt."](../codeunit/9500.md) (1 call: `GetNextEntryNo → GetNextSeqNo`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26-28

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Capacity Ledger Entry")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
