PA income tax

An entered 1099R has a higher number in Box 1 than in Box 2a (taxable amount). The Federal return is using the taxable amount (2A) for calculation. As the form transfers to the PA return the gross amount (Box 1) is being used for tax calculation. 1099R Box 7 is marked with a distribution code of 7.  Does PA only consider the gross distribution amount for taxes or is there an entry error?