Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
-
ACQ Sprint 64, ACQ Sprint 65
-
2
-
Thunderjet
Description
Overview:
The first step toward integration with finance is to encumber funds when an order is placed (transitions to Open). We already capture fund information in the fundDistribution portion of the PoLine, this is used in conjunction with the cost information to calculate and create encumbrances.
For each PoLine { For each FundDistribution { If an encumbranceId isn't already set in this FundDistribution { Calculate the encumbrance against this fund (PoLine.cost.poLineEstimatedPrice * percentage) Create encumbrance with that amount and fund. Update the fundDistribution w/ its id. } } }
See API Listing Document for the appropriate encumbrance API to use
Acceptance Criteria:
- Encumbrances are created and linked to the PoLine fundDistributions as described above
- Unit tests are updated
- API tests are updated
TestRail: Results
Attachments
Issue Links
- is blocked by
-
MODORDERS-242 PoLine FundDistribution schema updates
-
- Closed
-
- relates to
-
MODFISTO-11 Tech Debt - encumbrance API
-
- Closed
-
-
MODORDERS-269 Create link to encumbrance in fundDistro, if the encumbrance is successfully created
-
- Closed
-
-
MODFISTO-10 Encumbrance Schema Updates
-
- Closed
-
-
UXPROD-861 Ability to Encumber Funds base on purchase order
-
- Closed
-