Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
None
-
ACQ Sprint 171
-
2
-
Thunderjet
-
Poppy (R2 2023)
-
TBD
Description
Overview:
Encumbrance amount updated incorrectly after cancelling related invoice
Preconditions:
- Active fund having budget with $100 allocation and Allowable encumbrance = 110%
- Open order with initial encumbrance $110 exists
- An invoice related to open order (Release encumbrance is NOT active) exists
- A user with the following permissions is logged in:
- Finance: View fund and budget
- Invoice: Approve invoices
- Invoice: Can view and edit Invoices and Invoice lines
- Invoice: Cancel invoices
- Invoice: Pay invoices
Steps to Reproduce:
- Edit invoice line for invoice from Preconditions #3 => change "Sub-total" field value to "10" => Click "Save & close" button
- Approve and pay edited invoice
- Check that "Current encumbrance" amount in invoice line has "100" value
- Cancel paid invoice
- Click invoice line record "Current encumbrance" link in "Fund distribution" accordion
Expected Results:
"Current encumbrance" link in "Fund distribution" accordion has "110" value (equal to "Initial encumbrance")
Actual Results:
"Current encumbrance" link in "Fund distribution" accordion has "100" value
Additional Information:
Does not reproduce when "Release encumbrance" checkbox in invoice line is Active
Scenario 1 - Invoice is approved (Pending payment transactions exist)
Invoice amount = 10 (Pending payment)
Before cancellation
Encumbrance values:
Initial encumbrance = 110
Awaiting payment = 10
Expended = 15
Current encumbrance = 85
After cancellation
Encumbrance values:
Initial encumbrance = 110
Awaiting payment = 0
Expended = 15
Current encumbrance = 95
Scenario 2 - Invoice is Paid (Payment transactions exist)
Invoice amount = 15 (Payment)
Before cancellation
Encumbrance values:
Initial encumbrance = 110
Awaiting payment = 10
Expended = 15
Current encumbrance = 85
After cancellation
Encumbrance values:
Initial encumbrance = 110
Awaiting payment = 10
Expended = 0
Current encumbrance = 100
Scenario 3 - Invoice is Paid (Credit transactions exist) Note: we found an issue with this scenario. Expended having a min value of 0 could result in canceled credit invoices over stating the expended value. If before the credit it was 0 after the credit it technically should be negative and when canceled back to 0 but this is not happening. To resolve without causing rollover issues we will need to address with new functionality.
Invoice amount = -15 (Credit)
Before cancellation
Encumbrance values:
Initial encumbrance = 110
Awaiting payment = 10
Expended = 0
Current encumbrance = 115
After cancellation
Encumbrance values:
Initial encumbrance = 110
Awaiting payment = 10
Expended = 0
Current encumbrance = 100
Scenario 4 - 2 Invoices are Paid (Credit transactions exist)
Invoice amount = 15 (Payment)
Invoice amount = -15 (Credit)
Before cancellation
Encumbrance values:
Initial encumbrance = 110
Awaiting payment = 10
Expended = 0
Current encumbrance = 115
After cancellation
Encumbrance values:
Initial encumbrance = 110
Awaiting payment = 10
Expended = 15
Current encumbrance = 100
TestRail: Results
Attachments
Issue Links
- relates to
-
FAT-6713 Review of C399092
-
- Closed
-
-
FAT-6756 Review of C400612
-
- Closed
-
-
FAT-6757 Review of C400614
-
- Closed
-
-
FAT-6758 Review of C400615
-
- Closed
-
-
FAT-6760 Review of C400618
-
- Closed
-
-
UXPROD-4004 Thunderjet - Poppy Bugfixes
-
- In Review
-
-
UXPROD-4390 Display Credit value separate from Expended Value in financial activity
-
- Draft
-