Uploaded image for project: 'mod-finance'
  1. mod-finance
  2. MODFIN-112

Shouldn't allow negative payments or credits

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • 1.1.0
    • 4.0.0
    • None
    • folio-testing

    • ACQ Sprint 95, ACQ Sprint 96
    • 2
    • Thunderjet

    Description

      Overview

      Negative amounts in payments or credits change the meaning of the transaction and should not be allowed.

      Expected

      A payment of a negative amount should be rejected
      A credit of a negative amount should be rejected

      Actual

      both Payments and Credits can be successfully posted with negative values.

      See the comments of MODFIN-71 for examples.

      Acceptance Criteria

      • Negative payments/credits are disallowed
      • An appropriate error message is returned
      • unit tests are updated
      • API tests are updated

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                yauheni_kuzmianok Yauheni Kuzmianok
                cmcnally Craig McNally
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases