Overview: Encumbrance not deleted when order/order lines are deleted
Note: we may need to include a migration script that deletes transactions that are no longer connected to a POL. This could have a dangerous impact on budget values.
Steps to Reproduce:
- Log into some FOLIO environment as User X
- Create an order
- add POL with at least 1 fund distribution
- Open order
- delete POL
Expected Results: Order line is deleted along with encumbrance(s), expected Pieces and On-order items.
Actual Results: Encumbrances are not deleted and remain in the transaction list. These can no longer be release or otherwise disencumbered.