Class SplitByWarehouse

    • Constructor Detail

      • SplitByWarehouse

        public SplitByWarehouse()
    • Method Detail

      • chooseBestWarehouse

        protected WarehouseModel chooseBestWarehouse​(OrderEntryGroup orderEntries)
        Choose best warehouse this function is called by getWarehouseList after we have set of possible warehouses.
        Parameters:
        orderEntries - the order entries
        Returns:
        the warehouse model
      • sortOrderEntryBeforeWarehouseSplitting

        protected OrderEntryGroup sortOrderEntryBeforeWarehouseSplitting​(OrderEntryGroup listOrderEntry)
        Sort order entry before warehouse splitting.
        Parameters:
        listOrderEntry - the list order entry
        Returns:
        the list< order entry model>
      • setCommerceAvailabilityCalculationStrategy

        public void setCommerceAvailabilityCalculationStrategy​(CommerceAvailabilityCalculationStrategy commerceAvailabilityCalculationStrategy)
        Parameters:
        commerceAvailabilityCalculationStrategy - the commerceAvailabilityCalculationStrategy to set
      • getStockService

        protected StockService getStockService()
        Returns:
        the stockService
      • setStockService

        public void setStockService​(StockService stockService)
        Parameters:
        stockService - the stockService to set