Retirement tax questions

I would also like to add that on form 8606, line 20 does not populate with the 10K first time home buyer number. This may have something to do with the taxable income not being reduced by the 10K and then flowing to the 1040. I'm not sure where I can enter this information. Form 1099R has a code of T for my situation, and now I'm wondering if the 1099-R is incorrect and has a code that does not register the first time home exemption?