📚 SAP Business One SDK Help

GetServiceCallStatusList Method
See Also  Example

Description

Retrieves the keys and names of all the service call statuses.

Syntax

Visual Basic
Public Function GetServiceCallStatusList() As ServiceCallStatusParamsCollection

Example

Getting a list of service call statuses (C#)Copy Code
ServiceCallStatusParamsCollection callStatusParamsCollection = callStatusService.GetServiceCallStatusList(); 
int i = 1; 
foreach (ServiceCallStatusParams statusParams in callStatusParamsCollection) 

    Console.WriteLine("item {0}: StatusId:{1}, Name:{2}", i++, statusParams.StatusId, statusParams.Name); 
}

See Also