State tax filing

I have a couple of questions about this NJ state rule.  Say I contributed $7,000 to Traditional IRA and deferred $20,000 salary to a supplemental retirement account, which my employer provided as a tax deferred plan (unqualified-deferred compensation).    In addition, these amount (total $27,000) are not reported on NJ W-2 form.   

 

Here are my questions.  

1) Shall I need to add "$27,000" to my NJ wages manually even though NJ W-2 does not show this?

2) or do I just need to remove "NY state wages-duplicate" like the above answer?

 

I am confuse how to handle this rule.  

  • New Jersey does not allow you to exclude from wages amounts you contribute to deferred compensation and retirement plans, other than 401(k) Plans.

If I have to add a deferred compensation manually for NJ wages, where can I enter this on Turbo Tax?