In that case, at the time of the loan, Tracy recorded the transaction a Notes Receivable.
Since james has promised the loan in writing, Tracy gains a legal power to held James accountable in the future. Since Tracy the one that lend the money, that transaction is viewed as a receivable