Table 26. Business Component Methods Syntax Summary
Method
|
Description
|
Syntax
|
|
Allows queries to retrieve data for the specified field.
|
Dim busComp as SiebelBusComp BusComp.ActivateField(fieldName as String)
|
|
Allows queries to retrieve data for the fields specified in the property set.
|
Dim busComp as SiebelBusComp busComp.ActivateMultipleFields(oPropSet as SiebelPropertySet)
|
|
Creates a new many-to-many relationship for the parent object through an association business component.
|
Dim busComp as SiebelBusComp busComp.Associate(whereIndicator as Integer)
|
|
Returns the business object that contains the business component.
|
Dim busComp as SiebelBusComp Dim busObject as SiebelBusObject Set busObject = busComp.BusObject
|
|
Clears the current query and sort specifications on the business component.
|
Dim busComp as SiebelBusComp busComp.ClearToQuery
|
|
Deactivates every currently activated field.
|
Dim busComp as SiebelBusComp busComp.DeactivateFields
|
|
Removes the current record from the business component.
|
Dim busComp as SiebelBusComp busComp.DeleteRecord
|
|
Retrieves a set of BusComp records.
|
ExecuteQuery(cursorMode As Integer) As Boolean
|
|
Retrieves a set of BusComp records.
|
ExecuteQuery(cursorMode As Integer,ignoreMaxCursorSize As Integer) As Boolean
|
|
Moves to the first record in the business component.
|
Dim busComp as SiebelBusComp Dim bIsRecord as Boolean bIsRecord = busComp.FirstRecord
|
|
Returns the association business component.
|
Dim busComp as SiebelBusComp Dim AssocBusComp as SiebelBusComp Set AssocBusComp = busComp.GetAssocBusComp
|
|
Returns a value for the field specified in the argument.
|
Dim busComp as SiebelBusComp Dim sValue as String sValue = busComp.GetFieldValue(FieldName as String)
|
|
Returns a formatted value for the field specified in the argument.
|
Dim busComp as SiebelBusComp Dim sValue as String sValue = busComp.GetFormattedFieldValue(FieldName as String)
|
|
Returns the most recent error code.
|
Dim errCode As Integer Dim SiebApp as SiebelDataControl errCode=siebApp.GetLastErrCode
|
|
Returns the most recent error text message.
|
Dim busComp as SiebelBusComp Dim sErr as String busComp.GetLastErrText
|
|
Returns a value for the fields specified in the property set.
|
Dim busComp as SiebelBusComp busComp.GetMultipleFieldValues(oFieldNames as SiebelPropertySet, oFieldValues as SiebelPropertySet)
|
|
Returns the MVG business component associated with the field specified in the argument.
|
Dim busComp as SiebelBusComp Dim mVGBusComp as SiebelBusComp set mVGBusComp = busComp.GetMVGBusComp(FieldName as String)
|
|
Returns the argument-named search specification.
|
Dim busComp as SiebelBusComp Dim sValue as String sValue = busComp.GetNamedSearch(SearchName as String)
|
|
Returns the pick business component associated with the field specified in the argument.
|
Dim busComp as SiebelBusComp Dim pickBusComp as SiebelBusComp Set pickBusComp = busComp.GetPicklistBusComp(FieldName as String)
|
|
Returns the current search expression.
|
Dim busComp as SiebelBusComp Dim sExpr as String sExpr = busComp.GetSearchExpr
|
|
Returns the current search specification for the field specified in the argument.
|
Dim busComp as SiebelBusComp Dim sSpec as String sSpec = busComp.GetSearchSpec(FieldName as String)
|
|
Returns the value of a named user property.
|
Dim application as SiebelApplication Dim SiebApp as SiebelDataControl retStr=GetUserProp(prop As String) As String
|
|
Returns the visibility mode for the business component.
|
Dim busComp as SiebelBusComp Dim iMode as Integer iMode = busComp.GetViewMode
|
|
Calls the specialized method named in the argument.
|
Dim busComp as SiebelBusComp Dim sReturn as String sReturn = busComp.InvokeMethod(methodName as String, methodArgs as String or StringArray)
|
|
Moves to the last record in the business component.
|
Dim busComp as SiebelBusComp Dim bReturn as Boolean bReturn = busComp.LastRecord
|
|
Returns the name of the business component.
|
Dim busComp as SiebelBusComp Dim sName as String sName = busComp.Name
|
|
Adds a new record to the business component.
|
Dim busComp as SiebelBusComp busComp.NewRecord(whereIndicator as Integer)
|
|
Moves to the next record in the business component.
|
Dim busComp as SiebelBusComp bReturn as Boolean bReturn = busComp.NextRecord
|
|
Returns the parent business component.
|
Dim busComp as SiebelBusComp Dim parentBusComp as SiebelBusComp Set parentBusComp = busComp.ParentBusComp
|
|
Places the currently selected record in a picklist business component into the appropriate fields of the parent business component.
|
Dim busComp as SiebelBusComp busComp.Pick
|
|
Moves to the previous record in the business component.
|
Dim busComp as SiebelBusComp Dim bReturn as Boolean bReturn = busComp.PreviousRecord
|
|
Refines a query after a query has been executed.
|
Dim busComp as SiebelBusComp busComp.RefineQuery
|
|
Assigns a new value to the named field for the current row of the business component.
|
Dim busComp as SiebelBusComp busComp.SetFieldValue(FieldName as String, FieldValue as String)
|
|
Accepts the field value in the current local format and assigns the new value to the named field for the current row of the business component.
|
Dim busComp as SiebelBusComp busComp.SetFormattedFieldValue(FieldName as String, FieldValue as String)
|
|
Assigns a new value to the fields specified in the property set for the current row of the business component.
|
Dim busComp as SiebelBusComp BusComp.SetMultipleFieldValues(oPropSet as SiebelPropertySet)
|
|
Sets a named search specification on the business component.
|
Dim busComp as SiebelBusComp busComp.SetNameSearch(searchName as String, searchSpec as String)
|
|
Sets the search specification for the business component.
|
Dim busComp as SiebelBusComp busComp.SetSearchExpr(searchSpec as String)
|
|
Sets the search specification for the specified field.
|
Dim busComp as SiebelBusComp busComp.SetSearchSpec(FieldName as String, searchSpec as String)
|
|
Sets the sort specification for a query.
|
Dim busComp as SiebelBusComp busComp.SetSortSpec(sortSpec as String)
|
|
Not supported for COM Data Control.
|
|
|
Sets the visibility type for the business component.
|
Dim application as SiebelApplication Dim SiebApp as SiebelDataControl boolVal=siebBC.SetViewMode(mode As Integer) As Boolean
|
|
Deletes an active record created by NewRecord.
|
Dim busComp as SiebelBusComp busComp.UndoRecord
|
|
Commits to the database any changes made to the current record.
|
Dim busComp as SiebelBusComp busComp.WriteRecord
|