Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
ACQ Sprint 105
-
3
-
Thunderjet
Description
Purpose/Overview:
User should NOT be able to delete an order or order line that is related to an invoice. System should display error message (This order or order line is linked to (Invoice number(s)) and can not be deleted
Approach
When DELETE /orders/order-lines/id:
- GET /inoice/invoice-lines?query=invliceLineId==id
- if not empty return error
- else delete line
When DELETE /orders/composite-orders/id:
- GET /orders-storage/order-invoice-relns?query=orderId==id
- if not empty return error
- else delete order
Acceptance criteria:
- logic updated
- unit tests updated
- integration test updated
TestRail: Results
Attachments
Issue Links
- blocks
-
UINV-204 Error paying invoice results in "approved" invoice with "Paid" voucher
-
- Closed
-
- defines
-
UXPROD-2169 Thunderjet - R1 2021 Enhancements/Bugfixes/Tech Debt
-
- Closed
-
- relates to
-
MODORDERS-448 Encumbrance not deleted when order/order lines are deleted
-
- Closed
-