11-23-2012 06:23 AM
Kind of new to the web service side of ACT.
any idea how i would be able to change the Stage/Process field when the opportunity is posted?
It hasn't been as simple as populating other fields such as name and subscription ID because they are static fields. The fact that the user can edit the fields that appear in the Stage/Process section is what is throwing me off.
actOpportunity = act.Opportunities.CreateOpportunity(name, opportunityPost.Status, stageNames, stage, opportunityPost.ForecastClose, isPrivate);
11-26-2012 06:38 AM
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, DateTime.Now.AddDays(-1), false);