- 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