Don't show inventory cost under COGS when used for warranty replacement

Is there a way to show inventory item cost outside of the COGS account? I wish to put all costs associated with warranty replacement into a “Post-sale expense” account on the P/L statement. Right now I have to assign different divisions to clearly see my post-sale expense.

Have you tried Inventory Write-off?

This works great! Thank you.