Bookshelf Home | Contents | Index | PDF |
Siebel Developer's Reference > Business Component User Properties > Controlling Parent and Child Relationships > Updating the Parent Business Component if Siebel CRM Modifies ChildrenThe OnAddAssocUpdateParent: buscompname user property updates a parent business component with the value that Siebel CRM sets in a child business component if it associates an account or contact with this child business component. The value for this user property must use the following format: "Condition1", "ParentBCField1", "[ChildBCField1]" or "Expression1", "ParentBCField2", "[ChildBCField2]" or "Expression2", ...
You can configure Siebel CRM to modify the value for this user property, create a new instance of it, or deactivate it. For more information, see How This Book Describes the User Property Format. Example of Updating the Parent Business Component if Siebel CRM Modifies ChildrenFor example, the "[Account Id] IS NULL", "Account Id", "IIf([Account Id] IS NULL OR [Account Id] = 'No Match Row Id','',[Account Id])" If a user chooses a contact for an activity, and if Siebel CRM does not already associate an account with the parent activity, then Siebel CRM also chooses the account from the contact for the activity. If an account is associated with the contact, then Siebel CRM does not set an account for the activity. In this example, the "[Account Id] IS NULL OR [Account Id] = 'No Match Row Id'", "Account Id", "[Id]", "Primary Address Id", "[Primary Address Id]" If Siebel CRM associates an account with a contact, then it sets the primary address of this account as the primary address for the contact. |
Siebel Developer's Reference | Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |