Details
-
Bug
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
4.1.1
-
folio-testing
-
-
ACQ Sprint 84
-
Thunderjet
Description
Expected
While this use case has been discussed in the SIG as something that would be useful, it isn't yet a requirement. As such it's OK to return an error for now. Down the road, if we decide to allow this we'll have to think about how to handle this (e.g. only allow it if source = manual, etc.)
Actual
The request hangs until it times out.
Starting budget
$ curl $OKAPI/finance-storage/budgets/b7e14e1c-f470-46aa-a2f4-b6977af68468 -H "X-Okapi-Token: $TOKEN" -w'\n' { "id" : "b7e14e1c-f470-46aa-a2f4-b6977af68468", "name" : "CAM-FY2020", "budgetStatus" : "Active", "allowableEncumbrance" : 0.0, "allowableExpenditure" : 0.0, "allocated" : 10.0, "awaitingPayment" : 10.0, "available" : 0.0, "encumbered" : 0.0, "expenditures" : 0.0, "unavailable" : 10.0, "overEncumbrance" : 0.0, "overExpended" : 0.0, "fundId" : "c8bd4ff2-06a1-4a31-b274-98b774984f53", "fiscalYearId" : "684b5dc5-92f6-4db7-b996-b549d88f5e4e", "acqUnitIds" : [ ], "metadata" : { "createdDate" : "2020-02-07T21:50:06.383+0000", "createdByUserId" : "5ef09a7b-1cd5-5647-955b-23e80205e622", "updatedDate" : "2020-02-07T21:56:39.388+0000", "updatedByUserId" : "5ef09a7b-1cd5-5647-955b-23e80205e622" } }
Credit
$ curl $OKAPI/finance-storage/transactions -H "X-Okapi-Token: $TOKEN" -w'\n' -H "Content-Type: application/json" -XPOST -d '{ "currency": "USD", "transactionType": "Credit", "fiscalYearId": "684b5dc5-92f6-4db7-b996-b549d88f5e4e", "amount": 50.0, "source": "Voucher", "toFundId": "c8bd4ff2-06a1-4a31-b274-98b774984f53" }' <html> <head><title>504 Gateway Time-out</title></head> <body bgcolor="white"> <center><h1>504 Gateway Time-out</h1></center> </body> </html>
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-2167 Value management through transactions Part 2 - Payments, Credits and limits
-
- Closed
-
- relates to
-
MODFISTO-82 awaitingPayment should never go below 0
-
- Closed
-