Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-166

Add locationId to the piece schema

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 4.0.0
    • None
    • ACQ Sprint 57, ACQ Sprint 58
    • 2
    • Thunderjet

    Description

      Overview:
      In order to track which location (and holding) a piece is associated with, we need to add a locationId field to the piece record. This field is optional.
      Also in scope of this change the piece's status should be defaulted to "Expected" in the schema

      High level dev approach:

      • When creating inventory item the logic should return list of Piece objects with locationId and itemId populated (at the moment List of item id's is returned).
      • The logic which deals with piece records should accept the list of piece objects as input parameter

      Acceptance Criteria:

      • Schema and examlpes are updated
      • locationId is set when creating piece records (when applicable), e.g. when transitioning from Pending to Open

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                siarhei_hrabko Siarhei Hrabko
                cmcnally Craig McNally
                Siarhei Hrabko Siarhei Hrabko
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases