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

Define new Business API for updating Instance Reference for Non-package order line

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 12.4.0
    • None
    • ACQ Sprint 140
    • 3
    • Thunderjet
    • Morning Glory R2 2022
    • TBD

    Description

      Purpose/Overview:
      Current situation or problem: When a purchase orders is connected to the wrong instance there is no way to correct it. Unopening orders to do this is causing issues with receiving workflow.

      Use cases:
      Use cases

      Requirements/Scope:

      1. Define API through which it should be possible replace instance reference for opened order line.

      Approach:

      1. Define PATCH method
      2. Implement class hierarchy : https://wiki.folio.org/display/DD/Edit+instance+connection+of+order+line+design#Editinstanceconnectionoforderlinedesign-Classdiagram
      • All classes should be defined in the Spring context as sigletons
      • Method "updateInstance" should throw exception "NotImplementedException"

      Acceptance criteria:

      • RAML file ramls/order-lines.raml updated
      • Stubs implemented

      TestRail: Results

        Attachments

          1. image-2022-05-27-11-26-00-647.png
            image-2022-05-27-11-26-00-647.png
            121 kB
          2. MODORDERS-683.PNG
            MODORDERS-683.PNG
            44 kB
          3. MODORDERS-683.postman_collection.json
            8 kB
          4. screenshot-1.png
            screenshot-1.png
            109 kB
          5. screenshot-2.png
            screenshot-2.png
            158 kB
          6. screenshot-3.png
            screenshot-3.png
            148 kB
          7. screenshot-4.png
            screenshot-4.png
            204 kB
          8. screenshot-5.png
            screenshot-5.png
            121 kB

          Issue Links

            Activity

              People

                Andrei_Makaranka Andrei Makaranka
                Andrei_Makaranka Andrei Makaranka
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases