📚 SAP Business One SDK Help

DeleteServiceCallSolutionStatus Method
See Also  Example
pIServiceCallSolutionStatusParams
The key of the service call solution status to be deleted.

Description

Deletes an existing service call solution status.

The service call solution status is specified by its key (Number), which is contained in the ServiceCallSolutionStatusParams object passed to the method.

Syntax

Visual Basic
Public Sub DeleteServiceCallSolutionStatus( _
   ByVal pIServiceCallSolutionStatusParams As ServiceCallSolutionStatusParams _
) 

Parameters

pIServiceCallSolutionStatusParams
The key of the service call solution status to be deleted.

Remarks

If the solution status is linked to a specific service call, it cannot be deleted.

Example

Deleting a service call solution status (C#)Copy Code
ServiceCallSolutionStatusParams solutionStatusParams = solutionStatusService.GetDataInterface(ServiceCallSolutionStatusServiceDataInterfaces.scsssServiceCallSolutionStatusParams) as ServiceCallSolutionStatusParams; 
solutionStatusParams.StatusId = 8; 
 
Console.WriteLine("Delete a ServiceCall Solution Status with id=" + solutionStatusParams.StatusId); 
 
solutionStatusService.DeleteServiceCallSolutionStatus(solutionStatusParams); 

See Also