Codeunit 99000984 Mfg. WhseSourceCreateDocument

Base Application, Microsoft.Warehouse.Request

Source AL, 82 lines

src/Layers/W1/BaseApp/Manufacturing/Warehouse/Request/MfgWhseSourceCreateDocument.Codeunit.allines 11 to 26 of 82, Copyright (c) Microsoft Corporation. MIT

codeunit 99000984 "Mfg. WhseSourceCreateDocument"{    SingleInstance = true;    var        MfgCreatePutaway: Codeunit "Mfg. Create Put-away";        CannotHandleMoreThanProdOrderLineQtyErr: Label 'You cannot handle more than %1 quantity in Production Order No. %2, Line No. %3', Comment = '%1 = Quantity, %2 - Production Order No., %3 - Production Order Line No.';    [EventSubscriber(ObjectType::Report, Report::"Whse.-Source - Create Document", 'OnCreatePutawayFromProduction', '', true, false)]    local procedure OnCreatePutawayFromProduction(var WhsePutawayWorksheetLine: Record "Whse. Worksheet Line"; SourceType: Integer; var EverythingHandled: Boolean; var QtyHandledBase: Decimal)    var        ProdOrderLine: Record "Prod. Order Line";    begin        CheckAndUpdateFinishedQtyOnProdOrderLineFromPutAway(ProdOrderLine, WhsePutawayWorksheetLine, SourceType);        if ProdOrderLine."Finished Qty. (Base)" > 0 then begin

All 82 lines