Siebel Developer's Reference > User Properties > Business Component User Properties >

OnAddAssocUpdateParent: buscompname


This user property updates a parent business component with the value set in a child business component when an account or contact is associated with that child business component.

Value

The value takes the form:

"Condition1", "ParentBCField1", "[ChildBCField1]" or "Expression1", "ParentBCField2", "[ChildBCField2]" or "Expression2", ...

where:

ParentBCFieldn is the field on the parent business component to update if Conditionn evaluates to TRUE.

[ChildBCFieldn] is the field, in the business component on which this user property is set, whose value is used to update the parent business component field.

Expressionn is an expression, such as an IIf statement, that determines the value with which to update the parent business component field.

Usage

For example, the OnAddAssocUpdateParent: Action user property on the Contact business component has the following value:

"[Account Id] IS NULL", "Account Id", "IIf([Account Id] IS NULL OR [Account Id] = 'No Match Row Id','',[Account Id])"

When a contact is selected for an activity, the account from the contact is also selected for the activity, provided that the parent activity has no account already associated. If the contact has no account associated with it, then no account is set for the activity.

In this example, the OnAddAssocUpdateParent: Contact user property on the Account business component has the following value:

"[Account Id] IS NULL OR [Account Id] = 'No Match Row Id'", "Account Id", "[Id]", "Primary Address Id", "[Primary Address Id]"

When an account is associated with a contact, the primary address of that account becomes the primary address for the contact.

You can modify the value for this user property and create new instances of it. You can also inactivate this user property.

Parent Object Type

Business Component

Functional Area

Account, Contact

Siebel Developer's Reference Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.