Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
None
-
ACQ Sprint 132
-
3
-
Thunderjet
-
Lotus R1 2022
Description
Purpose/Overview:
In order to cancel an invoice we need to be able to Void the associated transactions. ie. payments, credits, pending payments. Meaning we might need a status of "Void" which basically tells the system to ignore these transactions. They will no longer count towards budgets and budget totals need to be updated. However, they will still appear in the transaction list so it is clear that they were voided.
Also invoice, invoice lines and vouchers should have status "Cancelled"
Approach:
- Implement invoice status transition handler for cancelled invoices within InvoiceCancellService.java
- Mark releated invoice lines and vouchers as Cancelled
- Update payments/credits and pending payments field by setting invoiceCancelled = true
Implement requests in following order:
1. update transactions summaries
2. set all pending payment cancelled
3. set all payments/credits cancelled
4. set all invoice lines canceled
5. set all vouchers cancelled
Acceptance criteria:
- Logic updated
- Unit tests created
- API test created
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-3433 Allow user to cancel invoices
-
- Closed
-
- has to be done after
-
MODINVOSTO-119 Cancel invoice : Update voucher and transaction schema with new fields
-
- Closed
-
- has to be done before
-
MODFISTO-273 Cancel invoice : Voided transactions will no longer count towards budgets and budget totals need to be updated
-
- Closed
-
-
UIF-316 Display transactions as Voided for canceled invoices
-
- Closed
-
-
UINV-175 Add cancel invoice option to action menu
-
- Closed
-
- is blocked by
-
MODFIN-230 Allow PUT for payments/credits to cancel invoices
-
- Closed
-
- relates to
-
MODFISTO-284 Cancel invoice does not update the encumbrance correctly
-
- Closed
-
-
UINV-310 Hide cancel invoice button
-
- Closed
-
- mentioned in
-
Page Loading...