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

Jonas Paprotka, https://jonas-paprotka.de/ref/table/901-assembly-line/

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

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Document Type | Enum Assembly Document Type | 17-28 | - | - |
| 2 | Document No. | Code[20] | 17-28 | - | - |
| 3 | Line No. | Integer | 17-28 | - | - |
| 10 | Type | Enum BOM Component Type | 17-28 | - | - |
| 11 | 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 | - | - |
| 18 | Lead-Time Offset | DateFormula | 17-28 | - | - |
| 19 | Resource Usage Type | Option | 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 | - | - |
| 25 | Position | Code[10] | 17-28 | - | - |
| 26 | Position 2 | Code[10] | 17-28 | - | - |
| 27 | Position 3 | Code[10] | 17-28 | - | - |
| 38 | Appl.-to Item Entry | Integer | 17-28 | - | - |
| 39 | Appl.-from Item Entry | Integer | 17-28 | - | - |
| 40 | Quantity | Decimal | 17-28 | - | - |
| 41 | Quantity (Base) | Decimal | 17-28 | - | - |
| 42 | Remaining Quantity | Decimal | 17-28 | - | - |
| 43 | Remaining Quantity (Base) | Decimal | 17-28 | - | - |
| 44 | Consumed Quantity | Decimal | 17-28 | - | - |
| 45 | Consumed Quantity (Base) | Decimal | 17-28 | - | - |
| 46 | Quantity to Consume | Decimal | 17-28 | - | - |
| 47 | Quantity to Consume (Base) | Decimal | 17-28 | - | - |
| 48 | Reserved Quantity | Decimal | 17-28 | - | - |
| 49 | Reserved Qty. (Base) | Decimal | 17-28 | - | - |
| 50 | Avail. Warning | Boolean | 17-28 | - | - |
| 51 | Substitution Available | Boolean | 17-28 | - | - |
| 52 | Due Date | Date | 17-28 | - | - |
| 53 | Reserve | Enum Reserve Method | 17-28 | - | - |
| 60 | Quantity per | Decimal | 17-28 | - | - |
| 61 | Qty. per Unit of Measure | Decimal | 17-28 | - | - |
| 62 | Inventory Posting Group | Code[20] | 17-28 | - | - |
| 63 | Gen. Prod. Posting Group | Code[20] | 17-28 | - | - |
| 64 | Gen. Bus. Posting Group | Code[20] | 26-28 | - | - |
| 65 | Unit Cost | Decimal | 17-28 | - | - |
| 67 | Cost Amount | Decimal | 17-28 | - | - |
| 72 | Date Filter | Date | 17-28 | - | - |
| 80 | Unit of Measure Code | Code[10] | 17-28 | - | - |
| 82 | Qty. Rounding Precision | Decimal | 19-28 | - | - |
| 83 | Qty. Rounding Precision (Base) | Decimal | 19-28 | - | - |
| 480 | Dimension Set ID | Integer | 17-28 | - | - |
| 7301 | Pick Qty. | Decimal | 17-28 | - | - |
| 7302 | Pick Qty. (Base) | Decimal | 17-28 | - | - |
| 7303 | Qty. Picked | Decimal | 17-28 | - | - |
| 7304 | Qty. Picked (Base) | Decimal | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Document Type, Document No., Line No. | 17-28 |
| Key2 | Document Type, Document No., Type, Location Code | 17-28 |
| Key3 | Document Type, Type, No., Variant Code, Location Code, Due Date | 17-28 |
| Key4 | Type, No. | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| InitRemainingQty | () | - | public | 17-28 | - | - |
| InitQtyToConsume | () | - | public | 17-28 | - | - |
| MaxQtyToConsume | () | Decimal | public | 17-28 | - | - |
| GetUnitCost | () | Decimal | public | 17-28 | - | - |
| CalcCostAmount | (Decimal, Decimal) | Decimal | public | 17-28 | - | - |
| ShowReservation | () | - | public | 17-28 | - | - |
| ShowReservationEntries | (Boolean) | - | public | 17-28 | - | - |
| UpdateAvailWarning | () | Boolean | public | 17-28 | - | - |
| ShowAvailabilityWarning | () | - | public | 17-28 | - | - |
| ShowAvailabilityWarningPage | () | - | public | 17-28 | - | - |
| IsInbound | () | Boolean | public | 17-28 | - | - |
| OpenItemTrackingLines | () | - | public | 17-28 | - | - |
| AutoReserve | () | - | public | 17-28 | - | - |
| ReservationStatus | () | Integer | public | 17-28 | - | - |
| SetTestReservationDateConflict | (Boolean) | - | 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[80] | public | 17-28 | - | - |
| SetReservationEntry | (var Record Reservation Entry) | - | public | 17-28 | - | - |
| SetReservationFilters | (var Record Reservation Entry) | - | public | 17-28 | - | - |
| ReservEntryExist | () | Boolean | public | 17-28 | - | - |
| ShowDimensions | () | - | public | 17-28 | - | - |
| CreateDim | (Integer, Code[20], Integer) | - | public | 17-22 | Pending 20.0 | Replaced by CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]) |
| UpdateDim | (Integer, Integer) | - | public | 17-28 | - | - |
| ValidateShortcutDimCode | (Integer, var Code[20]) | - | public | 17-28 | - | - |
| ShowShortcutDimCode | (var Code[20]) | - | public | 17-28 | - | - |
| ShowItemSub | () | - | public | 17-28 | - | - |
| ShowAssemblyList | () | - | public | 17-28 | - | - |
| ExplodeAssemblyList | () | - | public | 17-28 | - | - |
| CalcQuantityPer | (Decimal) | Decimal | public | 17-28 | - | - |
| CalcQuantityFromBOM | (Option, Decimal, Decimal, Decimal, Option) | Decimal | public | 17-21 | Pending 19.0 | Replaced by CalcBOMQuantity(). |
| SetItemToPlanFilters | (var Record Item, Enum Assembly Document Type) | - | public | 17-28 | - | - |
| FilterLinesWithItemToPlan | (var Record Item, Option) | - | public | 17-19 | Pending 17.0 | Replaced by SetItemToPlanFilters(). |
| FindItemToPlanLines | (var Record Item, Enum Assembly Document Type) | Boolean | public | 17-28 | - | - |
| FindLinesWithItemToPlan | (var Record Item, Option) | Boolean | public | 17-19 | Pending 17.0 | Replaced by FindItemToPlanLines(). |
| ItemToPlanLinesExist | (var Record Item, Enum Assembly Document Type) | Boolean | public | 17-28 | - | - |
| LinesWithItemToPlanExist | (var Record Item, Option) | Boolean | public | 17-19 | Pending 17.0 | Replaced by ItemToPlanLinesExist(). |
| FilterLinesForReservation | (Record Reservation Entry, Option, Text, Boolean) | - | public | 17-28 | - | - |
| SetItemFilter | (var Record Item) | - | public | 17-28 | - | - |
| CalcAvailToAssemble | (Record Assembly Header, var Record Item, var Decimal, var Decimal, var Decimal, var Decimal, var Date, var Decimal) | - | public | 17-28 | - | - |
| FixedUsage | () | Boolean | public | 17-28 | - | - |
| SignedXX | (Decimal) | Decimal | public | 17-28 | - | - |
| RowID1 | () | Text[250] | public | 17-28 | - | - |
| GetDefaultBin | () | - | public | 17-28 | - | - |
| FindBin | () | Code[20] | public | 17-28 | - | - |
| TestStatusOpen | () | - | public | 17-28 | - | - |
| SuspendStatusCheck | (Boolean) | - | public | 17-28 | - | - |
| CompletelyPicked | () | Boolean | public | 17-28 | - | - |
| CalcQtyToPick | () | Decimal | public | 17-28 | - | - |
| CalcQtyToPickBase | () | Decimal | public | 17-28 | - | - |
| CalcQtyPickedNotConsumed | () | Decimal | public | 17-28 | - | - |
| CalcQtyPickedNotConsumedBase | () | Decimal | public | 17-28 | - | - |
| ItemExists | (Code[20]) | Boolean | public | 17-28 | - | - |
| ShowTracking | () | - | public | 17-28 | - | - |
| VerifyReservationQuantity | (var Record Assembly Line, var Record Assembly Line) | - | public | 17-28 | - | - |
| VerifyReservationChange | (var Record Assembly Line, var Record Assembly Line) | - | public | 17-28 | - | - |
| VerifyReservationDateConflict | (Record Assembly Line) | - | public | 17-28 | - | - |
| SetSkipVerificationsThatChangeDatabase | (Boolean) | - | public | 17-28 | - | - |
| GetSkipVerificationsThatChangeDatabase | () | Boolean | public | 17-28 | - | - |
| ValidateDueDate | (Record Assembly Header, Date, Boolean) | - | public | 17-28 | - | - |
| ValidateLeadTimeOffset | (Record Assembly Header, DateFormula, Boolean) | - | public | 17-28 | - | - |
| TestItemFields | (Code[20], Code[10], Code[10]) | - | public | 17-28 | - | - |
| IsInventoriableItem | () | Boolean | public | 17-28 | - | - |
| CalcBOMQuantity | (Enum BOM Component Type, Decimal, Decimal, Decimal, Option) | Decimal | public | 19-28 | - | - |
| RoundQty | (var Decimal) | - | public | 19-28 | - | - |
| CheckItemAvailable | (Integer) | - | public | 20-28 | - | - |
| GetHeader | () | Record Assembly Header | public | 20-28 | - | - |
| CreateDim | (List, Integer) | - | public | 20-28 | - | - |
| CreateDimFromDefaultDim | (Integer) | - | public | 20-28 | - | - |
| SetAssemblyHeader | (Record Assembly Header) | - | public | 23-28 | - | - |
| CheckIfAssemblyLineMeetsReservedFromStockSetting | (Decimal, Enum Reservation From Stock) | Boolean | public | 23-28 | - | - |
| SuspendDeletionCheck | (Boolean) | - | public | 24-28 | - | - |
| ShowAssemblyDocument | () | - | internal | 25-28 | - | - |
| CalcBaseQty | (Decimal, Text, Text) | Decimal | public | 26-28 | - | - |
| GetSuspendDeletionCheck | () | Boolean | public | 26-28 | - | - |
| ReserveFromInventory | (var Record Assembly Line) | - | public | 28 | - | - |
| UpdateAndPersistAvailWarning | () | - | public | 28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCalcExpectedInventory | (var Record Assembly Line, var Record Item, var Decimal) | 17-20 | - | - |
| Integration event | OnAfterCopyFromItem | (var Record Assembly Line, Record Item, Record Assembly Header) | 17-28 | - | - |
| Integration event | OnAfterCopyFromResource | (var Record Assembly Line, Record Resource, Record Assembly Header) | 17-28 | - | - |
| Integration event | OnAfterCreateDimTableIDs | (var Record Assembly Line, Integer, var Integer, var Code[20]) | 17-22 | Pending 20.0 | Temporary event for compatibility |
| Integration event | OnAfterFilterLinesWithItemToPlan | (var Record Assembly Line, Record Item, Option) | 17-28 | - | - |
| Integration event | OnAfterGetSKU | (Record Assembly Line, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterGetUnitCost | (var Record Assembly Line, var Decimal) | 17-28 | - | - |
| Integration event | OnAfterInitRemainingQty | (var Record Assembly Line, Record Assembly Line, Integer) | 17-28 | - | - |
| Integration event | OnAfterInitQtyToConsume | (var Record Assembly Line, Record Assembly Line, Integer) | 17-28 | - | - |
| Integration event | OnAfterSetReservationFilters | (var Record Reservation Entry, Record Assembly Line) | 17-28 | - | - |
| Integration event | OnAfterValidateShortcutDimCode | (var Record Assembly Line, var Record Assembly Line, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeAutoReserve | (var Record Assembly Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCalcQtyToPick | (var Record Assembly Line, var Decimal, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCalcQtyToPickBase | (var Record Assembly Line, var Decimal, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeInitQtyToConsume | (var Record Assembly Line, Record Assembly Line, Integer) | 17-28 | - | - |
| Integration event | OnBeforeValidateShortcutDimCode | (var Record Assembly Line, var Record Assembly Line, Integer, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeCheckItemAvailable | (var Record Assembly Line, Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCalcAvailQuantities | (var Record Assembly Line) | 17-28 | - | - |
| Integration event | OnBeforeCopyFromItem | (var Record Assembly Line) | 17-28 | - | - |
| Integration event | OnBeforeCopyFromResource | (var Record Assembly Line) | 17-28 | - | - |
| Integration event | OnBeforeShowReservation | (var Record Assembly Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeUpdateAvailWarning | (var Record Assembly Line, var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnValidateQuantityOnAfterCalcBaseQty | (var Record Assembly Line, Record Assembly Line, Integer) | 17-28 | - | - |
| Integration event | OnAfterFilterLinesForReservation | (var Record Assembly Line, Record Reservation Entry, Option, Text, Boolean) | 18-28 | - | - |
| Integration event | OnAfterShowDimensions | (var Record Assembly Line) | 18-28 | - | - |
| Integration event | OnAfterUpdateDim | (var Record Assembly Line) | 18-28 | - | - |
| Integration event | OnBeforeValidateDueDate | (var Record Assembly Line, Record Assembly Header, Date, var Boolean) | 18-28 | - | - |
| Integration event | OnValidateQuantityPerOnAfterRoundQty | (var Record Assembly Line) | 18-28 | - | - |
| Integration event | OnBeforeGetHeader | (var Record Assembly Line, var Record Assembly Header, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeFindBin | (var Record Assembly Line, var Code[20], var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeValidateQuantityBase | (var Record Assembly Line, var Record Assembly Line, Integer, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeCalcAvailBaseQuantities | (var Record Assembly Line, var Record Item, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeValidateQuantitytoConsume | (var Record Assembly Line, Record Assembly Line, Integer, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeRunEventOnAfterCreateDimTableIDs | (var Record Assembly Line, var List, var Boolean) | 20-22 | Pending 20.0 | Temporary event for compatibility |
| Integration event | OnAfterInitDefaultDimensionSources | (var Record Assembly Line, var List) | 20-28 | - | - |
| Integration event | OnAfterCreateDim | (var Record Assembly Line, List, Integer) | 20-28 | - | - |
| Integration event | OnBeforeOpenItemTrackingLines | (var Record Assembly Line, var Boolean) | 20-28 | - | - |
| Integration event | OnValidateApplToItemEntryOnBeforeShowNotOpenItemLedgerEntryMessage | (var Record Assembly Line, Record Assembly Line, var Record Item Ledger Entry, Integer) | 20-28 | - | - |
| Integration event | OnAfterCalcExpectedInventory | (var Record Assembly Line, var Record Item, var Decimal, Decimal, Decimal, Decimal, Decimal, Decimal) | 21-28 | - | - |
| Integration event | OnBeforeGetItemResource | (Record Assembly Line, var Record Item, var Record Resource, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeValidateQuantityPer | (var Record Assembly Line, Record Assembly Line, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeInitTableValuePair | (var Dictionary, Integer, var Boolean) | 21 | - | - |
| Integration event | OnAfterInitTableValuePair | (var Dictionary, Integer) | 21 | - | - |
| Integration event | OnBeforeInitTableValuePair | (var Dictionary, Integer, var Boolean, var Record Assembly Line) | 22-28 | - | - |
| Integration event | OnAfterInitTableValuePair | (var Dictionary, Integer, var Record Assembly Line) | 22-28 | - | - |
| Integration event | OnAfterFindBin | (var Record Assembly Line, var Code[20]) | 22-28 | - | - |
| Integration event | OnBeforeCalcBOMQuantity | (var Record Assembly Line, Enum BOM Component Type, Decimal, Decimal, Decimal, Option, var Decimal, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeCreateDim | (var Record Assembly Line, Integer, List, Integer, var Boolean) | 22-28 | - | - |
| Integration event | OnCheckIfAssemblyLineMeetsReservedFromStockSetting | (Decimal, Enum Reservation From Stock, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeSetQtyPerUoMAndQtyRoundingPrecision | (var Record Assembly Line, var Boolean) | 25-28 | - | - |
| Integration event | OnValidateVariantCodeOnUpdateDescriptionsFromItem | (var Record Assembly Line, Record Item) | 27-28 | - | - |
| Integration event | OnValidateVariantCodeOnUpdateDescriptionsFromVariantCode | (var Record Assembly Line, Record Item Variant) | 27-28 | - | - |
| Integration event | OnAfterMaxQtyToConsume | (var Record Assembly Line, var Decimal) | 28 | - | - |
| Integration event | OnAfterMaxQtyToConsumeBase | (var Record Assembly Line, var Decimal) | 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.
