Description
Retrieves the keys and names of all the reasons.
Syntax
Example
| Getting a list of sales opportunity reasons (C#) | Copy Code |
|---|
try { SalesOpportunityReasonSetupParamsCollection getParams; getParams = oReasonSrv.GetSalesOpportunityReasonSetupList(); String resultSet = ""; foreach (SalesOpportunityReasonSetupParams record in getParams) { resultSet = resultSet + record.Description + "\t" + "\n"; } Interaction.MsgBox(resultSet, (Microsoft.VisualBasic.MsgBoxStyle)(0), null); } catch (Exception ex) { Interaction.MsgBox(ex.Message, (Microsoft.VisualBasic.MsgBoxStyle)(0), null); } |
|
See Also