Package org.openwms.wms.shipping.spi
Interface InventoryAllocator
- All Known Implementing Classes:
FeignAllocator
,InmemoryAllocator
public interface InventoryAllocator
A InventoryAllocator.
- Author:
- Heiko Scherrer
-
Method Summary
-
Method Details
-
allocate
List<AllocatedTransportUnit> allocate(String sku, org.openwms.core.units.api.Measurable quantity, List<String> sourceLocationGroupNames) Allocate a product with thesku
in the givenquantity
.- Parameters:
sku
- The Product's SKUquantity
- The demanded quantitysourceLocationGroupNames
- A list of LocationGroup names where to allocate inventory in- Returns:
- A list of available TransportUnits to allocate
-