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

Error must be returned in case of budget expense class mismatch

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 4.1.1
    • None
    • ACQ Sprint 100
    • 3
    • Thunderjet
    • Q3 2020 Bug Fix

    Description

      Given:

      • 2 expense classes Electronic and Print
      • Budget which has a relation with only one expense class - electronic. It's active.
      • Invoice with invoice line.
      • Invoice line has two fund distributions. 50% of money distributed for Electronic expense class, 50% for Print expense class (which not in the list of budget-expense-class table).

      Actual result: after approving/paying invoice - transactions are created. One for Electronic, and other for Print expense class.
      Expected result: error message "Print expense class not found on AFRICAHIST Fund"

      error code will be: budgetExpenseClassNotFound

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases