Retirement tax questions

It does the same thing for me with both code 7 and code D present.  The amount shown on the 5329 is entered on line 2 as an early distribution not subject to additional tax with a reason code of 12.  The 12 definition is that it was incorrectly submitted with a code 1, J, or S in box 7.  A frustrating bug for people who work hard at submitting a correct return.