Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Siebel Object Interfaces Reference > Object Interfaces Reference > Business Object MethodsThis topic describes business object methods. It includes the following topics:
In this topic, the term oBusObj indicates a variable that contains a BusObject. GetBusComp Method for a Business ObjectThe GetBusComp method returns the name of a business component instance. If an instance of the business component that the BusCompName argument specifies:
FormatoBusObj.GetBusComp (BusCompName) Table 82 describes the arguments for the GetBusComp method. The BusCompName argument is case-sensitive. It must match the case of the name that Siebel Tools displays in the Name property of the business component. UsageIf a business component instance exists but you must create a new instance, then you can do the following:
If you use a business object instance that already exists, then your configuration includes any other business components that reference that business object instance, even if you use the GetBusComp method. If you no longer require the business component instance, then use one of the following keywords: In Browser Script, the GetBusComp method can only access business component instances in the current view. In Server Script, the GetBusComp method can access every business component instance that exists in the active business object. Used WithBrowser Script, COM Data Control, COM Data Server, Siebel Java Data Bean, Server Script ExamplesThe following examples are in Siebel eScript:
GetLastErrCode Method for a Business ObjectThe GetLastErrCode method returns the error code for the error that Siebel CRM logged most recently. This code is a short integer. 0 (zero) indicates no error. FormatUsageFor more information, see Usage for the GetLastErrCode Method. Used WithCOM Data Control, Mobile Web Client Automation Server GetLastErrText Method for a Business ObjectThe GetLastErrText method returns a string that contains the text message for the error that Siebel CRM logged most recently. FormatUsageFor more information, see Usage for the GetLastErrText Method. Used WithCOM Data Control, Mobile Web Client Automation Server Name Method for a Business ObjectThe Name method returns a string that contains the name of a business object. FormatUsed WithBrowser Script, COM Data Control, COM Data Server, Siebel Java Data Bean, Mobile Web Client Automation Server, Server Script ExamplesFor an example, see Name Method for a Business Component. Release Method for a Business ObjectThe Release method for a business object releases a business object and the resources for this business object on the Siebel Server. This method does not return any information. FormatUsed WithExamplesThe following example is for Siebel Java Data Bean: { |
Siebel Object Interfaces Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |