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