Description
Syntax
Parameters
Example
| Updating a sales opportunity competitor (C#) | Copy Code |
|---|
try { SalesOpportunityCompetitorSetupParams getLine; SalesOpportunityCompetitorSetup updateLine; getLine = (SalesOpportunityCompetitorSetupParams)oCompetSrv.GetDataInterface(SalesOpportunityCompetitorsSetupServiceDataInterfaces.socssSalesOpportunityCompetitorSetupParams); //update a record //please note that the SequenceNo should be the Competitor ID of a record in DB getLine.SequenceNo = 30; updateLine = oCompetSrv.GetSalesOpportunityCompetitorSetup(getLine); updateLine.Details = "updated memo"; updateLine.Name = "updated name"; updateLine.ThreatLevel = ThreatLevelEnum.High; oCompetSrv.UpdateSalesOpportunityCompetitorSetup(updateLine); } catch (Exception ex) { Interaction.MsgBox(ex.Message, (Microsoft.VisualBasic.MsgBoxStyle)(0), null); }
|
|
See Also