Stow jobs
Last updated
Last updated
Stow jobs represent the intention or instruction to change the storage location and/or the amount of stock in a facility. While the stow job itself holds general information such as the facility or priority of the job, the stow line item contains information on the items to be moved, their quantity, location, and more. Stow line items cannot exist without a stow job.
More information can be found under .
Stock is updated after a stow line item was taken. The target stock or location will not be updated until the items were stowed.
Stock that has been already taken but has not been stowed or discarded yet is referenced in the heldItems
object of the stow line item. In addition, the stock gets the "IN_MOTION" trait which makes it identifiable as a stock that is currently being moved and should not be updated.
An admin wants items from a goods receipt to be stowed or items to be relocated.
Create stow job in status OPEN
with takeFrom.type
LOCATION
to stowTo.Type LOCATION
using POST /api/stowjobs
.
Job is started by worker. Set status to IN_PROGRESS
using StartStowJobAction.
Items are taken from start location. Set TAKEN
information in operative data via ModifyStowLineItems action. A takenStockRef
must be set to in order to define which stock should be reduced.
Items are stowed to target location. Set STOWED
information in operative data via ModifyStowLineItems action. AstowedStockRef
and stowedStorageLocationRef
must be sent but can also be null. If a stowedStockRef
is provided, the moved stock is added to the specified. If not, a new stock is created. If stowedStorageLocationRef
is provided, the stock will be created on that location.
If no stowedStorageLocationRef
is defined, the stock will be created without a reference to any location.
Repeat step "3." & "4." until everything is stowed.
Set status to CLOSED
via CloseStowJobAction.
An admin wants new stock to be booked to location.
Job is started by worker. Set status to IN_PROGRESS
using StartStowJobAction.
Items are taken up by the worker. Set TAKEN
information in operative data via ModifyStowLineItems action. A takenStockRef
must not be defined since a new stock will be created based on data in taken.takenQuantity
and takeFrom.stockInformation
.
Follow steps 4-6 from above.
Admin wants stock to be discarded.
Create stow job in status OPEN
with takeFrom.type
LOCATION
to stowTo.Type
DISCARD
using POST /api/stowjobs
.
Job is started by worker. Set status to IN_PROGRESS
using StartStowJobAction.
Items are taken from start location. Set TAKEN
information in operative data via ModifyStowLineItems action. A takenStockRef
must be set to in order to define which stock should be reduced.
Items are discarded. Set STOWED
information in operative data via ModifyStowLineItems action. AstowedStockRef
and stowedStorageLocationRef
must not be defined since the stock is deleted after stowing was completed.
Set status to CLOSED
via CloseStowJobAction.
Admin wants a specific stock to be relocated. This could, for example, be the case if there are multiple expiry dates for the same item on one location.
Create stow job in status OPEN
with takeFrom.type
STOCK
to stowTo.TypeSTOCK
using POST /api/stowjobs
.
Job is started by worker. Set status to IN_PROGRESS
using StartStowJobAction.
Items are taken. Set TAKEN
information in operative data via ModifyStowLineItems action. A takenStockRef
must be set to in order to define which stock should be reduced.
Items are stowed. Set STOWED
information in operative data via ModifyStowLineItems action. AstowedStockRef
must be sent but can also be null.
If no stowedStockRef
is defined, a new stock will be created.
Repeat step "3." & "4." until everything is stowed.
Set status to CLOSED
via CloseStowJobAction.
The priority
can be defined on stowJob
level. Any value can be set meaning users can define their own logic. Priority can be set using PATCH /api/stowjobs/{stowJobId}
.
Create stow job in status OPEN
withtakeFrom.type
UNREGISTERED
to stowTo.Type
LOCATION
using POST /api/stowjobs
. If new stock should have or , it can be defined in the stockInformation
of the takeFrom
object.