Guidelines for Using Methods in Business Component Classes
If you configure a method that Siebel CRM can access in a business component class, then it is recommended that you use the following guidelines:
You can use a method in a script only if the Siebel Object Interfaces Reference describes the method.
If Siebel Object Interfaces Reference does not specifically state that Siebel CRM can call a method directly, then you must not assume that you can use only the method name and arguments to call a method.
You typically configure Siebel CRM to use the InvokeMethod method to call a method.
The format for the InvokeMethod method varies depending on the scripting language that you use. This book does not describe these specific formats.
Siebel Developer's Reference lists method input arguments in the order that Siebel CRM must use them in the call, independent of the scripting language that you use.
If a custom button or command references a method, then you typically use InvokeMethod to call this method. This is true if you use a predefined script or custom script. For more information about the InvokeMethod method, see Siebel Object Interfaces Reference and Configuring Siebel Business Applications.
Intercepting a method or modifying method behavior before or after Siebel CRM calls it can result in unpredictable behavior.
Unless noted otherwise, method arguments use string values.