Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
ACQ Sprint 129
-
1
-
Thunderjet
-
Lotus R1 2022
Description
Purpose/Overview:
Mod-orders should not depend on mod-invoice for basic operations, but:
DELETE /orders/order-lines/{{orderLineId}}
returns the error:
"No suitable module found for path /invoice/invoice-lines for tenant diku"
This is caused by PurchaseOrderLineHelper#deleteLine calling PurchaseOrderLineHelper#verifyDeleteAllowed calling OrderInvoiceRelationService#checkOrderPOLineLinkedToInvoiceLine.
Requirements/Scope:
Ensure that deleting an order line can be done without mod-invoice installed.
Approach:
In checkOrderPOLineLinkedToInvoiceLine(), check that the order is linked to some invoice with getOrderInvoiceRelationshipCollection() before proceeding with the invoice line query. Return right away if there is no relationship.
Acceptance criteria:
- Test with Postman (Karate tests for mod-orders might include mod-invoice)
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-3310 Thunderjet - Lotus (R1 2022) Tech Debt, NFR
-
- Closed
-
- relates to
-
MODORDERS-563 Cannot delete PO Line if other PO Line on the same order is linked to an invoice line
-
- Closed
-