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

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5406-prod-order-line/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Manufacturing.Document |
| Versions | 17-28 |
| Source file | Manufacturing/Document/ProdOrderLine.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 | Line No. | Integer | 17-28 | - | - |
| 11 | Item No. | Code[20] | 17-28 | - | - |
| 12 | Variant Code | Code[10] | 17-28 | - | - |
| 13 | Description | Text[100] | 17-28 | - | - |
| 14 | Description 2 | Text[50] | 17-28 | - | - |
| 20 | Location Code | Code[10] | 17-28 | - | - |
| 21 | Shortcut Dimension 1 Code | Code[20] | 17-28 | - | - |
| 22 | Shortcut Dimension 2 Code | Code[20] | 17-28 | - | - |
| 23 | Bin Code | Code[20] | 17-28 | - | - |
| 35 | Standard Task Code | Code[10] | 26-28 | Pending 27.0 | This field is not required anymore. The standard task code is now defined on the routing line. |
| 40 | Quantity | Decimal | 17-28 | - | - |
| 41 | Finished Quantity | Decimal | 17-28 | - | - |
| 42 | Remaining Quantity | Decimal | 17-28 | - | - |
| 45 | Scrap % | Decimal | 17-28 | - | - |
| 47 | Due Date | Date | 17-28 | - | - |
| 48 | Starting Date | Date | 17-28 | - | - |
| 49 | Starting Time | Time | 17-28 | - | - |
| 50 | Ending Date | Date | 17-28 | - | - |
| 51 | Ending Time | Time | 17-28 | - | - |
| 52 | Planning Level Code | Integer | 17-28 | - | - |
| 53 | Priority | Integer | 17-28 | - | - |
| 60 | Production BOM No. | Code[20] | 17-28 | - | - |
| 61 | Routing No. | Code[20] | 17-28 | - | - |
| 62 | Inventory Posting Group | Code[20] | 17-28 | - | - |
| 63 | Routing Reference No. | Integer | 17-28 | - | - |
| 65 | Unit Cost | Decimal | 17-28 | - | - |
| 66 | Put-away Status | Option | 26-28 | - | - |
| 67 | Cost Amount | Decimal | 17-28 | - | - |
| 68 | Reserved Quantity | Decimal | 17-28 | - | - |
| 70 | Capacity Type Filter | Enum Capacity Type | 17-28 | - | - |
| 71 | Capacity No. Filter | Code[20] | 17-28 | - | - |
| 72 | Date Filter | Date | 17-28 | - | - |
| 73 | Qty. Rounding Precision | Decimal | 19-28 | - | - |
| 74 | Qty. Rounding Precision (Base) | Decimal | 19-28 | - | - |
| 75 | Manual Scheduling | Boolean | 26-28 | - | - |
| 80 | Unit of Measure Code | Code[10] | 17-28 | - | - |
| 81 | Quantity (Base) | Decimal | 17-28 | - | - |
| 82 | Finished Qty. (Base) | Decimal | 17-28 | - | - |
| 83 | Remaining Qty. (Base) | Decimal | 17-28 | - | - |
| 84 | Reserved Qty. (Base) | Decimal | 17-28 | - | - |
| 90 | Expected Operation Cost Amt. | Decimal | 17-28 | - | - |
| 91 | Total Exp. Oper. Output (Qty.) | Decimal | 17-28 | - | - |
| 94 | Expected Component Cost Amt. | Decimal | 17-28 | - | - |
| 198 | Starting Date-Time | DateTime | 17-28 | - | - |
| 199 | Ending Date-Time | DateTime | 17-28 | - | - |
| 480 | Dimension Set ID | Integer | 17-28 | - | - |
| 5831 | Cost Amount (ACY) | Decimal | 17-28 | - | - |
| 5832 | Unit Cost (ACY) | Decimal | 17-28 | - | - |
| 5850 | Qty. Put Away | Decimal | 26-28 | - | - |
| 5851 | Qty. Put Away (Base) | Decimal | 26-28 | - | - |
| 5852 | Put-away Qty. | Decimal | 26-28 | - | - |
| 5853 | Put-away Qty. (Base) | Decimal | 26-28 | - | - |
| 5854 | Lot No. Filter | Code[50] | 26-28 | - | - |
| 5855 | Serial No. Filter | Code[50] | 26-28 | - | - |
| 5856 | Package No. Filter | Code[50] | 26-28 | - | - |
| 99000750 | Production BOM Version Code | Code[20] | 17-28 | - | - |
| 99000751 | Routing Version Code | Code[20] | 17-28 | - | - |
| 99000752 | Routing Type | Option | 17-28 | - | - |
| 99000753 | Qty. per Unit of Measure | Decimal | 17-28 | - | - |
| 99000754 | MPS Order | Boolean | 17-28 | - | - |
| 99000755 | Planning Flexibility | Enum Reservation Planning Flexibility | 17-28 | - | - |
| 99000764 | Indirect Cost % | Decimal | 17-28 | - | - |
| 99000765 | Overhead Rate | Decimal | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Status, Prod. Order No., Line No. | 17-28 |
| Key2 | Prod. Order No., Line No., Status | 17-28 |
| Key3 | Status, Item No., Variant Code, Location Code, Ending Date | 17-28 |
| Key4 | Status, Item No., Variant Code, Location Code, Starting Date | 17-28 |
| Key5 | Status, Item No., Variant Code, Location Code, Due Date | 17-28 |
| Key6 | Status, Item No., Variant Code, Shortcut Dimension 1 Code, Shortcut Dimension 2 Code, Location Code, Due Date | 17-28 |
| Key7 | Status, Prod. Order No., Item No. | 17-28 |
| Key8 | Status, Prod. Order No., Routing No., Routing Reference No. | 17-28 |
| Key9 | Status, Prod. Order No., Planning Level Code | 17-28 |
| Key10 | Planning Level Code, Priority | 17-28 |
| Key11 | Item No., Variant Code, Location Code, Status, Ending Date | 17-28 |
| Key12 | Item No., Variant Code, Location Code, Status, Due Date | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| DeleteRelations | () | - | public | 17-28 | - | - |
| ShowReservation | () | - | public | 17-28 | - | - |
| ShowReservationEntries | (Boolean) | - | public | 17-28 | - | - |
| CheckEndingDate | (Boolean) | - | public | 17-28 | - | - |
| BlockDynamicTracking | (Boolean) | - | public | 17-28 | - | - |
| IsDynamicTrackingBlocked | () | 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 | - | - |
| ShowDimensions | () | - | public | 17-28 | - | - |
| RowID1 | () | Text[250] | 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 | - | - |
| 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 | - | - |
| SetIgnoreErrors | () | - | public | 17-28 | - | - |
| SetCalledFromComponent | (Boolean) | - | public | 17-28 | - | - |
| HasErrorOccured | () | Boolean | public | 17-28 | - | - |
| UpdateProdOrderComp | (Decimal) | - | public | 17-28 | - | - |
| UpdateProdOrderCompDim | (Integer, Integer) | - | public | 17-28 | - | - |
| ShowRouting | () | - | public | 17-28 | - | - |
| SetFilterByReleasedOrderNo | (Code[20]) | - | public | 17-28 | - | - |
| TestItemFields | (Code[20], Code[10], Code[10]) | - | public | 17-28 | - | - |
| GetStartingEndingDateAndTime | (var Time, var Date, var Time, var Date) | - | public | 17-28 | - | - |
| IsStatusLessThanReleased | () | Boolean | public | 17-28 | - | - |
| CreateDim | (List) | - | public | 20-28 | - | - |
| CreateDimFromDefaultDim | () | - | public | 20-28 | - | - |
| SuspendDeletionCheck | (Boolean) | - | public | 24-28 | - | - |
| ShowOrderTracking | () | - | public | 25-28 | - | - |
| GetUpdateFromSKU | () | - | public | 25-28 | - | - |
| GetLinePutAwayStatus | () | Integer | public | 26-28 | - | - |
| GetRemainingPutAwayQty | () | Decimal | public | 26-28 | - | - |
| ConfirmUpdateDueDateAndEndingDate | (Text, Date) | Boolean | public | 26-28 | - | - |
| GetUsedPutAwayQtyPerItemTracking | (Code[50], Code[50], Code[50]) | Decimal | internal | 26-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCheckEndingDate | (var Record Prod. Order Line) | 17-28 | - | - |
| Integration event | OnAfterCreateDimTableIDs | (var Record Prod. Order Line, Integer, var Integer, var Code[20]) | 17-22 | Pending 20.0 | Temporary event for compatibility. |
| Integration event | OnAfterCopyFromItem | (var Record Prod. Order Line, Record Item, var Record Prod. Order Line) | 17-20 | - | - |
| Integration event | OnAfterGetSKU | (Record Prod. Order Line, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterDeleteProdOrderRtngLines | (var Record Prod. Order Line) | 17-28 | - | - |
| Integration event | OnAfterOnDelete | (var Record Prod. Order Line, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterRecalculate | (var Record Prod. Order Line, Option, var Integer) | 17-28 | - | - |
| Integration event | OnAfterSetReservationFilters | (var Record Reservation Entry, Record Prod. Order Line) | 17-28 | - | - |
| Integration event | OnAfterUpdateDateTime | (var Record Prod. Order Line, var Record Prod. Order Line, Integer) | 17-28 | - | - |
| Integration event | OnAfterValidateShortcutDimCode | (var Record Prod. Order Line, var Record Prod. Order Line, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeCheckEndingDate | (var Record Prod. Order Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeGetUpdateFromSKU | (var Record Prod. Order Line, var Record Stockkeeping Unit, var Record Item, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeDeleteRelations | (var Record Prod. Order Line) | 17-28 | - | - |
| Integration event | OnBeforeDeleteProdOrderRtngLines | (var Record Prod. Order Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeShowReservation | (var Record Prod. Order Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeValidateShortcutDimCode | (var Record Prod. Order Line, var Record Prod. Order Line, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnDeleteRelationsNotCalledFromComponentFilter | (var Record Prod. Order Line, var Record Prod. Order Component) | 17-28 | - | - |
| Integration event | OnDeleteRelationsNotCalledFromComponentInitFields | (var Record Prod. Order Component) | 17-28 | - | - |
| Integration event | OnUpdateProdOrderCompOnAfterFind | (var Record Prod. Order Line, var Boolean) | 17-28 | - | - |
| Integration event | OnUpdateProdOrderCompOnBeforeModify | (var Record Prod. Order Line, var Record Prod. Order Component) | 17-28 | - | - |
| Integration event | OnBeforeValidateQuantity | (var Record Prod. Order Line, Record Prod. Order Line, Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeUpdateProdOrderComp | (var Record Prod. Order Line, Decimal, Integer, var Boolean) | 17 | - | - |
| Integration event | OnAfterFilterLinesWithItemToPlan | (var Record Prod. Order Line, var Record Item, Boolean) | 18-28 | - | - |
| Integration event | OnAfterFilterLinesForReservation | (var Record Prod. Order Line, Record Reservation Entry, Option, Text, Boolean) | 18-28 | - | - |
| Integration event | OnBeforeUpdateProdOrderComp | (var Record Prod. Order Line, Decimal, Integer, var Boolean, var Record Prod. Order Component, Boolean) | 18-28 | - | - |
| Integration event | OnDeleteRelationsOnBeforeProdOrderCompDeleteAll | (var Record Prod. Order Component, Boolean, var Boolean) | 18-28 | - | - |
| Integration event | OnValidateItemNoOnAfterAssignItemValues | (var Record Prod. Order Line, Record Item) | 18-20 | - | - |
| Integration event | OnAfterCalcBaseQty | (var Record Prod. Order Line, var Record Prod. Order Line, var Decimal) | 19-20 | - | - |
| Integration event | OnBeforeValidateUnitofMeasureCodeFromItem | (var Record Prod. Order Line, Record Prod. Order Line, var Record Item, var Record Production Order, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeValidateQuantityBase | (var Record Prod. Order Line, Record Prod. Order Line, Integer, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeRunEventOnAfterCreateDimTableIDs | (var Record Prod. Order Line, var List, var Boolean) | 20-22 | Pending 20.0 | Temporary event for compatibility |
| Integration event | OnAfterInitDefaultDimensionSources | (var Record Prod. Order Line, var List) | 20 | - | - |
| Integration event | OnAfterCreateDim | (var Record Prod. Order Line, List) | 20-27 | - | - |
| Integration event | OnAfterGetItem | (var Record Item, var Record Prod. Order Line) | 20-28 | - | - |
| Integration event | OnAfterGetUpdateFromSKU | (var Record Prod. Order Line) | 20-22 | - | - |
| Integration event | OnValidateProductionBOMNoOnBeforeTestStatus | (var Record Prod. Order Line, var Boolean) | 20-28 | - | - |
| Integration event | OnValidateLocationCodeOnBeforeCreateDim | (var Record Prod. Order Line) | 20-28 | - | - |
| Integration event | OnAfterInitDefaultDimensionSources | (var Record Prod. Order Line, var List, Integer) | 21-28 | - | - |
| Integration event | OnAfterCalcBaseQty | (var Record Prod. Order Line, var Record Prod. Order Line, var Decimal, Text, Text) | 21-28 | - | - |
| Integration event | OnAfterCopyFromItem | (var Record Prod. Order Line, Record Item, var Record Prod. Order Line, Integer) | 21-28 | - | - |
| Integration event | OnBeforeValidateRoutingNo | (var Record Prod. Order Line, var Record Prod. Order Line, Integer, var Boolean) | 21-28 | - | - |
| Integration event | OnValidateItemNoOnAfterAssignItemValues | (var Record Prod. Order Line, Record Item, Record Prod. Order Line, var Boolean) | 21-28 | - | - |
| Integration event | OnValidateUnitOfMeasureCodeOnAfterWhseValidateSourceLine | (var Record Prod. Order Line, Record Prod. Order Line, Integer) | 21-28 | - | - |
| Integration event | OnBeforeShowRouting | (var Record Prod. Order Line, var Boolean) | 21-28 | - | - |
| Integration event | OnValidateQuantityOnAfterCalcBaseQty | (var Record Prod. Order Line, Record Prod. Order Line) | 21-28 | - | - |
| Integration event | OnDeleteRelationsOnBeforeProdOrderRoutingLineDelete | (var Record Prod. Order Routing Line, var Boolean) | 22-28 | - | - |
| Integration event | OnValidateEndingTimeOnBeforeRecalculate | (var Record Prod. Order Line, Integer, var Boolean) | 22-28 | - | - |
| Integration event | OnAfterGetUpdateFromSKU | (var Record Prod. Order Line, var Record Item, var Record Stockkeeping Unit) | 23-28 | - | - |
| Integration event | OnShowDimensionsOnAfterEditDimensionSet | (var Record Prod. Order Line, Integer) | 24-28 | - | - |
| Integration event | OnValidateItemNoOnBeforeCheckReservations | (var Record Prod. Order Line, Record Prod. Order Line, Integer, var Boolean) | 25-28 | - | - |
| Integration event | OnValidateVariantCodeOnAfterVerifyChange | (var Record Prod. Order Line, Record Prod. Order Line, Integer) | 25-28 | - | - |
| Integration event | OnAfterDeleteRelations | (var Record Prod. Order Line) | 26-28 | - | - |
| Integration event | OnShowRoutingOnBeforeFindAndSetProdOrderLineBinCodeFromProdRoutingLines | (var Record Prod. Order Line, var Boolean) | 26-28 | - | - |
| Integration event | OnBeforeValidateProductionBOMVersionCode | (var Record Prod. Order Line, Record Prod. Order Line, var Boolean) | 27-28 | - | - |
| Integration event | OnBeforeOnValidateUnitCost | (var Record Prod. Order Line, var Boolean) | 27-28 | - | - |
| Integration event | OnAfterCreateDim | (var Record Prod. Order Line, List, Record Prod. Order Line) | 28 | - | - |
| Integration event | OnCheckEndingDateOnBeforeProdOrderLineCheck | (var Record Prod. Order Line, var Boolean) | 28 | - | - |
| Integration event | OnValidateQuantityOnBeforeValidateEndingTime | (var Record Prod. Order Line, var Boolean) | 28 | - | - |
| Integration event | OnValidateQuantityBaseOnBeforeValidateEndingTime | (var Record Prod. Order Line, 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.
