public class DefaultStockLevelSelectionStrategy extends Object implements StockLevelSelectionStrategy
StockLevelSelectionStrategy| Constructor and Description |
|---|
DefaultStockLevelSelectionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
StockLevelModel |
getStockLevelForAllocation(Collection<StockLevelModel> stockLevels)
Selects a stock level that stock can be allocated from
|
StockLevelModel |
getStockLevelForCancellation(Collection<StockLevelModel> stockLevels)
Selects a stock level to assign cancelled stock
|
public StockLevelModel getStockLevelForAllocation(Collection<StockLevelModel> stockLevels)
StockLevelSelectionStrategygetStockLevelForAllocation in interface StockLevelSelectionStrategystockLevels - the stock levels from which to allocatepublic StockLevelModel getStockLevelForCancellation(Collection<StockLevelModel> stockLevels)
StockLevelSelectionStrategygetStockLevelForCancellation in interface StockLevelSelectionStrategystockLevels - the stock levels from which to cancelCopyright © 2017 SAP SE. All Rights Reserved.