Retirement tax questions

When you enter the 1099-R for the conversion and indicate it was a conversion then all you have to do is enter any prior basis you had in any traditional IRAs.   And then you enter the IRA contribution.  The program will do the rest.