The present tense of had occasion to is have occasion to.
The third-person singular simple present indicative form of have occasion to is has occasion to.
The present participle of have occasion to is having occasion to.
The past participle of have occasion to is had occasion to.