Description
Adds a service call problem type.
Syntax
Parameters
Return Type
Contains the key (prblmTypID) of the new service call problem type.
Example
| Adding a service call problem type (C#) | Copy Code |
|---|
public void Add() { ServiceCallProblemType callProblemType; callProblemType = callProblemTypesService.GetDataInterface(ServiceCallProblemTypesServiceDataInterfaces.scptsServiceCallProblemType) As ServiceCallProblemType; callProblemType.Name = "problem type"; callProblemType.Description = "problem description"; try { callProblemTypesService.AddServiceCallProblemType(callProblemType); } catch (Exception ex) { Interaction.MsgBox(ex.Message, (Microsoft.VisualBasic.MsgBoxStyle)(0), null); } }
|
|
See Also