(a) Except as otherwise provided in subsections (c) and (d), the partnership agreement governs:
(1) Relations among the partners as partners and between the partners and the limited partnership;
(2) The activities and affairs of the partnership and the conduct of those activities and affairs; and
(3) The means and conditions for amending the partnership agreement.
(b) To the extent the partnership agreement does not provide for a matter described in subsection (a), this chapter governs the matter.
(c) A partnership agreement shall not:
(1) Vary the law applicable under § 61-3-103;
(2) Vary a limited partnership's capacity under § 61-3-110 to sue and be sued in its own name;
(3) Vary § 61-3-204;
(4) Vary the right of a general partner under § 61-3-406(b)(2) to vote on or consent to an amendment to the certificate of limited partnership deleting a statement that the limited partnership is a limited liability limited partnership;
(5) Vary the notice requirements under § 61-3-102 or under this chapter in a manner that is manifestly unreasonable;
(6) Vary the requirements with respect to the limited partnership's name under § 61-3-112;
(7) Vary the requirement under § 61-3-119 regarding the Workers' Compensation Law, compiled in title 50, chapter 6;
(8) Eliminate or vary the restrictions on reimbursement and indemnification contained in § 61-3-408(a) and (b);
(9) Eliminate or vary the potential for personal liability of a general partner under § 61-3-404;
(10) Eliminate or vary this section;
(11) Eliminate or vary the limitations on distributions in § 61-3-504;
(12) Eliminate or vary the liability for unlawful distributions in § 61-3-505;
(13) Unreasonably restrict a right to information or access to records under § 61-3-304 or § 61-3-407;
(14) Eliminate or restrict the duty of loyalty under § 61-3-409(b)(1) or (b)(2), except to the extent provided by subsection (d);
(15) Unreasonably reduce the duty of care under § 61-3-409;
(16) Eliminate the obligation of good faith and fair dealing under § 61-3-305(a) and § 61-3-409(d), but the partnership agreement may determine standards by which the performance of the obligation is to be measured, if the standards are not manifestly unreasonable;
(17) Vary the grounds for expulsion specified in § 61-3-603(5)(B);
(18) Vary the power of person to dissociate as a general partner under § 61-3-604(a), except to require that the notice under § 61-3-603(1) be in a record;
(19) Vary the causes of dissolution specified in § 61-3-801(a)(6);
(20) Vary the requirement to wind up the partnership's activities and affairs as specified in § 61-3-802(a), (b)(1)(B), and (d);
(21) Vary the provisions of § 61-3-905, but the partnership agreement may provide that the partnership shall not have a special litigation committee;
(22) Vary any requirements relating to documents required to be filed with the secretary of state or any register of deeds, or otherwise vary or restrict any other rights of the secretary of state or any register of deeds; and
(23) Except as provided in §§ 61-3-105 and 61-3-106(b), vary or restrict any rights of any person under this chapter, other than a partner.
(d) Without limiting other terms that may be included in a partnership agreement, the following applies:
(1) The partnership agreement may:
(A) Specify the method by which a specific act or transaction that would otherwise violate the duty of loyalty may be authorized or ratified by one (1) or more disinterested and independent persons after full disclosure of all material facts; and
(B) Alter the prohibition in § 61-3-504(a)(2) so that the prohibition requires only that the partnership's total assets not be less than the sum of its total liabilities; and
(2) If not manifestly unreasonable, the partnership agreement may:
(A) Alter or eliminate the aspects of the duty of loyalty stated in § 61-3-409(b)(1) or (b)(2);
(B) Identify specific types or categories of activities that do not violate the duty of loyalty;
(C) Alter the duty of care, but shall not authorize conduct involving bad faith, willful or intentional misconduct, or knowing violation of law; and
(D) Alter or eliminate any other fiduciary duty.
(e) The court shall decide as a matter of law whether a term of a partnership agreement is manifestly unreasonable under subdivision (c)(5), (c)(16), or (d)(2). The court:
(1) Shall make its determination as of the time the challenged term became part of the partnership agreement and by considering only circumstances existing at that time; and
(2) May invalidate the term only if, in light of the purposes, activities, and affairs of the limited partnership, it is readily apparent that:
(A) The objective of the term is unreasonable; or
(B) The term is an unreasonable means to achieve its objective.