User Tools

Site Tools


scratchpad:negative_balances

This is an old revision of the document!


Negative Balance Use Cases

Use cases to support to further define the desired behavior for the conditional negative balance code at https://bugs.launchpad.net/evergreen/+bug/1198465.

The original requirements for this work are available at http://masslnc.cwmars.org/node/2762#BILL-01_Support_for_No_Negative_Balances_and_Conditional_Negative_Balances and resulting software specs are available at http://www.sigio.com/evergreen/billing2013.html#negativebalances.

The goal of these use cases is to identify desired behavior for a variety of turns that a billing transaction can take when a library has enabled the setting to prohibit negative balances. For each use case, we outline a set of desired behaviors based on what other billing settings might be in use at a given library. If a library uses conditional negative balance settings, then we expect the behavior to be the same as identified below once the designated interval has passed.

The following libraries are included in these use cases:

  • Library A:
    • Does not void overdue fines when an item is marked lost;
    • Does not charge processing fees for lost items;
    • Does not generate new overdues on a lost checkin.
  • Library B:
    • Does not void overdue fines when an item is marked lost;
    • Does not charge processing fees for lost items;
    • Generates new overdues on a lost checkin.
  • Library C:
    • Voids overdue fines when an item is marked lost;
    • Does not charge processing fees for lost items;
    • Reinstates overdue fines on a lost item return;
    • Generates new overdues on a lost checkin.
  • Library D:
    • Voids overdue fines when an item is marked lost;
    • Does not charge processing fees for lost items;
    • Reinstates overdue fines on a lost item return;
    • Does not generate new overdues on a lost checkin.
  • Library E:
    • Voids overdue fines when an item is marked lost;
    • Does not charge processing fees for lost items;
    • Does not reinstate overdue fines on a lost item return;
    • Does not generate new overdues on a lost checkin.

Use Case 1 Simple No Negative Balance Transaction

  • The library has enabled the Prohibit Negative Balances (default) setting or the Prohibit negative balance on bills for lost materials setting.
  • Patron has checked out an item that accrues $1.75 ($.05 per day0 in fines before being it is marked lost.
  • A lost item fee of $20.00 is assessed for the lost item.
  • The patron pays the entire $20.00 for the lost item.
  • The patron returns the lost item five days after it was marked lost.

Library A

scratchpad/negative_balances.1411431987.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.