📚 SAP Business One SDK Help

GetSalesOpportunitySourceSetupList Method
See Also  Example

Description

Retrieves the keys and names of all the sources.

Syntax

Visual Basic
Public Function GetSalesOpportunitySourceSetupList() As SalesOpportunitySourceSetupParamsCollection

Example

Getting a list of sales opportunity sources (C#)Copy Code
SalesOpportunitySourceSetupParamsCollection sourcesParams = sourceService.GetSalesOpportunitySourceSetupList(); 
int i = 1; 
foreach (SalesOpportunitySourceSetupParams sourceParams in sourcesParams) 

    Console.WriteLine("item {0}: SequenceNum:{1}, Description:{2}", i++, sourceParams.SequenceNo, sourceParams.Description); 
}

See Also