Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • GGCE Web GGCE Web
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GGCE
  • GGCE WebGGCE Web
  • Issues
  • #41

Closed
Open
Created Jun 09, 2020 by Matija Obreza@mobrezaOwner

Distribution: Item status and actions

The API allows for changing the status of selected items:

image

Actions are disabled when nothing is selected:

image

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: SHIPPED, CANCEL or 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 (HOLD, PENDING, INSPECT and QUALITYTEST) and how they relate to the process steps.

I'm struggling with INSPECT and QUALITYTEST states.

image

Curator actions

The UI needs to be updated to support the following initial curator actions on request items:

Current state Action New state
NEW Cancel CANCEL
NEW Split SPLIT
NEW Hold HOLD
NEW Assign inventory NEW
HOLD Resume NEW
CANCEL Resume/Reset NEW

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 PENDING.

At the moment when inventories are pulled from storage, the item status changes to PENDING.

In this 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 PENDING to HOLD in case there are issues with physical inventories.

Tasks for technicians are further documented (enhanced) by creating individual order item actions.

Edited Jun 09, 2020 by Matija Obreza
Assignee
Assign to
Time tracking