profit table ref to use buy txn id