Uploaded image for project: 'mod-invoice'
  1. mod-invoice
  2. MODINVOICE-270

Cancel invoice : create logic to support invoice cancel operation

    XMLWordPrintable

    Details

    • Type: Story
    • Status: In Refinement (View Workflow)
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
      Thunderjet/Firebird Back-end Story Template
    • Sprint:
      ACQ Sprint 129
    • Development Team:
      Thunderjet
    • Release:
      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"

      Requirements/Scope:

      1. After cancel invoice status should be changed to "Cancelled" for invoice, invoice lines and vouchers.
      2. All related transactions should have status "Voided"

      Approach:
      Update logic org.folio.rest.impl.InvoiceHelper#updateInvoice

      Acceptance criteria:

      • Logic updated
      • Unit tests created
      • API test created

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                siarhei_hrabko Siarhei Hrabko
                Reporter:
                Andrei_Makaranka Andrei Makaranka
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    TestRail: Runs

                      TestRail: Cases