Warehouse Abstract
Abstract base for a warehouse that fills incoming orders by routing each demand on the order to a per-item-type inventory. Replenishment orders are sent outward via replenishmentOrderFiller or replenishmentOrderFillerFinder.
Concrete subclasses implement fill (queue or process the order), orderFilled (post-fill shipping), and replenishmentOrderDelivered (cascade delivery to demands on a replenishment order).
See sc.inventorylayer.WarehouseAbstract
Inheritors
Constructors
Properties
Optional hook for individual filled demands inside an order.
Optional shipper for filled orders.
Whether outgoing replenishment orders allow backlogging.
Read-only view of the replenishment-order counter.
Direct order filler for replenishment orders.
Finder for replenishment order fillers.
Optional replenishment requester. If set, requestReplenishment delegates entirely to it; otherwise the default behavior is to build a single-demand order and dispatch.
Functions
Registers a per-demand listener on every demand of order that fires when the demand reaches FILLED. Replaces Java's order.setDemandOnOrderFilledListener.
Hooks the warehouse's filled-order listener onto order.
True if this filler can fill the item type of demand.
Default hook for individual filled demands inside an order. Overridden by subclasses or via demandOnOrderFilledHook.
Fill a previously received order. Must be called at the same simulation time as the receipt.
Returns an OrderMessageIfc describing what would happen if order were sent now, or null if negotiation is not supported.
Subclass hook fired when an incoming order reaches FILLED.
Subclass hook fired when an outgoing replenishment order is delivered.
Default behavior on a received replenishment order is to ask the filler to fill it.
Default rejection behavior for replenishment orders is to throw.
Used as a ReplenishmentRequesterIfc for held inventories. Packages the single replenishment demand into an order and dispatches it through the configured replenishment filler/finder.