He asked 'how it had hurt the plan'. Here 'how it had hurt the plan' is?
He asked 'how it had hurt the plan'. Here 'how it had hurt the plan' is?
Explanation
How it had hurt the plan acts as the object of the verb asked, making it a noun clause.
A noun clause functions as a subject, object, or complement in a sentence.