Deductions & credits

I do not know if I have to claim it with respect to the S Corp. I have always done so with respect to to Partnership but turbo tax is not calculating that as a deduction.  I want to know why?  Of 2 partnerships 1 corporation and one self employed company why can't I take the deduction?  It is over 20,000.00.  Which company am I supposed to be claiming it under?