Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • GGCE Server GGCE Server
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 38
    • Issues 38
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GGCE
  • GGCE ServerGGCE Server
  • Issues
  • #35
Closed
Open
Created Jun 09, 2020 by Matija Obreza@mobrezaOwner

Processes in request handling

@jalarcon @gcapilit GG allows for recording process steps as *Actions.

There is no specific status on the order itself, it is considered as closed when the completedDate is set. Everything else is recorded as order actions.

Considering a generic request for material (think distribution), once the list of accessions and request details are filed in GG, the next steps are:

  1. Assign source inventory to each requested item
    1. If there is no available inventory, what can we do with that order item? Set SYSTEM inventory and CANCEL the item?
  2. This leaves us with order items that have valid source inventory and can be packaged for distribution
  3. Determine if SMTA acceptance is required
    1. If SMTA required, initiate order item action SMTAACCEPT for all remaining items
    2. If other MTA is required, initiate relevant item action.
  4. Determine if IMPORT PERMIT is required
    1. Initiate IMPORT_PER action on items

For each item in the request:

  1. Retrieve source inventories from storage
  2. Pack take material from source inventory and package for distribution. This updates the available quantityOnHand of the source inventory.
  3. Verify that packets for distribution match (@jalarcon This is your ORIA_VER_SHIP action)
  4. Ship the material

Each of these is a task that can be recorded as OrderRequestItemAction with its own start and completed date.

Are any steps missing?

Relationship with order item Status

The status of each order item begins with NEW and ends in one of: SHIPPED, CANCEL or SPLIT states.

Intermediate states in GG are: HOLD, PENDING, INSPECT and QUALITYTEST. It is not immediately clear how these relate to the actions listed above.

Edited Mar 06, 2021 by Matija Obreza
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking