Uploaded image for project: 'mod-inn-reach'
  1. mod-inn-reach
  2. MODINREACH-239

INN-Reach Staff Interface: INN-Reach Transaction Detail View Action Menu (Patron hold) - Return Item API

    XMLWordPrintable

Details

    • Volaris Sprint 136, Volaris Sprint 137
    • 3
    • Volaris

    Description

      Purpose:

      Provide an "Actions" menu for Patron hold transactions.

      User story statement(s):

      Action menu items provide both a shortcut to perform some circulation actions while viewing transaction details, but also resolve any state inconsistencies between mod-inn-reach transactions and associated FOLIO circulation records (eg. a loan item has been returned but the IN_TRANSIT message has not been sent to the central server, or an item has been cleared from the hold shelf without circulating and not RETURN_UNCIRCULATED message has been sent).

      Requirements:

      1. The API should accept a transactionId
      2. If the transaction is in state ITEM_RECEIVED or RECEIVE_UNANNOUNCED
        1. The API should check to see if there is a loan associated with the transaction
          1. If the loan is not closed, check the item in using the check-in-by-barcode API from mod-circulation
          2. Ensure that the IN_TRANSIT message is sent to the central server
        2. OR The API should check to see if the associated request is "Closed - cancelled" or "Closed - expired"
          1. If so, check the item in using the check-in-by-barcode API
          2. Ensure that the RETURN_UNCIRCULATED message is sent to the central server

      Acceptance Criteria:

      • Transactions that are associated with a closed loan but are still in status ITEM_RECEIVED or RECEIVE_UNANNOUNCED should be updated to IN_TRANSIT and the in transit message sent to the central server
      • Transactions associated with cancelled or expired requests should have their items checked in and be updated to RETURN_UNCIRCULATED (this should be performed via response to kafka messages, but this API should force the message)
      • Transactions with open loans should check the item in and ensure that the appropriate messages are sent to the central server

      TestRail: Results

        Attachments

          1. 1-landing-page.png
            1-landing-page.png
            71 kB
          2. 2-transactions-list.png
            2-transactions-list.png
            84 kB
          3. 3-transactions-detail.png
            3-transactions-detail.png
            133 kB
          4. 6-transaction-type-patron.png
            6-transaction-type-patron.png
            131 kB
          5. 7-actions-for-patron.png
            7-actions-for-patron.png
            143 kB
          6. 8-actions-for-return-success.png
            8-actions-for-return-success.png
            136 kB

          Issue Links

            Activity

              People

                brookstravis Brooks Travis
                brookstravis Brooks Travis
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases