Hi All,
We are experiencing an issue where we cannot cancel the shop order, which is linked to a customer order. Customer order is in invoiced/closed status.

I tried to unpeg the customer order from the shop order, and I’m getting the following error.

I tried to replicate the scenario in the test environment, and it was unsuccessful since I can cancel the shop order even after invoicing the customer order line.
I found the following article in the community,
Greatly appreciate it if you can help me find a solution for this.
Thank you.
Kind Regards,
-Kavinda Jayaratne