get_purchase_record