@scsiguru
You use the Federally-taxable amount (the box 2a value, or the Federally-taxable amount calculated if box 2a is empty or marked "undetermined).
________________
Why?:
...........because the NC tax return starts with the Federal AGI......and NC only allows you to deduct what $$ amount was included in the Federal AGI in the first place.