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.

CAUTION:  If a value from a business component that is a parent of the current business component is desired, the Link Specification property for that field must be set to TRUE in Siebel Tools. Otherwise, the child business component cannot access the value in the parent business component. For more information on the Link Specification property, see Siebel Object Types Reference.

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 Copyright © 2008, Oracle. All rights reserved.