Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods >

ParentBusComp Method


ParentBusComp returns the parent (master) business component when given the child (detail) business component of a Link.

Syntax

BusComp.ParentBusComp

Argument
Description

Not applicable

 

Returns

The parent business component of the Link

Usage

ParentBusComp allows you to write code in the child business component that accesses field values and performs actions on the parent business component using the normal business component mechanisms.

Used With

COM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script

Example

The following example is in Siebel VB. For another example, read ExecuteQuery Method.

Dim strParentName as String
...
strParentName = Me.ParentBusComp.GetFieldValue("Name")

Siebel Object Interfaces Reference