transaction model and partial process transaction new, assign a tan to the transaction