Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Configuring Siebel Open UI > Customizing Siebel Open UI for Siebel Mobile Disconnected > Methods You Can Use to Customize Siebel Mobile Disconnected > Methods You Can Use in the Business Object ClassThis topic describes methods that you can use that reside in the Business Object class. It includes the following information:
GetBusComp Method for Business ObjectsThe GetBusComp method returns the business component instance that a business object references. It uses the following syntax: SiebelApp.S_App.Model.GetBusObj(business_object).GetBusComp(business_component)
Each view references a business object, and each business object references one or more business components. If you configure Siebel Open UI to call GetBusComp in the context of a business object, then you must do the following:
For example, the following code gets the business component instance for the Order Entry - Orders business component that the Service Request business object references: SiebelApp.S_App.Model.GetBusObj("ServiceRequest").GetBusComp("Order Entry - Orders") For information about using BusComp in the context of an applet, see BusComp Method for Applets. For more information about views, business objects, and business components, and how they reference each other, see Configuring Siebel Business Applications. GetLastErrCode Method for Business ObjectsThe GetLastErrCode method returns the error code for the most recent error that the disconnected client logged. It uses the following syntax: ActiveBusObject().GetLastErrCode(); This method includes no arguments. The error code that this method returns is a short integer. An error code of 0 (zero) indicates no error occurred. GetLastErrText Method for Business ObjectsThe GetLastErrText method returns a string that contains the text message for the most recent error that the disconnected client logged. It uses the following syntax: ActiveBusObject().GetLastErrText(); This method includes no arguments. Name Method for Business ObjectsThe Name method returns the name of a business object. It uses the following syntax: |
![]() |
![]() ![]() |
Configuring Siebel Open UI | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |