Interface WarehousingStockLevelFacade
- All Known Implementing Classes:
DefaultWarehousingStockLevelFacade
public interface WarehousingStockLevelFacade
Warehousing facade exposing CRUD operations on
WarehouseModel-
Method Summary
Modifier and TypeMethodDescriptioncreateStockLevel(StockLevelData stockLevelData) API to create aStockLevelModelcreateStockLevelAdjustements(String productCode, String warehouseCode, String binCode, String releaseDate, List<StockLevelAdjustmentData> stockLevelAdjustmentDatas) API to create one or severalStockLevelAdjustmentDatafor a specific stock levelAPI to get all stock level adjustment reasonsgetStockLevelsForWarehouseCode(String code, PageableData pageableData) API to get the stocklevels for theWarehouseModel.CODE
-
Method Details
-
getStockLevelsForWarehouseCode
SearchPageData<StockLevelData> getStockLevelsForWarehouseCode(String code, PageableData pageableData) API to get the stocklevels for theWarehouseModel.CODE- Parameters:
code- the code of warehouse to searchpageableData- pageable object that contains info on the number or pages and how many items in each page in addition the sorting info- Returns:
- list of stocklevels that complies with above conditions
-
createStockLevel
API to create aStockLevelModel- Parameters:
stockLevelData- theStockLevelDatato createStockLevelModelin the system- Returns:
- the
StockLevelDataconverted from the newly createdStockLevelModel
-
getStockLevelAdjustmentReasons
List<StockLevelAdjustmentReason> getStockLevelAdjustmentReasons()API to get all stock level adjustment reasons- Returns:
- a list of
StockLevelAdjustmentReason
-
createStockLevelAdjustements
List<StockLevelAdjustmentData> createStockLevelAdjustements(String productCode, String warehouseCode, String binCode, String releaseDate, List<StockLevelAdjustmentData> stockLevelAdjustmentDatas) API to create one or severalStockLevelAdjustmentDatafor a specific stock level- Parameters:
productCode- the product code of the product for which adjustments are requiredwarehouseCode- the warehouse code for which adjustments are requiredbinCode- the bin code of the stock level for which adjustments are requiredreleaseDate- the release date for which adjustments are requiredstockLevelAdjustmentDatas- the list of stock level adjustements to be created- Returns:
- the list of stock level adjustments created
-