Done
Details
Assignee
Dennis BridgesDennis BridgesReporter
DamienDamienTester Assignee
Dennis BridgesDennis BridgesPriority
P2Story Points
2Sprint
NoneDevelopment Team
ThunderjetFix versions
Release
R3 2021 Bug FixTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Dennis Bridges
Dennis BridgesReporter
Damien
DamienTester Assignee
Dennis Bridges
Dennis BridgesPriority
Story Points
2
Sprint
None
Development Team
Thunderjet
Fix versions
Release
R3 2021 Bug Fix
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created December 1, 2021 at 4:44 PM
Updated March 9, 2022 at 10:15 PM
Resolved December 8, 2021 at 4:56 PM
Overview:
Order fails to reopen after being opened/closed and the expense class was changed.
Steps to Reproduce:
Create an order and an order line with an expense class
Open the order
Unopen the order
Change the expense class
Open the order
Expected Results:
Order is opened.
Actual Results:
500 - "Error retrieving the transactions"
Additional Information:
Removing the fund distribution and saving also generates the same error.
The issue comes from the pending to pending encumbrance strategy removing the old encumbrance without updating the fund distribution link to it.
The same issue does not happen when the expense class is changed in an opened order: in this case, the encumbrance link is updated. The reason for the difference is that the fund distribution's encumbrance link is only updated when a new encumbrance is created, and new encumbrances are not created for pending orders.
Interested parties: