Fulfillment
Fulfilling an order is a short chain of documents. No step edits a stock figure directly: every step records a movement, and the quantities follow.
flowchart LR so[Sales Order<br/>the demand] -- Create Fulfillment Order --> fo[Fulfillment Order<br/>the plan] fo -- Reserve --> res[(Stock reserved<br/>at bins and lots)] res -- each pick --> gm[Goods Movement<br/>one per pick] fo -- Close --> rel[Release<br/>whatever was not picked]
The documents
Section titled “The documents”- Sales Order — what the customer wants. It reserves nothing. An open order is demand only, and the stock stays available to everyone.
- Fulfillment Order — the warehouse’s plan for one delivery: which order lines to fulfill, and optionally from which warehouse. It is internal: not the customer’s delivery note, and it carries no addresses or amounts. Its lines may come from different sales orders.
- Goods Movement — one per pick: the event that takes goods off the shelf.
- Reservation Movement — one per reserve and one per close, so every reservation and every release is on the record.
Creating the plan commits nothing
Section titled “Creating the plan commits nothing”A fulfillment order can sit for days, be edited, or be closed unused. The stock stays available to everyone the whole time.
It is written in the product’s base unit, whatever unit the sales line used. Naming a Warehouse narrows picking to that location and everything beneath it. Leaving it empty draws from anywhere.
Reserve is the commitment point
Section titled “Reserve is the commitment point”Reserve chooses real bins and lots, earliest expiry first, inside the order’s warehouse or anywhere when it names none. It reserves exactly those, separately for each line.
flowchart TD
reserve[Reserve] --> alloc{Enough available stock?}
alloc -- yes --> res[Bins and lots reserved<br/>available drops, on hand unchanged]
alloc -- no --> fail[Reservation refused whole<br/>the order stays open, nothing reserved]
- A shortfall refuses the whole reservation. Nothing is half-reserved; someone decides what to send now.
- Reserving locks the document. An open fulfillment order can be edited. A reserved one cannot: changing what to pick means closing it and creating a new one.
Reserved stock still counts as On hand but no longer as available, so nobody else can promise it. It cannot be booked out by hand. It can be transferred to another bin, and the reservation moves with it.
Picking draws from the reservation
Section titled “Picking draws from the reservation”The pick list shows what is reserved and still to fetch: which products, at which bins, in which lots. Each pick posts one goods movement that takes the goods out of stock.
sequenceDiagram participant W as Warehouse worker participant S as OnERP W->>S: Reserve S-->>W: Bin A · Lot 0525 · 4 pieces W->>S: Picked 3 from Bin A S-->>S: Reservation shrinks by 3 W->>S: Close S-->>S: Remaining 1 piece released to available stock
A pick of more than is reserved at that bin is refused, so a wrong bin or an over-scan fails instead of changing the count.
Picked Quantity is what was picked minus what was put back. The sales order line adds it up across all its fulfillment orders, in the product’s base unit: an order for one box of 12 pieces reads as 12 pieces picked. The invoiced quantity stays in the sales line’s own unit.
Picking short is normal. Nothing forces a correction at pick time.
Closing releases the remainder
Section titled “Closing releases the remainder”The last pick closes a fully picked order on its own. Close ends an unfinished one: whatever is still reserved returns to available stock, and the order is marked Closed.
Closed means no more picking through this document. The order may have picked everything, some, or nothing. Closing never changes picked quantities and posts no goods movement: the picks already recorded what went out.
stateDiagram-v2 [*] --> Open: create — a plan, nothing reserved Open --> Open: edit freely Open --> Reserved: Reserve — stock reserved, document locked Reserved --> Reserved: picks post, reservation shrinks Reserved --> Closed: fully picked, or Close releases the remainder Open --> Closed: Close — the plan is called off Closed --> [*]
Undoing a pick
Section titled “Undoing a pick”An undo puts goods back at the bin they came from and subtracts the quantity from Picked Quantity on both the fulfillment order and the sales order. No more can be put back than was picked from that bin, lot and owner.
On a reserved order the returned goods are reserved again and can be picked again. On a closed order they become available stock, and picking them again takes a new fulfillment order.
An undo reverses a warehouse pick. It is not a customer return.