Preconditions:
User has created at least 2 expense classes in finance settings
User has assigned at least 2 expense classes to at least one current budget (C15858)
User has allocated enough money to that budget to cover the invoice amount
User has created an order with at least 1 POL
That purchase order is in the workflow state "Open"
Steps/Expected results:
1 | Create invoice | Invoice is saved successfully |
2 | Add invoice line from POL (Click "Add" button in invoice line accordion and select the desired POL) | Invoice line is added successfully |
3 | Click on Invoice line | Invoice line edit form is displayed |
4 | Edit fund distributions so that there are at least 2 fund distributions for the same fund. | Invoice line edit details are saved successfully |
5 | Approve invoice | Pending payment transactions are created against the Fund for EACH expense class |
6 | Pay invoice | Pending payment transactions become "Payments" |