Uploaded image for project: 'mod-gobi'
  1. mod-gobi
  2. MODGOBI-73

PO Line: product id type is uuid

    XMLWordPrintable

Details

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

    Description

      Purpose

      PO Line's product id type changes from enum of predefined values to uuid of inventory identifier record. See details in MODORDERS-252. The defaulted identifier at the moment is ISBN so the logic should lookup identifier id by name (like it was done by mod-orders prior to MODORDERS-252).

      Current Mapping:

      {
        "field": "PRODUCT_ID_TYPE",
        "dataSource": {
        "default": "ISBN"
        }
      }
      

      We need to add a new lookupProductIdtype translator and specify translateDefault: true.

      Acceptance Criteria

      • The logic is updated as described above
      • Both ListedPrintMonograph and ListedElectronicMonograph mappings are updated
      • Unit tests are updated
      • API tests are updated if needed
      • Module descriptor is updated (module permissions, required interface)

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                varunjavalkar Varun Javalkar
                piotr_kalashuk Piotr Kalashuk
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases