Replenishment and Flow Planning