Employee
Posts: 1,163
Country: USA
Re: Overloading Create opportunity method for web service

Setting the stage for an opportunity should be the same whether it's a web service, plugin or whatever.

 

OpportunityManager OppMan = new OpportunityManager(_ActApp.ActFramework);
Stage[] stages = _ActApp.ActFramework.StageManager.GetStages("Initial Communication");           
Opportunity o =  OppMan.CreateOpportunity("Test123"OpportunityStatus.Open, stages[0], DateTime.Now.AddDays(-1), false);
Matthew Wood
Act! SDK Support
Community Moderator