Retirement tax questions

X,A and D are not Codes, they are sales category.
X means your broker does not know the acquisition date for that one, and probably not the basis either. you must supply that info.

Code M appears when you use the "Enter a Summary " option. Don't do that unless you have 50-100 or more transactions to report. (ie too many to enter by hand)