Overview: User cannot approve or pay invoice when related POL has no Fund distribution/encumbrance.
Steps to Reproduce:
- Log into some FOLIO environment as User X
- Click order app
- Create PO and POL
- POL must have price but NO fund distribution
- Open POL
- Create invoice
- Add invoice line for POL created above
- Approve invoice line
Skip processing encumbrances if returned collection is empty
Expected Results: Invoice is approved successfully. Pending payments are created
Actual Results: Error toast message is shown. Invoice was not approved.
Additional Information: see example at url below