Distribution: Item status and actions
The API allows for changing the status of selected items:
Actions are disabled when nothing is selected:
In case of
SPLIT it will generate a new request record.
But this doesn't mean the UI is doing the right thing
Actions and states
As described in grin-global-server#35, the item state
NEW is the initial state and one of:
SPLIT is the final state.
When all items are in a final state, the request can be closed by filling the
completed date. No further changes should be allowed when the order is "closed".
Proposed state-change diagram
The diagram tries to explain the purpose of intermediate states (
QUALITYTEST) and how they relate to the process steps.
I'm struggling with
The UI needs to be updated to support the following initial curator actions on request items:
|Current state||Action||New state|
These actions are for the curator (person in charge). You will notice that
PENDING is not in the list above. When we're ready to begin preparing the material, the items in
NEW state are flagged items as
At the moment when inventories are pulled from storage, the item status changes to
PENDING state all the operations of the technicians are executed, until we know the item has
SHIPPED. We should allow for state to change from
HOLD in case there are issues with physical inventories.
Tasks for technicians are further documented (enhanced) by creating individual order item actions.