In a perpetual inventory system, when merchandise is returned to the supplier, cost of merchandise sold is debited as part of the transaction.