Siebel Object Interfaces Reference > Siebel eScript Quick Reference >

Business Service


Table 85 lists a summary of the Business Service Methods syntax.

Table 85.  Business Service Methods Syntax Summary
Method
Description
Syntax
Retrieves the name of the first property of a business service.

var oService;
var sName;sName = oService.GetFirstProperty();

Once the name of the first property has been retrieved, retrieves the name of the next property of a business service.

var oService;
var sName;
sName = oService.GetNextProperty();

Retrieves the value stored in the specified property.

var oService;
var sValue;
sValue = oService.GetProperty(propName);

Returns the name of the business service.

var oService;
var sName;
sName = oService.Name();

Calls a specialized method or a user-created method on the business service.

var oService;
var Return;
Return = oService.InvokeMethod(methodName, InputArguments, OutputArguments);

Returns a Boolean value indicating whether the property specified in the argument exists.

var oService;
oService.PropertyExists(propName);

Removes a property from a business service.

var oService;
oService.RemoveProperty(propName);

Assigns a value to a property of a business service

var oService;
oService.SetProperty(propName, propValue);

Table 86 lists a summary of the Business Service Events syntax.

Table 86.  Business Service Events Syntax Summary
Method
Description
Syntax
Called when a business service is accessed.

Service_InvokeMethod(methodName);

Called before the PreInvokeMethod, allowing the developer to determine whether or not the user has the authority to invoke the business service method.

Service_PreCanInvokeMethod (MethodName, &CanInvoke)

Called before a specialized method is invoked on a business service.

Service_PreInvokeMethod(methodName, Inputs, Outputs);


 Siebel Object Interfaces Reference 
 Published: 18 June 2003