Codeunit 5997 Assembly Warehouse Mgt.

Base Application, Microsoft.Assembly.Document

Source AL, 286 lines

src/Layers/W1/BaseApp/Assembly/Document/AssemblyWarehouseMgt.Codeunit.allines 16 to 31 of 286, Copyright (c) Microsoft Corporation. MIT

codeunit 5997 "Assembly Warehouse Mgt."{    var        WhseManagement: Codeunit "Whse. Management";        WhseValidateSourceLine: Codeunit "Whse. Validate Source Line";        CannotPostConsumptionErr: Label 'You cannot post consumption for order no. %1 because a quantity of %2 remains to be picked.', Comment = '%1 - order number, %2 - quantity';    [EventSubscriber(ObjectType::Codeunit, Codeunit::"WMS Management", 'OnShowSourceDocLine', '', false, false)]    local procedure OnShowSourceDocLine(SourceType: Integer; SourceSubType: Option; SourceNo: Code[20]; SourceLineNo: Integer; SourceSubLineNo: Integer)    var        AssemblyLine: Record "Assembly Line";        IsHandled: Boolean;    begin        if SourceType = Database::"Assembly Line" then begin            AssemblyLine.SetRange("Document Type", SourceSubType);

All 286 lines

Events 4 in 29

[IntegrationEvent] OnBeforeShowAssemblyLines(var AssemblyLine: Record "Assembly Line"; SourceSubType: Integer; SourceNo: Code[20]; SourceLineNo: Integer; var IsHandled: Boolean)new in 23
[IntegrationEvent] OnAfterAssemblyLineVerifyChange(var NewRecordRef: RecordRef; var OldRecordRef: RecordRef)new in 23
[IntegrationEvent] OnAfterAssemblyLineDelete(var AssemblyLine: Record "Assembly Line")new in 23
[IntegrationEvent] OnBeforeCheckQtyRemainingToBePickedForAssemblyConsumption(var NewItemJnlLine: Record "Item Journal Line"; var OldItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean; var QtyRemainingToBePicked: Decimal)new in 26

Public procedures 3 in 29

ShowAssemblyLine(WhseDocNo: Code[20]; WhseDocLineNo: Integer)new in 23
AssemblyLineVerifyChange(var NewAssemblyLine: Record "Assembly Line"; var OldAssemblyLine: Record "Assembly Line")new in 23
AssemblyLineDelete(var AssemblyLine: Record "Assembly Line")new in 23

Changes 1 in 26

List17181920212223242526272829
Events1
[IntegrationEvent] OnBeforeCheckQtyRemainingToBePickedForAssemblyConsumption(var NewItemJnlLine: Record "Item Journal Line"; var OldItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean; var QtyRemainingToBePicked: Decimal)new in 26
added

All 1 changes in 23-29