public class DefaultAvailableToPromiseDao extends AbstractItemDao implements AvailableToPromiseDao
AvailableToPromiseDao| Modifier and Type | Field and Description |
|---|---|
protected String |
STOCK_LEVELS |
protected String |
STOCK_LEVELS_EXTERNAL |
protected String |
STOCK_LEVELS_RETURNED |
flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultAvailableToPromiseDao() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getAllocationQuantityForStockLevels(Map<String,Object> params)
Get the allocated quantity of a certain product for a collection of stock levels
|
Long |
getAvailabilityForStockLevels(Map<String,Object> params)
Get the quantity in stock of a certain product for a collection of stock levels
(excluding availability in the external warehouses)
|
Long |
getCancellationQuantityForStockLevels(Map<String,Object> params)
Get the cancelled quantity of a certain product for a collection of stock levels
|
Long |
getExternalQuantityForStockLevels(Map<String,Object> params)
Get the external stock quantity of a certain product for a collection of stock levels
|
Long |
getIncreaseQuantityForStockLevels(Map<String,Object> params)
Get the Increased quantity of a certain product for a collection of stock levels
|
Long |
getReservedQuantityForStockLevels(Map<String,Object> params)
Get the reserved quantity of a certain product for a collection of stock levels
|
Long |
getReturnedQuantityForStockLevels(Map<String,Object> params)
Get the returned quantity of a certain product for a collection of stock levels
|
Long |
getShrinkageQuantityForStockLevels(Map<String,Object> params)
Get the Shrinkage quantity of a certain product for a collection of stock levels
|
Long |
getWastageQuantityForStockLevels(Map<String,Object> params)
Get the Wastage quantity of a certain product for a collection of stock levels
|
protected Long |
returnAggregateQuantity(String queryString,
Map<String,Object> params,
String key)
Runs an aggregation query that returns an instance of
Long. |
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServiceprotected final String STOCK_LEVELS
protected final String STOCK_LEVELS_RETURNED
protected final String STOCK_LEVELS_EXTERNAL
public Long getAvailabilityForStockLevels(Map<String,Object> params)
AvailableToPromiseDaogetAvailabilityForStockLevels in interface AvailableToPromiseDaoparams - the parameters required to perform the searchpublic Long getAllocationQuantityForStockLevels(Map<String,Object> params)
AvailableToPromiseDaogetAllocationQuantityForStockLevels in interface AvailableToPromiseDaoparams - the parameters required to perform the searchpublic Long getCancellationQuantityForStockLevels(Map<String,Object> params)
AvailableToPromiseDaogetCancellationQuantityForStockLevels in interface AvailableToPromiseDaoparams - the parameters required to perform the searchpublic Long getReservedQuantityForStockLevels(Map<String,Object> params)
AvailableToPromiseDaogetReservedQuantityForStockLevels in interface AvailableToPromiseDaoparams - the parameters required to perform the searchpublic Long getShrinkageQuantityForStockLevels(Map<String,Object> params)
AvailableToPromiseDaogetShrinkageQuantityForStockLevels in interface AvailableToPromiseDaoparams - the parameters required to perform the searchpublic Long getWastageQuantityForStockLevels(Map<String,Object> params)
AvailableToPromiseDaogetWastageQuantityForStockLevels in interface AvailableToPromiseDaoparams - the parameters required to perform the searchpublic Long getIncreaseQuantityForStockLevels(Map<String,Object> params)
AvailableToPromiseDaogetIncreaseQuantityForStockLevels in interface AvailableToPromiseDaoparams - the parameters required to perform the searchpublic Long getReturnedQuantityForStockLevels(Map<String,Object> params)
AvailableToPromiseDaogetReturnedQuantityForStockLevels in interface AvailableToPromiseDaoparams - the parameters required to perform the searchpublic Long getExternalQuantityForStockLevels(Map<String,Object> params)
AvailableToPromiseDaogetExternalQuantityForStockLevels in interface AvailableToPromiseDaoparams - the parameters required to perform the searchprotected Long returnAggregateQuantity(String queryString, Map<String,Object> params, String key)
Long. Never null.queryString - Query to runparams - Parameters to apply to the queryparams - Key to apply to the queryCopyright © 2017 SAP SE. All Rights Reserved.