Read the recommended answer in the following thread:
https://ttlc.intuit.com/community/business-taxes/discussion/re-purchased-partner-s-50-ownership-of-a...
I will page @Rick19744 for your scenario.