Codeunit 7308 Replenishment

Base Application, Microsoft.Warehouse.Worksheet

Source AL, 404 lines

src/Layers/W1/BaseApp/Warehouse/Worksheet/Replenishment.Codeunit.allines 13 to 28 of 404, Copyright (c) Microsoft Corporation. MIT

codeunit 7308 Replenishment{    trigger OnRun()    begin    end;    var        Bin: Record Bin;        BinType: Record "Bin Type";        TempWhseWkshLine: Record "Whse. Worksheet Line" temporary;        ItemUnitOfMeasure: Record "Item Unit of Measure";        Location: Record Location;        UOMMgt: Codeunit "Unit of Measure Management";        WhseWkshTemplateName: Code[10];        WhseWkshName: Code[10];

All 404 lines

Events 11 in 29

[IntegrationEvent] OnBeforePickAccordingToFEFO(Location: Record Location; ItemNo: Code[20]; VariantCode: Code[10]; var Result: Boolean; var IsHandled: Boolean)17-29
[IntegrationEvent] OnCreateWhseWkshLineOnBeforeInsertTempWhseWkshLine(var TempWhseWkshLine: Record "Whse. Worksheet Line" temporary; var ToBinContent: Record "Bin Content")17-29
[IntegrationEvent] OnFindReplenishmtBinOnAfterFromBinContentSetFilters(var FromBinContent: Record "Bin Content"; var ToBinContent: Record "Bin Content")17-29
[IntegrationEvent] OnInsertWhseWkshLineOnAfterWhseWkshLineInsert(var WhseWkshLine: Record "Whse. Worksheet Line")17-29
[IntegrationEvent] OnFindReplenishmtBinOnBeforeCalcQtyAvailToTakeBase(FromBinContent: Record "Bin Content"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeInsertWhseWkshLine(var TempWhseWkshLine: Record "Whse. Worksheet Line" temporary; DoNotFillQtytoHandle: Boolean; var Result: Boolean; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeFindReplenishmtBin(var TempWhseWkshLine: Record "Whse. Worksheet Line" temporary; ToBinContent: Record "Bin Content"; AllowBreakBulk: Boolean; var NextLineNo: Integer; WhseWkshTemplateName: Code[10]; WhseWkshName: Code[10]; LocationCode: Code[10]; DoNotFillQtytoHandle: Boolean; RemainQtyToReplenishBase: Decimal; var IsHandled: Boolean)17-29

All 11 events

Public procedures 9 in 29

ReplenishBin(ToBinContent: Record "Bin Content"; AllowBreakBulk: Boolean)17-29
InsertWhseWkshLine(): Boolean17-29
SetWhseWorksheet(WhseWkshTemplateName2: Code[10]; WhseWkshName2: Code[10]; LocationCode2: Code[10]; DoNotFillQtytoHandle2: Boolean)17-29
FindReplenishmtBin(ToBinContent: Record "Bin Content"; AllowBreakBulk: Boolean)new in 19
SetRemainQtyToReplenishBase(NewRemainQtyToReplenishBase: Decimal)new in 24
FindBreakbulkBin(ToBinContent: Record "Bin Content")new in 24

All 9 procedures

Changes 2 in 26

List17181920212223242526272829
Procedures141
Events211
UseForReplenishment(FromBinContent: Record "Bin Content"): Booleannew in 26
added
[IntegrationEvent] OnSetWhseWorksheetOnAfterWhseWorksheetLineSetFilters(var WhseWorksheetLine: Record "Whse. Worksheet Line")new in 26
added

All 10 changes in 17-29