Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-437

Error must be returned in case of budget expense class mismatch

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 11.1.1
    • None
    • ACQ Sprint 100
    • 2
    • 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.
      • Order with order line.
      • Order 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 opening order - 2 encumbrances 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

          1. MODORDERS-437.mp4
            2.47 MB
          2. screenshot-1.png
            screenshot-1.png
            51 kB
          3. screenshot-2.png
            screenshot-2.png
            98 kB

          Issue Links

            Activity

              People

                aliaksandr_pautau Aliaksandr Pautau
                siarhei_hrabko Siarhei Hrabko
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases