Uploaded image for project: 'mod-finance-storage'
  1. mod-finance-storage
  2. MODFISTO-273

Cancel invoice : Voided transactions will no longer count towards budgets and budget totals need to be updated

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      ACQ Sprint 131
    • Story Points:
      5
    • Development Team:
      Thunderjet

      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.

      Requirements/Scope:

      1. Update amounts in budgets : "expenditures", "awaitingPayment"
      2. Update calculation of amount totals

      Approach:

      • Extend all-or-nothing mechanism for handling cancelled transactions
      • recalculate budget values: expenditures for credits and payments, awaitingPayment for pendingPayments
      • persist transactions voidedAmount value

      Acceptance criteria:

      • business logic, unit tests, API test

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                D_Butramyou Dzmitry Butramyou
                Reporter:
                Andrei_Makaranka Andrei Makaranka
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    TestRail: Runs

                      TestRail: Cases