📚 SAP Business One SDK Help

GetServiceCallProblemTypeList Method
See Also  Example

Description

Retrieves the keys and names of all the service call problem types.

Syntax

Visual Basic
Public Function GetServiceCallProblemTypeList() As ServiceCallProblemTypeParamsCollection

Example

Getting all service call problem types (C#)Copy Code
public void GetList() 

    ServiceCallProblemTypeParamsCollection callProblemTypeParamsCollection = callProblemTypesService.GetServiceCallProblemTypeList(); 
 
    int i = 1; 
    foreach (ServiceCallProblemTypeParams callProblemTypeParams in callProblemTypeParamsCollection) 
    { 
        Console.WriteLine("item {0}: SequenceNo:{1}, Name:{2}", i++, callProblemTypeParams.ProblemTypeID, callProblemTypeParams.Name); 
    } 

See Also