Max, to be simpler and more clear about the warehouse sale: the form 4797 should show only the $211,971 in part one and Drake will use the label "from K-1". That is the entire net gain and is all that should be on that form. just that one figure. From there, that net gain figure will flow onto the Schedule D on line 11. The unrecaptured 1250 gain of $16,821 is the portion of that gain that has the potential to be carved out and taxed at 25% because of the depreciation method used for the warehouse, and it will show on line 19 of Sch D, the "Wks CG" worksheet, and the "Wks 1250" worksheet. That is all that should happen related to the warehouse.
As I said in my post immediately above, you still also will have to report the liquidation of this client's shares of stock in the S corp too, and that will go directly on Schedule D.
Hope that helps you.