Except as provided in this subchapter, to the extent and at the times or upon the happening of the events specified in the partnership agreement, a partner is entitled to receive from a limited partnership distributions before withdrawing from the limited partnership and before the dissolution and winding up thereof.