I use the following. I've never encountered a situation which didn't fit:
+Beginning Balance
+Partner contributions
+Partner's share of increase in guaranteed debt
+Partner's share of non-taxable income
+Partner's share of Taxable income
-Restoration of previously suspended losses (if any)
-Partner's share of Non-deductible expenses
-Partner's share of Deductible Losses
-Partner's share of decrease in guaranteed debt
-Partner withdrawals
Guaranteed payments do not affect the calculation, as they should be a deduction for the partnership. Guaranteed debt is not available for Subchapter S basis calculations, and that is one thing that should be considered when deciding on the type of entity. Special allocations (such as hot assets) should be computed before partner's share of anything is established.
If a complete partnership return is to be prepared, it should include Schedule L (balance sheet), and reconciling schedules M-1 and M-2. Preparing these schedules means that "capital balances" should also be encountered and calculated. It should be emphasized to the client that "Capital Balance" and "Basis" are two different things, as the client will tend to believe his capital balance is his proper measure of ownership in the event of a sale.