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

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://folio-org.atlassian.net/wiki/display/DD/Close+loan+when+lost+item+fees+are+closed#Closeloanwhenlostitemfeesareclosed-6Usepub/subapproachoverview

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Stephanie Buck September 14, 2022 at 1:47 PM

This ticket was verified through associated frontend ticket. I will close as done. 

Holly Mistlebauer February 15, 2022 at 5:14 PM

Alexander Kurash February 15, 2022 at 1:23 PM

Considering that fees/fines are closed by mod-feesfines, it should trigger closing of the loan and changing of the item status. Which means that this story should be moved to MODFEE project.

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Vega

Fix versions

Release

Nolana (R3 2022)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created August 27, 2020 at 6:40 PM
Updated August 31, 2023 at 4:19 PM
Resolved September 14, 2022 at 1:48 PM
TestRail: Cases
TestRail: Runs

Flag notifications