Uploaded image for project: 'ui-inventory'
  1. ui-inventory
  2. UIIN-534

Item record. Delete (only) - check on dependencies with other apps

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      Core: F - Sprint 60, Core: F - Sprint 61, Core: F - Sprint 62, Core: F - Sprint 63, Core: F - Sprint 64, Core: F - Sprint 65
    • Story Points:
      8
    • Development Team:
      Prokopovych

      Description

      Purpose: Implement check on dependencies with other apps, before deletion of an item record.

      As a cataloger I want to be able to delete any given item record. Deletion is only possible, if there is no dependencies, e.g. like the item is being checked out, or there is an open request.

      This story covers check on dependencies with:

      1. Check out app
      2. Request app
      3. Order app

      Scenarios:

      1. Scenario
        • Go to FOLIO snapshot http://folio-snapshot.aws.indexdata.com/ and click on Inventory
        • Given any instance record with associated holdings and item records
        • When viewing the item record which is to be deleted
        • Then click on the arrow down in the pane header
        • and the drop-down actions menu displays
        • and click on Delete
        • Given the 'Confirm delete item' modal
        • When displayed and
          • there exist dependencies with other apps
          • Then the item can not be deleted, until the dependencies are cleared, removed
      2. Scenario
        • Dependency with the Check out app:
          • the Item is being checked out,
          • and has the item status 'Checked out'
          • then the item can not be deleted, until the dependency is cleared
          • the cataloger gets following message
          • "Item HRID [*the given Item HRID*] with barcode [*the given barcode*] is checked out and can not be deleted until checked in again, and item status is 'Available'.
        • And then the cataloger can only go back ('Cancel' button).
      3. Scenario
        • Dependency with the Request app:
          • there is an request placed on this item,
          • then the item can not be deleted, until the dependency is cleared
          • the cataloger gets following message
          • "Item HRID [*the given Item HRID] with barcode [*the given barcode*] has a request associated the request has been fulfilled, or the request has been cancelled.
        • And then the cataloger can only go back ('Cancel' button).
      4. Scenario
        • Dependency with the Order app:
          • the Item is in Order,
          • and has the item status 'On order'
          • then the item can not be deleted, until the dependency is cleared
          • the cataloger gets following message
          • "Item HRID [*the given Item HRID*] with barcode [*the given barcode*] is on order and can not be deleted until all dependency with the order app is cleared. If you want to continue with the deletion of the item record, go to the Order app and clear the dependencies."
        • And then the cataloger can only go back ('Cancel' button).

      Notes:

      1. A comprehensive list of all future dependencies is to be defined, and check for these to be implemented when these dependencies exist.
      2. In a later phase, will be implemented for catalogers with special permission to perform deletion - also in cases with associated item records
      3. In a later phase a 'waste basket' will be implemented, for catalogers to regret the performed deletion, and pull the record back into the collection

      Documents:

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mpk35 Michal Kuklis
                Reporter:
                charlotte Charlotte Whitt
                Tester Assignee:
                Charlotte Whitt Charlotte Whitt
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases