Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
GRIN-Global Server
GRIN-Global Server
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • GRIN-Global
  • GRIN-Global ServerGRIN-Global Server
  • Issues
  • #35

Closed
Open
Opened Jun 09, 2020 by Matija Obreza@mobrezaOwner
  • Report abuse
  • New issue
Report abuse New issue

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 Jun 09, 2020 by Matija Obreza
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
1.0
Milestone
1.0
Assign milestone
Time tracking
None
Due date
None
Reference: grin-global/grin-global-server#35