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

Make product id type to be uuid

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 6.0.0
    • None
    • ACQ Sprint 65
    • 3
    • EBSCO - FSE

    Description

      Current situation

      User might add product ID (identifier) when creating PO Line:

      At the moment product_id_type.json defines enum of limited product id types. And UI uses these values as well.
      However in scope of UIOR-228 UI have to populate product IDs in the PO Line if user creates it based on existing instance record. This means UI have to use existing identifier types from the inventory storage and most likely some of the types will not match to those which are defined in enum.

      Proposed approach

      acq-models: change product id type to be not a string with limited predefined values but uuid.
      mod-orders: do not search identifier type record by name but just provided uuid to create instance record
      mod-orders-storage: update all sample data to use valid identifier types from inventory reference data

      Acceptance criteria

      • The schemas and examples are updated
      • Sample data is updated
      • Unit tests are updated
      • API tests are updated

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                piotr_kalashuk Piotr Kalashuk
                piotr_kalashuk Piotr Kalashuk
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases