Table of Contents

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:

Use Case 1 Simple No Negative Balance Transaction

Libraries A-E

What the patron owes: $0.00. The $20 paid towards the book is not refunded due to the prohibit negative balance setting.

What the UI shows:

Library F

What the patron owes: $0.00. Although the patron did not pay the $5 processing fee, the cost is covered by the lost materials bill when the lost item is returned.

What the UI shows:

Library G

What the patron owes: $0.00

What the UI shows:

Question: Should we clearly identify the $5 adjustment as being an adjustment to the processing fee? In the current negative balance code, the adjustment is identical to ones made to the lost billing fee because they use the same note. This isn't an issue in the pre-negative balance work because the void is applied to the specific bill, so it's easy to see which bill is being adjusted.

Use Case 2 Simple No Negative Balance Transaction with Partial Payment

Libraries A-E

What the patron owes: $0.00. The $4 paid towards the book is not refunded due to the prohibit negative balance setting.

What the UI shows:

Library F

What the patron owes: $1.00. The $4 paid goes towards the processing fee, leaving just $1.

What the UI shows:

Library G

What the patron owes: $0.00. The processing fee has been voided, so the transaction is similar to those we see in Libraries A-E

What the UI shows:

Use Case 3 Lost Fee with Fines and Partial Payment

Library A

What the patron owes: $0.00 The $2 in overdue fines is covered by the $10 payment for the lost item.

What the UI shows:

Library B

What the patron owes: $0.00 The $2.25 in overdue fines is covered by the $10 payment for the lost item.

What the UI shows:

Library C

What the patron owes: $0.00 The $2.25 in overdue fines is covered by the $10 payment for the lost item.

What the UI shows:

Question: The above is an accurate reflection of what happens with the bill and is similar to what I saw in the negative balance branch under earlier testing. However, it gives the impression that the total charges were $2 more than they really were because the $2 in fines are being shown twice. Would it be better to show the $2.00 adjustment for voided overdue fines after they are voided, but then to simply remove that adjustment when the fines are reinstated?

Library D

What the patron owes: $0.00 The $2.00 in overdue fines is covered by the $10 payment for the lost item.

What the UI shows:

Question: Same question as Library C above.

Library E

What the patron owes: $0.00 The $2.00 in overdue fines are voided when the item is marked lost.

What the UI shows:

Library F

What the patron owes: $0.00 The $5.00 processing fee and $2.00 fine are covered by the $10 cash payment

What the UI shows:

Library G

What the patron owes: $0.00

What the UI shows:

Question: Same question as Library C above

Use Case 4 Lost Fee with Fines and Smaller Partial Payment

Library A

What the patron owes: $0.00 The $2 in overdue fines is covered by the earlier $2 payment

What the UI shows:

Library B

What the patron owes: $0.25 for the new overdues that accrued between lost and checkin.

What the UI shows:

Library C

What the patron owes: $0.25 for the new overdues that accrued between lost and checkin

What the UI shows:

Question: Same Question as Use Case 3, Library C

Library D

What the patron owes: $0.00 The $2.00 in overdue fines is covered by the previous $2 payment

What the UI shows:

Question: Same question as Use Case 3, Library C

Library E

What the patron owes: $0.00 The $2.00 in overdue fines is covered by the previous $2 payment.

What the UI shows:

Library F

What the patron owes: $5.00 for the processing fee

What the UI shows:

Library G

What the patron owes: $.25 for new overdues

What the UI shows:

Question: Same question as Use Case 3, Library C