Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
-
ACQ Sprint 77, ACQ Sprint 78
-
3
-
Thunderjet
Description
Overview
In MODORDERS-298, Integration with the encumbrance API was temporarily disabled while the finance app underwent several breaking changes (schema changes, API changes, etc.). Now that finances has stabilized, orders needs to re-integrate with the encumbrance API.
Approach
- Upon opening an order
- count the number of encumbrances that will be needed - this is essentially the number of fund distributions across all POLs.
- POST /finance/order-transaction-summaries
- generate encumbrances and POST /finance/encumbrances
Make necessary checks to see if there is enough money to be encumbered
See the wiki for additional details
Acceptance Criteria
- Encumbrances are created (for each fund distribution) when an order transitions to open
- Unit tests are updated
- API tests are updated
TestRail: Results
Attachments
Issue Links
- has to be done after
-
MODFIN-70 Create transaction APIs - Allocations, Transfers, Encumbrances
-
- Closed
-
-
MODFIN-88 Create order_transaction_summaries API
-
- Closed
-
-
MODFIN-93 Create an API to fetch the current FY for a ledger
-
- Closed
-
-
MODFISTO-20 Update Transaction schemas
-
- Closed
-
-
MODORDERS-298 Temporarily disable interaction with encumbrance APIs
-
- Closed
-
- has to be done before
-
MODORDERS-338 Adjust encumbrances when Order is re-opened
-
- Closed
-
-
MODORDERS-342 Check enough money in budgets while creating encumbrances
-
- Closed
-
-
UIOR-431 Prevent encumbering with Funds that have insufficient amounts to cover distribution
-
- Closed
-
- relates to
-
MODORDERS-345 Fund distribution totals must add upto 100%
-
- Closed
-