Data, Bussiness, User Interface Layer Creation
Data, Bussiness, User Interface Layer Creation
Data, Bussiness, User Interface Layer Creation
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.
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
These System Columns are useful to track when & by whom the record
are created / modified.
Created Table will be called as Logical Table and restricted to only Tools
These Tables are not part of Data base.
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).
The Base Table will be shown in Columns, Foreign Key Table Property.
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).
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).
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.
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 **
Page 6 of 6