0% found this document useful (0 votes)
35 views18 pages

29ESS - Creating Business Components and Fields

This document discusses how to create new business components in Siebel using 1:M extension tables. It describes creating a business component to capture additional details about contacts, such as the colleges they attended and favorite restaurants. The key steps are to create a business component definition based on a standard 1:M extension table, add fields to the business component, relate the new component to an existing parent component using a link definition, and display the new data in applets and views.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views18 pages

29ESS - Creating Business Components and Fields

This document discusses how to create new business components in Siebel using 1:M extension tables. It describes creating a business component to capture additional details about contacts, such as the colleges they attended and favorite restaurants. The key steps are to create a business component definition based on a standard 1:M extension table, add fields to the business component, relate the new component to an existing parent component using a link definition, and display the new data in applets and views.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 18

Essentials (Siebel 7.

7)

Module 29: Creating Business


Components and Fields
Module Objectives

After completing this module you will be able to:


 Create a new business component (BC) using the 1:M
extension table
 Describe the structure of a 1:M extension table
 Add the business component to a business object

Why you need to know:


 Enables you to incorporate additional business entities
that do not correspond to business components in a
standard Siebel application
 Enables you to tailor your business logic

Module 29: Creating Business Components and Fields 2 of 18


Business Problem
 Siebel business components capture most commonly used
business entities, but they do not cover every possibility
 Example: Sales organizations might record personal data about
contacts, such as:
 What colleges the contact attended
 Name of college, years attended, major field of study, sports played,
honors received, and so on
 The contact’s favorite restaurants
 Name and location, price range, type of cuisine, and so on
 To capture this kind of information may require:
 Multiple fields to capture the details
 1:M relationship to the parent entity

Module 29: Creating Business Components and Fields 3 of 18


Solution: Create New Business Components
 To capture this sort of information, create new business
components as children of an existing business component
 Used to add entities specific to your organization that are not in
the Siebel repository
 You can base these business components on standard 1:M
extension tables supplied by Siebel Systems
 Example: Create College and Restaurant business components
for sales organization

Favorite
Colleges Attended Contact
Restaurants

Module 29: Creating Business Components and Fields 4 of 18


Review: Standard 1:M Extension Tables
 Predefined in the repository for many business components
 Has name of main table appended with _XM

Contains many predefined


ATTRIB columns of varying
type

NAME column stores the


name of the child entity

PAR_ROW_ID column
stores foreign key to
ROW_ID in main table

TYPE column identifies the


child business component

Module 29: Creating Business Components and Fields 5 of 18


User Key for _XM Table
 NAME, TYPE, and PAR_ROW_ID serve as a user key for the
_XM table
 Columns are required—you must provide values for all three
columns when creating a new record
 Combination must be unique
 For business components with data that cannot be stored in a
Varchar 100 column, you must still provide a unique value for
NAME
 Workaround is to store value of ROW_ID in NAME

Module 29: Creating Business Components and Fields 6 of 18


Create New Business Component
 Create a business component definition to represent the new
business entity
 To invoke the Business Component wizard, select File > New
Object

Business
component
wizard

Module 29: Creating Business Components and Fields 7 of 18


Create New Business Component Continued
 Create a business component using the 1:M extension table

Module 29: Creating Business Components and Fields 8 of 18


Create New Business Component Continued
 Add fields by specifying:
 Field name
 Column
 Create additional fields for any other required data

Click Add to add a


new field to the list
Add fields that map
to the three required
columns

Module 29: Creating Business Components and Fields 9 of 18


Multiple Business Components
 You can use one _XM table to map multiple user-defined child
business components
 Each business component has a unique TYPE value
 Stored in the TYPE column of the _XM table
 Each business component retrieves only those rows with its
TYPE value
 Use properties on business components and fields
 Search Specification
 Pre Default Value

Module 29: Creating Business Components and Fields 10 of 18


Search Specification
 Specifies records to be retrieved by the business component
 Set Search Specification to only retrieve Restaurants

Retrieves only
records with a Type
of “Restaurant”

Module 29: Creating Business Components and Fields 11 of 18


Pre Default Value
 Automatically assigns a value to a field for a new record
 Set Predefault Value property of the Type field to the value used
in the BC search specification

Ensures that all new Retrieves only


records have a Type records with a Type
of “Restaurant” of “Restaurant”

Module 29: Creating Business Components and Fields 12 of 18


Relating the Child and Parent BCs
 Associate the newly configured child business component with
the parent by:
 Creating a link definition to relate child and parent records
 Including the child in the business object defined for the parent

Contact

ABC Restaurant

Module 29: Creating Business Components and Fields 13 of 18


Create the Link
 Create a new 1:M link

Module 29: Creating Business Components and Fields 14 of 18


Add Business Component to Business Object
 Create a new Business Object Component definition for the
child
 Set the Link property

Module 29: Creating Business Components and Fields 15 of 18


Displaying Data from _XM Table
 Build applets and views as required to display data from the
child business component
 Do not display the Type field to prevent users from changing the
value

List
Applet
Wizard

Module 29: Creating Business Components and Fields 16 of 18


Summary

This module showed you how to:


 Create a new business component (BC) using the 1:M
extension table
 Describe the structure of a 1:M extension table
 Add the business component to a business object

Module 29: Creating Business Components and Fields 17 of 18


Lab
 In the lab you will:
 Create and display a new business component based on a 1:M
extension table

Module 29: Creating Business Components and Fields 18 of 18

You might also like