Interface WarehousingStockLevelFacade

All Known Implementing Classes:
DefaultWarehousingStockLevelFacade

public interface WarehousingStockLevelFacade
Warehousing facade exposing CRUD operations on WarehouseModel
  • Method Details

    • getStockLevelsForWarehouseCode

      SearchPageData<StockLevelData> getStockLevelsForWarehouseCode(String code, PageableData pageableData)
      API to get the stocklevels for the WarehouseModel.CODE
      Parameters:
      code - the code of warehouse to search
      pageableData - 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

      StockLevelData createStockLevel(StockLevelData stockLevelData)
      API to create a StockLevelModel
      Parameters:
      stockLevelData - the StockLevelData to create StockLevelModel in the system
      Returns:
      the StockLevelData converted from the newly created StockLevelModel
    • 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 several StockLevelAdjustmentData for a specific stock level
      Parameters:
      productCode - the product code of the product for which adjustments are required
      warehouseCode - the warehouse code for which adjustments are required
      binCode - the bin code of the stock level for which adjustments are required
      releaseDate - the release date for which adjustments are required
      stockLevelAdjustmentDatas - the list of stock level adjustements to be created
      Returns:
      the list of stock level adjustments created