Interface AllocationService

All Known Implementing Classes:
AllocationServiceImpl

public interface AllocationService
A AllocationService is responsible to find and allocate material in stock.
Author:
Heiko Scherrer
  • Method Summary

    Modifier and Type
    Method
    Description
    allocate(@NotNull org.openwms.core.units.api.Measurable amount, @NotEmpty String sku, List<String> sourceLocationGroupNames)
    Allocate the amount of products identified with sku.
  • Method Details

    • allocate

      List<Allocation> allocate(@NotNull @NotNull org.openwms.core.units.api.Measurable amount, @NotEmpty @NotEmpty String sku, List<String> sourceLocationGroupNames)
      Allocate the amount of products identified with sku.
      Parameters:
      amount - The amount to allocate
      sku - The Products SKU
      sourceLocationGroupNames - The list of LocationGroup names wherein the article shall be allocated
      Returns:
      A list with all possible Allocations