Business & farm

So I sell of the few assets I have(I got $5K for them) and then I got $210K for the book of business and then had Covenant not to compete of $5K.  I understand how i sell the assets off, but I have no basis on the book of business(since I built it over time.  How do I treat that part of the sale?  I didn't sell the S Corp just the book of business. The S Corp will be final with this filing.