Table 30. Application Methods Syntax Summary
Method
|
Description
|
Syntax
|
|
Returns the three-letter operating currency code.
|
Dim application as SiebelApplication Dim sCur as String sCur = Application.CurrencyCode(ErrCode as Integer)
|
|
Instantiates and returns a new instance of the business object specified in the argument.
|
Dim application as SiebelApplication Dim busObject as SiebelBusObject set busObject = application.GetBusObject(busobjName as String, ErrCode as Integer)
|
|
Returns the last Siebel error number.
|
Dim application as SiebelApplication Dim iErrNum as Integer iErrNum = application.GetLastErrCode(ErrCode as Integer)
|
|
Returns the last error text message.
|
Dim application as SiebelApplication Dim sText as String sText = application.GetLastErrText(ErrCode as Integer)
|
|
Returns the value of an attribute in a user profile.
|
GetProfileAttr(name As String, errCode As Integer) As String
|
|
Instantiates and returns a new instance of the argument-specified service.
|
Dim Application as SiebelApplication Dim Service as SiebelService set Service = Application.GetService(serviceName as String, ErrCode as Integer)
|
|
Gets the shared user-defined global variables.
|
Dim application as SiebelApplication Dim sName as String sName = application.GetSharedGlobal(varName as String, ErrCode as Integer)
|
|
Starts the COM Data Server object and returns a reference to the Application object.
|
Dim application as SiebelApplication Dim returned as SiebelApplication set returned = application.LoadObjects(pathName\cfgFileName as String, ErrCode as Integer)
|
|
Allows external applications to log in to the COM Data Server.
|
Dim application as SiebelApplication Dim sErr as String sErr = application.Login(userName as String, password as String, ErrCode as Integer)
|
|
Returns the login ID of the user who started the Siebel application.
|
Dim application as SiebelApplication Dim sID as String sID = application.LoginId(ErrCode as Integer)
|
|
Returns the login name of the user who started the Siebel application.
|
Dim application as SiebelApplication Dim sUser as String sUser = application.LoginName(ErrCode as Integer)
|
|
Constructs and returns a new property set object.
|
Dim oApplication as SiebelApplication Dim oPropSet as ProperySet oPropSet = oApplication.NewPropertySet()
|
|
Returns the position ID that describes the user's current position.
|
Dim application as SiebelApplication Dim sRow as String sRow = application.PositionId(ErrCode as Integer)
|
|
Returns the position name of the user's current position.
|
Dim application as SiebelApplication Dim sPosition as String sPosition = application.PositionName(ErrCode as Integer)
|
|
Sets the active position to the position ID specified in the argument. Returns a Boolean value indicating if the method succeeded.
|
Dim application as SiebelWebApplication Dim posId as String Dim status as Boolean status = application.SetPositionId(posId as String, ErrCode as Integer)
|
|
Sets the active position to the position name specified in the argument. Returns a Boolean value indicating if the method succeeded.
|
Dim application as SiebelWebApplication Dim posName as String Dim status as Boolean status = application.SetPositionName(posName as String, ErrCode as Integer)
|
|
Used in personalization to assign values to attributes in a user profile.
|
Dim application as SiebelApplication application.SetProfileAttr(name as String, value as String, ErrCode as Integer)
|
|
Sets a shared user-defined global variable.
|
Dim application as SiebelApplication application.SetSharedGlobal(varName as String, value as String, ErrCode as Integer)
|
|
Appends a message to the trace file.
|
Dim application as SiebelApplication application.Trace(message as String, ErrCode as Integer)
|
|
Turns off the tracing started by TraceOn.
|
Dim application as SiebelApplication application.TraceOff(ErrCode as Integer)
|
|
Turns tracing on
|
Dim application as SiebelApplication application.TraceOn(filename as String, type as Integer, Selection as String, ErrCode as Integer)
|