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

BACKEND - Aged to lost: Closing "Lost and paid" status - ACTUAL COST

    XMLWordPrintable

Details

    • EPAM-Veg Sprint 144, EPAM-Veg Sprint 145, EPAM-Veg Sprint 146, EPAM-Veg Sprint 147, EPAM-Veg Sprint 148
    • 3
    • Vega
    • Nolana (R3 2022)

    Description

      NOTE: SAME SCENARIOS AS WITH DECLARED LOST

      Purpose: Once the patron has paid for the item (or the associated fines have otherwise been taken care of - for example, if the library waives them), the loan can be closed.

      The lost item fee policy will specify that either the actual cost of the item is charged or a set cost for a lost item is charged (in addition to a lost item processing fee). This story covers scenarios where the set cost is charged (automated).

      Scenarios:

      1. Scenario
        • Given a loan that has been aged to lost and billed (Loan Record lostItemHasBeenBilled = 'true) with the following fees assigned:
          • No Lost Item Processing Fee billed
          • Some Lost Item Fee using ACTUAL COST > 0
        • When the ACTUAL COST Lost Item Fee has been closed
        • Then:
          • Close the loan
          • Change item status to Lost and paid
      2. Scenario
        • Given a loan that has been aged to lost and billed (Loan Record lostItemHasBeenBilled = 'true) with the following fees assigned:
          • Some Lost Item Processing Fee > 0
          • Some Lost Item Fee using ACTUAL COST > 0
        • When both the Lost Item Processing Fee and the ACTUAL COST Lost Item Fee have been closed
        • Then:
          • Close the loan
          • Change item status to Lost and paid
      3. Scenario
        • Given a loan that has been aged to lost and billed (Loan Record lostItemHasBeenBilled = 'true) with the following fees assigned:
          • No Lost Item Processing Fee billed
          • Lost Item Fee Policy set to use ACTUAL COST
          • ACTUAL COST Lost Item Fee not ever billed
        • When the Lost Item Fee Policy setting "For lost items not charged a fee/fine, close the loan after" interval has been reached
        • Then:
          • Close the loan
          • Change item status to Lost and paid
      4. Scenario
        • Given a loan that has been aged to lost and billed (Loan Record lostItemHasBeenBilled = 'true) with the following fees assigned:
          • Some Lost Item Processing Fee > 0
          • Lost Item Fee Policy set to use ACTUAL COST
          • ACTUAL COST Lost Item Fee not ever billed
        • When the Lost Item Processing Fee has been closed and Lost Item Fee Policy setting "For lost items not charged a fee/fine, close the loan after" interval has been reached
        • Then:
          • Close the loan
          • Change item status to Lost and paid

      Dev details: https://wiki.folio.org/display/DD/Close+loan+when+lost+item+fees+are+closed#Closeloanwhenlostitemfeesareclosed-6Usepub/subapproachoverview

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                roman-barannyk Roman Barannyk
                hollyolepm Holly Mistlebauer
                Holly Mistlebauer Holly Mistlebauer
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases