Retirement tax questions

Code G is direct transfer and not taxable.  It probably needed to go into a Traditional IRA not a ROTH IRA.    Still need to know exactly what kind if account it came from.  Like a 401K and if it was a Roth.   @dmertz can you help?