public class WarehousingAvailabilityCalculationStrategy
extends DefaultCommerceAvailabilityCalculationStrategy
CommerceAvailabilityCalculationStrategy| Constructor and Description |
|---|
WarehousingAvailabilityCalculationStrategy() |
public WarehousingAvailabilityCalculationStrategy()
public Long calculateAvailability(Collection<StockLevelModel> stockLevels)
protected AtpFormulaModel getDefaultAtpFormula(Collection<StockLevelModel> stockLevels)
stockLevels - the list of stock levels from where to retrieve the default base store in case the current basestore is unknownprotected Map<String,Object> setupParameters(Collection<StockLevelModel> stockLevels)
protected Collection<StockLevelModel> filterStockLevels(Collection<StockLevelModel> stockLevels)
stockLevels - the stock levels to filterprotected Collection<StockLevelModel> filterStockLevelsReturned(Collection<StockLevelModel> stockLevels)
stockLevels - the StockLevelModel to filterprotected Collection<StockLevelModel> filterStockLevelsExternal(Collection<StockLevelModel> stockLevels)
stockLevels - the StockLevelModel to filterprotected AtpFormulaService getAtpFormulaService()
public void setAtpFormulaService(AtpFormulaService atpFormulaService)
protected RestockConfigService getRestockConfigService()
public void setRestockConfigService(RestockConfigService restockConfigService)
protected BaseStoreService getBaseStoreService()
public void setBaseStoreService(BaseStoreService baseStoreService)
Copyright © 2017 SAP SE. All Rights Reserved.