master tables
TRANSCRIPT
-
8/8/2019 Master Tables
1/15
Master Tables:
Course _Table:
Column_name Data type Constraint Validations Form screen
Course_id Varchar2(10) Primary Key y Every Course willhave a unique id
y Should Not benull
Can not be modified at
modify / delete mode
Course_name Varchar2(30) Not null y Should not benull
Course_details
Column_name Data type Constraint Validations Form_screen
Course_id Varchar2(10) Foreign key
fromCourse_table.
Part of
primary key
in this table
y Hidden field in thescreen.
y Should take the valudirectly from the
header.
Course_name Varcha2(30) y yCourse_type char(1) Part of
Primary Key
y Should not be Nuly Value selected /
entered by the user
should be either
Normal (N), Fast Track
(F) or Weekend (W)
y Static LOV with theoption of Fast track,
normal or week end.
Course_fees number(7) Check
Constraint
(Amount
should not be
-
8/8/2019 Master Tables
2/15
Checked_date Date Hidden field
Checked_by Varchar2(20) Hidden Field
y Validation should include Course_id + Course_type should not be repeated / duplicated
Faculty__master
faculty_detail:
Column_name Data_type Constraint Validations Form Displays
Faculty_id Varchar2(10) Foreign key. Part
of primary key
Hidden field in the
screen. Should take
the value from the
header table
Faculty_name Varchar2(30) y Display Item.Not part of
base table.
Should
display the
faculty_nam
e form the
faculty_mast
er
Course_id Varchar2(10)` Foreign key. Part
of primary Key
y Should notbe null
y ShouldWill display Lov with
Course idy and
Course name from
course master
Column_name Data type Constraint Validations Form displays / remarks
Faculty_id Varchar2(10) Primary Key y Every facultyhave a unique
id
y It shouldnt benull
Can not be modified
at modify / delete
mode
Faculty_name Varchar2(30) Not Null y Should notbe null
Faculty_exp Number(2) NOT NULL y Shold notbe null
Contact_num NUMBER(10) unique y It mustcontain
only 10
digits
y Should notbe null
-
8/8/2019 Master Tables
3/15
exist in
the Course
master
table
Course_Name Varchar2(30) Display Item. Not
part of base table.
Should display the
course name for the
selected course IDY
Created_date Date y By defaultsystem date or
can be
modified ( Registered
P -> Pending
Hidden Field. While
Saving the record for
first time it will save as
PRemarks Varchar2(100)
Created_date Date By default system
date or can be
modified (< than sys
date)
Display item. Stores
system date.
Created_by Varchar2(20) Userid given by the user
at the time of logging in.
-
8/8/2019 Master Tables
8/15
Registration_master
Column_name datetype constraint Validations Form_displaY
Student_id Varchar2(10 Primary key Can not be
modified at
modify / deletemode
Name Varchar2(20) Not Null. Part of
unique key
Should not be Null
Mobile Number Number(10) Not Null. Part of
Unique key
Unique mobile
number with
student name.
Shoud definitely
have 10 digits
Reg_status Char(1) Here two status
type R/P.
R
-
>R
egisteredP -> Pending
Hidden Field.
While Saving
the record forfirst time it will
save as P
Created_date Date y By defaultsystem date or
can be
modified (