Business Service Methods for Siebel eScript

The following table describes a summary of business service methods you can use with Siebel eScript.

Method Description Format

GetFirstProperty Method for a Business Service

Returns the name of the first property of a business service.

var oService;

var sName;

sName = oService.GetFirstProperty();

GetNextProperty Method for a Business Service

Returns the name of the next property of a business service.

var oService;

var sName;

sName = oService.GetNextProperty();

GetProperty Method for a Business Service

Returns the value of a property.

var oService;

var sValue;

sValue = oService.GetProperty(propName);

Name Method for a Business Service

Returns the name of a business service.

var oService;

var sName;

sName = oService.Name();

InvokeMethod Method for a Business Service

Calls a method.

var oService;

oService.InvokeMethod(methodName, InputArguments, OutputArguments);

PropertyExists Method for a Business Service

Returns a Boolean value that indicates if the property that the argument identifies exists.

var oService;

var propExists;

propExists = oService.PropertyExists(propName);

RemoveProperty Method for a Business Service

Removes a property from a business service.

var oService;

oService.RemoveProperty(propName);

SetProperty Method for a Business Service

Sets a value for a property of a business service.

var oService;

oService.SetProperty(propName,propValue);