Data, Bussiness, User Interface Layer Creation

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Data, Business, User Interface Object Layer

1. Introduction:
Data Object Layer : Object definitions in the data objects layer provide a
logical representation of the underlying physical database, which
includes tables, columns, indexes.

Business Object Layer : This layer includes objects that define business
logic and organize data from underlying tables into logical units. This
layer contains Business Object, Business Component & Fields.

User Interface Object Layer : This layer is the visual representation of


objects in the Business Object layer. They define the interface presented
to the user at runtime and allow users to manipulate data. This layer
contains Applets, Views & Controls such as buttons & check boxes.

2. C
r
e
a
t
i
o
n

o
f

D
a

Page 1 of 6
2. Data Object Layer:
2.1 Standalone Data Table Creation: Here we create custom Standalone
Data Table. This is also called as a Base Table.
Go to File-New Object -New Object Wizard-General-Table-Name (For
Custom Table it starts with CX_ eg: CX_Ramu)-Project-Select type of Table
(Standalone Table)-Next-Finish.
Note: If we are using for the first time, we have to create a project.
Go to Project Object-Name(New Name)-Locked True.
For Standalone Data Table, 09 System Columns will be generated
automatically which are CONFLICT_ID, CREATED, CREATED_BY,
DB_LAST_UPD, DB_LAST_UPD_SRC, LAST_UPD, LAST_UPD_BY,
MODIFICATION_NUM, ROW_ID

ROW_ID is the Primary Key for every table which is an inbuilt


behaviour & will be unique.

These System Columns are useful to track when & by whom the record
are created / modified.

Apart from default System columns we can create new columns.


Go to Table-Column-NR-Name-Physical Type-Length.
Type Property for System Columns will be System where for Custom
Columns it will be Data.

Created Table will be called as Logical Table and restricted to only Tools
These Tables are not part of Data base.

In order to use these Tables in Application we have to click the button


called Apply/DDL- Database User (Siebel Generally)-Database User
Password (This is will vary)-Activate.

Page 2 of 6
2.2 1:1 Extension Data Table Creation: This is a Child Table of
Standalone Table.
Go to File-New Object -New Object Wizard-General-Table-Name (For
Custom Table it starts with CX_ & ends with _X eg: CX_RAMU_X)-Project-
Select type of Table (1:1 Extension Table)-Next-Parent Table-Next-Finish.
For 1:1 Extension Data Table, 10 System Columns (09 + 01) will be
generated automatically in which 09 are same as in Standalone Table &
extra one column will be Foreign Key Column (PAR_ROW_ID).

Base / Parent Table Primary key (ROW_ID) will be stored in the FK


Column of Child Table (PAR_ROW_ID).

The Base Table will be shown in Columns, Foreign Key Table Property.

2.3 1:M Extension Data Table Creation:


Go to File-New Object -New Object Wizard-General-Table-Name (Table
starts with CX_ & ends with _XM eg: CX_RAMU_XM)-Project-Select type of
Table ( 1:M Extension Table)-Next-Parent Table-Next-Finish.

For 1:M Extension Data Table, 12 System Columns (10 + 02) will be
generated automatically in which 10 are same as in 1:1 Extension Table &
two extra column will be Name & Type with Type Property as Data
(Public).

2.4 Intersection Data Table Creation: In order to create a relationship


b/w two standalone tables we will use Intersection table.
Go to File-New Object -New Object Wizard-General-Table-Name (Table
starts with CX_ eg: CX_RAMU_RAJU)-Project-Select type of Table
(Intersection Table)-Next-1st Parent Table-FK of 1st Parent Table
(FK_Ramu) – 2nd Parent Table-FK of 2nd Parent Table- Next-Finish.

Page 3 of 6
For Intersection Extension Data Table, 12 System Columns (09 + 02 +
01) will be generated automatically in which 09 are same as in Standalone
Table & 02 extra column will be FK Columns with Type Property as Data
(Public) & 01 Type with Type Property as Data (Public).

3. Creation of Business Object Layer:


3.1 Business Component & Field Creation : BC can be created via Wizard
or Object. Creation through Wizard is generally preferable as this provides
step by step sequence by which there will be no margin of error.
Go to File-New Object-New Object Wizard-General-BusComp-Project-
Name-Table-Next-Column (Here Columns from the selected Table will
appear)-Name-Add-Finish.
3.2 Business Object Creation: BO can be created via Object Only.
3.2.1 BO Creation : Go to BO Object-NR-Name (New Name)-Project.
3.2.2 Mapping BC to BO : Expand BO-Business Object Component-NR-Bus
Comp.
** Here we can map many BC’s.

4. Creation of User Interface :


4.1 Applet Creation :
4.1.1 List Applet & List Column Creation :
Create a new Applet- Go to File-New Object-New Object Wizard-Applet-
List Applet-Project-Name(New Name)-Display Title (Max Same as Name).
Map the BC- BC-Upgrade Behaviour (Preserve).
Web Template -Siebel Web Template (Default- Applet List (Base/EditList)-
Select this web template in Base Mode & Edit List Mode.
Map / Add List Columns- Selection of Fields (Nothing but Mapping
Columns to Web Layout)

Page 4 of 6
Map / Add Control- Select Controls (These are default buttons)-Next-
Finish-Web layout will be displayed-Change to Edit List Mode -Add the
other Controls-Save.
4.1.2 Form Applet & Controls Creation :
Create a new Applet- Go to File-New Object-New Object Wizard-Applet-
Form Applet-Project-Name(New Name)-Display Title (Max Same as Name).
Map the BC- BC-Upgrade Behaviour (Preserve)-Use Grid Layout Check /
True (For Default Template, if you uncheck the use grid then if click on next
button some Templates will appear in which you have to select)-Base Mode
& Edit Mode Check / True.
Map / Add Columns - Selection of Fields (Nothing but Mapping Columns to
Web Layout).
Map / Add Control- Select Controls (These are default buttons)-Next-
Finish-Web layout will be displayed-Change to Edit Mode -Add the other
Controls-Save.

4.2 View Creation :


Go to File-New Object-New Object Wizard-General-View-Project-Name
(New Name)-View Title (Max Same as Name)-BO-Upgrade Behaviour
(Preserve)-Web Template (Default-View Basic)-Applet Selection (In One
View we can add Max of 32 no of Applets)-Next-Finish.

4.3 Screen Creation : Screen can be created via Object Only.


4.3.1 Screen Creation : Go to Screen Object-NR-Name (New Name)-
Project-Viewbar Text String Override (Name given in Name Property)-
Upgrade Behaviour (Preserve).
4.3.2 Mapping View to Screen : Expand Screen Object-Screen View-NR-
View-Name-Type (Default -Aggregate View, for more information on this

Page 5 of 6
refer Types of Views)- Viewbar Text-String Override (Name given in Name
Property)-Menu Text -String Override (Name).
4.3.3 Mapping Screen in Application :
Go to Application Object -Select Application (For Call Centre App-Siebel
Universal Agent)- Page Tabs- NR-Screen (Add the required Screen)-
Sequence-Text String Override (Name).
4.2.2 Mapping Screen in Screen Menu Item : This helps to view the
Screens in Site Map in Application.
Go to Application Object-Expand Screen Menu Item-NR-Screen (Name of
the Screen)-Sequence-Text String Override(Nothing but Name)

** Note: After Creation of BC, BO, Applet, View, Screen, Application all
objects must be complied **

For Viewing the Views in Application, we have to register & give


responsibilities to the Views in Application. For more info refer -
Responsibilities for Views Topic.

Page 6 of 6

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy