In regard to the new purchase order created, make sure to enter the correct number of items and create a note for the previously returned item. By the time you’re ready to close out the transaction, create a bill and apply the credit from the previous bill.
If you have additional questions about the process, leave me a comment. I'll be glad to lend a helping hand. Have a good one.