STATEMENT OF THE CASE
Indiana and Michigan Electric Company appeals from a denial of its motion for summary judgment and the granting of Terre Haute Industries’ motion to dismiss. We reverse the dismissal and reverse in part the denial of summary judgment.
FACTS
The issues presented in this action appealed from Vigo Circuit Court relate to proceedings presently pending in Gibson Circuit Court. Thus a summary of the facts from the Gibson Circuit Court proceedings is necessary.
In July 1977 Terre Haute Industries (THI) agreed to act as general contractor in the construction of electrostatic precipita-tors and related items at Indiana and Michigan’s (I & M) Fairbanks, Indiana breed generating plant. THI proceeded to hire three subcontractors, Global Lagging, Stanley Electric and Pressure Concrete, to do work on the erection project.
A dispute arose between THI and I & M and on February 22, 1979, I & M terminated its contract with THI. This dispute resulted in a law suit tried in Gibson Circuit Court brought by THI against I & M and included a counterclaim filed by I & M against THI. On January 9, 1984 judgment against I & M and in favor of THI was entered in Gibson County.
During the pendency of the Gibson County action, a dispute arose between THI and I & M regarding monies owed to the three subcontractors. THI refused to pay its subcontractors claiming that I & M was holding retainages pursuant to the contract which included the amounts claimed by the subcontractors. In 1980, I & M communicated to THI that unless it paid the outstanding claims I & M would be forced to pay such claims and include a counterclaim for this amount in the Gibson County action. I & M did in fact pay the subcontractors but never filed the counterclaim. Instead, on April 23, 1982, I & M filed a new action against THI in Allen Circuit Court 1 for the amount it paid the subcontractors based on assignments of claim it received from the subcontractors. THI filed a motion to dismiss this action based on Indiana Rules of Procedure, Trial Rule 12(B)(8), and *40 later argued this second action should have been brought as a compulsory counterclaim in Gibson County. The Vigo Cireuit Court sustained THI's motion but failed to state the grounds upon which the order was based. Prior to 'the ruling on THI's motion, I & M filed a motion for summary judgment claiming the assignments were valid and that no issue of material fact remained concerning the amount of money THI owed the subcontractors. This motion was denied. The denial of I & M's motion as well as the dismissal of its claim is now presented for review.
ISSUES
Both I & M and THI raise numerous issues for our consideration. Due to our findings, the issues necessary for review are restated as follows:
1. Did the trial court err by granting THI's motion to dismiss?
(a) Was dismissal proper pursuant to TR. 12(B)(8) which requires that a claim be dismissed when substantially the same cause of action is pending in another state court?
(b) Was dismissal of the present action proper because the issue should have been raised as a compulsory counterclaim in the Gibson Circuit Court action?
(c) Was I & M equitably estopped from suing on the basis of the assignments?
(d) Should the doctrine of laches now preclude I & M's action on the assignments?
2. Did the trial court err by denying I & M's motion for summary judgment?
DISCUSSION AND DECISION
Issue One
The order from the trial court did not state the reasons or grounds for dismissal of the claim. Where the grounds for dismissal are not stated in the trial court's entry of judgment, the appellate court must assume that all grounds stated by the moving party supported dismissal. Constantine v. City-County Council, (1977)
The first ground for dismissal stated by THI was based on Indiana Rules of Procedure, Trial Rule 12(B)(8). Trial Rule 12(B)(8) states that dismissal is appropriate where the same action is pending in another state court of this state. The determination of whether two actions being tried in different state courts constitute the same action depends on whether the outcome of one action will affect the adjudication of the other. State ex rel. International Harvester Co. v. Allen Circuit Court, (1976)
THI argues that the matter now before this court was litigated as an issue in Gibson Circuit Court. While evidence of the subcontractor's claims was introduced by THI into the Gibson County action it was done for a limited purpose. When the evidence was tendered the following exchange took place:
"Q. And do these ... in these letters does ... do they deal with the question of the retention of the subcontractor of Terre Haute Industries, the same three contractors that are listed on the purchase orders.
A. Yes, they do. They deal with the same three contractors.
MR. GOODWIN [Counsel for THI]: Will offer in evidence Plaintiff's Exhibits 298, 299, and 800.
MR. YODER [Counsel for I & MJ: To which the Defendants object, Your Hon- *41 or, on the ground that these are irrelevant, and also because the matters stated therein are the subject matter of a separate lawsuit pending in another Court.
COURT: I don't see the relevancy.
MR. GOODWIN: Ak, they again go to this same issue of percentage of completion, and I will tie that up. [Emphasis supplied.]"
Record at 194-95. Even if this constituted the litigation of an issue that is common to the Gibson and Vigo county actions, it still is not a bar to the entire claim now brought by I & M. Middelkamp v. Hanewich, (1977)
A related argument raised by THI for dismissal of the Vigo County action is that I & M's present claim is barred because it should have been raised as a compulsory counterclaim in Gibson Circuit Court. A compulsory counterclaim is "any claim which at the time of serving the pleading the pleader has against the opposing party, if it arises out of the same transaction or occurrence." Indiana Rules of Procedure, Trial Rule 13(A) In the present case both parties admit that the assignment of the subcontractor's claims to I & M did not take place at any time near the pleading stage of the Gibson County action. (See appellant's brief at 87-88 and appellee's brief at 13-14.) I & M filed its answer to THI's complaint on August 27, 1979. The assignments did not take effect until July 1981. (Record at 42-58.) If a claim is not mature at the time an answer is filed it cannot be a compulsory counterclaim but is, at most, a permissive counterclaim. Rees v. Panhandle Eastern Pipeline Co., (1983) Ind.App.,
Two further arguments set forth by THI are that I & M is now estopped to bring the present action and also that it is barred by laches. Neither of these arguments were raised by THI in its motion to dismiss and surfaced for the first time in the appellee's brief. While an appellate court will affirm a lower court's ruling on any theory supported by the evidence this rule is not without limitation. See Goodyear v. Goodyear, (1982) Ind.App.,
In view of our refusal to review THI's arguments of estoppel and laches, the only theories remaining that could have supported the dismissal of I & M's Vigo Circuit Court action are T.R. 12(B)(8) and compulsory counterclaim. We, therefore, find that the trial court erred in granting THI's motion to dismiss since neither of these theories apply in the present case.
Issue Two
The next issue concerns the merits of the present action. I & M's action is for money originally owed by THI to the subcontractors for work performed prior to the termination of the contract between I & M and THI. I & M argues it has a right to this money because it paid the subcontractors for the work performed and in return received an assignment of the subcontractor's claims against THI. (I & M's complaint Record at 29-33.) I & M claims that the trial court erred in denying its motion for summary judgment as no issue of material fact remains concerning the merits of the Vigo Circuit Court action.
I& M initially contends the assignments were valid and enforceable. To support its position I & M submitted sworn copies of the assignment duly executed and affidavits from each subcontractor stating that certain work was performed pursuant to agreement with THI. Record at 142-177. The affidavits were submitted by individuals competent to testify at trial. The assignments would be admissible as evidence and are therefore proper for our consideration. Dubois County Machine Co. v. Blessinger, (1971)
Since we have determined that the assignments were valid we must also conclude that THI owes I & M a certain amount of money. THI never disputed that it owed the subcontractors for work performed. In its response to I & M's motion for summary judgment THI .re ferred to statements made by its counsel during the hearing on THI's motion to dismiss that made it clear that THI admitted it owed money to the subcontractors. Record at 882. Because the validity of the assignments is unquestioned and because THI admitted it owed money to the subcontractors, we must conclude that the assignments operated to shift THI's undenied lia bility from the subcontractors to I & M.
THI never filed a responsive pleading in the Vigo County action and now argues that it must be allowed to file an answer to dispute the validity of the assignments and its liability. We disagree. Indiana Rules of Procedure, Trial Rule 56(A) states that a party may file a motion for summary judgment twenty days after the commencement of the action. In Indiana, a suit commences on the filing of a complaint. Indiana Rules of Procedure, Trial Rule 3. I & M, as plaintiff, was clearly justified in moving for summary judgment prior to THI's answer as the motion was filed well after the twenty day *43 period. 10 Wright and Miller, Federal Practice and Procedure § 2717 (1983). THI had an obligation to respond to the matters put in issue by I & M's motion and cannot now complain that it should be allowed to file an answer. Id.
I & M finally argues that the amount of its claim under the assignment is undisputed and that therefore summary judgment is appropriate. I & M attempts to support its position by reference to statements made at the hearing by THI's counsel. Counsel for THI described the subcontractors claims by using round figures. Record at 880. We believe such use of round figures, in the context of the statement, indicates a genuine dispute as to the amount of the claim. All close questions on review of denial of a motion for summary judgment should be resolved in favor of the non-moving party. Indianapolis Public Transportation Corp. v. Amalgamated Transit Union, Local 1970, (1981) Ind.App.,
We therefore find that partial summary judgment should have been ordered finding the assignments valid and THI lable to I & M as assignee. We affirm the trial court to the extent that a genuine issue of material fact exists regarding the amount of I & M's claim. Furthermore, we vacate the trial court's dismissal and remand for a determination of the amount due.
Notes
. The action was transferred to Vigo Circuit Court pursuant to Indiana Rules of Procedure, Trial Rule 75(A). Hereinafter this claim will be referred to as the Vigo Circuit Court action.
. I & M argues that we must review the lower court's ruling on its motion to dismiss as converted to a motion for summary judgment. Because the only two theories before the trial court when it ruled on the motion were questions of law (whether the same action was pending in another state court and whether the present claim was a compulsory counterclaim in the Gibson County action) we do not feel it is necessary to decide whether this case is on review as a motion to dismiss or for summary judgment since our standard on review of legal determinations is the same in either case. We must determine whether the trial court erred in its application of the law. Brokus v. Brokus, (1981) Ind.App.,
