...
After an order has been created, either through the host connector, or through the client, it gets the state new
. In this state, the order cannot be changed anymore and is ready to be started. As long as the order has this state, it can be safely cancelled or removed, as no stock has been assigned to it yet.
...
When an order is started (using the wms_order_start
database function, probably called from the order scheduler), it will assign stock to its lines and set the state to available
, which in this case means “available for order picking”. An order that is in state available
can be grabbed to become busy
.
Grabbing usually happens in the PocketApp.
Busy
This state means the order is being processed by an order picker. A user is connected to the order (the orderuserid
is filled in). In this state, you are allowed to call wms_orderline_finish
on its lines. Orders in busy
can be released to return to available
, or blocked to go to blocked
.
...
Any order in any state can be cancelled at any time, and this will always succeed. After cancellation, stock and cariers have been released and the order get the state cancelled
.
How
...
does it fit together?
Inc drawio | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|