---
id: object/table/5410
type: object
title: Table 5410 "Prod. Order Capacity Need"
summary: Table 5410 "Prod. Order Capacity Need" in Base Application (Microsoft.Manufacturing.Document). 28 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC28.
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-15T01:03:07.514Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 76faff9f2ade6c48cbe6e80ed94f6f896ff1cdc1946b3f83d6f3513cc01906dc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/866a524fcaefacda4fb3a7b1a44daebcdacc377b/src/Layers/W1/BaseApp/Manufacturing/Document/ProdOrderCapacityNeed.Table.al
    title: src/Layers/W1/BaseApp/Manufacturing/Document/ProdOrderCapacityNeed.Table.al (releases/29.x)
    date: null
    commit: 866a524fcaefacda4fb3a7b1a44daebcdacc377b
    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: 5410
name: Prod. Order Capacity Need
namespace: Microsoft.Manufacturing.Document
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 28
  procedures: 3
  events: 0
  subscribers: 0
relations:
  out: 11
  referenced_by: 9
  pages: 1
  extended_by: 0
  event_subscribers: 1
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5410 "Prod. Order Capacity Need"

> Table 5410 "Prod. Order Capacity Need" in Base Application (Microsoft.Manufacturing.Document). 28 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC28.

Base Application · Microsoft.Manufacturing.Document · BC23-30 · [source at 866a524f](https://github.com/microsoft/BCApps/blob/866a524fcaefacda4fb3a7b1a44daebcdacc377b/src/Layers/W1/BaseApp/Manufacturing/Document/ProdOrderCapacityNeed.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 99000820 "Prod. Order Capacity Need"](../page/99000820.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Prod. Order Capacity Need |
| DataClassification | CustomerContent |

## 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 | Status | Enum "Production Order Status" | Specifies the status of the production order. | enum [Enum 5405 "Production Order Status"](../enum/5405.md) |
| 2 | Prod. Order No. | Code[20] | Specifies the number of the related production order. | TableRelation [Table 5405 "Production Order"](../table/5405.md) ("Production Order"."No." where(Status = field(Status))) |
| 3 | Routing No. | Code[20] | Specifies the routing number. | TableRelation [Table 99000763 "Routing Header"](../table/99000763.md) (Routing Header) |
| 4 | Line No. | Integer | — |  |
| 5 | Operation No. | Code[10] | Specifies the operation number. |  |
| 6 | Type | Enum "Capacity Type" | Specifies the type of capacity need. Here you can see whether this capacity need is for a machine center or a work center. | enum [Enum 5871 "Capacity Type"](../enum/5871.md) |
| 7 | No. | Code[20] | Specifies the Number of the machine center or work center depending on the entry in the Type field. | TableRelation [Table 99000754 "Work Center"](../table/99000754.md), [Table 99000758 "Machine Center"](../table/99000758.md) (if (Type = const("Work Center")) "Work Center" else if (Type = const("Machine Center")) "Machine Center") |
| 8 | Work Center No. | Code[20] | Specifies the work center number of the capacity need. If this capacity need occurs at a machine center that is assigned to a work center, that work center number will be shown here. If the capacity need is for a work center, the No. field and this field will show the same number. | TableRelation [Table 99000754 "Work Center"](../table/99000754.md) (Work Center); not editable |
| 9 | Work Center Group Code | Code[10] | — | TableRelation [Table 99000756 "Work Center Group"](../table/99000756.md) (Work Center Group); not editable |
| 10 | Routing Reference No. | Integer | — |  |
| 11 | Date | Date | — |  |
| 12 | Starting Time | Time | — |  |
| 13 | Ending Time | Time | — |  |
| 14 | Allocated Time | Decimal | Specifies the capacity need of planned operations. |  |
| 16 | Send-Ahead Type | Option | Specifies if the send-ahead quantity is of type Input, Output, or Both. | OptionCaption: ,Input,Output,Both |
| 17 | Time Type | Enum "Routing Time Type" | Specifies the time type of the capacity need. Two options are available: Setup Time and Run Time. | enum [Enum 99000763 "Routing Time Type"](../enum/99000763.md) |
| 18 | Needed Time | Decimal | Specifies how much time is required to meet the needs resulting from the specified capacity. |  |
| 19 | Needed Time (ms) | Decimal | Specifies how much time (in ms) is required to meet the needs resulting from the specified capacity. <small>via [Page 99000820 "Prod. Order Capacity Need"](../page/99000820.md)</small> | not editable |
| 21 | Lot Size | Decimal | — |  |
| 22 | Concurrent Capacities | Decimal | Specifies the concurrent capacity of the operation. |  |
| 23 | Efficiency | Decimal | Specifies the efficiency of the production order capacity need. |  |
| 26 | Starting Date-Time | DateTime | Specifies the date and the starting time, which are combined in a format called "starting date-time". | not editable |
| 27 | Ending Date-Time | DateTime | Specifies the date and the ending time, which are combined in a format called "ending date-time". | not editable |
| 31 | Worksheet Template Name | Code[10] | — | TableRelation [Table 244 "Req. Wksh. Template"](../table/244.md) (Req. Wksh. Template) |
| 32 | Worksheet Batch Name | Code[10] | — | TableRelation [Table 245 "Requisition Wksh. Name"](../table/245.md) ("Requisition Wksh. Name".Name where("Worksheet Template Name" = field("Worksheet Template Name"))) |
| 33 | Worksheet Line No. | Integer | — | TableRelation [Table 246 "Requisition Line"](../table/246.md) ("Requisition Line"."Line No." where("Worksheet Template Name" = field("Worksheet Template Name"), "Journal Batch Name" = field("Worksheet Batch Name"))) |
| 41 | Active | Boolean | — | not editable |
| 42 | Requested Only | Boolean | — |  |

## Keys

- Key1: Status, Prod. Order No., Requested Only, Routing No., Routing Reference No., Operation No., Line No. (clustered)
- Key2: Prod. Order No., Routing No., Routing Reference No., Operation No., Status, Line No., Requested Only
- Key3: Status, Prod. Order No., Active, Requested Only, Routing No.
- Key4: Work Center No., Date, Active, Starting Date-Time
- Key5: Work Center Group Code, Date, Starting Date-Time
- Key6: Type, No., Date, Active
- Key7: Type, No., Starting Date-Time, Ending Date-Time, Active
- Key8: Type, No., Ending Date-Time, Starting Date-Time, Active
- Key9: Worksheet Template Name, Worksheet Batch Name, Worksheet Line No., Operation No.
- Key10: Status, Prod. Order No., Routing Reference No., Operation No., Date, Starting Time
- Key11: Worksheet Template Name, Worksheet Batch Name, Worksheet Line No., Operation No., Date, Starting Time
- Key12: Worksheet Line No., Operation No.
- Key13: Status, Prod. Order No., Type, No., Work Center No., Date, Requested Only

## Trigger event subscribers

- OnBeforeInsertEvent: [Codeunit 99000788 "Mfg. Experience Tier"](../codeunit/99000788.md) BlockInsertProdOrderCapacityNeed

## Procedures

- `UpdateDatetime()`
- `GetStartingEndingDateAndTime(var StartingTime: Time; var EndingTime: Time; var CurrDate: Date)`
- `SetCapacityFilters(CapType: Enum "Capacity Type"; CapNo: Code[20])`

## Relations

- drill-down page [Page 99000820 "Prod. Order Capacity Need"](../page/99000820.md)
- lookup page [Page 99000820 "Prod. Order Capacity Need"](../page/99000820.md)
- Worksheet Template Name: TableRelation [Table 244 "Req. Wksh. Template"](../table/244.md)
- Worksheet Batch Name: TableRelation [Table 245 "Requisition Wksh. Name"](../table/245.md)
- Worksheet Line No.: TableRelation [Table 246 "Requisition Line"](../table/246.md)
- Prod. Order No.: TableRelation [Table 5405 "Production Order"](../table/5405.md)
- No.: TableRelation [Table 99000754 "Work Center"](../table/99000754.md) (conditional)
- Work Center No.: TableRelation [Table 99000754 "Work Center"](../table/99000754.md)
- Work Center Group Code: TableRelation [Table 99000756 "Work Center Group"](../table/99000756.md)
- No.: TableRelation [Table 99000758 "Machine Center"](../table/99000758.md) (conditional)
- Routing No.: TableRelation [Table 99000763 "Routing Header"](../table/99000763.md)

## Referenced by

9 fields in 5 objects relate to this table (TableRelation or CalcFormula).

- [Table 99000866 "Capacity Constrained Resource"](../table/99000866.md): Prod. Order Need Qty., Prod. Order Need Qty. for Plan, Work Center Load Qty., Work Center Load Qty. for Plan
- [Table 5405 "Production Order"](../table/5405.md): Allocated Capacity Need, Expected Capacity Need
- [Table 99000754 "Work Center"](../table/99000754.md): Prod. Order Need (Qty.)
- [Table 99000756 "Work Center Group"](../table/99000756.md): Prod. Order Need (Qty.)
- [Table 99000758 "Machine Center"](../table/99000758.md): Prod. Order Need (Qty.)

## Pages and codeunits on this table

- [Page 99000820 "Prod. Order Capacity Need"](../page/99000820.md) (source table)

## Across versions

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

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). 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: "Prod. Order Capacity Need")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
