Hi Guys,
I'm still trying to find an event when a company has been attached to opportunity. I have tried
theApp.ApplicationState.CurrentOpportunity.GetCompanies(null).AddNew += new EventHandler(PrototypePlugin_AddNew);
theApp.ApplicationState.CurrentOpportunity.GetCompanies(null).AddNewComplete += new DataListChangeEventHandler(PrototypePlugin_AddNewComplete);
events but no luck so far. All these events didn't get fired when opportunity was changed. Now I'm trying ancillary field events I can control the event when user opens the add company window but that's it. Does anyone has an idea about this ?
Thanks