linked purchasedstock and transaction