Credit note blocked while dependent quality orders exist

Hi all,

I have status sales order invoiced with closed quality order. When I want credit note this sales order, system give me error message “Order lines cannot be deleted while dependent Quality orders exist. Delete dependent Quality orders and try again.”

Why should I delete quality order first, then do credit note this sales order? can I credit note this sales order without delete quality order cause I need information about history of quality order results.

can anyone help me to solve it?