Sunteți pe pagina 1din 21

Siebel 8.

0 Essentials

Configuring Multi-Value Groups

1 of 21

Module 31: Configuring Multi-Value Groups

Module Objectives

To describe multi-value groups and their benefits


To configure multi-value groups in Siebel Tools

Configuring Multi-Value Groups

3 of 21

Multi-Value Group
A multi-value group is a set of detail records associated with a parent

record
The parent applet displays only one of the child records, the Primary The MVG applet opens if an icon is clicked, to display all the child records

MVG Applet

Configuring Multi-Value Groups

4 of 21

Multi-Value Group

It is an alternative to a detail view for managing parent and related child records
Allows for multiple sets of detail records to be available from a single view

It allows users to access child records for multiple parent records in a single list view

Account MVG

Personal Address MVG

Configuring Multi-Value Groups

5 of 21

Multi-Value Group
It allows for creating queries that include values for fields in both

parent and child records


Query on Account MVG

Query on Contact Address MVG

Configuring Multi-Value Groups

6 of 21

Primaries

Primary key allows quick retrieval of the primary child record into the parent applet
A primary refers to a designated child record, which allows one child record to be retrieved quickly for display

It is supported by a primary foreign key field in the parent BC to reference the childs primary key (ROW_ID)
Parent BC S_CONTACT
PR_PER_ADDR_ID

Child BC S_ADDR_PER

LAST_NAME

FST_NAME

ROW_ID

PER_ID

ROW_ID

ADDR

CITY

Primary Foreign Key

Foreign Key

Configuring Multi-Value Groups

7 of 21

Primaries Performance Example


Two MVGs on a list applet displaying 10 parent records requires 21

queries to populate without primaries


One query to populate the parent fields in the list applet 20 queries (two per parent record) to populate the MVGs

Configuring Multi-Value Groups

8 of 21

Primaries Performance Example


Using Primaries, one query will populate all fields on the list applet

A query using SQL joins populates each MVG with its primary child record

Configuring Multi-Value Groups

9 of 21

Object Types Supporting MVGs


MVGs are implemented using the following object types:
Multi-Value Link (MVL) Multi-Value Field (MVF)

MVG Applet

Configuring Multi-Value Groups

10 of 21

Multi-Value Link
A link exists between the parent and child BCs in the MVG

This specifies how to get data from the child BC


The Multi-Value link specifies the link that the MVF will refer to

Configuring Multi-Value Groups

11 of 21

Multi-Value Field (MVF)


MVF is the field in the parent BC that references the field in the child

BC in an MVG

Contact First Name Last Name


Personal Street Address

Personal Address
Street Address

City

Configuring Multi-Value Groups

12 of 21

MVG Applet
An MVG Applet is used to display the child BC records

Displays list columns that allow the user to distinguish between records
It has its Type as MVG

Configuring Multi-Value Groups

13 of 21

Creating a Multi-Value Group


Create a new MVG using the MVG Wizard in Siebel Tools

Verify that a link exists between the parent and child BCs Select File > New Object > MVG

Configuring Multi-Value Groups

14 of 21

MVG Wizard Inputs


The MVG Wizard requires the following inputs:

The project the MVG will be a part of The master (parent) and detail (child) business components The name of the multi-value link The Auto Primary property The link properties

Configuring Multi-Value Groups

15 of 21

The Auto Primary Property


The Auto Primary property is set to one of the following:

Default The first child record becomes the primary Selected The highlighted record becomes the primary None The user must specify the primary

Configuring Multi-Value Groups

16 of 21

MVG Wizard Outputs


A new MVG is created If no MVG applet exists suitable for the parent and child BCs specified

and for the MVFs, the wizard opens an MVG Applet Wizard

Configuring Multi-Value Groups

17 of 21

MVGs for M:M Relationships


MVGs can be built on M:M relationships as well Link must specify the Inter Table property
Account Name Location Industry Industry Name SIC Code

S_ORG_EXT PR_INDUST_ID

S_ORG_INDUST INDUST_ID

S_INDUST DESC_TEXT

Configuring Multi-Value Groups

ROW_ID

ROW_ID

ROW_ID

OU_ID

NAME PK

NAME

LOC

SIC

FK

FK

PK

18 of 21

Configuring MVGs for M:M Relationships


First, create object definitions required for 1:M MVGs Specify an Associate Applet for the MVG Applet

Allows users to select other child records to add to the MVG

Configuring Multi-Value Groups

19 of 21

Module Highlights
An MVG is a set of detail (child) records associated with a parent

record A primary is a child record that is displayed in the parent applet


Supported by a primary foreign key
Objects needed to support an MVG are:

Multi-Value Fields (MVFs) A multi-value link An MVG Applet


Use an MVG Wizard to create an MVG

Configuring Multi-Value Groups

20 of 21

Lab
In the lab, you will:

Create a new MVG Create an MVG applet to display the MVG

Configuring Multi-Value Groups

21 of 21

S-ar putea să vă placă și