create buy return tran_code