Discover the accounting implications of selling available-for-sale debt investments and how to record the transaction.