Repair or Replacement Order

Hi, is there a concept of a repair or replacement order in ERPNext?

Here’s the scenario - some items were delivered and accepted after inspection. But later we find there are some issues with the items (assume they are still under warranty), so we would like to send them back to the supplier for either repairs or getting a replacement.

If there’s no replacement/repair order, is there a workaround?

Thanks in advance