Configuring the Auto Primary Property of a Multi-Value Link

The Auto Primary property determines how Siebel CRM enters row IDs into the Primary ID Field. It uses the Primary system list column in the multi-value group applet. The user can manually choose the primary. You can set the Auto Primary property to one of the following values:

  • DEFAULT. The first record becomes the primary.

  • SELECTED. If the user views the multi-value group applet, and then exits, then the highlighted record becomes the primary. For more information, see the About the Selected Option of the Auto Primary Property section of this topic.

  • NONE. The user must use the pick map to include the Primary Owner Id manually. For more information, see the Configuring Siebel CRM to Not Override the Pick Map Value section of this topic.

About the Selected Option of the Auto Primary Property

The SELECTED option only applies if several multi-value links reference the same child business component. For example, with the predefined Bill To Business Address multi-value link and the predefined Ship To Business Address multi-value link. These multi-value links exist in the Order business component and in the Account business component. In this example, if a primary is not set for the Bill To address, then when Siebel CRM does a separate query to bring back all addresses that it associates with the account or order, it determines if one of the addresses is or is not already chosen as the primary for the Ship To address. If it is, then Siebel CRM sets that address as the primary for Bill To address.

How the Auto Primary Property Affects the Read-Only Status of the Primary ID Field

If the Auto Primary property of a multi-value link contains a value of SELECTED, then defining a read-only property at the applet level does not force the SSA Primary Field to be read-only. If the destination business component of the multi-value link is read-only, then Siebel CRM might display an error message that is similar to the following:

This operation is not available for a read-only field 'SSA Primary Field'

This errors occurs because Siebel CRM updates the Primary ID Field through the SSA Primary Field system field, which is part of the destination business component. If this business component is read-only, then the Primary ID Field is read-only and Siebel CRM cannot update it. For more information, see System Fields of a Business Component.

Configuring Siebel CRM to Not Override the Pick Map Value

If you set the Auto Primary property to DEFAULT in some configurations, then Siebel CRM might populate the Primary Owner Id with No Match Row Id. To avoid this problem, it is recommended that you set the Auto Primary property to NONE. For example, assume that you do the following:

  • In Siebel Tools, create the following multivalue field in the Action business component:

    • Name. Owned By Division.

    • Multivalue Link. Employee.

    • Field Division.

    The Field in the Employee business component must be a multivalue field.

  • Expose the new multivalue field in the Contact Activity List Applet applet.

  • Log in to the Siebel CRM client as SADMIN, click Contacts, Contacts List, and then click the Last Name of any contact.

  • Create a new record in the Activities list. Note that Siebel CRM sets the value of the Employee field to SADMIN. This field is the Owned By multivalue field.

  • Click Query, and then click Go. Note that the Employee field is empty.

  • Open the Employee multivalue group applet. Note that one record exists for Siebel Administrator (SADMIN) but it is not the primary, and the Primary Owner Id field contains No Match Row Id.

In this situation, Siebel CRM incorrectly populates the Primary Owner Id with No Match Row Id. To avoid this problem, you can set the Auto Primary property to NONE instead of DEFAULT for the Employee multivalue list.