Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
None
-
-
ACQ Sprint 99
-
3
-
Thunderjet
-
Q3 2020
Description
Overview:
Exception occurs, when try to pay for the invoice line contains multiple fund distribution with same fund and different expense classes
2020-10-01T07:20:19,324 ERROR [vert.x-eventloop-thread-0] RestClient 'POST /finance-storage/transactions' request failed. Request body: { "amount" : 1.8, "currency" : "USD", "encumbrance" : { "amountAwaitingPayment" : 0.0, "amountExpended" : 0.0, "initialAmountEncumbered" : 1.8, "status" : "Unreleased", "orderType" : "One-Time", "subscription" : false, "reEncumber" : false, "sourcePurchaseOrderId" : "dad5db31-5263-4b67-a1c6-7a888af8ad81", "sourcePoLineId" : "f7687e5f-f257-48fd-8f90-690e34527bb4" }, "expenseClassId" : "5b5ebe3a-cf8b-4f16-a880-46873ef21388", "fiscalYearId" : "684b5dc5-92f6-4db7-b996-b549d88f5e4e", "fromFundId" : "7fbd5d84-62d1-44c6-9c45-6cb173998bbd", "source" : "PoLine", "transactionType" : "Encumbrance", "metadata" : { "createdDate" : 1601536819250, "createdByUserId" : "d0465384-6f57-5241-86f7-0a4a647a637f", "updatedDate" : 1601536819250, "updatedByUserId" : "d0465384-6f57-5241-86f7-0a4a647a637f" } } org.folio.rest.exception.HttpException: All expected transactions already processed
Logs: UIF-253_2fund_dif_classes.log
Steps to Reproduce:
- Create Order
- Add order line to created order with 2 fund distribution with same fund and different expense classes.
- Open Order
- Create invoice
- Create invoice lines based on POL from (2)
- Approve invoice
- Pay invoice (failed step)
Postman for reproduce: UIF-253 reproduce.postman_collection.json
Expected Results:
Invoice successfully payed and transaction processed
Actual Results:
org.folio.rest.exception.HttpException: All expected transactions already processed
TestRail: Results
Attachments
Issue Links
- blocks
-
MODORDERS-418 MODORDERS (mod-orders) release
-
- Closed
-
- defines
-
UXPROD-2362 Shared allocation for budgets
-
- Closed
-
- relates to
-
UIF-253 Allow user to use multiple expense class from same fund on one invoice line or POL
-
- Closed
-