State tax filing

AL40OC-140 and AL40OC-105 when other state AGI exceeds AL AGI in the other state tax credit calculation on AL Schedule OC,

 

 

I assume AL is your resident state. you needed to do the non-resident state first. 

In Part A line A1 can't exceed A2 and you needed to have paid taxes to both states on the same income