Uploaded image for project: 'mod-inventory-storage'
  1. mod-inventory-storage
  2. MODINVSTOR-625

Change effective location for items if parent holding or item location is changed

    XMLWordPrintable

    Details

    • Template:
      Thunderjet/Firebird Back-end Story Template
    • Sprint:
      Firebird Sprint 103
    • Story Points:
      2
    • Development Team:
      Firebird

      Description

      Purpose/Overview:
      For now item's effective location is changed by database trigger. Such implementation is not capable of triggering business logic (e.g. sending domain event).

      Requirements/Scope:

      1. If temporary/permanent location of holding is changed all items, for which location is not specified should be updated according to https://wiki.folio.org/display/RA/Effective+Location+Logic (they should inherit effective location of holding)
      2. Domain events should be sent for all such items, as it is for usual update
      3. Legacy database triggers should be removed

      Approach:
      On every holding update there should be check if effective location is changed. If it is changed there should sql query to find all items with unspecified location and effective location for such items should be updated.

      AC:
      The following cases should be checked after the implemtation:

      1. Changing item’s permanent/temporary location to remote location
      2. Moving an item to the holding with permanent/temporary remote location
      3. Creating an item in the holding with permanent/temporary remote location
      4. Starting actions on holding:
      5. Changing holding’s permanent/temporary location to remote location

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Charniak Siarhei Charniak
                Reporter:
                mikhail.fokanov Mikhail Fokanov
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases