Codeunit 7308 "Replenishment"
Base Application · Microsoft.Warehouse.Worksheet
Across versions
- BC23present
- BC244 procedures changed, 2 procedures added
- BC251 events added
- BC261 procedures changed, 1 events added
- BC27-30unchanged
Neighbourhood 2 connected objects and pages
Base Application · Microsoft.Warehouse.Worksheet · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnBeforePickAccordingToFEFO(Location: Record Location; ItemNo: Code[20]; VariantCode: Code[10]; var Result: Boolean; var IsHandled: Boolean)(integration)OnCreateWhseWkshLineOnBeforeInsertTempWhseWkshLine(var TempWhseWkshLine: Record "Whse. Worksheet Line" temporary; var ToBinContent: Record "Bin Content")(integration)OnFindReplenishmtBinOnAfterFromBinContentSetFilters(var FromBinContent: Record "Bin Content"; var ToBinContent: Record "Bin Content")(integration)OnInsertWhseWkshLineOnAfterWhseWkshLineInsert(var WhseWkshLine: Record "Whse. Worksheet Line")(integration)OnFindReplenishmtBinOnBeforeCalcQtyAvailToTakeBase(FromBinContent: Record "Bin Content"; var IsHandled: Boolean)(integration)OnBeforeInsertWhseWkshLine(var TempWhseWkshLine: Record "Whse. Worksheet Line" temporary; DoNotFillQtytoHandle: Boolean; var Result: Boolean; var IsHandled: Boolean)(integration)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)(integration)OnReplenishBinOnAfterAssignExcludedQtyBase(ToBinContent: Record "Bin Content"; var ExcludedQtyBase: Decimal)(integration)OnBeforeReplenishBin(ToBinContent: Record "Bin Content"; var IsHandled: Boolean; RemainQtyToReplenishBase: Decimal; AllowBreakBulk: Boolean)(integration)OnFindBreakbulkBinOnAfterFromBinContentSetFilters(var FromBinContent: Record "Bin Content"; var ToBinContent: Record "Bin Content"; ItemUnitOfMeasure: Record "Item Unit of Measure"; var SkipItemUnitOfMeasure: Boolean)+ BC25 (integration)OnSetWhseWorksheetOnAfterWhseWorksheetLineSetFilters(var WhseWorksheetLine: Record "Whse. Worksheet Line")+ BC26 (integration)
Procedures
ReplenishBin(ToBinContent: Record "Bin Content"; AllowBreakBulk: Boolean)FindReplenishmtBin(ToBinContent: Record "Bin Content"; AllowBreakBulk: Boolean)SetRemainQtyToReplenishBase(NewRemainQtyToReplenishBase: Decimal)+ BC24FindBreakbulkBin(ToBinContent: Record "Bin Content")Δ BC24CreateWhseWkshLine(ToBinContent: Record "Bin Content"; FromBinContent: Record "Bin Content"; MovementQtyBase: Decimal)Δ BC24GetTempWhseWkshLine(var TempWhseWorksheetLineOut: Record "Whse. Worksheet Line" temporary)+ BC24InsertWhseWkshLine(): BooleanUseForReplenishment(FromBinContent: Record "Bin Content"): BooleanΔ BC26SetWhseWorksheet(WhseWkshTemplateName2: Code[10]; WhseWkshName2: Code[10]; LocationCode2: Code[10]; DoNotFillQtytoHandle2: Boolean)
Plus 4 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 6500 “Item Tracking Management” (3 calls:
PickAccordingToFEFO → ExistingExpirationDate,PickAccordingToFEFO → GetWhseItemTrkgSetup,PickAccordingToFEFO → WhseExistingExpirationDate) - Codeunit 5402 “Unit of Measure Management” (1 call:
CreateWhseWkshLine → QtyRndPrecision)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Replenishment"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.