Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods > Associate MethodThe Associate method creates a new many-to-many relationship for the parent object through an association business component (see GetAssocBusComp). SyntaxBusComp.Associate(whereIndicator)
ReturnsUsageTo set field values on a child record that has been associated to a parent record, use the context of the MVGBusComp. Used WithCOM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script ExampleThe following VB example updates the Opportunity Assignment Type field. The parent business component can be any business component that includes the Sales Rep multi-value group. Dim oParentBC as BusComp The following Siebel eScript example finds a contact with the Last Name = "Abanilla", and adds a new organization named "CKS Software" to its Organization MVG. var ok = 0; // Searches by Last Name // Instantiates Organization MVG // Checks if the Organization was found // Organization was found catch (e) oAssocBC = null; ContactBC = null; Related Topics |
Siebel Object Interfaces Reference | Copyright © 2008, Oracle. All rights reserved. | |