Retirement tax questions

Did you get a 1099R for it?  What code is in box 7?  Why did you HAVE to transfer it to the 401k plan?  That sounds odd.