Uploaded image for project: 'mod-circulation'
  1. mod-circulation
  2. CIRC-194

Requests: Populate the Hold Shelf Expiration Date when a request becomes "Open - Awaiting pickup"

    XMLWordPrintable

Details

    • Core: F - Sprint 57, Core: F - Sprint 58
    • 8
    • Prokopovych

    Description

      Purpose: To populate the Hold Shelf Expiration Date field when a request becomes "Open - Awaiting pickup"

      User story:

      • Given a requested item is checked in at the desired pick up service point
      • I want FOLIO to populate the Hold Shelf Expiration Date field
      • So it can be weeded from the Hold Shelf when the Hold Shelf Expiration Date passes and so that the request can become "Closed - Pickup expired" when the Hold Shelf Expiration Date passes

      Scenarios:

      1. Scenario
        • Given requested Item X is checked in at the desired pick up service point
        • When the request status is changed to "Open - Awaiting pickup"
        • Then the request's Hold Shelf Expiration Date in the Request record should be populated with today's date/time plus the Hold shelf expiration period defined in the Service point (see UISP-7)
      2. Scenario
        • Given a requested Item X with status "Awaiting pickup"
        • When the item is checked in again at the request's pickup service point
        • Then the request's Hold Shelf Expiration Date should not change
      3. Scenario
        • Given a requested Item X with status "Awaiting pickup"
        • When the item is checked in at a service point other than the request's pickup service point
        • Then:
          • The request status should change from "Open - Awaiting pickup" to "Open - In transit" (covered in UICHKIN-49)
          • The request's Hold Shelf Expiration Date should clear out, as it's no longer on the hold shelf

      More granular scenarios for testing (redundant with logic above, but good for testing):

      1. Scenario
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = Checked out
        • When Item X is checked in at service point SP1
        • Then
          • Request status should change from "Open - Not yet filled" to "Open - Awaiting pickup" (this is already working)
          • Hold shelf expiration date should set to today's date + hold shelf expiration period for SP1 (defined in UISP-7)
      2. Scenario
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = In transit
        • When Item X is checked in at service point SP1
        • Then:
          • Request status should change from "Open - In transit" to "Open - Awaiting pickup"
          • Hold shelf expiration date should set to today's date + hold shelf expiration period for SP1 (defined in UISP-7)policy) (covered by UIREQ-144)
      3. Scenario
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = Awaiting pickup
        • When Item X is checked in at service point SP1
        • Then:
          • Request status should remain "Open - Awaiting pickup"
          • Hold shelf expiration date should not change
      4. Scenario
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = Available Paged
        • When Item X is checked in at service point SP1
        • Then:
          • Request status should change from "Open - Not yet filled" to "Open - Awaiting pickup"
          • Hold shelf expiration date should set to today's date + hold shelf expiration period for SP1 (defined in UISP-7)
      5. Scenario
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = Checked out
        • When Item X is checked in at a service point other than SP1
        • Then:
          • Request status should change from "Open - Not yet filled" to "Open - In transit"
          • Hold shelf expiration date should not be set/should be cleared out (both would be fine, as the end result is the same (no hold shelf expiration date is populated)
      6. Scenario
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = Available Paged
        • When Item X is checked in at a service point other than SP1
        • Then:
          • Request status should change from "Open - Not yet filled" to "Open - In transit"
          • Hold shelf expiration date should not be set/should be cleared out (both would be fine, as the end result is the same (no hold shelf expiration date is populated)
      7. Scenario
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = In transit
        • When Item X is checked in at a service point other than SP1
        • Then:
          • Request status should stay "Open - In transit"
          • Hold shelf expiration date should not be set/should be cleared out (both would be fine, as the end result is the same (no hold shelf expiration date is populated)
      8. Scenario
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = Awaiting pickup at Service point 1
        • When Item X is checked in at a service point other than Service Point 1
        • Then:
          • Request status should change from "Open - Awaiting pickup" to "Open - In transit"
          • Hold shelf expiration date should clear out, as it's no longer on the hold shelf

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mreno Mathew Reno
                cboerema Cate Boerema
                Cate Boerema Cate Boerema
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases