PA ESPP ordinary income

I purchased stock 20 years ago through an ESPP.  I recently sold some of the stock and have ordinary income (difference between stock price I paid and the actual stock price).  I have the paperwork from when I bought the stock so I can determine the ordinary income.  I understand how to report the ordinary income on my federal income tax.  My question is how to report the income on my PA income tax.  I assume I report it on form W-2S in Section II.  However I don't have anything other than the 1099-B reporting the sale.  Do I write up my own statement documenting the ordinary income?