BACKGROUND
In July 1991, Jоseph Franeese, Inc. (“Franeese”) became the general contractor of a construction project at an elementary school in Troy, New York. Franeese subcontracted with Patriot Door & Window, Inc. (“Patriot”) to put in windows at the school. Around the same time, U.W. Marx (“Marx”) was the general contractor for a similar construction project at an elementary school in New Paltz, New York. Marx also subcontracted with Patriot to put in windows at the New Paltz site.
In June 1991, EFCO Corporation contracted with Patriot to supply the necessary windows to Patriot to use on both projects. Because Patriot was installing windows at both sites and EFCO was supplying the windows for both, confusion arose as to who was paying for what at each project. In mid-January 1992, EFCO got a check for $90,-462.09 from Patriot; a note on the check indicated that it was in payment for EFCO’s windows on the Troy project (Franeese). The check bounced.
A few days later, EFCO’s people spoke with representatives of Patriot and Marx (New Paltz) — but, notably, not Franeese. Patriot explained that a second check was on the way, and Marx now told EFCO that the check was in paymеnt for EFCO’s work on the New Paltz project, not the Troy project. There was no note on this check. Relying on Marx’s representations and apparently failing to compare the amount of the check with its own invoices, EFCO accepted the check as a payment on the New Paltz account (Marx).
Confusion and controversy reigned. In September 1992, EFCO entered into a full release (“the release”) with Marx, upon the understanding that Patriot owed EFCO $17,-884.71 for the work on the New Paltz project. In exchange for Marx’s payment to EFCO of the $17,884.71, the release stipulated that EFCO discharged Marx from any further liability stemming from the New Paltz project and that EFCO would not file any mechanic’s lien against the New Paltz property. Much later, Patriot claimed that Marx had
Ultimately, EFCO supplied windows and other materials worth approximately $260,-000 for both projects. Patriot paid EFCO less than half that amount, and neither Marx nor Francese paid the full amount it owed Patriot, their common subcontractor. Apparently bound by thе terms of the release, EFCO filed a mechanic’s hen in August 1992, but only against the property at the Troy school (Francese), and not the New Paltz school (Marx).
In February 1993, EFCO sued Patriot, Francese and some other defendants in New York State court to foreclose on the hen in satisfaction of $194,809.32 it claimed it was owed. See EFCO Corp. v. Patriot Door & Window, Inc., No. 1634/93 (N.Y.Sup.Ct. Feb. 11, 1993). EFCO did not sue Marx.
When Francese and other defendants moved for summary judgment, EFCO cross-moved to amend its complaint to add claims of unjust enrichment and quantum meruit against Francese. The court denied the cross-motion because EFCO failed to attach the appropriate supporting affidavit. The court then granted Franeese’s motion for summary judgment on the ground that EFCO failed to file suit to foreclose the hen within the six-month limitations period set forth in sectiоn 18 of New York’s Lien Law. See N.Y. Lien Law § 18 (McKinney 1993).
Undeterred, EFCO then turned to federal court. EFCO sued Francese, Marx and Patriot in the Northern District of New York in March 1995, alleging breach of contract and unjust enrichment against Patriot, and unjust enrichment and quantum meruit against Francese and Marx. Francese moved for summary judgment, arguing that EFCO’s claims against Francese were barred by res judicata, based upon the state-court ruling. Marx аlso moved for summary judgment, pointing to the release and to the absence of a contract between itself and EFCO.
The district court granted both motions. EFCO appeals, arguing that (1) the state-court judgment should not be given preclu-sive effect, because it was not a decision “on the merits”; and (2) it was duped into applying payments to the wrong account and should therefore be able to maintain the current action against all the named defendants, including Marx.
DISCUSSION
We review a grant of summary judgment de novo, drawing all factual inferences and resolving all ambiguities in favor of the nonmoving party. See Torres v. Pisano,
I. EFCO v. Francese: Res Judicata
We are required to give the state-court judgment the same preclusive effect it would have in New York. See 28 U.S.C. § 1738 (1994); Migra v. Warren City Sch. Dist. Bd. of Educ.,
We address two principal questions: (1) whether the state-court judgment was “on the merits” for purposes of res judicata; and (2) whether EFCO’s instant claims against Francesе are so related to the lien-foreclosure action that they could have been brought in the state-court action.
A. On the Merits
Under New York law, an action dismissed in a New York court for failure to sue within the applicable statute of limitations is considered a determination “on the merits” for res judicata purposes. See Bray v. New York Life Ins.,
On the other hand, an action dismissed on the basis of a failure to satisfy a “condition рrecedent” is generally not a decision on the merits: it does not preclude subsequent satisfaction of the condition and enforcement of the statutory right. See Restatement, supra, § 20(2) cmts. k and m, illus. 6; cf. Carrick v. Central Gen. Hosp.,
Section 10 of New York’s Lien Law provides that a prospective lienor must file a notice of lien within eight months after providing the materials that serve as the basis of the lien. See N.Y. Lien Law § 10 (McKinney 1993). Section 18 adds that “[i]f the lien is for labor done or materials furnished for a public improvement, it shall not continue for a longer period than six months from the time of filing the notice of such lien, unless an action is commenced to foreclose such lien within that time.” Id. § 18. After six months, the lien is “discharged” by “lapse of time.” Id. § 21(2)(a).
EFCO’s state suit to foreclose on the mechanic’s lien was dismissed because EFCO faded to foreclose or extend the lien within the requisite six-month period. Hoping to avoid the res judicata effect of a determination “on the merits,” EFCO argues that its failure to foreclose constituted a failure to satisfy a condition precedent, rather than a failure to sue within the applicable statute of limitаtions.
We should take care to examine the practical function of the limitation period. New York’s Court of Appeals has observed that for purposes of determining the res judicata effect of a prior judgment the Restatement (Second) of Judgments “completely abandoned the term ‘on the merits.”’ Russell Sage College,
The six-month limitation period here operated as a statute of limitations. The dismissal was not based on EFCO’s failure to сomply with technical criteria or matters of form or procedure that are easily corrected. See 46 Am.Jur.2d Judgments § 478 (1969); cf. Restatement, supra, § 20 cmt. k reporter’s note (citing cases). The state court’s determination that EFCO failed to bring suit within the six-month period constituted a final judgment on EFCO’s remedy. See Grebe Yacht Sales, Inc. v. The Vessel “Gapuccino”, No. 89 C 5323,
The case law on which EFCO relies does not compel a different conclusion. In Utica Sheet Metal Corp. v. Myers-Laine Corp.,
In In re T.A. Maloney Contracting Corp.,
Finally, in Plattsburgh Quarries, Inc. v. Palcon Industries, Inc., 129 AD.2d 844,
Here, the basis for the dismissаl of the initial suit was not that EFCO never had a valid lien upon which to foreclose, but that it failed to foreclose within the requisite time period. In contrast to Plattsburgh, here there was at one point an enforceable lien in place, and the remedy for the enforcement of the lienor’s right was barred by the passage of time.
Accordingly, EFCO’s state-law claim was dismissed “on the merits” under New York law.
B. Transactional Analysis
While New York regards a dismissal on statute-of-limitations grounds as a decision “on the merits” for res judicata purposes, that is only half the analysis. Under the transactional-analysis approach to res ju-dicata, “once a claim is brought to a final conclusion, all other claims arising out of the same transaction or series of transactions are barred, even if based upon diffеrent theories or if seeking a different remedy.” O’Brien v. City of Syracuse,
EFCO could certainly have brought its claims against Francese for quantum me-ruit and unjust enrichment in the earlier state-court action. See 53 Am.Jur.2d Mechanics’ Liens § 340 (1970); N.Y. Lien Law §§ 24, 54. A plaintiff may bring an action to foreclose a lien in connection with traditional common-law remedies. See Edward Marks, Jensen on the Mechanics’ Lien Law (and Related Procedures) of the State of New York § 356 (4th ed.1963). Compare Worlock Paving Corp. v. Camperlino, 207 AD.2d 975,
It is not without significance that EFCO sought to amend its complaint in state court to assert claims of unjust enrichment and quantum meruit, but the state court denied the motion. EFCO failed to appeal that decision. Where a plaintiffs motion to
EFCO’s lien-foreclosure action and its current claims against Francese obviously arise from the same transactions. Cf. Worlock,
Other courts that have considered this issue have held that common-law claims that could have been brought in an earlier lien-foreclosure action are barred by res judicata in a later suit, absent an agreement to the contrary by the parties. See Bank of Tokyo Trust Co. v. Aurora Mkt. Place, Ltd., No. 92 C 1692,
As we noted in Bray v. New York Life Ins.,
Accordingly, EFCO’s claims for unjust enrichment and quantum meruit against Fran-cese are barred by res judicata.
II. EFCO v. Marx: Unjust Enrichment and Quantum Meruit
“ ‘[A] landowner is not liable to a subcontractor for work performed on the
EFCO made its contract with Patriot, not Marx. Accordingly, as á general rule, EFCO would not be entitled to recover from Marx for the related claims of unjust enrichment and quantum meruit. There are exceptions. In U.S. East we examined the circumstances under which “a general contractor may become hable in- quasi-contract to a ‘second-tier’ subcontractor with whom it has not eontraet-éd.” Id. at 1291. We explained that the courts must inquire “whether the landowner acted in such a way as to incur obligations to the subcontractor outside the contractual structure.” Id. at 1297. We defined when such an obligation could arise. We noted that the contractor may incur “quasi-contractual obligations to a third party with whom it has not contracted, by virtue of its direct representations to that party,” id., explaining that recovery in quasi-contract “may be had if a party has rendered additional services upon extra-contractual representations by the other party.” Id. at 1298. We summarized these exceptions by concluding that
under New York law, a subcontractor may recover from a landowner (and a sub-subcontractor from a general contractor), even when a separate contract exists between the subcontractor and. general contractor, if the owner has agreed to pay the general contractor’s debt or if the circumstances surrounding the parties’ dealings can be found to have given rise to an obligation to pay.
Id.
Here, EFCO has produced no satisfactory evidence that Marx encouraged EFCO to begin or continue to work on the basis that Marx would pay EFCO in the future. EFCO suggests the following evidence: (1) EFCO sent drawings of windows, test reports and wood-finish samples to Marx for approval and verification; and (2) Marx’s controller was in periodic contact with EFCO during the course of Patriot’s involvement with the New Paltz project.
These facts are hardly material. EFCO does not allege — and the evidence does not suggest — that Marx conditioned its paying EFCO on EFCO’s production of these materials. EFCO’s allegations indicate only that Marx’s controller maintained contact with EFCO precisely because Marx wished to insure that the money Marx had paid Patriot would subsequently be paid to EFCO.
The fact that Marx entered into the release is similarly immaterial. The rationale for the narrow exception delineated in U.S. East is that the subcontractor completes its work for the benefit of the contractor, not the landowner. Sеe Sybelle Carpet and Linoleum of Southampton, Inc. v. East End Collaborative, Inc.,
Here, EFCO and Marx entered into the release after EFCO had performed its work on the projects. The release does not suggest that EFCO completed the work based on its supposition, or Marx’s representation, that Marx would pay EFCO directly. The
In sum, there is no evidence that in order to have EFCO undertake or complete its work on the projects, Marx expressed a willingness to pay EFCO for the work or otherwise assumed an obligation to pay for the work. Accordingly, the district court properly granted Marx’s motion for summary judgment. See Metropolitan Elec. Mfg. Co. v. Herbert Constr. Co.,
CONCLUSION
We have considered all of EFCO’s other arguments and find them to be without merit. Accordingly, the order of the district court is affirmed.
