---
title: "Table 5405 Production Order"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5405-production-order/
type: table
id: 5405
name: "Production Order"
app: "Base Application"
namespace: Microsoft.Manufacturing.Document
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5405-production-order/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 5405 Production Order

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5405-production-order/

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

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Status | Enum Production Order Status | 17-28 | - | - |
| 2 | No. | Code[20] | 17-28 | - | - |
| 3 | Description | Text[100] | 17-28 | - | - |
| 4 | Search Description | Code[100] | 17-28 | - | - |
| 5 | Description 2 | Text[50] | 17-28 | - | - |
| 6 | Creation Date | Date | 17-28 | - | - |
| 7 | Last Date Modified | Date | 17-28 | - | - |
| 9 | Source Type | Enum Prod. Order Source Type | 17-28 | - | - |
| 10 | Source No. | Code[20] | 17-28 | - | - |
| 11 | Routing No. | Code[20] | 17-28 | - | - |
| 12 | Variant Code | Code[10] | 18-28 | - | - |
| 15 | Inventory Posting Group | Code[20] | 17-28 | - | - |
| 16 | Gen. Prod. Posting Group | Code[20] | 17-28 | - | - |
| 17 | Gen. Bus. Posting Group | Code[20] | 17-28 | - | - |
| 19 | Comment | Boolean | 17-28 | - | - |
| 20 | Starting Time | Time | 17-28 | - | - |
| 21 | Starting Date | Date | 17-28 | - | - |
| 22 | Ending Time | Time | 17-28 | - | - |
| 23 | Ending Date | Date | 17-28 | - | - |
| 24 | Due Date | Date | 17-28 | - | - |
| 25 | Finished Date | Date | 17-28 | - | - |
| 28 | Blocked | Boolean | 17-28 | - | - |
| 30 | Shortcut Dimension 1 Code | Code[20] | 17-28 | - | - |
| 31 | Shortcut Dimension 2 Code | Code[20] | 17-28 | - | - |
| 32 | Location Code | Code[10] | 17-28 | - | - |
| 33 | Bin Code | Code[20] | 17-28 | - | - |
| 34 | Replan Ref. No. | Code[20] | 17-28 | - | - |
| 35 | Replan Ref. Status | Enum Production Order Status | 17-28 | - | - |
| 38 | Low-Level Code | Integer | 17-28 | - | - |
| 40 | Quantity | Decimal | 17-28 | - | - |
| 41 | Unit Cost | Decimal | 17-28 | - | - |
| 42 | Cost Amount | Decimal | 17-28 | - | - |
| 47 | Work Center Filter | Code[20] | 17-28 | - | - |
| 48 | Capacity Type Filter | Enum Capacity Type | 17-28 | - | - |
| 49 | Capacity No. Filter | Code[20] | 17-28 | - | - |
| 50 | Date Filter | Date | 17-28 | - | - |
| 51 | Expected Operation Cost Amt. | Decimal | 17-28 | - | - |
| 52 | Expected Component Cost Amt. | Decimal | 17-28 | - | - |
| 55 | Actual Time Used | Decimal | 17-28 | - | - |
| 56 | Allocated Capacity Need | Decimal | 17-28 | - | - |
| 57 | Expected Capacity Need | Decimal | 17-28 | - | - |
| 80 | No. Series | Code[20] | 17-28 | - | - |
| 82 | Planned Order No. | Code[20] | 17-28 | - | - |
| 83 | Firm Planned Order No. | Code[20] | 17-28 | - | - |
| 85 | Simulated Order No. | Code[20] | 17-28 | - | - |
| 92 | Expected Material Ovhd. Cost | Decimal | 17-28 | - | - |
| 94 | Expected Capacity Ovhd. Cost | Decimal | 17-28 | - | - |
| 95 | Inventory Adjmt. Entry Exists | Boolean | 28 | - | - |
| 98 | Starting Date-Time | DateTime | 17-28 | - | - |
| 99 | Ending Date-Time | DateTime | 17-28 | - | - |
| 110 | Document Put-away Status | Option | 26-28 | - | - |
| 200 | Reopened | Boolean | 26-28 | - | - |
| 290 | Manual Scheduling | Boolean | 26-28 | - | - |
| 480 | Dimension Set ID | Integer | 17-28 | - | - |
| 7300 | Completely Picked | Boolean | 17-28 | - | - |
| 9000 | Assigned User ID | Code[50] | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Status, No. | 17-28 |
| Key2 | No., Status | 17-28 |
| Key3 | Search Description | 17-28 |
| Key4 | Low-Level Code, Replan Ref. No., Replan Ref. Status | 17-28 |
| Key5 | Source Type, Source No. | 17-28 |
| Key6 | Description | 17-28 |
| Key7 | Source No. | 17-28 |
| Key8 | Starting Date | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| InitRecord | () | - | public | 17-28 | - | - |
| TestNoSeries | () | - | public | 17-28 | - | - |
| AssistEdit | (Record Production Order) | Boolean | public | 17-28 | - | - |
| GetNoSeriesCode | () | Code[20] | public | 17-28 | - | - |
| CheckProdOrderStatus | (Text[80]) | - | public | 17-28 | - | - |
| DeleteProdOrderRelations | () | - | public | 17-28 | - | - |
| DeleteFinishedProdOrderRelations | () | - | public | 17-28 | - | - |
| AdjustStartEndingDate | () | - | public | 17-28 | - | - |
| UpdateDatetime | () | - | public | 17-28 | - | - |
| CreateDim | (Integer, Code[20]) | - | public | 17-22 | Pending 20.0 | Replaced by CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]) |
| ValidateShortcutDimCode | (Integer, var Code[20]) | - | public | 17-28 | - | - |
| Navigate | () | - | public | 17-28 | - | - |
| CreatePick | (Code[50], Option, Boolean, Boolean, Boolean) | - | public | 17-28 | - | - |
| SetHideValidationDialog | (Boolean) | - | public | 17-28 | - | - |
| CreateInvtPutAwayPick | () | - | public | 17-28 | - | - |
| SetUpdateEndDate | () | - | public | 17-28 | - | - |
| ShowDocDim | () | - | public | 17-28 | - | - |
| GetStartingEndingDateAndTime | (var Time, var Date, var Time, var Date) | - | public | 17-23 | Pending 17.0 | Starting and Ending Date-Time field should be used instead. |
| IsStatusLessThanReleased | () | Boolean | public | 17-28 | - | - |
| CreateDim | (List) | - | public | 20-28 | - | - |
| CreateDimFromDefaultDim | () | - | public | 20-28 | - | - |
| ProdOrderLineExist | () | Boolean | public | 21-28 | - | - |
| GetQtyReservedFromStockState | () | Enum Reservation From Stock | internal | 23-28 | - | - |
| GetHeaderPutAwayStatus | (Integer) | Integer | public | 26-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAdjustStartEndingDateOnBeforeSetDueDate | (var Record Production Order, var Record Prod. Order Line, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterCreateDimTableIDs | (var Record Production Order, Integer, var Integer, var Code[20]) | 17-22 | Pending 20.0 | Temporary event for compatibility. |
| Integration event | OnAfterOnDelete | (var Record Production Order, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterValidateShortcutDimCode | (var Record Production Order, var Record Production Order, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnAfterUpdateDateTime | (var Record Production Order, var Record Production Order, Integer) | 17-28 | - | - |
| Integration event | OnBeforeAssignItemNo | (var Record Production Order, Record Production Order, var Record Item, Integer) | 17-28 | - | - |
| Integration event | OnBeforeAssignFamily | (var Record Production Order, Record Production Order, var Record Family, Integer) | 17-28 | - | - |
| Integration event | OnBeforeAssignSalesHeader | (var Record Production Order, Record Production Order, var Record Sales Header, Integer) | 17-28 | - | - |
| Integration event | OnBeforeGetNoSeriesCode | (var Record Production Order, Record Manufacturing Setup, var Code[20], var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeDeleteFnshdProdOrderRelations | (var Record Production Order) | 17-28 | - | - |
| Integration event | OnBeforeDeleteRelations | (var Record Production Order) | 17-28 | - | - |
| Integration event | OnBeforeMultiLevelMessage | (var Boolean, var Record Production Order, var Record Production Order, Integer) | 17-28 | - | - |
| Integration event | OnBeforeUpdateEndingDate | (var Record Prod. Order Line, Record Production Order, var Boolean, Integer) | 17-28 | - | - |
| Integration event | OnBeforeUpdateProdOrderLineDueDate | (var Record Prod. Order Line, var Boolean) | 17-25 | - | - |
| Integration event | OnBeforeValidateShortcutDimCode | (var Record Production Order, var Record Production Order, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnValidateSourceNoOnSourceTypeEnumExtension | (var Record Production Order) | 17-28 | - | - |
| Integration event | OnUpdateEndingDateOnBeforeCalcProdOrderRecalculate | (var Record Prod. Order Line) | 17-28 | - | - |
| Integration event | OnBeforeInitRecord | (var Record Production Order) | 17-28 | - | - |
| Integration event | OnAfterInitRecord | (var Record Production Order) | 17-28 | - | - |
| Integration event | OnBeforeOnInsert | (var Record Production Order, var Record Production Order, var Record Inventory Adjmt. Entry (Order), var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeShowErrorOnRename | (var Boolean) | 17-18 | - | - |
| Integration event | OnBeforeRunCreatePickFromWhseSource | (var Record Production Order, Code[50], Option, Boolean, Boolean, Boolean, Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeTestNoSeries | (Record Production Order, Record Manufacturing Setup, var Boolean) | 17-28 | - | - |
| Integration event | OnValidateDueDateOnAfterModify | (Record Production Order) | 18-28 | - | - |
| Integration event | OnBeforeDeleteProdOrderLines | (Record Production Order, var Record Prod. Order Line) | 19-28 | - | - |
| Integration event | OnBeforeShowErrorOnRename | (var Boolean, var Record Production Order) | 19-28 | - | - |
| Integration event | OnBeforeCheckStatusNotFinished | (Record Production Order, var Boolean) | 19-28 | - | - |
| Integration event | OnGetDefaultBinOnBeforeThirdPrioritySetBinCode | (var Record Production Order, Record Production Order, var Boolean) | 19-28 | - | - |
| Integration event | OnInsertOnBeforeStatusCheck | (var Record Production Order, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeRunEventOnAfterCreateDimTableIDs | (var Record Production Order, var List, var Boolean) | 20-22 | Pending 20.0 | Temporary event for compatibility |
| Integration event | OnAfterInitDefaultDimensionSources | (var Record Production Order, var List) | 20 | - | - |
| Integration event | OnAfterCreateDim | (var Record Production Order, List) | 20-27 | - | - |
| Integration event | OnBeforeCreateDim | (var Record Production Order, var Boolean) | 20-28 | - | - |
| Integration event | OnAfterInitDefaultDimensionSources | (var Record Production Order, var List, Integer) | 21-28 | - | - |
| Integration event | OnBeforeValidateVariantCode | (var Record Production Order, Record Production Order, Integer, var Boolean) | 21-28 | - | - |
| Integration event | OnUpdateStartingEndingTimeOnBeforeProdOrderLineModify | (var Record Prod. Order Line, var Record Production Order) | 21-28 | - | - |
| Integration event | OnUpdateEndingDateOnBeforeProdOrderLineModify | (var Record Prod. Order Line, var Record Production Order) | 21-28 | - | - |
| Integration event | OnBeforeConfirmUpdateAllLineDim | (var Record Production Order, var Record Production Order, Integer, Integer, var Boolean, var Boolean) | 24-28 | - | - |
| Integration event | OnValidateShortcutDimCodeOnBeforeUpdateAllLineDim | (var Record Production Order, var Record Production Order) | 24 | - | - |
| Integration event | OnShowDocDimOnAfterSetDimensionSetID | (var Record Production Order, Record Production Order) | 24-28 | - | - |
| Integration event | OnValidateShortcutDimCodeOnBeforeUpdateAllLineDim | (var Record Production Order, var Record Production Order, Integer) | 25-28 | - | - |
| Integration event | OnUpdateAllLineDimOnAfterUpdateProdOrderCompDim | (var Record Production Order, var Record Prod. Order Line, Integer, Integer) | 25-28 | - | - |
| Integration event | OnBeforeUpdateProdOrderLineDueDate | (var Record Prod. Order Line, var Boolean, var Codeunit Calculate Prod. Order) | 26-28 | - | - |
| Integration event | OnAfterDeleteProdOrderRelations | (var Record Production Order, var Record Prod. Order Comment Line, var Record Whse. Pick Request, var Codeunit Reservation Management, var Codeunit Item Tracking Management) | 26-28 | - | - |
| Integration event | OnCreatePickOnBeforeFindProdOrderComponent | (var Record Prod. Order Component) | 26-28 | - | - |
| Integration event | OnCreatePickOnBeforeRunCreatePickFromWhseSource | (var Record Prod. Order Component) | 26-28 | - | - |
| Integration event | OnAfterCreateDim | (var Record Production Order, List, Record Production Order) | 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.
