clienttable, purchasehistory