Viewpoint Construction Software and its longtime chief financial officer settled their lawsuits against each other this week, ending a difficult chapter for the Portland company.

Neither side would comment on terms of their agreement. Multnomah County court filings noted the settlement Thursday but included no details.

In 2014, Massachusetts private equity firm Bain Capital bought a majority stake in Viewpoint for $230 million. Nearly all of Viewpoint's executive leadership turned over soon afterward, which isn't unusual when new owners take control of a tech company.

However, former CFO Ben Ertischek sued Viewpoint last year, alleging the company had stopped making the severance payments it promised when he left in 2014. Ertischek sought $4.4 million, alleging that Viewpoint had disparaged him and harmed a startup he formed called CSquire.

Viewpoint fired back with a $2.25 million counterclaim, alleging that he stole intellectual property and poached employees for his startup, which has since shut down. Ertischek is now CFO of a Colorado company, Mediashift.

Viewpoint makes software for construction companies and contractors to plan their projects and manage their business. The legal feud between the company and its CFO stood out in Portland's genteel tech scene and marred the company's transition to ownership under Bain.

In addition to the legal fight with Ertischek, Viewpoint has also endured a round of layoffs and an age-discrimination complaint since Bain took over. That complaint is still pending with the federal Equal Employment Opportunity Commmission.

However, Viewpoint has continued growing under the new ownership. Last month it acquired a rival in Seattle, Dexter + Chaney, which Viewpoint said was the largest deal ever in its market. Viewpoint is among Portland's largest tech companies; it had 800 employees in 2015, including 300 at its headquarters at the east end of the Hawthorne Bridge.

-- Mike Rogoway; twitter: @rogoway; 503-294-7699