State tax filing

My section 179 recapture ordinary income from sale of assets, line 17 of schedule K-1 from 1120s, is not showing in my QBI income in Turbotax. I had to enter this manually on the QBI worksheet on the K-1.  Is that correct? Also, the manual entry does not seem to be working properly for long term gains.