The facts which gave rise to this appeal are as follows. On September 12, 1966, the appellant entered into a contract with Franor Hotel Corporation and Francis Norton, individually, wherein Franor agreed to pay appellant the sum of $48,000 as rent for hotel property owned by the appellant. Franor’s default in payment of this sum resulted in a suit by the appellant, and the controversy was resolved in favor of appellant in the sum of $46,147.75.
The appellant took possession of the hotel property upon Franor’s default, and thereafter, in the normal course of business, received from various persons monies totaling $4,714.61, owing to Franor for goods and services furnished while it had operated the property in question. These
"On May 31, 1967, the appellee filed an affidavit controverting the answer in garnishment. The challenge to the correctness of the garnishee’s answer was predicated on the fact that in other superior court litigation:
“ * * * [A] determination was made that the Defendant Garnishee did in fact have funds of the Defendant herein; That due to the foregoing Answer of the Garnishee Defendant is incorrect.”
On June 12, 1967, a stipulation was filed herein to the effect that any recovery by the appellee in these garnishment proceedings would be subject to and would not include any amounts which the garnishee would be required to pay in the other litigation. (The sum of $1,549.83.) On October 2, 1967, the following stipulation was filed by the parties hereto which we set out, in toto:
“In order to avoid the necessity of fur- . ther pleading and proof in the garnishment proceeding, it is stipulated as fol-. lows:
1. On September 12, 1966, Franor Hotel Corporation and the garnishee entered into a contract, a copy of which is attached.
2. The $44,000 plus $4,000 which Franor Hotel Corporation was obligated to pay the garnishee was not paid. The garnishee commenced Action No. 95815 in this court, and on March 23, 1967, it, was granted judgment against Franor Hotel Corporation in the sum of $46,-147.75.
3. After Franor Hotel Corporation failed to comply with its agreement the garnishee assumed the possession of the Tidelands Motel property and operated it. In the course of operating the motel, various persons paid to the garnishee monies which they owed to Franor Hotel Corporation for services and goods furnished while Franor Hotel Corporation was operating the Tidelands.
4. The above monies so received by the garnishee are subject to a judgment in this court in Action No. 98149 in the total sum of $1,549.83, leaving the amount in controversy here $3,164.78.
5. The plaintiffs contend that the balance of the monies so received is a debt owed by the garnishee to Franor Hotel Corporation,'is subject to the garnishment and garnishee may not set off any claims it has against Franor Hotel Corporation. The garnishee contends that, while it owes the balance of the monies so received to Franor Hotel Corporation, yet Franor Hotel Corporation is indebted to it in a greater amount and the garnishee may set off the balance of the funds so collected against the indebtedness owed it.
6. This matter may be submitted to the court for final determination by the court on the foregoing stipulation.”
On October 19, 1967, the trial court entered the following judgment:
“This matter having come on for decision by the Court upon stipulation of counsel for Plaintiff and counsel for Garnishee and the Court having fully considered the matters set forth in the said Stipulation, now therefore:
IT IS HEREBY ORDERED that the Plaintiff have Judgment against the Garnishee, Defendant, The Wolf Corpor- ■ ation, dba Tidelands Motor Inn, in the amount of $3,164.78, that being the sum Garnishee Defendant is holding subject to the Garnishment proceedings.”
The record reflects that this is a situation of an agreed case or a case stated, and not a trial to the court without a jury. When litigants submit a cause on agreed facts, such agreed facts constitute the sole basis for the judgment rendered thereon, hence the judgment must be tested on the basis of those agreed facts. Clayton v. Communications Capital Corp.,
7
Ariz.App. 449,
Appellee contends that the defense of setoff was not pleaded by the appellant, hence was not an issue. We do not agree. A stipulation as to facts incorporates into the pleadings all of the facts agreed upon and may cure a defect in the pleadings. 83 C.J.S. Stipulations § 24(b) (5). Where parties stipulate as to the issues to be tried, the pleadings become immaterial. Carson v. McMahan,
Having concluded that setoff was an issue, the remaining question is the effect of the stipulation that the appellant “was granted judgment” prior to garnishment proceedings. Appellee contends that it was not until after the stipulation was signed that he became aware of the fact that appellant’s judgment did not comport with the requirements of Rule 58(a), as amended, Rules of Civil Procedure, 16 A.R.S. Appellee, however, having failed to seek relief from the effect of his stipulation, is bound thereby. Higgins v. Guerin,
The word “judgment” is commonly understood to mean the act of a court which fixes clearly the rights and liabilities of the respective parties to litigation and determines the controversy at hand. State v. Birmingham,
If the trial court’s finding is contrary to a deliberate stipulation, it must fall. Grand v. Griesinger,
We hold, therefore, that upon the facts as stipulated, the trial court erred in denying appellant its right of setoff. Accordingly, the judgment is reversed.
