---
title: "Table 5407 Prod. Order Component"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5407-prod-order-component/
type: table
id: 5407
name: "Prod. Order Component"
app: "Base Application"
namespace: Microsoft.Manufacturing.Document
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5407-prod-order-component/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 5407 Prod. Order Component

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5407-prod-order-component/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Manufacturing.Document |
| Versions | 17-28 |
| Source file | Manufacturing/Document/ProdOrderComponent.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Status | Enum Production Order Status | 17-28 | - | - |
| 2 | Prod. Order No. | Code[20] | 17-28 | - | - |
| 3 | Prod. Order Line No. | Integer | 17-28 | - | - |
| 4 | Line No. | Integer | 17-28 | - | - |
| 11 | Item No. | Code[20] | 17-28 | - | - |
| 12 | Description | Text[100] | 17-28 | - | - |
| 13 | Unit of Measure Code | Code[10] | 17-28 | - | - |
| 14 | Quantity | Decimal | 17-28 | - | - |
| 15 | Position | Code[10] | 17-28 | - | - |
| 16 | Position 2 | Code[10] | 17-28 | - | - |
| 17 | Position 3 | Code[10] | 17-28 | - | - |
| 18 | Lead-Time Offset | DateFormula | 17-28 | - | - |
| 19 | Routing Link Code | Code[10] | 17-28 | - | - |
| 20 | Scrap % | Decimal | 17-28 | - | - |
| 21 | Variant Code | Code[10] | 17-28 | - | - |
| 22 | Qty. Rounding Precision | Decimal | 19-28 | - | - |
| 23 | Qty. Rounding Precision (Base) | Decimal | 19-28 | - | - |
| 25 | Expected Quantity | Decimal | 17-28 | - | - |
| 26 | Remaining Quantity | Decimal | 17-28 | - | - |
| 27 | Act. Consumption (Qty) | Decimal | 17-28 | - | - |
| 28 | Flushing Method | Enum Flushing Method | 17-28 | - | - |
| 29 | Description 2 | Text[50] | 28 | - | - |
| 30 | Location Code | Code[10] | 17-28 | - | - |
| 31 | Shortcut Dimension 1 Code | Code[20] | 17-28 | - | - |
| 32 | Shortcut Dimension 2 Code | Code[20] | 17-28 | - | - |
| 33 | Bin Code | Code[20] | 17-28 | - | - |
| 35 | Supplied-by Line No. | Integer | 17-28 | - | - |
| 36 | Planning Level Code | Integer | 17-28 | - | - |
| 37 | Item Low-Level Code | Integer | 17-28 | - | - |
| 40 | Length | Decimal | 17-28 | - | - |
| 41 | Width | Decimal | 17-28 | - | - |
| 42 | Weight | Decimal | 17-28 | - | - |
| 43 | Depth | Decimal | 17-28 | - | - |
| 44 | Calculation Formula | Enum Quantity Calculation Formula | 17-28 | - | - |
| 45 | Quantity per | Decimal | 17-28 | - | - |
| 50 | Unit Cost | Decimal | 17-28 | - | - |
| 51 | Cost Amount | Decimal | 17-28 | - | - |
| 52 | Due Date | Date | 17-28 | - | - |
| 53 | Due Time | Time | 17-28 | - | - |
| 60 | Qty. per Unit of Measure | Decimal | 17-28 | - | - |
| 61 | Remaining Qty. (Base) | Decimal | 17-28 | - | - |
| 62 | Quantity (Base) | Decimal | 17-28 | - | - |
| 63 | Reserved Qty. (Base) | Decimal | 17-28 | - | - |
| 71 | Reserved Quantity | Decimal | 17-28 | - | - |
| 73 | Expected Qty. (Base) | Decimal | 17-28 | - | - |
| 76 | Due Date-Time | DateTime | 17-28 | - | - |
| 480 | Dimension Set ID | Integer | 17-28 | - | - |
| 5702 | Substitution Available | Boolean | 17-28 | - | - |
| 5703 | Original Item No. | Code[20] | 17-28 | - | - |
| 5704 | Original Variant Code | Code[10] | 17-28 | - | - |
| 5750 | Pick Qty. | Decimal | 17-28 | - | - |
| 7300 | Qty. Picked | Decimal | 17-28 | - | - |
| 7301 | Qty. Picked (Base) | Decimal | 17-28 | - | - |
| 7302 | Completely Picked | Boolean | 17-28 | - | - |
| 7303 | Pick Qty. (Base) | Decimal | 17-28 | - | - |
| 99000754 | Direct Unit Cost | Decimal | 17-28 | - | - |
| 99000755 | Indirect Cost % | Decimal | 17-28 | - | - |
| 99000756 | Overhead Rate | Decimal | 17-28 | - | - |
| 99000757 | Direct Cost Amount | Decimal | 17-28 | - | - |
| 99000758 | Overhead Amount | Decimal | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Status, Prod. Order No., Prod. Order Line No., Line No. | 17-28 |
| Key2 | Prod. Order No., Prod. Order Line No., Line No., Status | 17-28 |
| Key3 | Status, Prod. Order No., Prod. Order Line No., Due Date | 17-28 |
| Key4 | Status, Prod. Order No., Prod. Order Line No., Item No., Line No. | 17-28 |
| Key5 | Status, Item No., Variant Code, Location Code, Due Date | 17-28 |
| Key6 | Item No., Variant Code, Location Code, Shortcut Dimension 1 Code, Shortcut Dimension 2 Code, Due Date | 17-28 |
| Key7 | Status, Prod. Order No., Routing Link Code, Flushing Method | 17-28 |
| Key8 | Status, Prod. Order No., Location Code | 17-28 |
| Key9 | Item No., Variant Code, Location Code, Status, Due Date | 17-28 |
| Key10 | Status, Prod. Order No., Prod. Order Line No., Item Low-Level Code | 17-28 |
| Key11 | Supplied-by Line No. | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Caption | () | Text | public | 17-28 | - | - |
| ProdOrderNeeds | () | Decimal | public | 17-28 | - | - |
| GetNeededQty | (Option, Boolean) | Decimal | public | 17-28 | - | - |
| ShowReservation | () | - | public | 17-28 | - | - |
| ShowReservationEntries | (Boolean) | - | public | 17-28 | - | - |
| CopyFromPlanningComp | (Record Planning Component) | - | public | 17-28 | - | - |
| AdjustQtyToQtyPicked | (var Decimal) | - | public | 17-28 | - | - |
| BlockDynamicTracking | (Boolean) | - | public | 17-28 | - | - |
| CreateDim | (Integer, Code[20]) | - | public | 17-22 | Pending 20.0 | Replaced by CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]) |
| IsInbound | () | Boolean | public | 17-28 | - | - |
| OpenItemTrackingLines | () | - | public | 17-28 | - | - |
| ValidateShortcutDimCode | (Integer, var Code[20]) | - | public | 17-28 | - | - |
| LookupShortcutDimCode | (Integer, var Code[20]) | - | public | 17-28 | - | - |
| ShowShortcutDimCode | (var Code[20]) | - | public | 17-28 | - | - |
| UpdateDatetime | () | - | public | 17-28 | - | - |
| RowID1 | () | Text[250] | public | 17-28 | - | - |
| GetDefaultBin | () | - | public | 17-28 | - | - |
| GetDefaultConsumptionBin | (var Record Prod. Order Routing Line) | Code[20] | public | 17-28 | - | - |
| GetRemainingQty | (var Decimal, var Decimal) | - | public | 17-28 | - | - |
| GetReservationQty | (var Decimal, var Decimal, var Decimal, var Decimal) | Decimal | public | 17-28 | - | - |
| GetSourceCaption | () | Text | public | 17-28 | - | - |
| SetReservationEntry | (var Record Reservation Entry) | - | public | 17-28 | - | - |
| SetReservationFilters | (var Record Reservation Entry) | - | public | 17-28 | - | - |
| ReservEntryExist | () | Boolean | public | 17-28 | - | - |
| AutoReserve | () | - | public | 17-28 | - | - |
| ShowItemSub | () | - | public | 17-28 | - | - |
| FilterLinesWithItemToPlan | (var Record Item, Boolean) | - | public | 17-28 | - | - |
| FindLinesWithItemToPlan | (var Record Item, Boolean) | Boolean | public | 17-28 | - | - |
| LinesWithItemToPlanExist | (var Record Item, Boolean) | Boolean | public | 17-28 | - | - |
| FilterLinesForReservation | (Record Reservation Entry, Option, Text, Boolean) | - | public | 17-28 | - | - |
| ShowDimensions | () | - | public | 17-28 | - | - |
| SetIgnoreErrors | () | - | public | 17-28 | - | - |
| HasErrorOccured | () | Boolean | public | 17-28 | - | - |
| SetFilterByReleasedOrderNo | (Code[20]) | - | public | 17-28 | - | - |
| SetFilterFromProdBOMLine | (Record Production BOM Line) | - | public | 17-28 | - | - |
| TestItemFields | (Code[20], Code[10], Code[10]) | - | public | 17-28 | - | - |
| CheckBin | () | - | public | 18-28 | - | - |
| CreateDim | (List) | - | public | 20-28 | - | - |
| CreateDimFromDefaultDim | () | - | public | 20-28 | - | - |
| AdjustQtyToReservedFromInventory | (var Decimal, Enum Reservation From Stock) | - | public | 23-28 | - | - |
| CalcBaseQty | (Decimal, Text, Text) | Decimal | public | 23-28 | - | - |
| CheckIfProdOrderCompMeetsReservedFromStockSetting | (Decimal, Enum Reservation From Stock) | Boolean | public | 23-28 | - | - |
| IsInventoriableItem | () | Boolean | public | 23-28 | - | - |
| SuspendDeletionCheck | (Boolean) | - | public | 24-28 | - | - |
| ShowOrderTracking | () | - | public | 25-28 | - | - |
| SelectMultipleItems | () | - | public | 26-28 | - | - |
| AddItems | (Text) | - | public | 26-28 | - | - |
| AddItem | (var Record Prod. Order Component, Code[20]) | - | public | 26-28 | - | - |
| InitNewLine | (var Record Prod. Order Component) | - | public | 26-28 | - | - |
| ReserveFromInventory | (var Record Prod. Order Component) | - | public | 28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterAutoReserve | (var Record Item, var Record Prod. Order Component) | 17-28 | - | - |
| Integration event | OnAfterCopyFromPlanningComp | (var Record Prod. Order Component, Record Planning Component) | 17-28 | - | - |
| Integration event | OnAfterCreateDimTableIDs | (var Record Prod. Order Component, Integer, var Integer, var Code[20]) | 17-22 | Pending 20.0 | Temporary event for compatibility. |
| Integration event | OnAfterFilterLinesWithItemToPlan | (var Record Prod. Order Component, var Record Item, Boolean) | 17-28 | - | - |
| Integration event | OnAfterGetBinCodeFromLocation | (var Record Prod. Order Component, Record Location, var Code[20]) | 17-28 | - | - |
| Integration event | OnAfterGetSKU | (Record Prod. Order Component, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterUpdateUnitCost | (var Record Prod. Order Component, Record General Ledger Setup) | 17-28 | - | - |
| Integration event | OnAfterProdOrderNeeds | (Record Prod. Order Component, Record Prod. Order Line, Record Prod. Order Routing Line, var Decimal) | 17-28 | - | - |
| Integration event | OnAfterRoundExpectedQuantity | (var Record Prod. Order Component) | 17-28 | - | - |
| Integration event | OnAfterSetReservationFilters | (var Record Reservation Entry, Record Prod. Order Component) | 17-28 | - | - |
| Integration event | OnAfterUpdateDateTime | (var Record Prod. Order Component) | 17-28 | - | - |
| Integration event | OnAfterValidateShortcutDimCode | (var Record Prod. Order Component, var Record Prod. Order Component, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeAdjustQtyToQtyPicked | (var Record Prod. Order Component, var Decimal, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeAutoReserve | (var Record Item, var Record Prod. Order Component) | 17-22 | - | - |
| Integration event | OnBeforeBinCodeOnLookup | (var Record Prod. Order Component, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeValidateShortcutDimCode | (var Record Prod. Order Component, var Record Prod. Order Component, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeGetDefaultConsumptionBin | (var Record Prod. Order Component, var Record Prod. Order Routing Line, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeUpdateUnitCost | (var Record Prod. Order Component, Record General Ledger Setup, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeUpdateUOMFromItem | (var Record Prod. Order Component, Record Item, var Boolean) | 17-28 | - | - |
| Integration event | OnDeleteOnBeforeGetProdOrderLine | (var Record Prod. Order Component, var Boolean) | 17-28 | - | - |
| Integration event | OnGetDefaultConsumptionBinOnAfterGetBinCodeFromRtngLine | (var Record Prod. Order Component, var Record Prod. Order Routing Line, var Code[20]) | 17-28 | - | - |
| Integration event | OnGetNeededQtyAfterCalcCompQtyBase | (var Record Prod. Order Component, var Decimal) | 17-18 | - | - |
| Integration event | OnGetNeededQtyAfterCalcActConsumptionQty | (var Record Prod. Order Component) | 17-28 | - | - |
| Integration event | OnGetNeededQtyOnAfterCalcBasedOn | (var Record Prod. Order Component) | 17-28 | - | - |
| Integration event | OnGetNeededQtyOnAfterLastOperationFound | (var Record Prod. Order Component, var Record Prod. Order Routing Line) | 17-28 | - | - |
| Integration event | OnGetNeededQtyOnBeforeAddOutputQtyBase | (var Record Capacity Ledger Entry, var Decimal, var Boolean) | 17-18 | - | - |
| Integration event | OnGetNeededQtyOnBeforeCalcBasedOn | (var Record Prod. Order Component) | 17-18 | - | - |
| Integration event | OnValidateCalculationFormulaEnumExtension | (var Record Prod. Order Component) | 17-28 | - | - |
| Integration event | OnValidateCalculationFormulaOnAfterSetQuantity | (var Record Prod. Order Component) | 17-28 | - | - |
| Integration event | OnValidateExpectedQuantityOnAfterCalcActConsumptionQty | (var Record Prod. Order Component, Record Prod. Order Component) | 17-28 | - | - |
| Integration event | OnValidateExpectedQtyBaseOnAfterCalcActConsumptionQty | (var Record Prod. Order Component, Record Prod. Order Component) | 17-28 | - | - |
| Integration event | OnValidateItemNoOnBeforeGetDefaultBin | (var Record Prod. Order Component, var Record Item) | 17-28 | - | - |
| Integration event | OnValidateRoutingLinkCodeBeforeValidateDueDate | (var Record Prod. Order Component, var Record Prod. Order Line) | 17-18 | - | - |
| Integration event | OnBeforeShowItemSub | (var Record Prod. Order Component, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeValidateBinCode | (var Record Prod. Order Component, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeGetDefaultBin | (var Record Prod. Order Component, var Record Prod. Order Component, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeRoundExpectedQuantity | (var Record Prod. Order Component, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeShowReservation | (var Record Prod. Order Component, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterFilterLinesForReservation | (var Record Prod. Order Component, Record Reservation Entry, Option, Text, Boolean) | 18-28 | - | - |
| Integration event | OnAfterSetFilterFromProdBOMLine | (var Record Prod. Order Component, Record Production BOM Line) | 18-28 | - | - |
| Integration event | OnBeforeUpdateExpectedQuantity | (var Record Prod. Order Component, var Boolean) | 18-28 | - | - |
| Integration event | OnValidateExpectedQtyBaseOnAfterCalcRemainingQuantity | (var Record Prod. Order Component, Record Prod. Order Component) | 18-28 | - | - |
| Integration event | OnValidateItemNoOnAfterUpdateUOMFromItem | (var Record Prod. Order Component, Record Prod. Order Component, Record Item) | 18-28 | - | - |
| Integration event | OnAfterAssignDecsriptionFromItemOrVariant | (var Record Prod. Order Component, Record Prod. Order Component, Record Item, Record Item Variant) | 19-28 | - | - |
| Integration event | OnBeforeCalcBaseQty | (Record Prod. Order Component, Integer, Decimal, Text, Text, var Decimal, var Boolean) | 19-20 | - | - |
| Integration event | OnGetNeededQtyAfterCalcCompQtyBase | (var Record Prod. Order Component, var Decimal, Decimal) | 19-28 | - | - |
| Integration event | OnGetNeededQtyOnBeforeAddOutputQtyBase | (var Record Capacity Ledger Entry, var Decimal, var Boolean, var Record Prod. Order Component) | 19-28 | - | - |
| Integration event | OnGetNeededQtyOnBeforeCalcBasedOn | (var Record Prod. Order Component, var Decimal) | 19-28 | - | - |
| Integration event | OnValidateRoutingLinkCodeBeforeValidateDueDate | (var Record Prod. Order Component, var Record Prod. Order Line, var Record Prod. Order Routing Line) | 19-28 | - | - |
| Integration event | OnBeforeValidateExpectedQuantity | (var Record Prod. Order Component, Record Prod. Order Component, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeValidateExpectedQtyBase | (var Record Prod. Order Component, Record Prod. Order Component, Integer, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeRunEventOnAfterCreateDimTableIDs | (var Record Prod. Order Component, var List, var Boolean) | 20-22 | Pending 20.0 | Temporary event for compatibility |
| Integration event | OnAfterInitDefaultDimensionSources | (var Record Prod. Order Component, var List) | 20-28 | - | - |
| Integration event | OnAfterCreateDim | (var Record Prod. Order Component, List) | 20-27 | - | - |
| Integration event | OnBeforeGetUpdateFromSKU | (var Record Prod. Order Component, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeCalcBaseQty | (var Record Prod. Order Component, Integer, Decimal, Text, Text, var Decimal, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeValidateCalculationFormula | (var Record Prod. Order Component, Record Prod. Order Component, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeValidateQuantityper | (var Record Prod. Order Component, Record Prod. Order Component, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeUpdateBin | (var Record Prod. Order Component, Integer, Text[30], var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeAutoReserve | (var Record Item, var Record Prod. Order Component, var Boolean) | 23-28 | - | - |
| Integration event | OnAdjustQtyToReservedFromInventory | (var Decimal, Enum Reservation From Stock) | 23-28 | - | - |
| Integration event | OnCheckIfProdOrderCompMeetsReservedFromStockSetting | (Decimal, Enum Reservation From Stock, var Boolean) | 23-28 | - | - |
| Integration event | OnAfterShowDimensions | (var Record Prod. Order Component, Record Prod. Order Component) | 24-28 | - | - |
| Integration event | OnValidateRoutingLinkCodeOnBeforeUpdateDueDateAndTime | (var Record Prod. Order Component, var Record Prod. Order Line, var Record Prod. Order Routing Line, var Boolean) | 26-28 | - | - |
| Integration event | OnBeforeCreateDim | (var Record Prod. Order Component, var List, Integer, var Boolean) | 26-28 | - | - |
| Integration event | OnAfterCreateDim | (var Record Prod. Order Component, List, Record Prod. Order Component) | 28 | - | - |
| Integration event | OnGetNeededQtyOnBeforeCalcActNeededQtyBase | (var Record Prod. Order Component, var Decimal, var Decimal, var Boolean) | 28 | - | - |
| Integration event | OnGetNeededQtyOnBeforeExitWithPreviousPosting | (var Record Prod. Order Component, var Decimal, var Decimal, var Boolean) | 28 | - | - |
| Integration event | OnValidateUnitCostOnBeforeCheckCostingMethod | (var Record Prod. Order Component, var Boolean) | 28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
