Table 901 Assembly Line

Base Application, Microsoft.Assembly.Document
List17181920212223242526272829
Fields31
Keys21
Procedures38141122
Events556673122

In 28 4 added

ReserveFromInventory(var AssemblyLine: Record "Assembly Line")new in 28
added
UpdateAndPersistAvailWarning()new in 28
added
[IntegrationEvent] OnAfterMaxQtyToConsume(var AssemblyLine: Record "Assembly Line"; var MaxQuantityToConsume: Decimal)new in 28
added
[IntegrationEvent] OnAfterMaxQtyToConsumeBase(var AssemblyLine: Record "Assembly Line"; var MaxQuantityToConsumeBase: Decimal)new in 28
added

In 27 2 added

[IntegrationEvent] OnValidateVariantCodeOnUpdateDescriptionsFromItem(var AssemblyLine: Record "Assembly Line"; Item: Record Item)new in 27
added
[IntegrationEvent] OnValidateVariantCodeOnUpdateDescriptionsFromVariantCode(var AssemblyLine: Record "Assembly Line"; ItemVariant: Record "Item Variant")new in 27
added

In 26 3 added

field(64; "Gen. Bus. Posting Group"; Code[20])new in 26
added
CalcBaseQty(Qty: Decimal; FromFieldName: Text; ToFieldName: Text): Decimalnew in 26
added
GetSuspendDeletionCheck(): Booleannew in 26
added

In 25 2 added

internal ShowAssemblyDocument()new in 25
added
[IntegrationEvent] OnBeforeSetQtyPerUoMAndQtyRoundingPrecision(var AssemblyLine: Record "Assembly Line"; var IsHandled: Boolean)new in 25
added

In 24 1 added

SuspendDeletionCheck(Suspend: Boolean)new in 24
added

In 23 2 changed, 3 gone, 3 added

key(Key2; "Document Type", "Document No.", Type, "Location Code") { IncludedFields = "Cost Amount", Quantity, "No."; }17-29changed in 22, 23
changed, was key(Key2; "Document Type", "Document No.", Type, "Location Code") { IncludedFields = "Cost Amount", Quantity; }
CreateDim(Type1: Integer; No1: Code[20]; HeaderDimensionSetID: Integer)gone after 22
gone
GetHeader(): Record "Assembly Header"new in 20changed in 23
changed, was GetHeader()
SetAssemblyHeader(NewAssemblyHeader: Record "Assembly Header")new in 23
added
CheckIfAssemblyLineMeetsReservedFromStockSetting(QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock"): Booleannew in 23
added
[IntegrationEvent] OnAfterCreateDimTableIDs(var AssemblyLine: Record "Assembly Line"; CallingFieldNo: Integer; var TableID: array[10] of Integer; var No: array[10] of Code[20])gone after 22
gone
[IntegrationEvent] OnBeforeRunEventOnAfterCreateDimTableIDs(var AssemblyLine: Record "Assembly Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; var IsHandled: Boolean)20 to 22
gone
[IntegrationEvent] OnCheckIfAssemblyLineMeetsReservedFromStockSetting(QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock"; var Result: Boolean)new in 23
added

In 22 2 changed, 3 gone, 5 added

key(Key2; "Document Type", "Document No.", Type, "Location Code") { IncludedFields = "Cost Amount", Quantity; }17-29changed in 22, 23
changed, was key(Key2; "Document Type", "Document No.", Type, "Location Code") { IncludedFields = "Cost Amount", Quantity, "No."; SumIndexFields = "Cost Amount", Quantity; }
key(Key3; "Document Type", Type, "No.", "Variant Code", "Location Code", "Due Date") { IncludedFields = "Remaining Quantity (Base)", "Qty. Picked (Base)", "Consumed Quantity (Base)"; }17-29changed in 22
changed, was key(Key3; "Document Type", Type, "No.", "Variant Code", "Location Code", "Due Date") { IncludedFields = "Remaining Quantity (Base)", "Qty. Picked (Base)", "Consumed Quantity (Base)"; SumIndexFields = "Remaining Quantity (Base)", "Qty. Picked (Base)", "Consumed Quantity (Base)"; }
CalcQuantityFromBOM(LineType: Option; QtyPer: Decimal; HeaderQty: Decimal; HeaderQtyPerUOM: Decimal; LineResourceUsageType: Option): Decimalgone after 21
gone
[IntegrationEvent] OnBeforeInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer; var IsHandled: Boolean)21 to 21
gone
[IntegrationEvent] OnAfterInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer)21 to 21
gone
[IntegrationEvent] OnBeforeInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer; var IsHandled: Boolean; var AssemblyLine: Record "Assembly Line")new in 22
added
[IntegrationEvent] OnAfterInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer; var AssemblyLine: Record "Assembly Line")new in 22
added
[IntegrationEvent] OnAfterFindBin(var AssemblyLine: Record "Assembly Line"; var NewBinCode: Code[20])new in 22
added
[IntegrationEvent] OnBeforeCalcBOMQuantity(var AssemblyLine: Record "Assembly Line"; LineType: Enum "BOM Component Type"; QtyPer: Decimal; HeaderQty: Decimal; HeaderQtyPerUOM: Decimal; LineResourceUsageType: Option; var ReturnBOMQuantity: Decimal; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnBeforeCreateDim(var AssemblyLine: Record "Assembly Line"; CallingFieldNo: Integer; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; HeaderDimensionSetID: Integer; var IsHandled: Boolean)new in 22
added

In 21 1 gone, 5 added

[IntegrationEvent] OnAfterCalcExpectedInventory(var AssemblyLine: Record "Assembly Line"; var Item: Record Item; var ExpectedInventory: Decimal)gone after 20
gone
[IntegrationEvent] OnAfterCalcExpectedInventory(var AssemblyLine: Record "Assembly Line"; var Item: Record Item; var ExpectedInventory: Decimal; AvailableInventory: Decimal; ScheduledReceipt: Decimal; ReservedReceipt: Decimal; GrossRequirement: Decimal; ReservedRequirement: Decimal)new in 21
added
[IntegrationEvent] OnBeforeGetItemResource(AssemblyLine: Record "Assembly Line"; var Item: Record Item; var Resource: Record Resource; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeValidateQuantityPer(var AssemblyLine: Record "Assembly Line"; xAssemblyLine: Record "Assembly Line"; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer; var IsHandled: Boolean)21 to 21
added
[IntegrationEvent] OnAfterInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer)21 to 21
added

In 20 2 marked obsolete, 3 gone, 9 added

CreateDim(Type1: Integer; No1: Code[20]; HeaderDimensionSetID: Integer)gone after 22
marked Pending, tag 20.0: Replaced by CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
FilterLinesWithItemToPlan(var Item: Record Item; DocumentType: Option)gone after 19
gone
FindLinesWithItemToPlan(var Item: Record Item; DocumentType: Option): Booleangone after 19
gone
LinesWithItemToPlanExist(var Item: Record Item; DocumentType: Option): Booleangone after 19
gone
CheckItemAvailable(CalledByFieldNo: Integer)new in 20
added
GetHeader()new in 20changed in 23
added
CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; HeaderDimensionSetID: Integer)new in 20
added
CreateDimFromDefaultDim(HeaderDimensionSetID: Integer)new in 20
added
[IntegrationEvent] OnAfterCreateDimTableIDs(var AssemblyLine: Record "Assembly Line"; CallingFieldNo: Integer; var TableID: array[10] of Integer; var No: array[10] of Code[20])gone after 22
marked Pending, tag 20.0: Temporary event for compatibility
[IntegrationEvent] OnBeforeRunEventOnAfterCreateDimTableIDs(var AssemblyLine: Record "Assembly Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; var IsHandled: Boolean)20 to 22
added
[IntegrationEvent] OnAfterInitDefaultDimensionSources(var AssemblyLine: Record "Assembly Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])new in 20
added
[IntegrationEvent] OnAfterCreateDim(var AssemblyLine: Record "Assembly Line"; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; HeaderDimensionSetID: Integer)new in 20
added
[IntegrationEvent] OnBeforeOpenItemTrackingLines(var AssemblyLine: Record "Assembly Line"; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnValidateApplToItemEntryOnBeforeShowNotOpenItemLedgerEntryMessage(var AssemblyLine: Record "Assembly Line"; xAssemblyLine: Record "Assembly Line"; var ItemLedgerEntry: Record "Item Ledger Entry"; CurrentFieldNo: Integer)new in 20
added

In 19 1 changed, 9 added, 1 marked obsolete

field(10; Type; Enum "BOM Component Type")17-29changed in 19
changed, was field(10; Type; Option)
field(82; "Qty. Rounding Precision"; Decimal)new in 19
added
field(83; "Qty. Rounding Precision (Base)"; Decimal)new in 19
added
CalcQuantityFromBOM(LineType: Option; QtyPer: Decimal; HeaderQty: Decimal; HeaderQtyPerUOM: Decimal; LineResourceUsageType: Option): Decimalgone after 21
marked Pending, tag 19.0: Replaced by CalcBOMQuantity().
CalcBOMQuantity(LineType: Enum "BOM Component Type"; QtyPer: Decimal; HeaderQty: Decimal; HeaderQtyPerUOM: Decimal; LineResourceUsageType: Option): Decimalnew in 19
added
RoundQty(var Qty: Decimal)new in 19
added
[IntegrationEvent] OnBeforeGetHeader(var AssemblyLine: Record "Assembly Line"; var AssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeFindBin(var AssemblyLine: Record "Assembly Line"; var NewBinCode: Code[20]; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeValidateQuantityBase(var AssemblyLine: Record "Assembly Line"; var xAssemblyLine: Record "Assembly Line"; FieldNumber: Integer; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeCalcAvailBaseQuantities(var AssemblyLine: Record "Assembly Line"; var Item: Record Item; var AvailableInventory: Decimal; var ScheduledReceipt: Decimal; var ReservedReceipt: Decimal; var ReservedRequirement: Decimal; var GrossRequirement: Decimal; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeValidateQuantitytoConsume(var AssemblyLine: Record "Assembly Line"; xAssemblyLine: Record "Assembly Line"; CurrFieldNo: Integer; var IsHandled: Boolean)new in 19
added

In 18 5 added

[IntegrationEvent] OnAfterFilterLinesForReservation(var AssemblyLine: Record "Assembly Line"; ReservEntry: Record "Reservation Entry"; DocumentType: Option; AvailabilityFilter: Text; Positive: Boolean)new in 18
added
[IntegrationEvent] OnAfterShowDimensions(var AssemblyLine: Record "Assembly Line")new in 18
added
[IntegrationEvent] OnAfterUpdateDim(var AssemblyLine: Record "Assembly Line")new in 18
added
[IntegrationEvent] OnBeforeValidateDueDate(var AsmLine: Record "Assembly Line"; AsmHeader: Record "Assembly Header"; NewDueDate: Date; var ShowDueDateBeforeWorkDateMsg: Boolean)new in 18
added
[IntegrationEvent] OnValidateQuantityPerOnAfterRoundQty(var AssemblyLine: Record "Assembly Line")new in 18
added