Overview: User gets error response when clicks Unopen button for opened order with PO line without any fund distribution added.
Steps to Reproduce:
- Log into thunderjet-ci FOLIO as user with open/unopen orders permissions;
- Click Unopen button for order #10075
Expected Results: Order is unopened successfully
Actual Results: error toast message "Order could not be saved."
Request URL: https://thunderjet-okapi.ci.folio.org/orders/composite-orders/a77ddba9-4bb7-46fe-8182-56934adf9b58
Request Method: PUT
Status Code: 422
Skip processing encumbrances for line without fund distributions in the org.folio.helper.PurchaseOrderHelper#unOpenOrder