Documente Academic
Documente Profesional
Documente Cultură
0 Essentials
16
Copyright 2007, Oracle. All rights reserved.
Module Objectives
2 of 28
Defines how the data used by Siebel applications is stored in a standard third-party relational database
Specifies the tables and relationships
Field
Business
Component
Business Object
Column
Table
3 of 28
Siebel Data
NAME
PART_NUM
UOM_CD
4 of 28
S_PROD_INT
ROW_ID NAME PART_NUM UOM_CD
Primary key
5 of 28
ROW_ID
6 of 28
0/6
Indexes
Relationships Between Tables Extension Tables
7 of 28
1/6
Tables
Approximately 3,000 tables in the database Three major types: Data, Interface, and Repository
Data S_PROD_INT
ROW_ID NAME
Interface
EIM_PROD_INT
ROW_ID
NAME PART_NUM UOM_CD
Repository S_TABLE
ROW_ID NAME DESC_TEXT ALIAS TYPE
PART_NUM
UOM_CD
8 of 28
1/6
Data Tables
Have names prefixed with S_ Are documented in the Siebel Data Model Reference
9 of 28
1/6
Service Request
S_SRV_REQ ROW_ID
Contact
S_CONTACT ROW_ID LAST_NAME FST_NAME
SR_NUM
DESC_TEXT
ASGN_DT
LAST_UPD
MID_NAME
STG_NAME
Asset
S_ASSET ROW_ID NAME
Account
S_ORG_EXT MFG_DT
Activity
S_EVT_ACT EMP_COUNT ROW_ID ACTIVITY_UID TODO_CD
Internal Product
S_PROD_INT OPTY_ID ROW_ID NAME PART_NUM ORDER_CST PROD_CD
ASSET_NUM
SERIAL_NUM
ROW_ID
DESC_TEXT
DEPT_NUM
DIVISION
PROJ_ID
10 of 28
2/6
Columns
Each table has multiple columns to store user and system data
Defined by Column child object definitions
11 of 28
2/6
Column Properties
Determine size and type of data that can be stored in column Limit proposed modifications to a standard application Do not edit existing properties
12 of 28
2/6
Physical Type identifies the type of data to be stored Length determines the maximum size
13 of 28
2/6
System Columns
Exist for all tables to store system data Are maintained by Siebel applications and tasks
System columns
14 of 28
3/6
User Keys
Are used to determine the uniqueness of records when entering, importing, or integrating data Are predefined and cannot be changed
4/6
Indexes
Are a separate data structure that stores a data value for a column and a pointer to the corresponding row
Used to retrieve and sort data rapidly
5/6
Siebel tables have many predefined relationships to support the as-delivered application
1:M one-to-many M:M many-to-many
Product Line
S_PROD_LN
ROW_ID NAME DESC_TEXT
Asset S_PROD_INT
ROW_ID NAME PART_NUM ORDER_CST PROD_CD
S_ASSET
ROW_ID
NAME
ASSET_NUM
SERIAL_NUM
MFG_DT
M:M relationship
1:M relationship
17 of 28
5/6
1:M Relationships
Are captured using foreign key (FK) table columns in the table on the many side of the relationship FK column on many side of the relationship references PK column on one side
Foreign key column for 1:M Product : Asset relationship
S_PROD_INT
ROW_ID NAME PK PART_NUM ORDER_CST PROD_CD
S_ASSET
ROW_ID NAME
ASSET_NUM
SERIAL_NUM
FK
PROD_ID
18 of 28
5/6
Are columns in a table that refer to the primary key column of a related (parent) table
Many are named with suffix _ID
Are maintained by Siebel applications and tasks to ensure referential integrity and should never be updated directly via SQL
19 of 28
5/6
Inspect the Foreign Key Table property in a Column object definition to determine the column that serves as the FK
S_PROD_INT
ROW_ID NAME PK PART_NUM ORDER_CST PROD_CD
S_ASSET
ROW_ID
NAME ASSET_NUM SERIAL_NUM FK PROD_ID
FK column
Parent table
20 of 28
5/6
M:M Relationships
Are captured using foreign key columns in a third table called the intersection table
Product : Product Line intersection table S_PROD_LN
ROW_ID NAME PK DESC_TEXT
S_PROD_INT
ROW_ID
NAME
PART_NUM
UOM_CD
S_PROD_LN_PROD
ROW_ID FK PROD_LN_ID PROD_ID FK
PK
21 of 28
6/6
Provides additional columns for business components referencing the base table
A base and extension table can be considered as a single logical table
Base Table
S_PROD_INT
ROW_ID
NAME PK PART_NUM UOM_CD
Extension Table
S_PROD_INT_X
ROW_ID FK
22 of 28
PAR_ROW_ID
ATTRIB_39
6/6
23 of 28
6/6
Is a special table for storing child data related to an existing parent table Allows you to track entities that do not exist in the as-delivered Siebel applications
S_ASSET
ROW_ID NAME PK ASSET_NUM SERIAL_NUM PROD_ID
S_ASSET_XM
ROW_ID
FK PAR_ROW_ID TYPE NAME ATTRIB_01
24 of 28
6/6
Are prebuilt for many tables Have the name of the main table appended with _XM
NAME stores name of child entity ATTRIBs are predefined with varying types
25 of 28
Module Highlights
Siebel Data Model defines how data is stored in a third-party relational database A primary key (PK) is a column that uniquely identifies each table row ROW_ID is a column in every table
Contains a Siebel application-generated unique identifier
User keys specify the columns used to determine uniqueness of records when entering, importing, or integrating data Foreign Key Table columns are columns in a table that refer to the PK column of a related table 1:1, 1:M, and M:M relationships are predefined within the model
26 of 28
Lab
27 of 28
28 of 28