Done
Details
Assignee
UnassignedUnassignedReporter
Yauheni KuzmianokYauheni KuzmianokPriority
P3Story Points
2Sprint
NoneDevelopment Team
ThunderjetFix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Unassigned
UnassignedReporter
Yauheni Kuzmianok
Yauheni KuzmianokPriority
Story Points
2
Sprint
None
Development Team
Thunderjet
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created January 12, 2021 at 3:07 PM
Updated March 4, 2024 at 3:10 PM
Resolved May 24, 2021 at 1:48 PM
Overview:
Unreleased all encumbrances when order is reopen for transition from Closed to Open
Scenario:
Given user has permission to reopen order
When Order transitions to open
Then encumbrance logic is run to make sure Funds have enough money in them to make necessary encumbrance
AND ONLY For encumbrances released by Close order action the status is set back to "Unreleased" - see note below for suggested approach
NOTE: We should be able to check the transaction for an invoice line IDs. If one or more invoice lines has "Release encumbrance" = true then DO NOT "Unrelease" the encumbrance when order is reopened.
Example
Given user closed an order with initial encumbrance of $100, expended amount $85, amount $15 and a status of released
When user transitions order from closed to Open
Then system checks Funds for $15 amount and encumbrance now shows initial encumbrance of $100, expended amount $85, amount $15 and status of unreleased
Example update: because of MODFISTO-233, unreleasing the expended encumbrance will not work at this point, so this story's scope is reduced to orders without any expended amount. See MODFISTO-240 for a resolution.