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

Shouldn't allow negative payments or credits

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: 1.1.0
    • Fix Version/s: 4.0.0
    • Labels:
      None
    • Environment:

      folio-testing

    • Template:
    • Sprint:
      ACQ Sprint 95, ACQ Sprint 96
    • Story Points:
      2
    • Development Team:
      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

                Assignee:
                yauheni_kuzmianok Yauheni Kuzmianok
                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