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

Able to apply transactions after all or nothing operation was performed

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      ACQ Sprint 84
    • Story Points:
      3
    • Development Team:
      Thunderjet

      Description

      Overview

      The invoice-transaction-summary specifies the number of expected payments/credits for a given invoice. Once that number of payments/credits are received for that invoice, they're all applied at once in a db transaction. However, it's possible to post additional payments/credits and once that count is reached again, these new payments/credits are applied.

      NOTE: It's likely that the same issue exists for other all-or-nothing operations, e.g. related to encumbrance creation (both invoice and orders) and updates. This bug covers them all.

      Expected

      Once all the payments and credits are applied for a given invoice, subsequent payments/credits for that invoice should be rejected with an appropriate error message/code

      Actual

      It's possible to post additional payments/credits and once that count is reached again, these new payments/credits are applied.

      See comments in MODFIN-71 for an example of this.

      Acceptance Criteria

      • the module behaves as described in the expected section above
      • unit tests are updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                cmcnally Craig McNally
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases