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

Update Voucher and voucherLInes when exchange rate is edited

    XMLWordPrintable

Details

    • ACQ Sprint 95, ACQ Sprint 96
    • 3
    • Thunderjet

    Description

      Overview:

      Balancing payment and credit amounts with real world transactions is virtually impossible when exchange rates are involved as the rate is constantly changing. As a result often the rate is not set in stone until the transaction is made by the accounting system.This means the exchange rate could be edited in the invoice until the invoice/voucher is marked as "Paid". The rate will need to be updated by a user or possibly an external system when awaiting payment, as part of paying the voucher/invoice.

      API for getting ROE(Rate of exchange) is added in scope of MODFIN-111 - Exchange rate API(Closed)

      Scope

      If exchange rate is edited after invoice approval and there is enough money in fund than voucher and voucher lines totals need to be recalculated and updated.

      Acceptance criteria:

      • logic updated
      • API test updated
      • Unit test updated

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                siarhei_hrabko Siarhei Hrabko
                dennisbridges Dennis Bridges
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases