Siebel Tools Reference > Business Objects Layer >

Links


A link implements a one-to-many (or master-detail) relationship between business components based on their base tables. The Link object type makes master-detail views possible, in which one record of the master business component displays with many detail business component records that correspond to the master. A master-detail relationship appears in Figure 104, showing the Contact in the form and the many accounts assigned to contact in the list.

Figure 104.  Link in a Master-Detail View
Click for full size image

In this master-detail view, each Opportunity record can have many Product records. The synchronization between the master and detail business components in a master-detail view is accomplished with a link between the two business components and the inclusion of the link and business components in a business object. Business objects are described in About Business Objects.

NOTE:  Link destination fields are initialized automatically when you add a record to the child business component in a link.

Links are also used in the implementation of multi-value group applets. A multi-value group applet is a dialog box that displays multiple records of data associated with one control in the originating applet. For example, a multi-value group applet may be used to list the addresses, industries, or sales team members associated with an Account. A multi-value group applet for account addresses appears in Figure 105.

Figure 105.  Multi-Value Group Applet Example
Click for full size image

The relationship between the business component of the originating applet and the business component of the multi-value group applet is one-to-many; that is, a master-detail relationship. This master-detail relationship, as with all master-detail relationships in Siebel applications, is implemented through a Link object (in addition to other object types). A multi-value link is necessary to adapt a link for multi-value group applet use.

NOTE:  The relationship between the two business components is one-to-many in the context of the multi-value link and multi-value group. There may be, in fact, a many-to-many relationship (for example, between opportunities and positions), but in the context of the multi-value group, only one master-detail relationship is presented.


 Siebel Tools Reference
 Published: 20 October 2003