SHORES, Justice.
On January 24, 1992, this Court issued its original opinion in this case, affirming the judgment. An application for rehearing was filed on February 7; the application for rehearing is granted and the original opinion in this case is withdrawn and the following is substituted therefor.
The plaintiff, Dr. James B. Zickler, appeals from a summary judgment in favor of the defendants, Dr. James N. Jeter, Jr., Dr. Thomas F. Shultz, and Dr. Manuel Eugene Turner, in this action to recover damages for breach of contract and on a guaranty agreement. We reverse and remand.
Dr. Zickler, an anesthesiologist, decided to retire from his practice in North Alabama in 1987. He agreed to sell his practice to North Alabama Anesthesiology Group, P.C. ("NAAG"), a professional corporation owned by Drs. Jeter, Shultz and Turner. The terms of the sale were initially set forth in a "Memorandum of Understanding" that provided that NAAG would immediately pay Dr. Zickler $10,000 for his contract rights to practice at Humana Hospital in Florence and would also pay him $215,000 in 60 equal monthly installments of $3,583.33 (to be personally guaranteed by the three doctors) for his agreement to give up his practice and not to compete in the practice of medicine for five years. The total contract package was $225,000.
NAAG's business manager, Steve MacMullin, then requested that the purchase agreement be drawn so as to treat the purchase price as payment for consulting services because of the tax advantage it would afford the purchasing doctors. Expenses paid under a consultation agreement could be claimed as business expenses and deducted by NAAG and the guarantors.
This was a change from the noncompetition provision and was intended to provide ordinary income to the recipient and a deductible business expense to the purchasing doctors. It had a negative effect on Dr. Zickler, because self-employment taxes are payable on payments for consultation.
The "Purchase Agreement" was then drawn by Dr. Zickler's attorney, at MacMullin's behest; it incorporated by reference a "Consultation Agreement" whereby Dr. Zickler agreed to consult with NAAG, and a "Guaranty Agreement" whereby the purchasing doctors personally guaranteed payment of NAAG's $215,000 obligation under the Consultation Agreement.
This scheme was set up to give the purchasing doctors the maximum tax advantage. It would allow them to deduct their payments to Dr. Zickler. Dr. Zickler agreed to this arrangement. The new contract would give him monthly income that would be sufficient until he was able to draw out of his retirement fund, which was the result he was seeking.
NAAG paid the initial $10,000 to Dr. Zickler, but later defaulted on its monthly payments. Dr. Zickler sued NAAG, alleging breach of contract, and he sued the purchasing doctors individually, under the Guaranty Agreement. Thereafter, NAAG filed a bankruptcy petition, seeking to reorganize under Chapter 11 of the Bankruptcy Code, 11 U.S.C. § 1101 et seq. The bankruptcy court confirmed a plan of reorganization of NAAG that specifically discharged NAAG as well as Drs. Jeter and Shultz, individually, from any liability to Dr. Zickler in connection with the sale of his practice. Dr. Zickler contends that he did not have notice of the bankruptcy proceeding. He did not appeal the bankruptcy court's judgment.
The record indicates that Dr. Turner was no longer associated with NAAG at the time the bankruptcy petition was filed and that he was not a party to the bankruptcy proceeding.
Dr. Zickler sued on March 3, 1989. The purchasing doctors answered; Drs. Shultz and Jeter also asserted a counterclaim. After discovery was completed, the plaintiff moved for a summary judgment on his claim and on the counterclaim. The purchasing doctors responded by moving for a summary judgment. On March 18, 1991, the trial court entered a summary judgment for Drs. Jeter, Shultz, and Turner, without stating its reasons for doing so. Dr. Zickler appealed. We reverse and remand.
The summary judgment was proper in this case if there was no genuine issue of material fact and the defendants were entitled to a judgment as a matter of law. Rule 56, A.R.Civ.P. The purchasing doctors argue that they were entitled to a judgment as a matter of law. They argue that the $215,000, payable in 60 equal monthly installments, provided for in the purchase agreement, was based upon an agreement not to compete that is void under § 8-1-1, Code of Alabama 1975, and which is, therefore, unenforceable. In addition, they contend that the bankruptcy court's plan of reorganization, which discharges the doctors of personal liability to Dr. Zickler, was res judicata with respect to Dr. Zickler's claims against them based on the Guaranty Agreement. We disagree.
The agreement that is the basis for this suit is a "Purchase Agreement" for the purchase of an ongoing medical practice. The agreement not to compete was only a part of the package, as was the Consultation Agreement. The Purchase Agreement was drawn to the specifications of the purchasing doctors and for their benefit. They personally guaranteed payment for this practice, which they now seek to avoid.
The obligation of a guarantor under a contract is settled law in Alabama. A guarantor's ignorance of the contents of a guaranty agreement will not excuse his obligation under the contract, unless fraud is shown. Medley v. SouthTrust Bank of the Quad Cities, 500 So.2d 1075, 1079 (Ala. 1986); First National Bank of Mobile v. Horner, 494 So.2d 419, 420 (Ala. 1986); Real Coal, Inc. v. Thompson Tractor Co., 379 So.2d 1249, 1251 (Ala. 1980).
The evidence reflects that the purchasing doctors signed the Guaranty Agreement. The five-page purchase agreement was signed on June 30, 1987, by Steve MacMullin for NAAG, and his signature was attested by Dr. Turner as president of NAAG. Drs. Turner, Shultz, and Jeter all signed the Purchase Agreement and the Guaranty Agreement individually. All of the signatures were acknowledged before a notary public, and the acknowledgment clause stated that the signers "acknowledged before me on this day that, being informed of the contents of said instrument, they executed the same voluntarily on the day that same bears date." Each page of the Purchase Agreement and Guaranty Agreement was also initialed by the parties.
Despite this, the purchasing doctors argue that there was no meeting of the minds. The purchasing doctors are educated men; they signed these agreements before a notary, after consultation with their business manager, their counsel, and their accountant. They now seek to avoid their obligation by claiming that they failed to read the documents. If they failed to read the documents, that is not Dr. Zickler's fault. We have said that, as a matter of law, "a person with the ability to read and understand the nature of the transaction, cannot rely on an oral representation when that representation is followed by an executed document that contradicts it." Alfa Mutual Insurance Co. v. Northington, 561 So.2d 1041, 1046 (Ala. 1990).
The summary judgment in this case was improper, because there is substantial evidence that the Purchase Agreement reflected a meeting of the minds of the parties. The documents themselves are executed and acknowledged and are evidence that the parties intended them to be the final agreement. The Purchase Agreement states: "This agreement specifically supersedes all understandings of the parties contained in the Memorandum of Understanding dated the 24th of June, 1987."
Dr. Shultz testified in his deposition that he knew that the Consultation Agreement was part of the agreements when he signed them and that he further knew that the agreements were "substantially different" from the original Memorandum of Understanding; yet he signed them. This is certainly substantial evidence of his assent to the Consultation Agreement. Dr. Turner signed the Consultation Agreement, attesting NAAG's agreement to it; that fact is evidence that he intended to be bound by its terms (which were different from the terms of the Memorandum of Understanding).
The Memorandum of Understanding that was first signed by the parties states that "the parties have agreed to a sale and wish to confirm their understanding in writing for said purchase and sale prior to a final closing." It also states that it is a "guide a for the activities of the parties prior to the consummation of the transaction" and that it contemplates the execution of final documentation.
Furthermore, there is substantial evidence that the purchasing doctors, as principals, had constructive knowledge of all material facts that their agent, Steve MacMullin, acquired while acting within the scope of his authority. There is a presumption in Alabama that an agent told his principal all facts within his knowledge necessary for the principal's protection or guidance. Sullivan v. Alabama Power Co., 246 Ala. 262, 20 So.2d 224 (1944). Steve MacMullin was the agent and business manager for NAAG and the guarantors in negotiating the agreements. The terms were drawn to his specifications by Dr. Zickler's counsel. A meeting of the minds as to the terms of these signed and executed agreements occurred through the principals' constructive knowledge acquired through their agent. Board of Commissioners of Alabama State Bar v. Jones, 291 Ala. 371, 281 So.2d 267 (1973).
We also must consider whether the trial court erred in holding that the bankruptcy court's plan of reorganization, which discharges the doctors of personal liability to Dr. Zickler, was res judicata with respect to Dr. Zickler's claims against the purchasing doctors.
This Court has said:
"Alabama law requires four elements for the application of
res judicata. First, there must be a substantial identity between the parties in the prior and subsequent suits. Second, there must be the same cause of action in both suits. Third, the previous case must have been decided by a court of competent jurisdiction. Fourth, the previous adjudication must have reached the
merits of the case.
Missildine v. Avondale Mills, Inc., 415 So.2d 1040, 1041 (Ala. 1981)."
Higgins v. Henderson, 551 So.2d 1050, 1052 (Ala. 1989).
"If these essential elements are met, any issue that was, or could have been, adjudicated in the prior action is barred from further litigation.
Trimble v. Bramco Products, Inc., 351 So.2d 1357 (Ala. 1977)."
Wood v. Tricon Metals Services, Inc., 548 So.2d 138, 140 (Ala. 1989).
Based on long-established Alabama law, we conclude that the doctrine of res judicata does not bar Dr. Zickler's claim. First, the bankruptcy proceeding is not based on the same cause of action as that involved in the present case. Furthermore, Dr. Zickler could not have sued Drs. Jeter and Shultz in the bankruptcy proceeding. They were not parties; only NAAG was a party.
Under Alabama law, to be res judicata, a judgment must be rendered by a court with subject matter jurisdiction. Id. The bankruptcy court went beyond its jurisdiction when it purported to release and discharge Drs. Shultz and Jeter from liability in a bankruptcy case in which neither was a debtor. Bankruptcy courts are without authority to discharge the liability of non-debtor guarantors in a bankruptcy proceeding. Union Carbide Corp. v. Newboles, 686 F.2d 593, 595 (7th Cir. 1982). "The bankruptcy court can affect only the relationships of debtors and creditor. It has no power to affect the obligations of guarantors." R.I.D.C. Industrial Development Fund v. Snyder, 539 F.2d 487, 490 n. 3 (5th Cir. 1976), cert. denied, 429 U.S. 1095, 97 S.Ct. 1112, 51 L.Ed.2d 542 (1977). The bankruptcy statute provides that the confirmation of the plan discharges "the debtor." Neither doctor was a debtor; only NAAG was in court. Therefore, the bankruptcy judgment was not res judicata to Dr. Zickler's claims against the guarantors.
The summary judgment is due to be reversed and the cause remanded.
ORIGINAL OPINION WITHDRAWN; OPINION SUBSTITUTED; APPLICATION GRANTED; REVERSED AND REMANDED.
HORNSBY, C.J., and ADAMS, KENNEDY and INGRAM, JJ., concur.
MADDOX and HOUSTON, JJ., dissent.