Compensation Received

In a prior year we commissioned a company to design a replacement heating and cooling system for one of our buildings. This was installed by a separate company as per the specification noted in the design. However, the design was subsequently discovered to be substandard and a claim was made against the original designer. Following negotiations with the designer''s loss adjusters, a settlement was made. Has anyone had this situation and can advise on how to account for this?