Closing declared lost loan (Lost and paid status) for set cost

Description

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 :check_mark:

    • Given a loan that has been declared lost with the following fees assigned:

      • no lost item processing fee

      • charge amount for item is set cost > 0

    • When the charge amount for item fee has been closed

    • Then:

      • close the loan

      • change item status to Lost and paid

  2. Scenario :check_mark:

    • Given a loan that has been declared lost with the following fees assigned:

      • some lost item processing fee > 0

      • charge amount for item is set cost = 0.00

    • When the lost item processing fee has been closed

    • Then:

      • close the loan

      • change item status to Lost and paid

  3. Scenario :check_mark:

    • Given a loan that has been declared lost with the following fees assigned:

      • some lost item processing fee > 0

      • some charge amount for item > 0

    • When both the lost item processing fee and the charge amount fee have been closed

    • Then:

      • close the loan

      • change item status to Lost and paid

  4. Scenario :check_mark:

    • Given a loan that has been declared lost with the following fees assigned:

      • some lost item processing fee > 0 or 0

      • some charge amount for item of actual cost type

    • When the lost item processing fee has been closed

    • Then:

      • do NOT close the loan

      • do NOT 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

Notes:

  • If the Actual cost fee has not been charged to the patron yet, but is expected according to the fee/fine policy, the loan should not be closed.

  • Whether or not an Actual cost fee is owed should be determined when the item is declared lost. If some aspect determining the circulation rule/lost item fee policy changes between when the item was declared lost and when the fees were charged or paid, adhere to the lost item fee policy in place when the item was declared lost.

  • Other fees or fines may exist on the loan that are not related to its being declared lost. These should not block the loan from closing once all lost item fees are paid.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Emma Boettcher June 2, 2020 at 5:53 PM

Tested on folio-snapshot :yellow_star: 🙂

Bohdan Suprun June 2, 2020 at 9:06 AM

Hi ,

The feature is ready to be tested.

Emma Boettcher May 26, 2020 at 1:41 PM

Yes. When I said "don't close a loan with actual cost" I meant that its lost item fee policy stated that an actual cost should be assigned.

Bohdan Suprun May 25, 2020 at 1:19 PM

,

I assume, the only way to check it is to retrieve the associated lost item policy.

Am I right ?

Marc Johnson May 25, 2020 at 1:13 PM

I'd say don't close a loan with actual cost.

How is it known that the loan has an actual cost fee associated with it?

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Prokopovych

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created May 8, 2020 at 3:40 PM
Updated August 6, 2020 at 9:05 PM
Resolved June 2, 2020 at 5:53 PM
TestRail: Cases
TestRail: Runs

Flag notifications