Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
zoom1
simple0
pageId597426177
custContentId597557322
lbox1
diagramDisplayNameorder_states.drawio
hiResPreview0
baseUrlhttps://tbwb.atlassian.net/wiki
diagramNameorder_states.drawio
imgPageId597491761
pCenter0
aspect_ErOYv-08MJtHwuPoq7Z 1
width572
includedDiagram1
aspectHashd317e131e1f3b0340b8b44265130387e6f3a35e5
linksauto
tbstyletop
height862