setTransaction learn