Changed use of transactionReference to Id