Sie sind auf Seite 1von 188

URS for Opinion Poll

GREYCELLS

TRAINING ASSIGNMENT

Module – Opinion Poll

July 2010

Kalinga Software Private Limited

Bhubaneswar

Document Name Greycells_TRA_OP.doc Version.Rev 0.0b

Authorized by Date

1
COPYRIGHT NOTICE

This Document is the property of Kalinga Software Private Limited. All ideas and information contained

within this document is the intellectual property rights of Kalinga Software Private Limited. This

document is not for general distribution and is meant for use only for the persons it is specifically issued

to. This document shall not be loaned to anyone, within or outside Kalingasoft, including its customers.

Copying or unauthorized distribution of this document, in any form or means including electronic,

mechanical, photocopying or otherwise is illegal.

Kalinga Software Private Limited

SDF Building-III, Infocity, Patia

Bhubaneswar

India.

Telephone: +91-674-2742645, 2742646

Website: http://www.kalingasoft.com

Mail to: kspl@kalingasoft.com

2
Contents
1 Overview of Opinion Poll.....................................................................................................................6
1.1 Features.................................................................................................................................................................. 6
1.2 Benefits and value-add...........................................................................................................................................7
1.3 Process Description.................................................................................................................................................8
1.3.1 Create Related to Area:......................................................................................................10
1.3.2 Create Sub Area:................................................................................................................11
1.3.3 Create Poll approval Stage:................................................................................................12
1.3.4 Create Poll Approval users:................................................................................................13
1.3.5 Create Sub Area functionary:.............................................................................................14
1.3.6 Create Poll:.........................................................................................................................15
1.3.7 Next poll approval stages:..................................................................................................23
1.3.8 Communicate to participants & Functionaries:.................................................................24
1.3.9 Poll:-...................................................................................................................................25
1.3.10 Discard poll or question:....................................................................................................26
1.3.11 Discontinue Poll:................................................................................................................27
1.3.12 Change Poll Date:...............................................................................................................27
1.3.13 Change Participants:..........................................................................................................29
1.3.14 Create Poll Analysis Stages:................................................................................................29
1.3.15 Create Poll Analysis Approval user:....................................................................................30
1.3.16 Poll analysis and approval:.................................................................................................32
1.3.17 Communicate Result:.........................................................................................................33
1.4 Screen to process mapping...................................................................................................................................34
1.5 Screen Designs......................................................................................................................................................35
1.5.1 Common to All Screens......................................................................................................35
1.5.2 AdministrationSecurityCreate Related Area...............................................................52
1.5.3 AdministrationSecurityCreate Related Sub Area........................................................56
1.5.4 AdministrationSecurityCreate Sub-area Functionary.................................................59
1.5.5 Opinion PollConfigurationApproval stage and user...................................................63
1.5.6 Opinion PollPollCreate and Approve Poll...................................................................68

3
1.5.7 Opinion pollPollpolling...............................................................................................93
1.5.8 Opinion PollAnalysis and approval of resultAnalysis Result.....................................100
1.5.9 Opinion pollConfigurationPoll Result.......................................................................109
1.5.10 Opinion PollàConfigurationàchange participants for repeated poll.................................112
1.5.11 Opinion PollPollDiscard/Discontinue Screen............................................................120
1.5.12 Opinion PollPollChange Date...................................................................................124
1.6 Database Design.................................................................................................................................................130
1.6.1 ER Diagram.......................................................................................................................130
1.6.2 Screen to database mapping............................................................................................130
1.6.3 Screen-database details...................................................................................................131

4
REVISION HISTORY

Ver. Date Author Reviewed by Date Description


0.0a 24/jul/2010 Training Team Self 27/jul/2010 First version as prepared by
the Team and consolidated.

0.0b 02/aug/2010 Training Team Rajesh Sharma 07/aug/2010 Modified document after
review.

0.0c 08/aug/2010 Training Team Self 08/aug/2010 Modified document after


review and changed.

0.0d 12/aug/2010 Training Team Rajesh Sharma 13/aug/2010 Modified document after
review and changed.

5
1 Overview of Opinion Poll
Opinion poll module of Greycells facilitates gathering of opinions on different key topics related to the
institute in a structured manner by providing the means of organizing the polls on such issues. The
electronic capture of all information and easy-to-understand concept serves as a base for taking swift
management decision and helps all groups of people (Students, Staffs, Parents, Alumni etc) associated
with the college to collate, analyze and grasp the opinions of various stake-holders regarding different
facets of the organization. The option to define the target audience for a poll enables targeted opinion
seeking and analysis. The on-line availability of all the aspects of poll with a clear statistical
representation by graphs saves a lot of time to infer the response on a particular issue and gives
enormous knowledge about different facts related to the institute.

1.1 Features
 Define approval mechanisms for creating a poll and analysis of the poll results
 Define related areas and sub-areas on which the poll can be conducted
 Map the colleges with the related areas
 Define the people who should be kept informed about the poll
 Create poll by defining
o Poll topic
o Poll questions and answer options. Questions can be arranged in sets. Questions and
answers can be assigned weightages. Default weightage pre-defined for questions and
answers to save user time.
 Simple poll
 Advanced polls with multiple sets of questions and weightages for each set
 Answer types
 Single choice from the given answer options
 Multiple choice selections allowed from the given answer options. How
many choices allowed.
 Ranking of the answer options. How many ranks allowed?
 Facility to copy answer-options from earlier questions. This would be helpful in a
poll where the answers options are the same across questions like (Strongly
Agree, Agree, Disagree, Strongly Disagree)
o Option to state whether poll participants can provide remarks
o Poll participants and options to send invite through e-mail, sms and e-notice
 Current students
 Staffs
 Parents
 Alumni
 Applicants
 Predefined groups
 Externals
o Poll start and end dates and times
o Result publishing options
 Information on result publishing to people who should be kept informed via e-
mail, sms and e-notice,

6
 Results available on the web-page to all/participants, creator, analyst, approvers
and people who should be kept informed
 Information on result publishing to participants via sms, email, e-notice
o Auto-repetition of polls till an end-date limit
 Particular day of every week
 Particular date of every month
 Particular date and month of every year
 After every fixed days
 When to start repetitions from
 Duration of poll (for how many days the polling option will be available in one
repetition of the poll)
o Approval workflows and approval remarks history
o Whether analysis on the result data is required before publishing
 On-line polling
 Poll result analysis (if applicable is defined while creating the poll) and its approval workflow and
approval remarks history
o Analysis can be done for
 Overall analysis remarks for the poll
 Analysis remarks for each set
 Analysis remarks for each questions
o Cumulated analysis of earlier polls (if they are auto-repeat) can also be done if reqd.
o Poll statistics displayed as graphs/charts/numbers while analysis
 Facility to discard a poll even when the polling is in progress. If it is an auto-repeat poll, the next
iteration from the discarded poll will be allowed.
 Facility to discontinue an auto-repeating poll even when the polling is in progress. The
discontinued poll is not auto-repeated.
 Change of participant list for auto-repeat polls
 Result with approved analysis (if analysis required was defined while creating the poll) of poll
available as web-page
 Send poll publishing information through email, SMS, e-notice.
 Ease of voting.
 Report on people/questions not responded by participants.
 Voter-group wise poll report for a particular Poll.
 Date wise Poll report.
 Multiple colleges of a group of institutions can participate in a single poll.
1.2 Benefits and value-add
 Reduces paper work and human resources used in traditional polling.
 On line poll makes the user more interactive with the institution or the group of institution.
 It gives the user an easy-to-read of huge information.
 Having poll result with analysis in figures/pictures on the page, gives reader another easy to see
point of entry into discussion.
 Gives a facility of preparing a customized list of participants for polling by the administrative
group.
 It takes step to prevent multiple votes from individuals that means it will keep the poll unbiased.

7
1.3 Process Description

R e la t e d 2. 5.
are a n am e C re a te C re a te
r e la t e d s u b a re a
1. su b a re a fu n c tio n a r
C re ate y
R e la t e d
A d m in to a re a
S t a f f s In f o A p p lic a n t s
I n fo
S tu d e n ts
In fo A lu m in a s I n fo
P a re n ts
I n fo
G ro u p s
p o ll or

S tu d e n t
a p p ro v a l 3. E x t e rn a l w o r ld
s ta g e s C re a te 4.
p o ll C re a te
a p p ro v a l p o ll
stag es a p p ro v a l A n a ly s is o p t io n s
u s e rs
P a rt ic ip a n t s o p t io n s

A p p ro v a l p o ll n o t ific a t io n a n d c o m m u n ic a t io n
u se rs

S u b A r e a fu n c t io n a r y
V o tin g d u ra tio n A d m in
6.
C re a t e p o ll
R e p e t it io n o p t io n s a n d p e r io d s
c r e a t e d p o ll w it h p o ll o p t io n s
12 r e p e a tin g s ta tu s
Change Q u e s t io n s & a n s w e r o p t io n s
p o ll S ta g e U s e rs r e s u lt p u b lis h in g a n d
d ate c o m m u n ic a t io n o p t io n s
E - m a il fo r n e x t a p p ro v a l 8.
T o p ic n a m e C o m m u n ic a t

A p prov ed
7 f in a lly a p p r o v e d p o
C re a t e d re la t e d s u b a re a

N e x t p o ll ll e to
A lu m in a s
r e p e a t e d p o ll A p p ro v a l p a rtic ip a n t
w ith c h a n g e d S ta g e &
A p p lic a n t s p a r t ic ip a n t s F u n c t io n a ry
13
Change
O th e r P a rtic ip a n
G ro u p s O th e r g ro u p s ts
10
D is c a rd
E x te rn a l 11 p o ll o r
W o rld D is c o n t q u e s t io n s
in u e
p o ll
S ta ff

P a rtic ip a n ts
stu d en ts
A n a ly s is u s e r

P aren ts 9.
p o ll

D ata b as e

A d m in 15
C re a te p o ll p o ll r e s u lt
A n a ly s is ( N o t D is c a rd e d o r
A p p ro v a l D is c o n t in u e d p o ll)
user 16.
P o ll R e s u lt 17.
a n a ly s is Com m un
& ic a te
A n a ly z e d a n d
a p p ro v a l
stage s
a n a ly s is
p o ll
c re a te d

ap p ro v e d R e s u lt s
p o ll r e s u lt

14 P a r t ic ip a n t s : A ll t h e s e le c t e d p a rt ic ip a n t s fro m t h e s t u d e n t
C re ate in fo , s t a ff in fo , p a re n t s , a lu m n i, A p p lic a n t s ,o t h e r
p o ll p re d e fin e d g ro u p s & e x t e rn a l w o r ld
A n a ly s is
S ta g e s

For a particular functional area (identified by a module), different activities have different creation and approval
workflows and a different set of users who can perform the particular workflow of an activity. However the similar

8
workflows can be clubbed under related areas and sub-areas. (Sub-areas are further divisions of related areas) for
each of workflow and user rights management.

Process 1 and 2 help the system admin and college admins to sub-categorize a functional area into different areas
and sub-areas based on similar workflows.

Process-3 helps the system admin/college admin to create the workflow steps (alternately can be called stages) for
a related area and sub-area.

Process-4 helps them to assign specific users who can perform the workflow stage for a particular activity in a
related area and sub-area.

Process-5 is for creation of the functionaries associated with the related area and sub-area. In the specific context
of the software application, functionaries are the set of users who can be kept informed about a specific set of
activities that are performed in the areas and sub-area associated with them.

Process-6 is used to create a poll to seek opinion from the desired set of people. Only the permitted users of the
activity “create poll” can start creating the poll. This process also facilitates the approval of that created poll by the
assigned stage users as per the defined workflow. The user can also specify the communication options (sms, e-
mail and e-notice)

a. to participants for poll notification and


b. to participants and related sub area functionaries for informing the publishing of result.

The question and answer options and poll duration are also specified. It also facilitates the creation of auto
repeating polls.

E-mails reminders to the user of the second stage onwards of the workflow are automatically sent.

Process-7 facilitates the verification of the created polls in different stages by assigned stage users as defined. In
this process the poll can be either accepted or rejected.

Process-8 notifies the participants and the sub area functionary about the approval of a newly created poll. It takes
the finally approved poll from process-7 and sends the approved polls to the data base. It also send the
information about the discarded and the discontinue poll to the participants and to the functionaries.

Process-9 enables the selected participants to give their response for a approved poll with the defined questions
and answer options. It also allows the voters to give their comments (if allowed) for each question of the poll. After
the polling is over it sends responses to the result analysis user for doing the analysis of that poll. If result analysis
facility is not available (if analysis is not allowed during poll creation) then it publish the result directly.

Process-10 allows the user who has got the rights on final stage of Create & Approve Poll process and if
cancellation is allowed on the final stage to discard a poll or some of the questions of a poll. The discarding of the
polls can be done any time after the poll creation (it will be effective if the poll result is not published). If a
repeating poll is discarded then the poll will again start repeating from its next iteration time period.

Process-11 makes a repeating poll to stop its repetition. The repeating poll is discontinued for life time. This is done
by the user who has got the rights on final stage of Create & Approve Poll process and if cancellation is allowed on
the final stage.

9
Process-12 helps the system admin / college admin to shift the polling duration of a poll and change the poll repeat
till date. The start date and the end date of a poll can be shifted as per the user’s requirement.

Process-13 helps the college admin to change the participants of a repeat poll. The creator of the poll cannot
remove the participants list during polling. So as the addition of new participants can be done during the poll.

Process-14 creates the number of analysis stages for analyzing the results of a poll. The stages of analysis are
created for each related sub area for a particular module.

Process-15 creates poll analysis approval users for analyzing the results of a poll. The approval users are created
for each stage of analysis.

Process-16 makes the analysis for a poll by considering the poll responses with their remarks. The analysis process
is done stage wise by the created poll approval users.

Process-17 communicates the results of a poll to the participants or to the sub area functionaries after the polling
duration is over. The sent results may be the analyzed results or may be the results without analysis.

1.3.1 Create Related to Area:


1.3.1.1 Input:

Sl# Data Flow Data element Data Value Explanation Interface Interface Data Type
Examples Module Process
1 Module Module name Opinion poll It specifies the Admin Create menu Varchar
name module name for
which the related
area is to be
created.

2 Selected College names The authorized Varchar


colleges users select the
name of the
college from
available college
list for particular
area in a module.

3 Related Area Related Area Hostel It specifies the Varchar


name name name of the
related area which
will be created.

Description Dimensions of It gives the Varchar


hostel description of the
accommodation created related
and management area name.

10
1.3.1.2 Process:
The activities of a module have different workflows for creation and approval processes for each sub-area.
Also activities for a sub-area is performed by different users and users identified for the activity and workflow.
Besides each functional area

Each area and its sub area have its own structure for defining creation and approval process and its workflow. This
process is used to create an area which will identify the set of activities for the particular functional area or
module.

1.3.1.3 Validation:
 Only alphanumeric value is allowed for Related to area name.
 Only alphanumeric value is allowed for Related to area description.
 Related area name can’t be left blank.
 Module name has to be selected.

1.3.1.4 Output:
Sl# Data Flow Data element Data Type
1 Created Related to Module name As defined in input Section
area

1.3.2 Create Sub Area:

1.3.2.1 Input:
Sl# Data Flow Data element Data Value Explanation Interface Interface Data Type
Examples Module Process
1 Created Refer to 1.3.1.4 Refer to section 1.3.1.1 Create Refer to section
Related to Related 1.3.1.4
area area

2 Sub Area Sub Area Name Boys Hostel It creates Varchar


name related sub-
areas within a
particular
related area.

Description Accommodation It describes the Varchar


for boys. sub-area within
the sub area.

1.3.2.2 Process:
This process creates the sub area for a particular area for polling. It takes input as the related area and
produces the outputs as the sub areas. If any sub area is not defined any related area then the related area name
will be its sub area.

11
1.3.2.3 Validation:
 Only varchar values are allowed for sub area name and description.
 Related to area name and sub area name cannot be left blank.

1.3.2.4 Output
Sl# Data Flow Data element Data Type
1 Created sub area Created related area As defined in input Section

Sub area name

1.3.3 Create Poll approval Stage:

1.3.3.1 Input:
Sl# Data Flow Data element Data Value Explanation Interface Interface Data Type
Examples Module Process
1 Screen name Screen name Create and It specifies the screen Menu Create Varchar
approve poll name for which the menu
functionary is
assigned to the user.

2 Created sub Refer to section Refer to section 1.3.3.1 Create Refer to section
area 1.3.3.4 related to 1.3.3.1
sub area

3 Poll approval Stage Name Creating It defines various Varchar


stages stage for the
approval process

Stage Order 1 It defines the stage Number


order of different
stages within a
particular sub area.

1.3.3.2 Process:
This process creates different approval stages and its orders depending up on the rules of the college. The
stages may be creation stage or verify stage or approve stage etc. For each created sub area and the screens, the
functionary are assigned.

1.3.3.3 Validation
 Sub area should not be blank.
 Screen name should be selected.
 Stage name cannot be blank
 Stage order has to be given.
 Only varchar value is allowed for Stage name.
 Only numeric value is allowed to stage order.

12
1.3.3.4 Output:
Sl# Data Flow Data element Data Type
1 Created poll approval Screen name As defined in input Section
stages
Stage Name As defined in input Section

Stage order As defined in input Section

1.3.4 Create Poll Approval users:


1.3.4.1 Input:

Sl# Data Flow Data element Data Value Explanation Interface Interface Data Type
Examples Module Process
1 Created poll Refer to section Creation It defines the stage Create Poll Varchar
approval 1.3.5.4 names for the Approval stage
stages approval process

2 Approving Staffs Mr. Manmath It specifies the name Staff Create Staff Varchar
Users of the staffs who will
approve the poll at
the assigned stages.

Students Mr. priya It specifies the name Student Create Student Varchar
of the current
students who will
approve the poll at
the assigned stages.

Parents Mr. Yogi It specifies the name Student Create Student Varchar
of the parents of the
current students who
will approve the poll
at the assigned stages.

1.3.4.2 Process:
This process assigns authorities for approval of a topic in different stages depending on the rules of the
institution. The authorities can be all current students or limited current student, all staffs or limited staffs and all
parents or limited parents. If stage order is 1then they are creating users and if more than 1 then the authority will
be the stage users. These created users can create a poll to be conducted.

1.3.4.3 Validation
 Stage names and orders are to be given as per the defined work flow.
 Only varchar value is allowed for providing functionary names.

13
1.3.4.4 Output:
Sl# Data Flow Data element Data Type
1 Poll creating users Screen name As defined in input Section

Stage Name As defined in input Section

Stage order As defined in input Section

functionary name As defined in input Section

2 Stage users Screen name As defined in input Section

Stage Name As defined in input Section

Stage order As defined in input Section

Authority name As defined in input Section

1.3.5 Create Sub Area functionary:


1.3.5.1 Input

Sl# Data Flow Data element Data Value Explanation Interface Interface Data Type
Examples Module Process
1 Created Sub Refer to section Refer to section 1.3.3.1 Create related Refer to section
Area 1.3.3.4 to Sub area 1.3.3.1

2 functionary Students Mr.Pulin It specifies Student Create student Varchar


the current
students of
the college.

Staffs Mr. It specifies Staff Create staff Varchar


Pradyumna the staffs of
the college.

Parents Mr. Manmath It specifies Student Create Varchar


the parents of Student
the current
students of
the college.

1.3.5.2 Process:
This process assigns the functionary for a particular sub area. These authorities can get the results of a
poll from the data base. The assigned authorities can be all selected or can be a limited group of people.

1.3.5.3 Validation:
 Sub area name should not be left blank.

14
 The name of the functionary must be chosen before poll creation.

1.3.5.4 Output:
Sl# Data Flow Data element Data Type
1 Approved Sub area Sub area name As defined in input Section
functionary
Functionary name As defined in input Section

1.3.6 Create Poll:


1.3.6.1 Input

Sl# Data Flow Data element Data Value Explanation Interfa Interface Data
Examples ce Process Type
Modul
e
1 Created Sub Refers to section Refers to section 1.3.3.1 Create Refer
area 1.3.3.4 sub area to
section
1.3.3.1

2 Poll creating User Name Punyataya The name of the user who has the right Create Varcha
users Mishra to Create Poll i.e. has been assigned in Poll r
process – “ Create Poll approval users” approval
for the screen “Create Poll” and the users
stage whose stage order is 1. (stage
order 1 denotes the first stage and hence Has to
the stage of creating the poll) refer to
the
User Type Staff/Stude respectiv
nt/Parent e module

15
Sl# Data Flow Data element Data Value Explanation Interfa Interface Data
Examples ce Process Type
Modul
e
User STF003 The identification code of the user as for
Identification given below. finding
Code the
Staff: Staff Code names of
the user.
Student: Student Reg. No.
(Staff –
Parents : Student Reg. No.
Staff
InfoCr
eate
Staff,
Student-
Student
InfoAd
mission/
Create
Student)

3 Topic Name Topic name Mess It defines the name of the topic for Varcha
election polling. r

4 Voting Start date 15/jun/200 Defines the start date and time of the Dateti
duration 8 created poll i.e. the assigned participants me
can start voting from this date and time
Start time 10.00am
onwards till the end date and time
End date 15/aug/20 Dateti
08 me

End time 10.00am

5 Participating Colleges name Selected Defines the name of the selected colleges Admin varcha
colleges colleges which are participating in a particular r
polling.(it helps to know whether all
colleges or a limited set of colleges
participates in a poll. )

16
Sl# Data Flow Data element Data Value Explanation Interfa Interface Data
Examples ce Process Type
Modul
e
6 Participants Staff Selected Defines the selected staff who are For Varcha
Staffs eligible for polling. finding r
the
names of
the staff.

(Staff –
Staff
InfoCr
eate
Staff)

Student Selected Defines the selected students who are For Varcha
Students eligible for polling. finding r
the
names of
the
students.
(Student-
Student
InfoAd
mission/
Create
Student)

Parents Selected Defines the selected parents who are For Varcha
Parents eligible for polling. finding r
the
names of
the
Parents.
(Student-
Student
InfoAd
mission/
Create
Student)

17
Sl# Data Flow Data element Data Value Explanation Interfa Interface Data
Examples ce Process Type
Modul
e
Alumni Selected Defines the selected Alumnus who are Alumni For Varcha
Alumni eligible for polling. finding r
the
names of
the
Alimni.
(Student-
Student
InfoAd
mission/
Create
Alumni)

Applicants Selected Defines the selected Applicants who are Applic Create Varcha
Applicants eligible for polling. ant Applicant r

Other Groups Selected Defines the Selected groups who are Groups Create Varcha
Groups eligible for polling. Groups r

External World All It specifies that the poll is open for all. ????

7 Repetition Type of After x It defines whether poll is a repeated poll Varcha


options and repetition days, Day or not, if repeated then what is the when r
period of week , and at what frequency the poll is
Date of repeated. Depending upon the type of
month, repetition, the corresponding values
Date and should be the input.
month of
the year

Day of week Monday It is the day of the week in which the poll Varcha
will be repeated every week. r
(for repetition
type- Day of
Week)

Date of month 12th On this date of every month the poll will Varcha
be repeated. r
(for repetition
type- Date of
month)

18
Sl# Data Flow Data element Data Value Explanation Interfa Interface Data
Examples ce Process Type
Modul
e
Date and month 12th of jun This is the date of a month on which the Varcha
of year poll will be repeated every year r

(for repetition
type- Date and
month of year)

After x days 10 The poll will be repeated after each of Numb


the given no of days. er
(for repetition
type- After x
days)

Poll duration (in The duration for which the repeat polls Numb
days) will be available to participants for er
voting. (decim
al
values
allowe
d)

Repetition Start 15/aug/20 The first repeat of the poll will be from Date
Date & time 09 this date and time onwards. This means
after the original poll, the poll will be
11:30am scheduled for the first repeat on this date
and the participants can start voting for
the first repeat from this date and time
till the poll duration. The next repeats
will be calculated and scheduled based
on the other repetition type and their
associated valued specified. This
calculation will be done taking the
Repetition Start Date & time as zero
date.

Poll end time 10.00 AM For a particular repeat: The poll is


available for voting from the start date as
calculated above + Poll duration (in days)
till this time. For example: if Poll
duration (in days) = 5 , the repetition
start date is 15 /aug/2009 then the end
time will be 10.00 AM of 20 /aug /2009.

19
Sl# Data Flow Data element Data Value Explanation Interfa Interface Data
Examples ce Process Type
Modul
e
End repeat date 17/aug/20 Auto repeat polls will be repeated till this Date
09 date. After this date, they will not be
repeated.

8 Poll type Types of polling Simple, It defines the poll type i.e. weather the Char(1
advanced poll is simple or advanced. Pl. refer to )
screen design for the definition of simple
and advanced

9 Set options Set name Set -A Defines the name of the set under which Varcha
different question will be created. r

Set Weightage 1 It provides weightage to the set Numb


er

10 Question and Question It defines the question provided by the Varcha


answer creator. r
options
Question 1 Each question of a poll is to be assigned Numb
weightage with some weightage. er

Answer type Single It defines the answer type of the Varcha


choice, question. Whether user will select r
multiple multiple option or single option.
choice with
selection,

Multiple
choices
with
ranking.

No of options to 3 If the answer type is multiple choices, Numb


be selected then it defines number option to be er
selected.

No of answers 2 It defines the number of option for a Numb


question. er

options Yes, no It specifies the answer option for each Varcha


question. r

Option 1 It provides weightage to each answer Numb


weightages option. er

20
Sl# Data Flow Data element Data Value Explanation Interfa Interface Data
Examples ce Process Type
Modul
e
Copy from 1 If user wants to provide same option in Numb
question other question, then it can be done by er
number coping from question number.

11 Poll options Analysis Y It provides the information that whether Char(1


required analysis to a poll is required or not. If the )
poll creator creates a poll with analysis
option ‘Y’ that means after polling the
poll will directly go to the next stage for
analysis of result , else if the analysis
option is made ‘N’ then after polling the
poll results will be directly published

Remarks Y It provides the information that whether Char(1


allowed remark to all questions is allowed or not. )
If the poll creator creates a poll with
remark allowed option ‘Y’ then the
questions of that poll will come with a
field in which the voter can give remarks,
else no remark field present with the
questions.

12 Poll Poll Notification If the poll creator checks on this poll Char(1
Notification & to participants notification option then the information )
communicatio via :E-mail(M) of the creation of that poll to the
n option. participants will go via e-mail.

Poll Notification If the poll creator checks on this poll


to participants notification option then the information
via : SMS(S) of the creation of that poll to the
participants by sending SMS.

Poll Notification If the poll creator checks on this poll


to participants notification option then the information
via :E-Notice(N) of the creation of that poll to the
participants will be published by e-notice.

13 Result E-mail result to If the poll creator wants to communicate Char(1


publishing sub area the poll results to the sub area )
and functionary functionary then he has to select this
communicatio option during the poll creation. (If this is
n option selected then the poll notification to the
functionaries will be done automatically).

21
Sl# Data Flow Data element Data Value Explanation Interfa Interface Data
Examples ce Process Type
Modul
e
Publish result to If this field is checked then the published
all results will be available on the
institution’s web site so that all the users
can view the poll results.

Result share The notification of result publication of


with the poll can be sent to the participants
participants via via E-mail, SMS, or E-notice (as per the
E-mail, SMS, E- fields checked by the poll creator).
notice

1.3.6.2 Process:
User creates a poll related to a particular sub-area and also provides all the relevant information regarding
the poll. The created poll then goes to the Next Poll Approval stage for getting approved for polling. Each poll is
created as per the given topic name with poll duration in which the participants acv vote for that poll.

1.3.6.3 Validation:
 Sub area name has to be given.
 Topic name cannot be blank
 Topic name field contains varchar value only
 Start date, End date field cannot be blank.
 Start date and time must be less or equal to end date and time and should be less than the system date
and time.
 End date and time must be greater than or equal to sys date and time.
 At least one field of the participants must be checked.
 At least one field of the publish result field must be checked
 At least one field of the topic notification field must be checked

1.3.6.4 Output:
Sl# Data Flow Data element Data Type
1 Created poll Topic name As specified in the input sections

2 Start date & time Created Poll start date & time As specified in the input sections

3 End date & time Created poll end date & time As specified in the input sections

4 Poll creator Created staffs /students / As specified in the input sections


parents or all

5 Participants All or selected group of As specified in the input sections


participants.

6 Repeating status Repetition period As specified in the input sections

22
Start date & time

End date & time

7 Question types Simple/advanced As specified in the input sections

8 Set options Set name As specified in the input sections

Set weightage

9 Question details Questions As specified in the input sections

Question weightage

Answer type

No of options to be selected

10 Answer details No of answers As specified in the input sections

options

weightages

Copy from question number

11 Poll options Analysis required? As specified in the input sections

Remarks allowed?

12 Notification and Polling Notification As specified in the input sections


publication options
Publication of result

13 Sub area name Refers to section 1.3.3.1

14 Related area name Refers to section 1.3.2.1

1.3.7 Next poll approval stages:


1.3.7.1 Input
Sl# Data Flow Data element Data Value Explanation Interface Interface Data Type
Examples Module Process
1 Created poll Refer to the Refer to the section 1.3.6.1 Create poll Refer to section
section 1.3.6.4 1.3.6.4

2 Stage users Refer to the Refer to the section 1.3.4.1 Create Poll Refer to section
section 1.3.4.4 Approval 1.3.4.4
Users

3 Repeated poll Refer to section Refer to the section 1.3.13.1 Change Refer to the
with changed 1.3.13.4 participants section 1.3.13.1
participants

23
4 Changed poll Refer to section Refer to the section 1.1.17.1 Change date Refer to section
1.3.12.4 1.3.12.4

1.3.7.2 Process:
This process forwards the poll to the next stage of approval. If the poll for the specified related sub area is
to be approved by 3 levels of stages then this process is to be iterated up to three times. From the creating stage
the poll is submitted to its next higher stage (say rectifying stage) and from there again to its upper stage if
available for that sub area. During submission of the poll to its higher stage email is sent to the assigned approvers
for the next stage to review and approve the poll. During this process one can reject the poll also. After
completion of all the stages, in the final stage when the poll is approved then it will be transferred as the finally
approved poll to the process Poll and communicate to participant and sub area functionary.

1.3.7.3 Validation
 Only the assigned approvers of the respective stages can only access the approving facility.
 Once submitted then the polls cannot be accessed for modification in that stage by any of the assigned
approver.

1.3.7.4 Output:
Sl# Data Flow Data element Data Type
1 Email for next email As defined in input Section
Approval

2 Finally approved poll Poll with approved status Y As defined in the input section

1.3.8 Communicate to participants & Functionaries:


1.3.8.1 Input:
Sl# Data Flow Data element Data Value Explanation Interface Interface Data Type
Examples Module Process
1 Finally Refer to Refer to section 1.3.7.1 Next poll Refer to
approved section 1.3.7.4 approval section
poll stages 1.3.7.1

2 Contact Email prm@gmail.com The email User Create user Varchar


Address address of
the
participant
through
which email
will be sent

24
Phone number 9090099901 The mobile Number
number of
the
participant
through
which SMS
will be sent

1.3.8.2 Process:
Through this process the invitation will be sent to all the participants defined for that poll through email
or SMS as defined during the creation of the poll.

1.3.8.3 Validation
 The email and the SMS only will be sent to the participants if defined during the creation of the poll.

1.3.8.4 Output:
Sl# Data Flow Data element Data Type
1 Poll notice Information about poll and its As defined in input Section
timing

URL of the poll

1.3.9 Poll:-
1.3.9.1 Input
Sl# Data Flow Data element Data Value Explanation Interface Interface Data
Examples Module Process Type
1 Finally Refer to the section 1.3.7.4 Next poll Refer to
Approved approval the
poll(not stages section
discarded 1.3.7.1
and not
discontinue
d)

2 Responses Poll responses The selected participants for the As


from poll give their responses. defined
participants in the
question

Remarks if Remarks given for a particular Varchar


allowed question if allowed

25
1.3.9.2 Process:
This process takes the finally approved polls (not discarded and not discontinued). If the approval status is
Yes (in the create poll process, in section 1.3.6.1) then only those polls will be published for polling. The
participants selected for the poll may be Staff, Students, Parents, Applicants, Alumni, Other Group & the
External World. These selected participants can only give responses for the poll. If a running poll is
discarded then polling will be terminated for that poll.

1.3.9.3 Validation
 This facility will only be available to the authorized participants.
 Checks those polls which are not discarded and not discontinued then allows those polls for polling.
 It checks for the discard and discontinue poll and if the poll is discarded or discontinue before polling then
polling for that poll is not allowed.
 If a poll is discarded or discontinued during polling then the result will not be published.

1.3.9.4 Output
Sl# Data Flow Data element Data Type
1 Poll responses with Selected option As defined in input Section
remarks
Remark for the question if allowed

1 Poll result(not discarded Topic name As defined in input Section


and not discontinued)
Set name

Questions in each set

Answer options

No of voters

No of participants

Statistics for each answer option selected


by the voters

Pie chart representing the statistics

Bar chart representing the statistics

3 Poll analysis request Email to the next analysis approver As defined in input Section
email

4 Poll to be discarded Polls which needs to be selected As defined in input Section

26
1.3.10 Discard poll or question:
1.3.10.1 Input:
Sl# Data Flow Data element Data Value Explanation Interface Interface Data
Examples Module Process Type
1 Polls to be Polls to be Any continuing repetitive poll can Varchar
discarded discarded be discarded by the college
authority as per the requirement of
the institution or as per the
authority’s desire.

2 poll Show Y/N If this value is ‘Y’ then the Char(1)


discarded discarded poll information about discarded poll
notificatio to participant will be shown to the participant in
n to user the respective screens (polling
screen, analysis screen, and result
screen).

Send email Y/N If this value is ‘Y’ then the discarded Char(1)
about the poll information is sent to the
discarded poll participants after the poll is
to allowed discarded.
participants.

1.3.10.2 Process:
This process is used to discard the poll at any stage after the creation of the poll and before the
publication of the poll result. It can only be done by the user who has got the rights on final stage of
Create & Approve Poll process and if cancellation is allowed on the final stage. If the poll is repetitive one
then any selected repetition can be discarded. If a poll is discarded then it will not be available for polling.
If the polling is in running state then after discard the result will not be published.

1.3.10.3 Validation:
 Only repetitive polls can be discarded by the corresponding assigned authority.
 The discarded polls can be again published for polling after completion of that time period.

1.3.10.4 Output:
Sl# Data Flow Data element Data Type
1 Discarded polls Discarded polls As defined in the input section.

2 Notification Discard poll notification AS defined in the input section


about
discarded poll

1.3.11 Discontinue Poll:

27
1.3.11.1 Input:
Sl# Data Flow Data element Data Explanation Interface Interface Data Type
Value Module Process
Examples
1 Repeated Auto repeated The auto repeated poll Refer to
poll poll related to a sub-area section
can be discontinued. 1.3.9.1

2 poll Show Y/N If this value is ‘Y’ then Char(1)


discontinuing discontinued the information about
notification poll to discontinued poll will
to user participants be shown to the
participant in the
respective screens
(polling screen,
analysis screen, and
result screen).

Send email Y/N If this value is ‘Y’ then Char(1)


about the the discontinued poll
discontinued information is sent to
poll to the participants.
allowed
participants.

1.3.11.2 Process:
This process is used to discontinue any repetitive poll only after the creation of the poll. It can only be
done by the user who has got the rights on final stage of Create & Approve Poll process and if cancellation
is allowed on the final stage. If the polling is in running state then all the successive repetition after the
selected one will be made inactive by which those poll will not be conducted in future. It notifies all the
participants about the discontinuation of the poll by the help of process “Communicate participant and
functionaries”. All the previously defined option for communication will be used here to communicate.

1.3.11.3 Validation
 Only assigned authority can discontinue the poll.
 Only repetitive polls can be discontinued.

1.2.11.2 Output:
Sl# Data Flow Data element Data Type
1 Discontinued poll Discontinued poll As defined in the input section.

2 Notification about Discontinued poll notification AS defined in the input section


discontinued poll

28
1.3.12 Change Poll Date:

1.3.12.1 Input:

Sl# Data Flow Data element Data Value Explanation Interface Interface Data
Examples Module Process Type
1 Created polls Refer to the 1st The created polls with Create Varchar
with repeating row of their repetitive status from poll
status section1.1.8.4 which the user knows
about the poll type
whether it is repeating or
general type.

4 New Start date Start date 15/jun/2008 It is the new given fates by Date
and time the user for extending the
poll.

Start time 10.00am This is the changed start Date


time of the poll.

5 New End date End date 18/jun/2008 This is the new end date of Date
and time the poll till which the poll
will be conducted.

End time 12.00pm This is the ending time of Date


poll.

6 Shift repeat poll Shift start date 2 This entered value will be Number
start date by added to the start date of
that repeating poll.

7 Shift repeat poll Shift end date 2 This will be added to the Number
end date by end date of the poll. The
end date will be shifted
with this no of days.

1.3.12.2 Process:
This process gives the user a facility to shift the duration of any created poll. It takes both repetitive and
general polls. This process is achieved through two steps depending on the repeating status (days, date,
date of month, after x days) of the input poll. If the repeating status of the poll not checked then only the
start date with time and end date with time will be modified. If the repeating status of the poll is checked,
then its subsequent repeat dates will be changed with new time interval. The extension of a poll can be
done by the assigned authority/ the creator of the poll.

1.3.12.3 Validation:
 If the start date of a poll is less than or equal to the sys date (i.e. poll has already started), then the user
can only shift the end date of that poll.

29
 For repetitive poll the subsequent extension of the start date and end dates should overlap with it next
repetition.

1.3.12.4 Output:
Sl# Data Flow Data element Data Type
1 Extended dates with new Extended dates with new start date As defined in the input
start date and end date. and end date. section

1.3.13 Change Participants:

1.3.13.1 Input:
S Data Flow Data element Data Value Explanation Interface Interface Data
l Examples Module Process Type
#
1 Participan Refer to 7th row Only for the repetitive poll the Create Refer to
t of section1.3.9.1 participants will be recreated. Poll section1.3
.9.1

2 Existing Existing It takes the repetitive polls only. Varchar


repetitive repetitive poll
poll

1.3.13.2 Process:
For a repetitive ongoing poll this process creates the changing participants. The participants of the poll
can be from Staff, Student, Parent, Alumni, Applicant, Other predefined groups and the External world.
The changing of a repetitive poll is based on the particular repeated poll in that college. This process is
achieved either by super admin or the college admin as well as by the authority that has created that poll.

1.3.13.3 Validation:
 Participants are being changed for only repetitive polls.
 Only varchar values are allowed for participant’s name.
 Only authorized users can change the participants for the poll.

1.3.13.4 Output:
Sl# Data Flow Data element Data Type
1 Repeated poll with changed Repeated poll with changed As defined in the input
participants participants section

1.3.14 Create Poll Analysis Stages:

1.3.14.1 Input:
Sl# Data Flow Data element Data Value Explanation Interface Interface Data Type

30
Examples Module Process
1 Screen name Screen name Poll analysis It specifies the screen Menu Create Varchar
and approval name for which the menu
authority is assigned to
the user.

2 Created sub Refer to section Refer to section 1.3.3.1 Create Refer to


area 1.3.3.4 related sub section 1.3.3.1
area

3 Poll analysis Stage Name Creating It defines various stage Varchar


stages for the approval process
Create Poll
Stage Order 1 It defines the stage Approval Number
order of different stages Stage
within a particular sub
area.

1.3.14.2 Process:
This process is used to analyze the created poll as well as to define the stages in a particular sub area for
the approval of the analysis of the poll result.

1.3.14.3 Validation
 Module field has to be given.
 Related to area should not be blank.
 Sub area should not be blank.
 Screen name should not be blank.
 Stage name should not be blank
 Stage order should not be blank.
 Only varchar value is allowed for Stage name.
 Only numeric value is allowed to stage order.

1.3.14.4 Output:

Sl# Data Flow Data element Data Type


1 Created poll analysis Screen name As defined in input Section
stages
Stage Name As defined in input Section

Stage order As defined in input Section

1.3.15 Create Poll Analysis Approval user:


1.3.15.1 Input:
Sl# Data Flow Data element Data Value Explanation Interface Interface Data Type
Examples Module Process

31
1 Created poll Refer to section Creation It defines the stage Create Varchar
analysis 1.3.5.4 names for the poll
stages approval process analysis
stages

2 Approving Staffs Mr. Manmath It specifies the name Staff Create Varchar
Users of the staffs who will Staff
approve the analysis
of the poll response at
the assigned stages.

Students Mr. Priya It specifies the name Student Create Varchar


of the current Student
students who will
approve the analysis
of the poll response at
the assigned stages.

Parents Mr. Yogi It specifies the name Student Create Varchar


of the parents of the Student
current students who
will approve the
analysis of the poll
response at the
assigned stages.

1.3.15.2 Process:
This process is used to define different authorities for approval of analysis of the poll responses in
different stages depending. The authorities can be all current students or limited current student, all staffs or
limited staffs and all parents or limited parents. It gives the assigned analysis stage and users to Poll Analysis
Approval process to give the results.

1.3.15.3 Validation
 Stage name should not be blank.
 Stage order should not be blank.
 Only varchar value is allowed for Staff or student or parent name.
 The requesting e-mail should be valid and of existing users.

1.3.15.4 Output:
Sl# Data Flow Data element Data Type
Poll analysis user and Stage Name As defined in input Section
stages
Stage order As defined in input Section

Authority name As defined in input Section

32
1.3.16 Poll result analysis and approval:
1.3.16.1 Input
Sl# Data Flow Data element Data Value Explanation Interface Interface Data Type
Examples Module Process
1 Poll Refer to the Refer to the section 1.3.15.1 Create poll Refer to the
analysis section 1.3.15.4 analysis and section
user and approval 1.3.15.1
stages users

2 Poll Refer to the Refer to the section 1.3.9.1 Poll Refer to 3rd row
response section 1.3.9.4 of section
with 1.3.9.1
remarks

1.3.16.2 Process:
This process analyzes the responses of the conducted poll with the help of created poll analysis stage
and users. Only the responses of the conducted poll will go through this process those are created with analysis
option required (refer to 11th row of section 1.3.8.1). If a poll is discarded or discontinued then the publication of
result is restricted.

1.3.16.3 Validations:
 Only the assigned users can do the analysis of poll result.
 After going through last stage of analysis the results can move to next process (communicate results) or it
can be directly published.
 It checks for the discarded and discontinued polls.

1.3.16.4 Output:
Sl# Data Flow Data element Data Type
1 Poll result Poll result As defined by the input section

2 Analyzed and Poll result As defined by the input section


approved poll result

33
1.3.17 Communicate Result:

1.3.17.1 Input:
Sl# Data Flow Data Data Explanation Interface Interface Data
element Value Module Process Type
Examples
1 Poll result Poll result If the results don’t need
analysis then they can be
directly communicated to
the participants and
concerned sub area
functionaries.

2 Analyzed and The analyzed and approved Poll ???


approved poll results with comments are Analysis
result sent to the corresponding and
participants and sub area Approval
authorities.

3 Contact Refer to section 1.3.6.1


address

1.3.17.2 Process:
. This process sends the notification of the only approved result to the sub area functionaries and result to the
participants (if required). It also sends analyzed and approved result with remarks of concern authority to
participants and sub-area authority.

1.3.17.3 Validation
 Only the assigned participants and sub area functionary can get the result.

1.2.11.3 Output:
Sl# Data Flow Data element Data Type
1 communicated poll Poll result Varchar
results to participants

34
2 communicated poll Poll result Varchar
results for sub area
functionary

1.4 Screen to process mapping

Sl# Process Name Screen Name (ModuleSub-moduleScreen Remarks


Name)
1 Create related to area AdministrationSecurity Create Related to area Both the processes
are being done
through the same
screen.

2 Create Related Sub-area AdministrationSecurity Create Related sub-area

3 Create Sub Area AdministrationSecurity Create sub area


functionary functionary

4 Create Poll approval stages AdministrationSecurityApproval Stage & User All the processes are
being done through
5 Create poll approval users
the same screen.
6 Create poll analysis stages

7 Create poll analysis users

8 Create poll Opinion PollPollCreate & Approve Poll In the communicate


to participants & sub
9 Next poll approval stages
area functionary
10 Communicate to process, the
participants & sub area invitation for the
functionary poll will be sent to
the participants and
the concerned
functionary will also
be notified.

11 Poll Opinion PollPollPolling

12 Discard Poll or question Opinion PollPollDiscard & Discontinue Poll

13 Discontinue Poll

14 Change participants Opinion PollPollChange Participants

35
15 Poll Result Analysis & Opinion PollPoll Result & AnalysisPoll Analysis &
Approval Approval

16 Communicate Result A batch process will


publishing run and the results
will be sent to the
respective
functionary.

17 Show Result Opinion PollPoll Result & AnalysisPoll Results When the analysis
for the poll is over (if
analysis required),
this process will run
automatically and
result will be
published in the web
page.

18 Change Poll date Opinion PollPollChange date This process helps


the user to extend
the dates of any
created poll.

1.5 Screen Designs


1.5.1 Common to All Screens

1.5.1.1 Common Fields


The fields common to most of the screens are placed here. The common fields used in the list sections
and the edit/view sections are described here with their field type, data type, default value, business
significance etc.

Sl# Label Tab Field Type Data Default Other Form Mand Business Remarks
- type Value values at atory significance
ord mask (Y/N)
er
1 Record per Textbox Number 10 This feature helps E.g.: If the user
page the user to wants that at
choose the most 10 records
maximum should be
number of displayed on the
records that screen, then
he/she wants to he/she needs to

36
be displayed on type 5 in the
the screen. Rec#/page field.
By default it
takes 10.

2 Search by Drop- Varchar Second Other User need to The dropdown


down column colum select search by list contains
of the ns of category from name of the
list the list drop down list. columns in the
page list.

Textbox Varchar Null User need to


enter value to be
searched on
pressing on tab
button the list
matching the
entered text
(irrespective of
the letter case)
will be displayed

3 New Button In order to create


new record in a
screen, the user
needs to click on
“New” in
corresponding
screen.

4 Save Button In order to save The saved data


new can be modified
entered data, the later on.
user has to click
on Save Button.

5 Cancel Button In order to close The entered data


the edit section will be discarded.
the user needs to
click on the
Cancel button.

6 Edit/View Button In order to update The users who


or view the are authorized
existing data, the for modification
user has to click can only edit the
on pencil fields otherwise
shape icon to they can only

37
view or make any view the fields
change in existing (disabled for
entry. modification).

7 Delete Button In order The users who


to Delete any are authorized to
existing record, delete can only
the user needs to delete the record
click on "garbage otherwise the
bin" icon parallel button will be
to record with the disabled.
data.

8 Sorting Button Ascendi Descen In order to sorting The highlighted


ng ding of data in a triangle
screen, user represents the
needs to click on order of sorting.
the column Triangle pointing
header. upward: Data
will come in
ascending order.
Triangle pointing
downward: Data
will come in
descending
order.

9 Page Display Varchar It displays the The message will


Number page number of be displayed like
the current Page 1 of 10.
screen that the
user is viewing.

10 First ( |< ) Button In order to go to If the user is in


the first page the the first page the
user needs to button will be
click on this disabled.
button.

11 Previous ( < ) Button In order to go to If the user is in


the previous page the first page the
of the currently button will be
viewing page the disabled.
user needs to
click on this
button.

38
12 Next ( > ) Button In order to go to If the user is in
the next page of the last page the
the currently button will be
viewing page the disabled.
user needs to
click on this
button.

13 Last ( >| ) Button In order to go to If the user is in


the last page the the last page the
user needs to button will be
click on this disabled.
button.

14 Shortcut Text Box In order to go to User can define


particular screen, or change this
the user needs to shortcut from
know the shortcut Keyboard
and enter in the Shortcut Screen.
text box.

15 >> (Assign) Button It helps to move


all the values
from the available
list box to the
Assigned list box.

16 > (Assign) Button It helps to move


the chosen option
from the available
list box to the
Assigned list box.

17 < (Assign) Button It helps to move


back the chosen
option from the
Assigned list box
to the available
list box.

18 << (Assign) Button It helps to move


back all the values
from the assigned
list box to the
available list box.

39
1.5.1.2 Common Screen Events, Actions and Validations
All the common events, actions with relevant validations are described here for the common sections
and fields of most of the screens.

Sl# Event Action Validation


1 When the List section is The list will be shown along with all
loaded the fields named Record per Page,
Search by, New button, Page No and
First ( |< ), Previous ( < ), Next ( > )
and Last ( >| ) buttons with all the
specified column headers with all
the values in each column. If there is
nothing saved earlier then only the
headers will be shown with no
records.
2 When the Edit/View section If the section is loaded by clicking
is loaded the new button all fields will contain
the default values or if the section is
loaded by clicking the edit/view
button then the fields will contain
the values in the corresponding
record.
3 When the user enters a value It shows the first page with no. of Only numeric values can be given as
to the record per page field records equal to the given value and input.
and presses tab changes the total no of pages as per
the given value.
4 When the user changes the The entered value will be matched The user should give the
value of the Drop-down in with the values of the selected corresponding value as per the
the search by field and enters column name and the matching selected column name to have the
any value in the text box and records will be displayed in the list list of desired records.
presses tab irrespective of letter case. If the text
box is left blank then all the records
will be shown.
5 When the user clicks the new The edit/view section of the screen The users can only access the new
button will be shown with the button if they are allowed to create
corresponding fields containing their a new record for that screen. Other
default values. Other fields will validations/ actions which are
remain as blank. screen specific have been
mentioned in the respective
screens.
6 When the user clicks the save The entered data will be saved. The mandatory fields cannot be left
button blank. Other validations/ actions
which are screen specific have been
mentioned in the respective
screens.
7 When the user clicks the The Edit/View section will be closed
cancel button and all the data entered (if any) will
be discarded.
8 When the user clicks the The selected record from the list will
Edit/View button of a be populated in the respective fields
particular record of the Edit/view section. The user
can only view if he/she is not

40
authorized to modify.
9 When the user clicks the The corresponding record will be Other validations/ actions which are
delete button of particular deleted from the list. The user who screen specific have been
record is authorized to delete the record mentioned in the respective
can only access this button. screens.
10 When the user clicks on the The list will be displayed by sorting
column header of the list that column and a highlighted
triangle will be displayed. If the
triangle pointing upward: Data will
come in ascending order. Or if the
Triangle pointing downward: Data
will come in descending order.
If the values in the column is sorted
by some order then again clicking on
that will reverse the order of sorting
for that column.
11 When the user clicks on the The first page of the section will be If the user is in first page then this
First ( |< ) button shown. button will be disabled.
12 When the user clicks on the The previous of the current page of If the user is in first page then this
Previous ( < ) button the section will be shown to the button will be disabled.
user.
13 When the user clicks on the The next of the current page of the If the user is in last page then this
Next ( >) button section will be shown to the user. button will be disabled.
14 When the user clicks on the The last page of the section will be If the user is in last page then this
Last ( >| ) button shown to the user. button will be disabled.
15 When the user gives input to The respective screen will be loaded The entered value must be a valid
the shortcut field and presses as defined in the keyboard shortcut shortcut as defined in the keyboard
the tab button screen. If entered value is not a valid shortcut screen.
one then the welcome screen will be
shown to the user.
16 When user clicks on >> All the members in the available list If the available list box is blank then
(Assign) button box will move to the assigned list this button will be disabled.
box.
17 When user clicks on > All the selected members in the If the available list box is blank then
(Assign) button available list box will move to the this button will be disabled.
assigned list box.
18 When user clicks on < All the selected members in the If the assigned list box is blank then
(Assign) button assigned list box will move back to this button will be disabled.
the available list box.
19 When user clicks on << All the members in the assigned list If the assigned list box is blank then
(Assign) button box will move back to the available this button will be disabled.
list box.

1.5.1.3 Common Components


1.5.1.3.1 Staff Component
Description

This component is designed to show the list of the staffs in one list box named as the available staffs and
can be used to move the selected list to another list box named as the assigned staffs. The selected list
can be used for any purpose by accessing the list of selected staffs. E.g. this component is used in the

41
opinion poll module to select the participants for the poll. This component also provides the option to
filter the list by selecting the college, department, designation category and designation from the drop
downs provided above the mentioned list boxes. This component is to be called by using a JS function
from the individual screen JS where it is to be used.

Special Note: Here last tab index specifies the tab index of the last field after which this section is
accessed.

Sl# Label Tab- Field Data Default Other Form Mand Business Remarks
order Type type Value values at atory significance
mask (Y/N)
1 College Last tab Drop- Varchar All List of Selects the College from
index+1 down Colleges college name which the staffs
from the field. will be selected.

2 Departments Last tab Drop- Varchar All List of Selects the Department of
index+2 down Depart particular the college from
ments department from which the staffs
for a the selected will be selected.
selected college.
College

3 Designation Last tab Drop- Varchar All List of Selects the Indicates the
Category index+3 down the particular designation
designa designation category of the
tion category of the staff.
categori staff.
es

4 Designation Last tab Drop- Varchar All List of Selects the


Index+4 down the particular
designa designation from
tions for which the staffs
a will be selected
selected preceded by the
designa designation
tion category.
categor
y

5 Available Last tab List Varchar Contains all the All the staffs
Staffs Index+5 Box available staffs for belonging to the
the selected particular set of
combination of selection of this
the previous combination will
defined fields as be listed in the
(College- list box. By
Departments- default all the

42
Designation staffs from all
Category- the colleges will
Designation). be displayed in
the list box.

6 >> (Assign) Last tab Refer to the 15th row of the section 1.5.1.1
Index+6

7 > (Assign) Last tab Refer to the 16th row of the section 1.5.1.1
Index+7

8 < (Assign) Last tab Refer to the 17th row of the section 1.5.1.1
Index+8

9 << (Assign) Last tab Refer to the 18th row of the section 1.5.1.1
Index+9

10 Assigned Last tab List Varchar The list box will This defines the
Staffs Index+10 Box be populated with list of all the
the selected staffs assigned staffs.
from the available
staffs list box or
by the list of
assigned staffs as
per the screen in
which it is used.

Screen Events Actions and Validations

Sl# Event Action Validation


1 When the Staff Component If loaded after clicking the New button in the list section,
Section is loaded Then this section will show the list of all staffs in all colleges
and also from all departments, all designation categories and
all designations.
If loaded after clicking the Edit/View button in the list
section, all the fields will be populated with their respective
values of the selected record.
2 When the user selects some Then the respective Departments of the selected college will
item from college Drop- be populated in the Department Drop-down and all the staffs
down and presses tab from the selected college from all departments and
designation category and also from all designations will be
displayed in the Available list box except those who are
selected for the purpose where this component will be used
and listed in the assigned list box.
3 When the user selects some Then the respective staffs from all designation category of
item from Department the selected department of the selected college will be
Drop-down and presses tab populated in the Available list box.
4 When the user selects some Then the respective designation of the selected designation
item from Designation category will be populated in the Designation Drop-down.

43
category Drop-down and And all the staffs belonging to that designation category will
presses tab be populated in the available list box. The selection of the
designation category is independent of the selection of the
college and the department. In each case the available staffs
list will be filtered by the list of assigned staffs.
5 When the user selects some Then the Available staffs will be populated in the Available
item from Designation staff list Box as per the whole set of selection. In general the
Drop-down and presses tab selection of designation and the designation category does
not depend on the selection of the college and the
department.
6 When user clicks on >> Refer to the row 16th of the section 1.5.1.2
(Assign) button
7 When user clicks on > Refer to the row 17th of the section 1.5.1.2
(Assign) button
8 When user clicks on < Refer to the row 18th of the section 1.5.1.2
(Assign) button
9 When user clicks on << Refer to the row 19th of the section 1.5.1.2
(Assign) button

The component will receive one parameter meant for the access mode of the component as whether it
is in ADD mode or not. Here the ADD mode is passed as the parameter ‘A’ to the function using which
the component will be called. And it is meant to restrict the movement of items in the list box. If the
component is called in ‘A’ mode then the Staffs from the assigned list box for the specific purpose
cannot be moved back to the available list box. The newly moved items from the available list can be
interchanged between both the list boxes. If the component is needed to be called without the ADD
mode then nothing is required to be passed in the function while calling the component. This case is
applicable to all common components.

1.5.1.3.2 Student Component


Description

This is the component used to select the Students for the specific purpose where ever needed. This
shows the list of all the students in the available list box and can be used to select the students and
move the selected items into the assigned students’ list box. The students can be filtered by using the
college, course, discipline, batch and semester drop downs placed above the two mentioned list boxes.
This component can be used for many purposes e.g. this is used to select the participants for a poll in
the opinion poll module.

Special Notes: Last tab index refers to the tab index of the last field from which this section is being
accessed.

Sl# Label Tab- Field Data Default Other Form Mand Business Remarks
order Type type Value values at atory significance
mask (Y/N)
1 College Last tab Drop- Varchar All List of Selects the college College from
index+1 down all the name from the field. which the
colleges students will

44
be selected.

2 Course Last tab Drop- Varchar All List of Selects the The course in
index+2 down all the particular course which the
courses from the selected students are
for a college. enrolled in the
selected selected
college college will be
selected.

3 Discipline Last tab Drop- Varchar All List of Selects the Indicates the
index+3 down the particular discipline discipline of
disciplin of the course. the student.
e for a
selected
course

4 Batch Last tab Drop- Varchar All List of Selects the Batch refers to
Index+4 down all the particular batch of a particular
Batches the course from academic year
for a which the students of the course.
selected will be selected. e.g. (2005-
Disciplin 2009 batch).
e

5 Semester Last tab Drop- Varchar All List of Selects the The semesters
Index+5 down all the particular semester like first
semeste in a set of course- semester,
rs for a discipline-batch second
selected from which the semester etc.
batch students will be
selected.

6 Available Last tab List Varchar Contains all the All the
Students Index+6 Box available students students
for the selected belonging to
combination of the the particular
previous defined set of selection
fields as (College- of this
Course-Discipline- combination
Batch-Semester). will be listed in
the list box
except the
items in the
assigned
students’ list
box.

45
7 >> (Assign) Last tab Refer to the 15th row of the section 1.5.1.1
Index+7

8 > (Assign) Last tab Refer to the 16th row of the section 1.5.1.1
Index+8

9 < (Assign) Last tab Refer to the 17th row of the section 1.5.1.1
Index+9

10 << (Assign) Last tab Refer to the 18th row of the section 1.5.1.1
Index+10

11 Assigned Last tab List Varchar The list box will be This defines
Students Index+11 Box populated with the the list of all
selected students the assigned
from the available students for
students list box or the purpose.
by the assigned
students for the
specific purpose for
which the
component is used.

Screen Events Actions and Validations

Sl# Event Action Validation


1 When the Assign Student If loaded after clicking the New button, Then this
Section is loaded section having college, course, Discipline, Batch,
Semester, Assigned Student with their default values
will be populated. The Available students’ list box will
contain the list of all the available students from all
the colleges as well as from all the courses, from all
the disciplines, from all the batches and also from all
the semesters. But if loaded after clicking the
Edit/View button then these fields contains the
respective values of the selected record and the
assigned list box will contain the list of all the
students assigned for the purpose and the available
list box will be populated by the list of all the
remaining students.
2 When the user selects some Then the respective Courses of the selected college
item from college Drop-down will be populated in the Course Drop-down and the
and presses tab available list will be populated for the selected
college only.
3 When the user selects some Then the corresponding discipline, batch, Term of the
item from Course Drop-down selected course will be populated in the Discipline,
and presses tab batch and Term Drop-down respectively. And the
available list of selected students for the selected
course will be listed in the available list box. This list

46
will contain the students from all disciplines, all
batches and all semesters.
4 When the user selects some All the students from the corresponding Discipline
item from the Discipline will be populated for the particular set of selection
Drop-down and presses tab for the fields (College-Course).
5 When the user selects some All the students for the selected batch will be
item from the Batch Drop- populated in the available students’ list box.
down and presses tab
6 When the user selects some All the students from the particular set of selection
item from the Semester will be listed in the available list box.
Drop-down and presses tab
7 When user clicks on >> Refer to the row 16th of the section 1.5.1.2
(Assign) button
8 When user clicks on > Refer to the row 17th of the section 1.5.1.2
(Assign) button
9 When user clicks on < Refer to the row 18th of the section 1.5.1.2
(Assign) button
10 When user clicks on << Refer to the row 19th of the section 1.5.1.2
(Assign) button

1.5.1.3.3 Parent Component


Description

This is the component used to select the Parents of the students for the specific purpose where ever
needed. This shows the list of all the parents in the available list box and can be used to select the
parents and move the selected items into the assigned parents’ list box. The parents can be filtered by
using the college, course, discipline, batch and semester drop downs showing the detailed information
of the students placed above the two mentioned list boxes. This component can be used for many
purposes e.g. this is used to select the participants for a poll in the opinion poll module. This component
selects the parents using the information of the students (e.g. college, course, discipline, batch and
semester).

Special Notes: Last tab index refers to the tab index of the last field from which this section is being
accessed.

Sl# Label Tab- Field Data Default Other Form Mand Business Remarks
order Type type Value values at atory significance
mask (Y/N)
1 College Last tab Drop- Varchar All List of Selects the college College from
index+1 down all the name from the field. which the
colleges parents of the
students will
be selected.

2 Course Last tab Drop- Varchar All List of Selects the The course in
index+2 down all the particular course which the
courses from the selected students are
for a college. enrolled in the

47
selected selected
college college whose
parents will be
selected.

3 Discipline Last tab Drop- Varchar All List of Selects the Indicates the
index+3 down the particular discipline discipline of
disciplin of the course. the student.
e for a
selected
course

4 Batch Last tab Drop- Varchar All List of Selects the Batch refers to
Index+4 down all the particular batch of a particular
Batches the course from academic year
for a which the parents of the course.
selected of the students will e.g. (2005-
Disciplin be selected. 2009 batch).
e

5 Semester Last tab Drop- Varchar All List of Selects the The semesters
Index+5 down all the particular semester like first
semeste in a set of course- semester,
rs for a discipline-batch second
selected from which the semester etc.
batch parents of the
students will be
selected.

6 Available Last tab List Varchar Contains the list of All the parents
Parents Index+6 Box all the available of
parents of the corresponding
students for the students
selected belonging to
combination of the the particular
previous defined set of selection
fields as (College- of this
Course-Discipline- combination
Batch-Semester). will be listed in
the list box
except the
items in the
assigned
parents’ list
box.

7 >> (Assign) Last tab Refer to the 15th row of the section 1.5.1.1

48
Index+7

8 > (Assign) Last tab Refer to the 16th row of the section 1.5.1.1
Index+8

9 < (Assign) Last tab Refer to the 17th row of the section 1.5.1.1
Index+9

10 << (Assign) Last tab Refer to the 18th row of the section 1.5.1.1
Index+10

11 Assigned Last tab List Varchar The list box will be This defines
Parents Index+11 Box populated with the the list of all
selected parents the assigned
from the available parents for the
parents list box or purpose.
by the assigned
parents for the
specific purpose for
which the
component is used.

Screen Events Actions and Validations

Sl# Event Action Validation


1 When the Assign Parent If loaded after clicking the New button, Then this
Section is loaded section having college, course, Discipline, Batch,
Semester, Assigned Student with their default values
will be populated. The Available parents’ list box will
contain the list of all the available parents of the
students from all the colleges as well as from all the
courses, from all the disciplines, from all the batches
and also from all the semesters. But if loaded after
clicking the Edit/View button then these fields
contains the respective values of the selected record
and the assigned list box will contain the list of all the
parents assigned for the purpose and the available
list box will be populated by the list of all the
remaining parents.
2 When the user selects some Then the respective Courses of the selected college
item from college Drop-down will be populated in the Course Drop-down and the
and presses tab available list will be populated for the selected
college only.
3 When the user selects some Then the corresponding discipline, batch, Term of the
item from Course Drop-down selected course will be populated in the Discipline,
and presses tab batch and Term Drop-down respectively. And the
available list of selected parents for the selected
course will be listed in the available list box. This list
will contain the parents of the students from all

49
disciplines, all batches and all semesters.
4 When the user selects some All the parents of the students from the
item from the Discipline corresponding Discipline will be populated for the
Drop-down and presses tab particular set of selection for the fields (College-
Course).
5 When the user selects some All the parents of the students for the selected batch
item from the Batch Drop- will be populated in the available students’ list box.
down and presses tab
6 When the user selects some All the parents of the students from the particular set
item from the Semester of selection will be listed in the available list box.
Drop-down and presses tab
7 When user clicks on >> Refer to the row 16th of the section 1.5.1.2
(Assign) button
8 When user clicks on > Refer to the row 17th of the section 1.5.1.2
(Assign) button
9 When user clicks on < Refer to the row 18th of the section 1.5.1.2
(Assign) button
10 When user clicks on << Refer to the row 19th of the section 1.5.1.2
(Assign) button

1.5.1.3.4 Colleges component


Description

This section is used to select the colleges for a particular requirement. When there is a specific
requirement like someone needs to allocate something college wise E.g. In the opinion poll module
while creating the poll it is necessary to mention from all the available colleges who can participate in a
particular poll. In such a case the college component will be used as a tool by providing the click and
move facility to select a particular college. This component will display the names of the colleges in two
subsequent fields named available colleges and assigned colleges.

Sl# Label Tab- Field Data Default Other Form Mand Business Remarks
order Type type Value values at atory significance
mask (Y/N)
1 Available Last tab List Varchar All Contains all the It contains the
Colleges Index+1 Box Colleges available colleges. name of the
colleges except
the names of the
assigned colleges
for the specific
purpose.

2 >> (Assign) Last tab Refer to the 15th row of the section 1.5.1.1
Index+2

3 > (Assign) Last tab Refer to the 16th row of the section 1.5.1.1
Index+3

4 < (Assign) Last tab Refer to the 17th row of the section 1.5.1.1
Index+4

50
5 <<(Assign) Last tab Refer to the 18th row of the section 1.5.1.1
Index+5

6 Assigned Last tab List Varchar Contains all the


Colleges Index+6 Box selected Colleges

Screen Events Actions and Validations

Sl# Event Action Validation


1 When this section is All the available colleges will be populated in If the user is the super admin
loaded after clicking the the available colleges list box. then all colleges will be
new button shown. Otherwise if the user
is the college admin then only
his/her college will be shown.
2 When this section is All the assigned colleges will be populated in
loaded after clicking the the assigned colleges list box and all other
edit/view button colleges which are not selected will be shown
in the available colleges list box.
3 When user clicks on >> Refer to the row 16th of the section 1.5.1.2
(Assign) button
4 When user clicks on > Refer to the row 17th of the section 1.5.1.2
(Assign) button
5 When user clicks on < Refer to the row 18th of the section 1.5.1.2
(Assign) button
6 When user clicks on << Refer to the row 19th of the section 1.5.1.2
(Assign) button

The components described in the following are not yet been added in the application. The specific components are:
Alumni component, Applicants Component and Defined Groups Component. A line displaying blue stars in a
sequence specifies the end of the file.
1.5.1.3.5 Assign Alumni
Description

This section is used to assign the alumni as the participants.

Special notes: It describes the information about the alumni who are already passed out from the
college.

Sl# Label Tab- Field Data Default Other Form Mand Business Remarks
order Type type Value values at atory significance
mask (Y/N)
1 College Last Drop- Varchar Y Selects the College from
index+1 down college name which the alumni
from the field. will be selected.

2 Course Last Drop- Varchar Y Selects the The course in


index+2 down particular course which the
from the selected students are

51
college. enrolled in the
selected college
will be selected.

3 Discipline Last Drop- Varchar Y Selects the Indicates the


index+3 down particular discipline of the
discipline of the student.
course.

4 Pass out Last Drop- Varchar Y Selects the The current


Batch Index+4 down particular batch batches will not
of the course be populated in
from which the this Drop-down.
students will be Only the
selected. Here the students from
batches must be the passed out
the pass out batches will be
batches. available in this
section.

5 Available Last List Varchar Contains the


Alumni Index+5 Box entire available
alumni name.

6 >> (Assign) Last Refer to the 15th row of the section 1.5.1.1
Index+6

7 > (Assign) Last Refer to the 16th row of the section 1.5.1.1
Index+7

8 < (Assign) Last Refer to the 17th row of the section 1.5.1.1
Index+8

9 << (Assign) Last Refer to the 18th row of the section 1.5.1.1
Index+9

10 Assigned Last List Varchar The list box will This defines the
Alumni’s Index+10 Box be populated with list of all the
the selected assigned Alumni
Alumni from the
available staffs list
box

Screen Events Actions and Validations

Sl# Event Action Validation


1 When the Assign Alumni If loaded after clicking the New
section is loaded button, Then this section having

52
college, course, Discipline, Batch,
Available alumni, Assign alumni
with their default values will be
populated. If any fields have no
default value will contain null. But
if loaded after clicking the
Edit/View button then these
fields contains the respective
values of the selected record.

2 When the user select some Then the respective Courses from
item from college Drop- the selected college will be
down and presses tab populated in the Course Drop-
down
3 When the user select some Then the corresponding discipline The Batches populated in the Batch
item from Course Drop- and batch will be populated in the Drop-down must be the batches of the
down and presses tab Discipline and batch Drop-down passed out students.
respectively.
4 When the user selects a set All the students from the
of Course-Discipline-Batch- particular set of selection will be
Semester from these fields listed in the available list box.
5 When user clicks on >> Refer to 16th row of the section1.5.1.2
(Assign) button
6 When user clicks on > Refer to 17th row of the section1.5.1.2
(Assign) button
7 When user clicks on < Refer to 18th row of the section1.5.1.2
(Assign) button
8 When user clicks on << Refer to 19th row of the section1.5.1.2
(Assign) button

1.5.1.3.6 Assign Defined Groups Section


Description

This section is used to assign the previously defined groups as the participants.

Sl# Label Tab- Field Data Default Other Form Mand Business Remarks
order Type type Value values at atory significance
mask (Y/N)
1 Available Last tab List Varchar All the Contains all the
Groups Index+1 Box predefi available groups
ned
groups

2 >> (Assign) Last tab Refer to the 15th row of the section 1.5.1.1
Index+2

3 > (Assign) Last tab Refer to the 16th row of the section 1.5.1.1
Index+3

4 < (Assign) Last tab Refer to the 17th row of the section 1.5.1.1
Index+4

53
5 <<(Assign) Last tab Refer to the 18th row of the section 1.5.1.1
Index+5

6 Assigned Last tab List Varchar Contains all the


Groups Index+6 Box selected groups

Screen Events Actions and Validations

Sl# Event Action Validation


1 When this section is if loaded after clicking the New button, then all the
loaded available predefined groups will be populated in the
assigned groups list box, if the this section is loaded
after clicking the Edit/View button then this field
contains the respective values of that record.
2 When user clicks on >> Refer to the row 16th of the section 1.5.1.2
(Assign) button
3 When user clicks on > Refer to the row 17th of the section 1.5.1.2
(Assign) button
4 When user clicks on < Refer to the row 18th of the section 1.5.1.2
(Assign) button
5 When user clicks on << Refer to the row 19th of the section 1.5.1.2
(Assign) button

1.5.1.3.7 Assign Applicants


Description

This section is used to assign the applicants for a particular course or all applicants as participants for a
poll.

Sl# Label Tab- Field Data Default Other Form Mand Business Remarks
order Type type Value values at atory significance
mask (Y/N)
1 Course Last tab Drop- Varchar All Selects the course
applied for Index+1 down name for which
the applicants
have applied for

2 Available Last tab List Varchar All the Contains all the
Applicants Index+2 Box applican available
ts Applicants

3 >> (Assign) Last tab Refer to the 15th row of the section 1.5.1.1
Index+3

4 > (Assign) Last tab Refer to the 16th row of the section 1.5.1.1
Index+4

5 < (Assign) Last tab Refer to the 17th row of the section 1.5.1.1

54
Index+5

6 <<(Assign) Last tab Refer to the 18th row of the section 1.5.1.1
Index+6

7 Assigned Last tab List Varchar Contains all the


Applicants Index+7 Box selected
Applicants

Events, Actions and Validations

Sl# Event Action Validation


1 When the user selects any value from the All the applicants applied for that
course applied for field and presses tab particular course will be listed in
the available applicants list box
2 When user clicks on >> (Assign) button Refer to the row 16th of the section 1.5.1.2

3 When user clicks on > (Assign) button Refer to the row 17th of the section 1.5.1.2

4 When user clicks on < (Assign) button Refer to the row 18th of the section 1.5.1.2

5 When user clicks on << (Assign) button Refer to the row 19th of the section 1.5.1.2

******************************* End of Under Developed Components *******************************

The above mentioned components will be called by a JS function and will receive customized parameters as per
the screen’s requirement. The available and assigned SQL queries will be passed from the local function from
where it is invoked.

1.5.2 AdministrationSecurityCreate Related Area


1.5.2.1 Purpose:
Its purpose is to create different related area under a particular predefined functional area (identified by
a module) for which different approval workflows will be assigned to perform a specific task. It allows
admin and college administrators to sub-categorize a functional area into different areas and sub-areas
based on similar workflows.

1.5.2.2 Brief Description:


It is used to define the related area name and its description along with the college name. The list
section of this page will be loaded as blank only with the headers if no area is defined. If a super admin
logs in to this screen then a filter for the institutes it has, will be displayed through which he can choose
colleges/institutes of his interest. All the related areas defined by the super admin will be common to all
selected colleges. If a college admin logs in to this then he can create related areas for his college only.

1.5.2.3 Layout (Screen shots)


The screen is divided into two sections as List Section and Edit Section.

55
1.5.2.3.1 List Section
Description

This section contains all the information in the form of a list which entails all related area name along
with its college name and description about the concerned area and gives the facility to “view/edit” and
“Delete” as per given authorization to the user. It gives facility to search a particular related to area by
just entering a matching pattern of the related to area name.

Sl# Label Tab- Field Data Default Other Forma Mand Business Remarks
orde Type type Value values t mask atory significance
r (Y/N)
1 Record per 1 Refer to 1st row of the section 1.5.1.1
page

2 Search by 2 Refer to 2nd row of the section 1.5.1.1

3 New 3 Refer to 3rd row of the section 1.5.1.1

4 Sl# no Display Number Used for indexing


the list.

5 Module Display Varchar Opinion It specifies the Here the


Name Poll module name for module
which the area is name is
created. “opinion
poll” in
which
different sub
areas are
created.mod
ule name
can be
different as
per the
requirement
s

6 Related area Display Varchar It shows the E.g. Hostel,


Name created related Library
area under a
particular module.

7 College Display Varchar It shows the names E.g. CET,


names of the college Silicon
assigned to the
related areas.
College names are
displayed as
comma separated

56
as shown in the
examples.

8 Edit/View Refer to 6th row of the section 1.5.1.1

9 Delete Refer to 7th row of the section 1.5.1.1

10 First ( |< ) Refer to 10th row of the section 1.5.1.1

11 Previous ( < ) Refer to 11th row of the section 1.5.1.1

12 Next ( > ) Refer to 12th row of the section 1.5.1.1

13 Last ( >| ) Refer to 13th row of the section 1.5.1.1

14 Page No Refer to 9th row of the section 1.5.1.1

Screen Events Actions and Validations

For all common events for this list section please refer to the section 1.5.1.2.

Sl# Event Action Validation


1 When user clicks the All the data of that respective row will be deleted from the data base. User cannot delete
delete button related area of a
running poll.

1.5.2.3.2 Edit Section


Description

This section is meant for defining the related to area names of the corresponding colleges with
description of that area. It facilitates editing of the existing one as well as the creation of the new ones
depending on the authorization of the logged in users.

Special Notes: The names for a particular area will be defined by the institution itself.

Sl# Label Tab- Field Data Default Other For Man Business significance Remarks
order Type type Value values mat dato
mas ry
k (Y/N
)
1 Module 1 Drop- Varchar Opinion Y User selects the
name down poll module name in
which different
related area will be
created
2 Related 2 Text Varchar Y User defines related
to area box to area name
name

57
3 Descripti 3 Text Varchar N This field
on area describes about
the related area
for which the
poll is to be
created.

4 Assign Refer to the section 1.5.1.3.5


Colleges

5 Save Last tab Refer to 4th row of the section 1.5.1.1


index+1

6 Cancel Last tab Refer to 5th row of the section 1.5.1.1


index+2

Screen Events Actions and Validations

Special Note: For all the events in the assign colleges section refer to the section 1.5.1.3.5 and for all
other common events in this section refer to the section 1.5.1.2.

Sl# Event Action Validation


1 When the edit All the fields of the section will be populated with their respective default
section is loaded values. For a super user all the available college names will be displayed in
the available college field but if the user is one of the college admin then he
can only do any editing/deleting for his college. College admin only can view
the other selected college names created by super admin. When the section
is loaded after clicking the new button all the fields remain blank, but If the
section is loaded after the clicking the edit button in the list section for a
particular row the fields will be populated as per the values in that row.
2 When the user All the related area for the selected module will be populated in the related This field cannot be
selects a value from to area field from which user needs to choose the required one. left blank.
the module name
and presses the tab
3 When the user enters A pop will alert the user showing the message as “Sorry the related area Two area names
a value in the related already exists in this module”. cannot be same in
area name for a a particular
particular module module.
and clicks the save
button
4 When the user A pop will alert the user showing the message as “ Sorry , this area contains The user cannot
modifies the related an ongoing poll ” change the area
area name defined name if that area
previously in use for a name is being used
poll and clicks the by any ongoing
save button poll.
6 When the user clicks if the edit/ view section is loaded by clicking edit/ view button then all the User cannot
the save button modified data were stored in the data base, but if the edit/ view section is change the related
loaded by clicking new button then all the data were inserted into the data area name of a

58
base. running poll and
user cannot
provide an already
exited related area
name.

1.5.3 AdministrationSecurityCreate Related Sub Area


1.5.3.1 Purpose:
This is used to create related sub-area under a related area in the institute. If no sub area exists for any
related to area then by default the related area name will be used as the related to area name.

1.5.3.2 Brief Description:


It is used to define related Sub area name and its description for a defined related area. It also gives the
list view of all related Sub areas and their description. It defines the sub area for a particular area where
required. E.g. (Hostel is an area and the sub areas are boys hostel and girls hostel). The related sub area
name can be created by both super admin and college admin also.

1.5.3.3 Layout (Related sub-area)


This screen is divided into two sections as follows

1.5.3.3.1 List section


Description

It enlists all the created sub area names for a particular related to area name along with its description.
This section facilitates easy searching of any sub area from the list and also provides the mean for
further modification.

Special Notes: The name for a particular related to sub area is defined by the institution itself.

Sl# Label Tab- Field Data Default Other Format Mand Business significance Remarks
orde Type type Value value mask atory
r s (Y/N)
1 Record 1 Refer to the 1st row of the section 1.5.1.1
per page

2 Search by 2 Refer to the 2nd row of the section 1.5.1.1

3 New 3 Refer to the 3rd row of the section 1.5.1.1

4 Sl# No Display Number Used for indexing the


list.

5 College Display Varchar E.g.-CET, It shows the related area


names: Silicon: name and name of the
Related to Hostel college for which it is
area name defined either by the
super admin or the
college admin.

59
6 Related Display Varchar It defines the name of
sub-area the related sub area
name

7 Edit/View Refer to the 6th row of the section 1.5.1.1

8 Delete Refer to the 7th row of the section 1.5.1.1

9 First ( |< ) Refer to the 10th row of the section 1.5.1.1

10 Previous Refer to the 11th row of the section 1.5.1.1


(<)

11 Next ( > ) Refer to the 12th row of the section 1.5.1.1

12 Last ( >| ) Refer to the 13th row of the section 1.5.1.1

13 Page Refer to the 9th row of the section 1.5.1.1


Number

Screen Events Actions and Validations

Special Note: For all common events and actions in the list section please refer to the section 1.5.1.2

Sl# Event Action Validation


1 When the list section is The list will be populated with the predefined area
loaded names and description.
If nothing is defined previously then no data will come
in the list and only the headers of the list will be
displayed.
2 When the user clicks the Then all the field of edit section will be populated with
edit/view button the respective value from the list section. user can
modify those value depending on the requirement.

3 When the user clicks the new Edit section will be populated with default values, if
button any field does not have any default value then null
value will be displayed in those field

4 When the user clicks the Then the data of that respective row will be deleted User cannot delete sub area
delete button from the data base of a running poll.
Only authorized user can
delete any data.

1.5.3.3.2 Edit section


Description

This section provides facility to assign authorities of a sub area. The authorities can be any member from
the staffs, students or parents of the students.

60
Special Notes: If an area doesn’t have any sub area then the area name will be used as its sub area
name.
Sl# Label Tab- Field Data Default Other Form Mand Business significance Remarks
orde Type type Value values at atory
r mask (Y/N)
1 Module 1 Drop- Varchar Opinion Y User selects the It indicates the
name down poll module name in module name
which different in which
related area will be different
created related area will
be created
2 Related to 2 Drop- Varchar Hostel, Y User selects the
Area name down Library etc name of related area
3 Related to 3 Textbox Varchar Boys Y User defines the The selected
sub-area Hostel, name of the related area name will
name Girls sub area be treated as
Hostel etc the default sub
area name if
that area
doesn’t have
any sub area.

4 Description 4 Text Varchar N It describes the


Area information about
the particular sub-
area for which polling
will be done

5. Save 5 Refer to the 4th row of the section 1.5.1.1

6. Cancel 6 Refer to the 5th row of the section 1.5.1.1

Screen Events actions and validations


Special Note: For all common events and actions please refer to the section 1.5.1.2

Sl# Event Action Validation


1 When the edit section All the fields of the section will be populated with their
is loaded respective values. when the section is loaded after clicking
the new button all the fields remain blank, but If the
section is loaded after the clicking the edit button in the list
section for a particular row the fields will be populated as
per the values in that row.
2 When the user selects All the related area associated with the module name will The module name field
a value in the module be populated in the related to area field. should not be left blank.
name and presses the
tab
3 When the user selects The sub area name will be populated with the selected area
a value in the related field as a default value.
area name and

61
presses tab
4 When the user enters If the entered sub area name is same as any predefined sub Two sub area names
a value in the related area for that set then a pop will alert the user showing the cannot be same in a
sub area name under message as “Sorry ! the related sub area already exists in particular module.
a particular set of this Module-”.
Module-Related area
and clicks the save
button
5 When the user A pop will alert the user showing the message as “ Sorry , The user cannot change
modifies the related this area contains an ongoing poll ” the area name if that area
area name defined name is being used by
previously in use for a any ongoing poll.
poll and clicks the
save button
6 When the user clicks if the edit/ view section is loaded by clicking edit/ view User cannot change the
the save button button then all the modified data were stored in the data sub area name of a
base, but if the edit/ view section is loaded by clicking new running poll and user
button then all the data were inserted into the data base. cannot provide an already
exited sub area name.

1.5.4 AdministrationSecurityCreate Sub-area Functionary


1.5.4.1 Purpose
Helps in assigning the functionaries for different related sub area of an area created for a specific
module. In other words assignment of a head for a sub area e.g. (hostel canteen of the area-canteen) is
done using this screen.

1.5.4.2 Brief Description

The functionaries can be any member from the staffs or current students or their parents. The names
are selected from the Staff information and the student information using the common components.
The names will be selected and saved in the list combined with the related to area and the available
subarea which at a glance defines that the particular members selected have the authorization over that
particular area for which some activity will be held.

1.5.4.3 Layout (Screen shots)

The screen is divided into two sections as described. One is the list section and another is the details
section containing the details about the functionaries for a particular sub area.

1.5.4.3.1 List section


Description

This section lists the name of the authorities of a particular subarea of the related area.
Special Notes:

Sl# Label Tab- Field Data type Default Other Format Mandat Business Remarks
orde Type Value values mask ory significance
r (Y/N)

62
1 Record per 1 Refers to the 1st row of the section 1.5.1.1
page

2 Search by 2 Refers to the 2nd row of the section 1.5.1.1

3 New 3 Refers to the 3rd row of the section 1.5.1.1

4 Sl# no Display Number Shows the index of


the list populated

5 Sub Area Display Varchar It shows the sub The format is


Name area name along Module Name:
with its module Related Area
name and the name: Related Sub
area name in a Area Name
specific format.
6 Functionar Display Varchar Helps to identify Contains the name
y the functionaries of the authorities
of the sub area of of a subarea. The
an area defined authorities can be
for a specific any from staffs,
module. students and
parents. The name
of the
functionaries are
preceded by the
user type of the
assigned
functionary in
capital letters
followed by a
colon.

9 Edit/view Refers to the 6th row of the section 1.5.1.1

10 Delete Refers to the 7th row of the section 1.5.1.1

11 First ( |< ) Refers to the 10th row of the section 1.5.1.1

12 Previous Refers to the 11th row of the section 1.5.1.1


(<)

13 Next ( > ) Refers to the 12th row of the section 1.5.1.1

14 Last ( >| ) Refers to the 13th row of the section 1.5.1.1

15 Page Refers to the 9th row of the section 1.5.1.1


Number

63
Sl# Event Action Validation
1 When the list section is loaded The list of the functionaries and their related This screen will be
subarea name along with the area and its displayed to the
module name which have been defined earlier authorized users
will be populated. only.
If not defined then the list will be blank only
with the headings.
2 When the user clicks the delete All the information related to the selected At least one
button record in the particular row of the list will be functionary should
removed from the database. be there for a
particular sub area.
Screen Events actions and validations

Special Note: For all common events and actions please refer to the section 1.5.1.2

1.5.4.3.2 Edit/Details section


Description

This section shows the details about the functionaries along with the related sub area for a particular
area and its associated module which has been selected from the list with the help of the edit button. It
includes all the three components named Student component, staff component and the parent
component which will show the details about the assigned functionaries. In case of assigning new
functionary for a particular sub area the components will show the details list of all available members
from each user type as mentioned.
Special Notes:

Sl# Label Tab- Field Data Defaul Other For Man Business significance Remarks
order Type type t Value value ma dato
s t ry
ma (Y/N
sk )
1 Module Name 1 Drop- Varchar Opinio Y User selects the It defines the name
down n poll module name in of the module.
which different
related area were
created.
2 Related Area 2 Drop- Varchar Y User selects the It helps to select
down name of the related the required area
area. from the available
list.
3 Sub Area 3 Drop- Varchar Y User selects the The sub area
down name of the related names will be
sub-area. populated in the
list only for the
selected area in
the previous field.

64
4 Functi Staffs 4 Check Boolean Specifies whether
onary Box staffs will be selected
type or not

Students 5 Check Boolean Specifies whether


Box students will be
selected or not.

Parents 6 Check Boolean Specifies whether


Box parents will be
selected or not.

5 Staff Component Refers to the section 1.5.1.3.1

6 Student Refers to the section 1.5.1.3.2


Component

7 Parent Refers to the section 1.5.1.3.3


component

11 Save Last Refers to the 4th row of the section 1.5.1.1


tab
index
+1

12 Cancel Last Refers to the 5th row of the section 1.5.1.1


tab
index
+2

Screen Events actions and validations

Special Note: For all the common events and actions for this section please refer to the section 1.5.1.2.
For details about the events and actions about the common components to be used in this screen please
refer to the section 1.5.1.3. Each component is described in individual sub sections of this section.

Sl# Event Action Validation


1 When the edit The edit section will be loaded with all the default
section is loaded after values in their respective fields. All the three drop
clicking the new downs will display select option. And the module
button. name drop down will be populated with all the
available module names appropriate for the screen.
2 When the user All the related area associated with the module name The module name field
selects an item from will be populated in the related to area field. should not be left blank.
the module name
field and presses tab
button

65
3 When the user The value for the sub area of a particular related area The related area field
choose any item in will be populated from which the user needs to select should not be left blank.
related area field and any of the sub area names.
presses tab button
4 When the user checks The staff component will be loaded just below to it.
the staff check box
5 When the user checks The student component will be loaded just below to
the current students the staff component.
& parents check box
6 When the user checks The parent component will be loaded below to the
the parents check box student component.
2 When the edit The respective module name, related area name and If any user has no edit
section is loaded after the sub area name will be displayed in the dropdown permission the save
clicking the edit/view and the corresponding checkboxes will be checked for button will be disabled. In
button from the list. the respective assigned user types. And the first this case the dropdowns
component will be displayed with the assigned users showing the module
list. And for the others if assigned for the sub area will name, related area name
display a show list option side to the checkbox. (The and the sub area name
check box is checked to show the status of the will be disabled (the
assignment, whether any member from that user displaying values cannot
type is assigned as a functionary or not for that sub be changed).
area).
When the user clicks The corresponding component will be loaded with the If the members of the
the show list button appropriate values as the list in the available and particular user type are
assigned section in the component. And the option assigned as the
named show list will be invisible. functionary for the
selected sub area then
this option will be
displayed as a hyperlink.
6 When the user clicks If the edit/ view section is loaded by clicking edit/ From the available check
the save button view button then all the modified data were stored in boxes namely staff,
the data base, but if the edit/ view section is loaded students and parents at
by clicking new button then all the data were inserted least one field is to be
into the data base. (At least one user should be checked. If checked, then
selected by using the component as the sub area corresponding assigned
functionary). list box must contain at
least one value.

1.5.5 Opinion PollConfigurationApproval stage and user


1.5.5.1 Purpose
This screen is meant for providing the facilities for the creation of stages and its users. The stages will
make a sense to a certain process or sequential steps in an activity which will follow another. E.g. there
are so many activities which follow some specific sequence in its completion. Here the stages will be
created for specific purposes. In case of opinion poll during the creation of a particular topic, the topic
and its questions can been through many phases of approval by the functionaries of the corresponding
area or sub area. Those stages and their users need to be identified and allocated for the specific
purpose.

66
1.5.5.2 Brief Description
This screen is used to define multiple stages along with assigned authorities. As this can be used for the
creation and approval of a topic (questions and answers) in the poll and as well as the analysis of the
poll result. The number of stages and the members in each stage for both poll and its analysis approval
may vary. It provides the facility that whether an approval authority can cancel a poll or not. One
member can be assigned to multiple stages as approving authority. The distinction between the poll
approval and the analysis approval will be done by the screen name. if the screen name is ‘create and
approve poll’ then the stages defined along with their approval users are for approval of poll and if the
screen name is ‘Analysis Result’ then the stages defined along with their approval users are for approval
of analysis of the poll response. To whom cancellation is allowed they can only discontinue or discard
the poll in future if required.

1.5.5.3 Layout (Screen shots)


The screen is divided into two sections. As mentioned in the previous screens also. One is the List
section and another is the Detail section.

1.5.5.3.1 List section


Description

This section enlists the essential information regarding module name, related area and sub area name,
sub module and screen name, stage name, stage order and assigned users for the defined stages (the
users can be any one from the staffs, students and parents).
Special Notes:

Sl# Label Tab- Field Data Default Other Format Mand Business Remarks
orde Type type Value values mask atory significance
r (Y/N)
1 Record per 1 Refers to the 1st row of the section 1.5.1.1
page
2 Search by 2 Refers to the 2nd row of the section 1.5.1.1

3 New 3 Refers to the 3rd row of the section 1.5.1.1

4 Sl# no Display Number Helps in indexing Shows the index


the displayed list of the list
populated.

5 Module Display Varchar Displays the


Name module name

67
6 Related Display Varchar Displays the set The name will be
area::Sub of related area displayed as the
Area and related sub one given in the
area name for following
which the stages example. (e.g.
and the stage Canteen::Hostel
users are to be Canteen)
defined.

7 Sub Display Varchar Displays the Screen name


Module::Sc screen name of refers to the
reen Name the pages like ‘create
corresponding and approve poll’
sub module for or ‘Analysis
which the stages Result’.
are defined.
8 Stage Display Varchar Shows the name
name of the stage.

9 Stage order Display Number Specifies the


order of the
stage.

10 Assigned Display Varchar Helps to identify Contains the


Users the stage users name of the users
of the sub area of a stage for the
of an area subarea. The
defined for a users can be
specific screen of anyone from
the sub module staffs, students
for a related and parents. The
area. name of the stage
users are
preceded by the
user type of them
in capital letters
followed by a
colon.

13 Edit/View Refers to the 6th row of the section 1.5.1.1

14 Delete Refers to the 7th row of the section 1.5.1.1

15 Sorting Refers to the 8th row of the section 1.5.1.1

16 First ( |< ) Refers to the 10th row of the section 1.5.1.1

17 Previous ( < Refers to the 11th row of the section 1.5.1.1


)

68
18 Next ( > ) Refers to the 12th row of the section 1.5.1.1

19 Last ( >| ) Refers to the 13th row of the section 1.5.1.1

20 Page Refers to the 9th row of the section 1.5.1.1


Number

Screen Events actions and validations

Sl# Event Action Validation


1 When the list section The list of the stages, stage orders, assigned users This screen will be
is loaded and their related area name along with the subarea available only to the
and the screen name etc will be displayed in the list limited users who have
if defined. If no information will be found regarding been given authorization.
the stages and the users then the list page will show
a message as ‘No records to display’.
2 When the user clicks All the data of the respective rows will be deleted
the delete button from the database.
Special Note: for all the common events for this section please refer to the section 1.5.1.2.

At least one authority should be there in each stage and at least one stage in each related sub area of an
area for the particular process of an activity.

1.5.5.3.2 Edit Section


Description

This section is used to assign users for different stages of an activity. E.g. in case of opinion poll module,
for a related sub area of an area polls have to be created and their results need to be published. And the
creation of the poll may go through different stages and same in the result publication process also.
Different stages and their users who will operate in that stage need to be defined for each process. This
screen is meant for defining such stages and their users.
Special Notes: In each screen when the components are loaded will contain the names in same format
but for different purposes hence the list will be different.
Sl# Label Tab- Field Data Def Oth For Mand Business Remarks
order Type type aul er ma atory significance
t val t (Y/N)
Val ues ma
ue sk
1 Module Name 1 Drop- Varchar Y User selects the
down module for which
the required
related areas will
be populated in
the related area
field

69
2 Related Area 2 Drop- Varchar Y User selects the The approval
down required related stages will be
area defined as per the
related sub area
of an area.

3 Sub Area 3 Drop- Varchar Y Provides the


down names of the sub
area for an area
of a module

4 Sub Module 4 Drop- Varchar Y Provides the


down name of the sub
module which
will help in
selecting the
screen names.

5 Screen Name 5 Drop- Varchar Y The screen name The screen names
down defines the will be like
activity for which Create and
different stages approve poll and
and their users Analysis result
will be defined. etc.
6 Stage Name 6 Text Varchar Y User defines the
box name of the
stage with in an
activity.

7 Stage order 7 Textbox Number Y Provides the


level of the stage
or the order of
the stage.

8 Cancellation 8 Check Boolean N N It gives the right E.g. in case of


allowed Box to the stage opinion poll the
users whether poll can be
they can cancel cancelled in any
the whole stage if allowed in
activity or not in this screen during
a particular stage the stage
creation.

9 Choos Staffs 9 Check Boolean Specifies


e Stage Box whether staffs
Users will be selected
or not

70
Students 10 Check Boolean Specifies
Box whether students
will be selected
or not.

Parents 11 Check Boolean Specifies


Box whether parents
will be selected
or not.

9 Staff component Refer to the section 1.5.1.3.1

10 Students Refer to the section 1.5.1.3.2


component

11 Parents Refer to the section 1.5.1.3.3


component

11 Save Last Refer to the 4th row of the section 1.5.1.1


tab
index
+1

12 Cancel Last Refer to the 5th row of the section 1.5.1.1


tab
index
+2

Screen Events actions and validations

Special Note: For all the common events and the actions please refer to the section 1.5.1.2.

Sl# Event Action Validation


1 When this section is All the fields will be populated with
loaded their corresponding values. If the page
is loaded after clicking the new button
then there will be default value in the
fields and if the section is loaded after
clicking the edit button then the fields
will be shown with the values from the
respective row from the list section.
2 When user selects any Then the names of the respective
item from the Module related area of the selected module will
name Drop-down and be populated in the Related to area
presses tab Drop-down. And the names in the sub
module drop-down will also be
populated for that module.

71
3 When user selects any Then the names of the respective
item from the Related to related sub area will be populated in
area Drop-down and the Sub Area Drop-down
presses tab
4 When the user checks the The staff component will be loaded just
staff check box below to that line.
5 When the user checks the The Student component will be loaded
student check box below to the staff component (if loaded
otherwise it will be loaded after the line
containing the option choose stage
users).
6 When the user checks the Then the parent component will be
parent check box loaded.
7 When the user clicks the if the edit/ view section is loaded by From the check boxes namely staff,
save button clicking edit/ view button then all the students and parents at least one field is to
modified data were stored in the data be checked. If checked, then
base, but if the edit/ view section is corresponding assigned list box must
loaded by clicking new button then all contain at least one value.
the data were inserted into the data And Two stage name and two stage order
base and the list will be populated cannot be same in a particular sub area.
another new record set. Only numeric value is allowed in the stage
order field.
8 When the user clicks the The details section will become invisible
cancel button and will be closed without performing
any action.

1.5.6 Opinion PollPollCreate and Approve Poll


1.5.6.1 Purpose

The purpose of this screen is to define the Poll for a particular subarea of a related to area.

1.5.6.2 Brief Description

The authorized user can create a poll by defining the questions and the options with suitable answer
types as required. The user has to provide all the additional details for the poll like defining the topic
name, defining the group of participants, specifying the repetition interval of the poll (if any), providing
the result notification options etc. This screen is also used for the approval of the created poll which is
managed by the defined stages for approval in the configuration sub module. After saving the poll the
user can modify the poll, but once the poll is submitted for approval then the user can not modify the
same. The poll can be verified and modified by the next higher stage members if required. The approver
posses the authorization to delete the poll also (if cancellation is allowed for that particular stage). In
future if required to discontinue a repetitive poll or to discard a continuing poll the approver having the
authority to cancel the poll can do the same.

1.5.6.3 Layout (Screen shots)

The screen is divided into two sections as described.

72
1.5.6.3.1 List filter section
Description

This section is used to filter the list as required. Different fields in this section are related to area, related
to sub area, stage, start date, end date and my approval pending. These fields help to filter the retrieved
records as required by selecting the corresponding fields. By default the start date is set to Sysdate and
the end date is set to Sysdate+30. I.e. all the polls starting from the Sysdate and ending with in
Sysdate+30 will be shown in the list for a particular selected related sub area of the selected area. The
user can provide any dates in start date and end date to have a list of his/her own interest. If the user is
assigned to different poll create and approval stages then he/she can traverse between those stages
through the stage drop-down to see the population of polls in each stage. The user can also filter the list
further to see only those polls which need to be approved by him/her by clicking the my approval
pending checkbox.

Special Notes: This section helps in filtering the required list in the list section.

Sl# Label Tab- Field Data Default Other Format Manda Business significance Remarks
orde Type type Value values mask tory
r (Y/N)
1 Related 1 Drop- Varchar All (for Any defined Y Helps to filter the list
to Area down the related to by selecting any of the
particular area name related to area
module.
E.g. here
the
module is
Opinion
Poll)

2 Related 2 Drop- Varchar Any defined Y Helps to filter the list


to sub down related to by selecting any of the
Area sub area related to sub area for
name for a particular area
the selected
area in the
previous
field

73
3 Stage 3 Drop- Varchar Any defined Y Helps to filter the list
down stage name by selecting any of the
in which the stage in which the user
login user is is a member
a member
for the
selected set
of
(areasub-
area)

4 Start 4 Text Date Sysdate DD/MO Y It helps to find those


Date Box N/YYYY polls whose start date
is the greater than
equals to the given
date

5 End Date 5 Text Date Sysdate+3 DD/MO Y It helps to find those


Box 0 N/YYYY polls whose end date
is the less than equals
to the given date

6 My 6 Check Boolean It enlists all the


approval Box records that are to be
Pending approved by the user
for a particular stage

Screen Events actions and validations

Special Note: For all the common events, actions and validations in a list section refer to section1.5.2.2

Sl# Event Action Validation


1 When the list filter section is All the available related to area
loaded names for the particular module
name will be populated in the related
to area field.
1 When the user selects a All the available related to sub area
name from the related to for the particular area will be
area field and presses tab populated in the related to sub area
field.
2 When the user selects a All the approval stages for Create and
particular sub area from the Approve Poll Screen of Opinion Poll
sub area field and presses module assigned for that sub area to
tab the user will be populated in the
stage field.

74
3 When the user selects any of The list of all polls in that stage for a
the available stages from the particular (areasub-area) starting
stage drop-down and on or after Sysdate and ending on or
presses tab before Sysdate+30 will be shown in
the list section. If the user wants to
change the date then he/she can
change the date and filter the list
further.
4 When the user changes the If the user enters a valid date then the The date should not be less than
start date and presses the focus will go to the end date field. the Sysdate and also should not be
tab And those polls having start date more than the end date (default
greater than or equals to the given value).
date and ending on or before the
specified default end date will be
shown in the list.
5 When the user changes the All the polls starting from or after the End date cannot be less than the
end date and presses tab specified start date and ending on or start date
before the specified end date will be
listed for a particular set of
(areasub-areastage)
6 When the user clicks on the Only the records of the polls which
my approval pending check are to be approved by the user will be
box listed in the list section for the
particular set of selection.

1.5.6.3.2 List section


Description

This section lists the name of the polls of a particular subarea of the related area along with its current
stage in the approval process, the start date & time , the end date & time, Auto repeating status,
remarks allowed status, result sharing with the participants status etc. with the Edit/view and Delete
button for each record in the list.

Special Notes: For all the common fields in the list section refer to the section 1.5.1.1

Sl# Label Tab- Field Data Default Other Format Manda Business significance Remarks
orde Type type Value values mask tory
r (Y/N)
1 Record 1 Refer to 1st row of the section 1.5.1.1
per page

2 Search by 2 Refer to 2nd row of the section 1.5.1.1

3 New 3 Refer to 3rd row of the section 1.5.1.1

4 Sl# No Display Number Shows the indexes of


the records populated
in the list

75
5 Topic Display Varchar Displays the name of
the poll

6 Related display Varchar Helps to identify the


to sub particular sub area
area name for which the
name poll is created.

7 Current Display Varchar Displays the current


Stage stage of the poll in the
defined approval
process for that
related to sub area

8 Start Display Date- Helps to identify the


Date & Time start date and time of
Time the particular poll

9 End Date Display Date- Helps to identify the


& Time Time end date and time of
the particular poll

10 Auto Display Boolean Identifies whether the


Repeatin poll is repetitive or not
g

11 Remarks Display Boolean It identifies whether


Allowed the poll allows to post
remarks or not

12 Result Display Boolean Indicates about the


shared sharing of the result
with whether it is shared
participa with the participants
nts or not

13 Edit/View Refer to 6th row of the section 1.5.1.1

14 Delete Refer to 7th row of the section 1.5.1.1

15 First ( |< ) Refer to 10th row of the section 1.5.1.1

16 Previous ( Refer to 11th row of the section 1.5.1.1


<)

17 Next ( > ) Refer to 12th row of the section 1.5.1.1

18 Last Refer to 13th row of the section 1.5.1.1


( >| )

76
19 Page No Refer to 9th row of the section 1.5.1.1

Screen Events actions and validations

Special Note: For all the common events, actions and validations in a list section refer to section1.5.2.2

Sl# Event Action Validation


1 When the user clicks the All the values for the related area Here the module name is set to
new button field for the selected module will be Opinion Poll.
populated.
2 When the user clicks the All the associated information for the
edit/view button particular poll will be populated in the
fields in the screen
3 When the user clicks delete The corresponding poll will be
button rejected.

1.5.6.3.3 Edit section


The edit section is again divided into five sub sections which are described as follows.

3.1 Define the topic section


Description

This section is used to define the topic/poll name for a poll. The poll is defined for a particular related to
area and sub area of that area. This section also defines the start date and the end date for the poll with
the times in HH: MI format. All the fields in this section are mandatory.

Special Notes: If the user clicks the new button this section will open with all the fields containing their
default values. If the fields have no default value then those will be populated containing null values, but
if the section is loaded after clicking the edit/view button then the fields will contain all the
corresponding values for that particular record.

Sl# Label Tab- Field Data type Default Other Format Manda Business significance Remarks
orde Type Value values mask tory
r (Y/N)
1 Related 1 Drop- Varchar Any defined Y Selects the required
to area down related to related to area defined
area name for the module
“opinion poll”
2 Related 2 Drop- Varchar Any defined Y Selects the required
to sub down related to related to sub area for
area sub area the area in which poll
name name for is to be defined.
the selected
area name

77
3 Topic 3 Text Varchar Y Defines a name for the
Box poll for the selected
sub area of an area

4 Start 4 Text Date DD/MO Y Defines the poll start


Date Box N/YYYY date. It indicates the
date after which the
participants can vote
for the poll.

5 Time 5 Text Numeric HH Y The time with the date Defines


Box gives the actual time the time in
on the start date after hour
which voting can be
6 Text Numeric MI Y Defines
started.
Box the time in
minute

7 Drop- Varchar AM PM Y
down

6 End 8 Text Date DD/MO Y It indicates the poll


Date Box N/YYYY end date till which the
polling is allowed.

7 Time 9 Text Numeric HH Y The time with the date Specifies


Box gives the actual time the hour
on the end date after part of the
which voting is not time
allowed for that poll.
10 Text Numeric MI Y Specifies
i.e. the allowed
Box the minute
participants cannot
11 Drop- Varchar AM PM Y vote for the poll after Sets the
down this date and time. time
format
whether
AM or PM

Screen Events actions and validations

Sl# Event Action Validation


1 When the section is All the available related areas for
loaded the module opinion poll will be
populated in the related area
field

78
2 When the user All the available related to sub
selects a name from area for the particular area will
the related to area be populated in the related to
button and presses sub area field
tab
3 When the user enters If the date is a valid one then The date format is to be checked. This field
the value in the focus goes to the hour field should contain a valid date. The specific
start/end date field (denoted by HH) format to be checked is DD/MON/YYYY. Date
and presses tab should not exceed the dates of the
corresponding month. E.g. month June (JUN)
cannot have date as 31st and February (FEB)
cannot have date more than 28th each year.
MON should contain the valid abbreviation for
each month as specified above.
4 When the user enters If the hour is a valid one then The value in the hour field will be checked and
the value in the time focus goes to the minute field it will accept only numbers. The number in
field (hour field) and (denoted by MI) this field should be between 0 and 12.
presses tab
5 When the user enters If the minute is a valid one then The value in the minute field will be checked
the value in the time focus goes to the AM/PM field and it will accept only numbers. The number
field (minute field) (denoted by MI) in this field should be between 1 and 59.
and presses tab
6 When the user The time will be set by the
selects the AM or PM selected option.
from the AM/PM
Drop-down

Define the participants section


Description

This section is used to define the participants for a particular poll. The participants are chosen college
wise. They can be from more than one college also. After selecting the name of the colleges other
groups of participants will be chosen from all the selected colleges. The different groups of participants
are Current Students, parents, Alumni, Staffs, Applicants and other groups such as external users and
previously defined groups.

Special Notes: By default all the colleges will be selected and all the participants will be chosen from all
the colleges. If the user chooses limited colleges then participants will be selected only from those
selected colleges.

Sl# Label Tab- Field Data type Default Other Format Manda Business significance Remarks
orde Type Value values mask tory
r (Y/N)
1 Assign Refer to the section 1.5.1.3.5
Colleges

79
2 Current 7 Radio Boolean All, Limited Specifies whether all All the
Student Button the current students students
will be selected or from only
limited students will the
participate in the selected
polling colleges

3 Assign Refer to the section 1.5.1.3.2


Current
Students

4 Staff 9 Radio Boolean All, Limited Specifies whether all


Button the Staffs will be
selected or limited
staffs will participate
in the polling

5 Assign Refer to the section 1.5.1.3.1


Staffs

6 Alumni 11 Radio Boolean All, Limited Specifies whether all


Button the Alumni will be
selected or limited
alumni will participate
in the polling

7 Assign Refer to the section 1.5.1.3.3


Alumni

8 Parents 13 Radio Boolean All, Limited Specifies whether all


Button the Parents will be
selected or limited
parents will participate
in the polling

9 Assign Refer to the section 1.5.1.3.2


Parents

10 Applican 15 Radio Boolean All, Limited Specifies whether all


ts Button the Applicants will be
selected or limited
applicants will
participate in the
polling

11 Assign Refer to the section 1.5.1.3.6


Applican
ts

80
12 Other 17 Check Boolean All, Limited Specifies whether all
predefin Box the defined groups will
ed be selected or limited
groups groups will participate
in the polling

13 Assign Refer to the section 1.5.1.3.4


defined
groups

14 External 18 Check Boolean Specifies whether


Users Box external world can
participate in the
polling or not

15 Send 19 Check Boolean Specifies whether the Notificatio


Email Box notification to the n along
participants will be with the
sent through mail or URL will be
not sent
through
mail.

16 Send 20 Check Boolean Specifies whether the Notificatio


SMS Box notification to the n along
participants will be with the
sent through SMS or URL will be
not sent
through
SMS.

17 Send 21 Check Boolean Specifies whether the Notificatio


Enotice Box notification will be n along
sent to the Enotice or with the
not URL will be
published
in the
Enotice.

Screen Events actions and validations

For the events of the common section please refer to the Common sections of the screens

Sl# Event Action Validation

81
1 When the user All the current students from the selected colleges
selects all option from the assigned colleges field will be selected as the
from the current participants for the poll.
students field
2 When the user The assign student and parent section will be loaded
selects limited option with all the available students from all the previously
from the current selected colleges in the assigned colleges’ field. Then
students field user needs to select the students, whom he wants to
allow as participants for that poll
3 When the user All the current staffs from the selected colleges from
selects all option the assigned colleges field will be selected as the
from the staffs field participants for the poll
4 When the user The assign staffs section will be loaded with all the
selects limited option available staffs from all the previously selected
from the staffs field colleges in the assigned colleges’ field. Then user
needs to select the staffs, whom he wants to allow as
participants for that poll
5 When the user All the alumni from the selected colleges from the
selects all option assigned colleges field will be selected as the
from the alumni field participants for the poll
6 When the user The assign alumni section will be loaded with all the
selects limited option available alumni from all the previously selected
from the alumni field colleges in the assigned colleges’ field. Then user
needs to select the alumni, whom he wants to allow
as participants for that poll
7 When the user All the parents of the current students from the
selects all option selected colleges from the assigned colleges field will
from the parents field be selected as the participants for the poll
8 When the user The assign student and parent section will be loaded
selects limited option with all the available students from all the previously
from the parents field selected colleges in the assigned colleges’ field. Then
user needs to select the students, whose parents he
wants to allow as participants for that poll
9 When the user All the applicants from the selected colleges from the
selects all option assigned colleges field will be selected as the
from the applicants participants for the poll
field
10 When the user The assign applicants section will be loaded with all
selects limited option the available applicants from all the selected colleges
from the applicants earlier in the assigned colleges’ field. Then user needs
field to select the applicants, whom he wants to allow as
participants for that poll
11 When the user Then assign defined groups will be populated with all
checks the groups the previously defined groups in the available groups
defined field list box
12 When the user Then the poll will be made available for the external
checks the external world to participate and vote
users field
13 When send Email Poll notification along with invitation to participate
field is checked and the URL of the poll will be sent to the participants
defined for that poll through Email

82
14 When send SMS field Poll notification along with invitation to participate
is checked and the URL of the poll will be sent to the participants
defined for that poll through SMS
15 When send Enotice Poll notification along with invitation to participate
field is checked and the URL of the poll will be published for the
participants defined for that poll through Enotice

Define poll repetition status section


Description

This section defines whether the poll will be repeated or not. If the poll is to be repeated then also
defines all other essential information regarding the poll repetition as what is the interval of repetition
and when the process of repetition will start and also when the repetition will end.

Special Notes: If the repetition option is checked then the next set of options prompts for the duration of
the repetition.

Sl# Label Tab- Field Data type Default Other Form Mandato Business Remarks
orde Type Value values at ry (Y/N) significance
r mask

1 Repeat 1 Check Boolean Unchec Checked Indicates whether


Box ked the poll is to be
repeated
automatically
after certain
interval or not
2 Period 2 Drop- Varchar Day of the Y(if Specifies the
down Week, Date repeat is interval in which
of the checked) the poll will be
month, repeated
Month and automatically.
date of the
Year, After X
days

3 Day 3 Drop- Varchar All Y(if Day Day of the week


down weekdays of of the indicates the
the week Week is particular day of
selected) each week on
which the
particular poll will
be repeated.

83
Date of Last Drop- Number 1-28 (As we Y(if Date Date of the
month tab down cannot poll of the month indicates
inde on date >28 month or the particular
x+1 in each Date and date in each
month) month of month on which
the Year the created poll
is will be repeated.
selected)

Month 3 Drop- Varchar All the Y(if date Month specifies This will take
down months in a and the particular effect with the
year month of month in each combination of
the Year year on which the the date field
is poll will be for the option
selected) repeated. Month and
date of the Year

After 3 Text Number Any number Y(if After Specifies the no.
days box X days is of days after the
selected) end of the poll
that will be
repeated again

4 Repetiti Last Text Number The Y(if Defines the Indicates the
on tab Box duratio repeat is duration for the no. of days
duration inde n checked) repeated poll between the
in days x +1 betwee start date and
n the end date of a
specifie poll
d start
date
and the
end
date in
the
topic
creation
sub
section.

84
5 Start Last Text Date DD/M Y Defines the start After the start
Date inde Box ON/Y date after which date the
x+2 YYY the repetition of subsequent
the poll will be repetition of
started. polls will be
carried out
until the Till
date is met.

6 Time Last Text Numeric HH Y It is used to Specifies the


inde Box define the time hour part of the
x+3 on the particular time
date after which
Last Text Numeric MI Y Specifies the
the repetition will
inde Box minute part of
be started. From
x+4 the time
this date the first
Last Drop- Varchar AM PM Y repetition will be Sets the time
Inde down started. format whether
x+5 AM or PM

7 End Last Text Date DD/M Y This date specifies


Repeat inde Box ON/Y the date up to
Date x+6 YYY which the
repetition of the
poll will be carried
out. E.g. if the poll
is to be repeated
for the whole
year and the
repetition
frequency is
monthly then the
repetition of the
poll will be carried
out in every
month up to the
specified End
Repeat date

8 Poll End Last Text Numeric HH Y It is used to Specifies the


Time inde Box mention the time hour part of the
x+7 by which the poll time
will finish on the
Last Text Numeric MI Y Specifies the
calculated end
inde Box minute part of
date for each
x+8 the time
repetition. E.g. if

85
Last Drop- Varchar AM PM Y the calculated Sets the time
Inde down end date for any format whether
x+9 of the repetition AM or PM
of a poll is 12-
AUG-2010 and
the specified end
time is 04:00 AM
then the poll will
finish on 12-AUG-
2010 at 04:00AM

Screen Events actions and validations

For all the common section events please refer to the common section

Sl# Event Action Validation


1 When the user checks the The repeat section becomes visible If repeat field is not checked then the
repeat field along with all specified fields. The repeat section will not be visible.
period field will be populated with
the corresponding values as
defined (Day of the week, Date of
a month, Date and month of a
year, after X days).
2 When the user selects an All the related sub fields will If repeat field is checked the period
option from the period field become visible listed by their field cannot be left blank.
and presses tab specific values. (The sub fields are
Day, Date of month, Month). If the
user selects the ‘Day of the week’,
then the ‘Day’ field will be visible
asking for the name of the week
day. If the ‘Date of month’ is
selected then the month field will
be visible asking for the date of
the month. If the ‘Date and month
of year’ is selected then both the
‘month’ and the ‘date’ will become
visible asking for the month and
date for each year. And finally if
‘After X days’ is selected the field
‘After days ’ will be shown asking
for the no. of days for each
repetition.
3 When the user selects the The date of the month field will be If repeat field is checked this field
option date of the month shown and the field will be cannot be left blank. Date should be in
from the period field and populated with the values ranging between 1 and 28 as every month has
presses tab from 1 to 28. these dates in common.

86
4 When the user selects the The month field and the date of If repeat field is checked, The month
option date and month of the month field will be shown and field cannot be left blank.
the year from the period month field will be populated by
field and presses tab the three lettered abbreviations
for each month in a year
5 When the user selects a The date of the month field will be If repeat field is checked, The date of
particular month in the populated with the dates of that the month field cannot be left blank.
month field and presses tab month
6 When the user enters the Only numeric value will be accepted by
value in the After days field this field. If repeat field is checked this
and presses tab field cannot be left blank.
7 When the user enters the Only numeric value will be accepted by
value in the Repetition this field. If repeat field is checked this
duration in days field field cannot be left blank.
8 When the user enters the If the date is a valid one then focus The date format is to be checked. This
value in the start date field goes to the hour field (denoted by field should contain a valid date. The
and presses tab HH) specific format to be checked is
DD/MON/YYYY. Date should not
exceed the dates of the corresponding
month. MON should contain the valid
abbreviation for each month.
9 When the user enters the If the hour is a valid one then focus The value in the hour field will be
value in the time field (hour goes to the minute field (denoted checked and it will accept only
field) and presses tab by MI) numbers. The number in this field
should be between 1 and 23.
10 When the user enters the If the minute is a valid one then The value in the minute field will be
value in the time field focus goes to the AM/PM field checked and it will accept only
(minute field) and presses (denoted by MI) numbers. The number in this field
tab should be between 1 and 59.
11 When the user selects the The time will be set by the
AM or PM from the AM/PM selected option.
Drop-down
12 When the user enters the The start date and time should not be
value in the start date and less than sysdate and also should not
time and presses tab be greater than end date.
13 When the user enters the The till date and time should not be
value in the till date and time less than start date and time.
and presses tab

Define result publication option section


Description

This section defines about the result publication whether the result will be sent to the corresponding
functionary and participants or not. It also defines whether the result will be shared by all or not.

Special Notes: If the ‘Email results to related sub area functionary’ option is checked then the poll
notification to the functionary of that sub area will be forwarded automatically after the approval of the
poll by the assigned authority.

87
Sl# Label Tab- Field Data type Default Other Format Manda Business Remarks
orde Type Value values mask tory significance
r (Y/N)

1 Email 1 Check Boolean Specifies whether Results will be


results Box the results will be sent to the
to sent to the related sub
related related sub area area
sub area functionary or not functionary
function
ary
2 Publish 2 Check Boolean Specifies whether All indicates to
results Box the results will be everyone
to all published to the whether the
public or not user is a
participant or
not

3 Results 3 Check Boolean Specifies whether This indicates


shared Box the results will be the sharing of
with shared with the the result
participa participants or publication
nts not notice.

Send 4 Check Boolean Specifies whether


Email Box the notification to
the participants
will be sent
through Email or
not

Send 5 Check Boolean Specifies whether


SMS Box the notification to
the participants
will be sent
through SMS or
not

Send 6 Check Boolean Specifies whether


Enotice Box the result
publication notice
will be published
in the Enotice or
not

Screen Events actions and validations

88
Sl# Event Action Validation
1 When the user It is set for the future that the results of the
checks the email particular poll will be sent to the respective
result to the related related functionary of that poll
area functionary field
2 When the user It is set for the future that the results of the
checks the publish particular poll will be published for the public
results to all field
3 When the user It is set for the future that the results of the
checks the result poll will be shared with the participants
shared with
participants field
4 If the via email option Then the result publication notification will
is checked be shared with the participants through their
email address.
5 If the via SMS option Then the result publication notification will
is checked be shared with the participants through SMS
to their mobile numbers.
6 If the via Enotice Then the participants will be notified through
option is checked Enotice

1.4 Create Question section


Description

This section is used to define the sets and the questions with the answers for a particular poll. This
section provides facility to define multiple types of question. Such are questions of single choice option,
questions of multiple choice with selection option and also questions of multiple choice with ranking
option. In case multiple choice options the user can limit the no of options can be chosen by the voter.
In case of single choice radio button will be given to the options, in case of multiple choices with
selection check boxes will be given to the options and in case of multiple choices with ranking text boxes
will be attached with the options asking for the rank for that option.

Special Notes: By default user can create a simple poll which contains one set with default value 1 with
multiple questions, but by checking the advanced option the user can create advanced poll with multiple
sets in a single poll. By default all the weightages field set to 1. The fields named option and option
weightage will be repeated as per the no of options field. If the no of options field is 3 then the option
field and the option weightage field will be repeated for 3 times prompting for three options along with
their weightages.

Sl# Label Tab- Field Data Default Other Format Manda Business Remarks
order Type type Value values mask tory significance
(Y/N)

1 Advance 1 Check Boolean Uncheck Checked Specifies whether


d Box ed it is a simple poll
or an advanced
poll

89
2 Minimu 2 Text Number Defines minimum If the no of
m % of Box number of votes votes for a poll
required for a particular will not exceed
vote poll the minimum
value then the
analyst will be
prompted to
discard the poll

3 Analysis 3 Check Boolean unchecke checked Specifies whether If analysis for a


Require Box d analysis for the question is
d question is allowed then
allowed or not analysis for the
poll and the set
to which the
question
belongs will be
allowed
automatically

4 Remarks 4 Check Boolean unchecke checked Specifies whether If remarks


allowed Box d remarks for the allowed for the
(poll whole poll (all poll then user
wise) questions of that can give
poll) remarks to all
the questions
of that poll
while voting.

5 Unremo 5 Button User selects this if This button will


ve he/she wants to only be enabled
undo a delete if the particular
operation poll was
deleted
previously.

6 Set Last tab Text Number 1(Disable Any Y(If Defines the name An advanced
index+1 Box d) number advanc for the Set in a poll can contain
ed is poll. If advanced multiple sets
checke is checked then
d) this becomes
enable

90
7 Set Last tab Text Number 1(Disable Any Y(If Defines the If advanced is
weighta index+2 Box d) Number advanc weightage for the checked then
ge ed is set this becomes
checke enable
d)

8 Questio Last tab Text Varchar Y Defines the


n index+3 Area question

9 Questio Last tab Text Number 1 Y Defines the


n index+4 Box weightage for the
Weighta question
ge

10 Answer Last tab Drop- Varchar Single Multiple Y Defines the type Type of options
Type index+5 down choice choice with of option for the means whether
selection, question it is single
multiple choice or
choice with multiple
ranking choices with
selection or
multiple
choices with
ranking

11 No of Last tab Text Number Any Y Specifies the no


options index+6 Box Number of options for that
question

12 No of Last tab Text Number 1(for Any Y Limits the no of


options index+7 Box single number options to be
to be choice), less than selected by the
selected No of no of user while voting
options options
(for
multiple
choices)

91
13 Option Last tab Text Varchar This field defines The options can
index+1 Box the options for be like YES, NO,
the question. This CAN’T SAY etc
field will be
repeated for the
no of options
times hence the
tab index will be
incremented so
on

Option Last tab Text Number 1 Any This field defines


weighta index+2 Box number weightage for the
ge corresponding
option. This field
will be repeated
for the no of
options times
hence the tab
index will be
incremented so
on

14 Copy Last tab Text Number 1 Any This will copy all This avoids the
from index+1 Box defined the previously rework. The
question question defined options user only needs
number number for the question to define the
along with all question. After
other parameters copying the
user can
change any
parameter.

15 Remarks Last tab Check Boolean unchecke checked Specifies whether If remarks
allowed index+2 Box d remarks for the allowed for the
(questio question question then
n wise) user can give
remarks to the
question while
voting.

92
16 Add Last tab Button When the user After clicking
more index+3 wants to add this button
question more questions to another block
the set he need to of question
click on this along with all
button the associated
fields as
mentioned
above in this
table will come
with the
incremented
tab index for
each field.

17 Add Last Button When the user After clicking


more index+4 wants to add this button
sets more sets to the another section
poll he need to of set will be
click on this displayed
button(This containing all
button will only the fields as
be visible if the mentioned
advanced field is above in this
checked) table with the
incremented
tab index for
each field.

18 Current Last tab Display Varchar Any Displays the


Stage index+1 defined current stage
poll name in which
approval the user is
stage name

19 Select Last tab Drop- Varchar Current Stage This enables the Only those
Stage index+2 down Stage where user to move stages will be
stage between different populated on
order>last stages of approval which the user
stage to see the status has the rights.
where the (and modify (i.e. to the
poll was anything if stage to which
submitted required) of the the user is
polls in between assigned as an
the approval approver)
stages.

93
20 Remark Last tab Text Varchar User can give
index+3 Area remarks on the
poll in a particular
stage through this
field

21 Save Last tab Refer to the 4th row section 1.5.1.1


index+4

22 Cancel Last tab Refer to the 5th row section 1.5.1.1


index+5

23 Submit Last tab Butt User clicks on this If the user is in


index+6 on to send the poll to the last level of
the next level of approval then
approval once the poll will be
he/she has published in
created or the polling page
reviewed the poll. and the polling
will be started
once it meets
the start date
and time

24 Date Disp Shows the date


lay on which the poll
was last approved
or created

25 Stage Disp Shows the stage


lay name on which
the poll was last
approved or
created

26 Approve Disp Shows the name


d By lay of the approver
by whom the poll
was last approved
or created

27 Remarks Disp Shows the


lay remarks that has
been posted for
the poll when it
was last approved
or created

94
Screen Events actions and validations

Sl# Event Action Validation


1 When the section is Then all the fields will be displayed with
loaded by clicking the their respective value, if remarks is
edit/view button allowed to each question then remark
allowed for the entire poll will be
checked otherwise it was not checked.
And if the poll is an advance one then
only advanced field will be checked and
question will be displayed in set wise
manner.
2 When the user The set option and the set weight
checks the advanced option will be enabled along with the
field Add more sets button will become
visible.
3 When the user enters It will check for the numeric values. This
value in the minimum field will accept the value between 1
percentage of and 100
required votes field
4 When the user Then analysis is allowed for the poll.
checks the analysis
required
4 When the user This checks all the remarks allowed field
checks the remarks displayed for each question which
allowed field in the enables the participant to post
upper section used comment for all the questions of the
for the poll poll.
5 When the user enters This field will only accept the numeric
the value in the set values
field
6 When the user enters It will check for the numeric values only.
the value in the set
weightage field
7 When the user enters It will check for the numeric values only.
the value in the
question weightage
field
8 When the user The answers for that question will be
selects any value in defined by that type. E.g. if the single
the answer type field choice is selected then the options will
be defined by the radio button, if the
multiple choice with selection is defined
then the options will be defined by the
check box and if the multiple choice
with ranking is selected then options
will be defined by the help of a text box
aside to each option. If the selection will
be for any of the multiple choice then
no of options to be selected field will be
enabled.

95
9 When the user gives Then that no of option fields and their Must be numeric value.
any value to the no of corresponding weightage fields will be
options field and populated in the section
presses tab
10 When the user gives Then the question will allow the voter The no of options to be selected should
any value to the no of to select only that much of options to not be greater than the total no of
options to be select during polling. options for that question and must be
selected field numeric value
11 When the user gives The options with all other parameters For the first question this must be in
the value in the copy except the question will be copied from disable form.
from the question the specified question in the field to the
field current question. The user can change
the copied values later.
12 When the user It is set for the future that during polling
checks the remarks the voter can post remark for that
allowed field used for particular question.
the specific question
13 When the user clicks Another section for the question
on the add more creation will become visible through
questions button which another question can be created
for the particular set
14 When the user clicks Another section for the set creation will
on the add more sets become visible through which another
button set can be created for the particular set
15 When the user The current poll will be moved to that Only those stages to which the user is
changes the value in stage and will be reviewed in that stage. assigned as the functionary and the
the select stage field stage order of that stage >the stage
order of the last stage where the poll
was submitted will be shown in the
select stage field

96
16 When the user clicks The poll along with all the essential For the define topic section-
the save button details will be saved and the status for None of the mandatory fields
that poll will be set to saved against the mentioned above can be left blank. The
user in that stage. start date and time cannot be greater
than the end date and time. The hour’s
field denoted by HH cannot be greater
than 12 and the minute field denoted
by MI cannot be greater than 59 and
these fields should only accept numeric
values. If the user is in the stage 1 then
the start date cannot be less than
Sysdate.

For the define participant section:


At least any of participants field should
be chosen. All the fields cannot be left
blank
If not all option is chosen then one of
the limited option is to be chosen and
the corresponding assign field at least
contain one value

For define poll repetition status section-


If repeat check box is checked, All the
mandatory fields should be filled. Start
date and time must be less than that of
end repeat date and end time.

For result publication option section-


The status of the result shared with
participants’ field will be checked. If the
status is checked then any of the
communication option must have to be
checked.
16 When the user The poll will be approved in the current All the validations will be same as the
presses the submit stage by the user and will be moved to validation for the save button
button the next stage. If the user is in the last mentioned in the above row.
stage who clicks on submit for the poll
then the poll will be published for the
polling and will be available in the
polling page only when the start date is
met by the poll.
If submit button is clicked the status of
that poll will become submitted for that
user.

1.5.7 Opinion pollPollpolling


1.5.7.1 Purpose
This screen is meant for facilitating the voting process which enables the allowed participants to vote for
a poll. The voter can have save and submit options by using which he/she can save his/her selection for
a particular poll and submit when he/she wants within the end date and time of the poll.

97
1.5.7.2 Brief Description
The polls will be displayed to those who are allowed to participate. The questions with answers will be
populated in the screen partitioned by their corresponding sets. User needs only to choose the options
and save and finally submit the poll. A timer displays the remaining time for the end of that poll by
which the participant will get a clear notice about by which time he/she can submit his/her votes. This
screen facilitates the filtration of the polls by selecting the answered and unanswered questions,
question from a specific set, no of questions per page etc.

1.5.7.3 Layout (Screen shots)


The screen is divided in to two sections. One is the list page displaying the list of available polls and
another is the detail section displays the details of the selected poll from the list page.

1.5.7.3.1 List page


Description

This section enlists the essential information regarding polls along with their poll name, related area,
related sub area, time left for voting, user’s voting status and the poll status also specifying whether the
poll is running or completed or to be started and finally vote now option if the poll is not yet been voted
and the poll status is running. All the fields and their significance are described in the table below.

Special Notes:

Sl# Label Tab- Field Data Default Other Format Mand Business significance Remarks
order Type type Value values mask atory
(Y/N)
1 Show polls 1 Text Date Sysdate DD/MON N It will filter the polls This date
having End box /YYYY whose end date for cannot be
date voting lies within the greater than
between given dates. the second
DD/MON/YY date
YY to
2 Text Date Sysdate DD/MON This date
DD/MON/YY
box +30 /YYYY cannot be
YY
less than
the first
date

2 Record per 3 Refer to 1st row of section 1.5.1.1


page

3 Search by 4 Refer to 2nd row of section 1.5.1.1

4 Sl no Display Number It will show the


indexing for the polls

98
5 Area::SubAr Display Varchar Area::Su Helps to identify the
ea bArea area name and sub
Area name for which
the poll is created. The
area names which were
under the opinion poll
module will be
displayed for this
purpose.

6 Topic name Display Varchar It defines the name of The polls


the poll. It also displays will be
the repetition number displayed to
of the poll if it is a those who
repetitive one are allowed
to
participate.

7 Time left Display Varchar X Days It will show the


Y Hours remaining time to vote
Z Mins for each poll.

8 Poll status Display Varchar Runnin Displays the status of


g, To the poll. If the end date
Be is over then status will
Starte be completed, if the
d, end date is not over
Compl and start date is less
eted than sysdate then the
poll is running else if
the start date is greater
than the sysdate the
status will be to be
started

99
9 My voting Display Varchar Compl It will show the voting
status etely status of the user. The
Voted, status Partially Voted
Partiall means that the user
y not yet voted for all the
Voted questions in the poll,
and likewise the status
Not Completely Voted
Voted means the user has
Yet voted for all the
questions in that poll
and the status not yet
voted means the user
not yet voted for any of
the question in that
poll

10 Vote now Button Vote When the user clicks on


this button all the fields
of the voting section
will be populated with
the respective values
from the list.

11 Sorting Refers to the 8th row of the section 1.5.1.1

12 First ( |< ) Refers to the 10th row of the section 1.5.1.1

13 Previous Refers to the 11th row of the section 1.5.1.1


(<)

14 Next ( > ) Refers to the 12th row of the section 1.5.1.1

15 Last ( >| ) Refers to the 13th row of the section 1.5.1.1

16 Page Refers to the 9th row of the section 1.5.1.1


Number

Screen Events actions and validations

Special Notes: For all common events for this list section please refer to the section 1.5.1.2

Sl# Event Action Validation

100
1 When the list section Only the approved polls will be listed The values for the date fields between
is loaded in the list. The list will contain that will be sysdate and sysdate+30.
many number of polls to Which the
user has the permission for voting .The
polls will be displayed in the order
displaying minimum time left and then
orders the partially voted polls then
the polls which are not voted Yet and
finally the polls which are completely
voted.
2 When user enters Then the polls having the matching The first date cannot be greater than the
date in the field show records will be displayed in the list second date and similarly the second
poll having end date section whose end date is in between date cannot be less than the first date.
between x and y and the provided value
presses tab.(here X is Value of x must be less than that of value
date-1 and Y is date- of y.
2)
And the value of x should be greater than
or equal to sys date.

3 When the user clicks Then the vote section will be displayed If the poll status is completed, then the
the vote now button with the respective fields containing detail section will not open and also
the corresponding values in that field when the poll status is to be started then
i.e. respective poll name, related to
the detail section will not open showing
area will displayed at the top along
the message that the poll will be started
with other fields. Such as the
questions and the answer options etc. on the specified date. If the poll is
discarded or discontinued then also an
alert will indicate the discard or
discontinued status of that poll.

1.5.7.3.2 Polling Detail section


Description

In this section the user can give votes for the selected poll. This section of the page will provide the
information to the user about total no. of questions in the poll to vote, how many questions were left to
vote and the total no. of answered questions. The other option facilitates the filtration of the questions
in the poll to see in a suitable and eye catching way. The different options are filtration by set wise,
filtration by the means of answered and unanswered questions and also the paging feature provides the
option to see the required no of questions in a page. The detail section facilitates the saving and
submission option when ever required. If someone wants to save the votes and submit the choice after
some days he/she can do that.

Special notes:

101
Sl# Label Tab- Field Data type Defau Other Format Manda Business significance Remarks
order Type lt values mask tory
Value (Y/N)
1 Topic Display Varchar It will show the
respective poll name
which is selected from
the list section.

2 Related Display Varchar Related It will show the related


Sub Area: area name along with
Area Related related sub area name
sub area of the respective poll.
Only those functional
areas will be populated
which were under the
opinion poll.

3 Time Display Varchar W Days It will show the The timer will
left X hours remaining time to vote act like an
Y Minutes for the respective poll. indicator
Z Seconds showing the
remaining
time.

4 Ques#/ 1 Text Number 3 Any two This field illustrates The user can
Page box digit how many questions see any
number will be shown at a time number of
greater in the page. questions in
than zero the page
starting from
1 to total no
of questions.

5 Show 2 Drop Varchar All Unanswe It filters the questions It will help in
by down red depending upon the identifying
Question options chosen. On the
s/ selecting Answered unanswered
Answere Questions only the questions
d questions have been quickly and
Question answered will be easily.
s populated. And same
for the other option.

102
Sl# Label Tab- Field Data type Defau Other Format Manda Business significance Remarks
order Type lt values mask tory
Value (Y/N)
6 Set 3 Drop Varchar All Different This field is used to By default all
down set filter the polls set wise. sets will be
names of shown
the
selected
poll.

7 Total Display Number Display the total no. of


questio questions in the poll.
ns

8 Answer Display Number It displays the no. of


ed answered questions by
the user.

9 Un- Display Number It displays the no. of


answer un-answered questions
ed by the user.

10 Set Display Varchar This shows the set The sets will
name of the selected be displayed
set. as one
following
other if
multiple sets
are selected
at a time

11 Questio Display Varchar This represents the The


n question for which the questions are
user is going to answer. numbered in
the display
sequence
always. There
is no internal
numbering of
the question

103
Sl# Label Tab- Field Data type Defau Other Format Manda Business significance Remarks
order Type lt values mask tory
Value (Y/N)
12 Answer 4 Fields If the answer type is If the answer
s depend single choice then the type is
s up on answer options will be multiple
the displayed with radio option with
answer buttons. ranking then
type there will be
given If the answer type is another field
by the multiple choices with valued as
user rank then the answer reset
options will be selection
displayed with text
boxes.

If the answer type is


multiple choices with
selection then the
answer options will be
displayed with check
boxes.

13 Show 5 Display Varchar This is placed as a This will only


Result (Hyperl hyperlink which will be be visible if
ink) used to see the online the status for
result of the poll during show online
polling. result for the
poll is set to
‘Y’

14 remark Last Varchar This field will be


s tab available only if the
index remarks are allowed for
+1 that question.

15 First Last Refer to section 1.5.1.1


tab
index
+2

16 Previou Last Refer to section 1.5.1.1


s tab
index
+3

104
Sl# Label Tab- Field Data type Defau Other Format Manda Business significance Remarks
order Type lt values mask tory
Value (Y/N)
17 Next Last Refer to section 1.5.2.1
tab
index
+4

18 Last Last Refer to section 1.5.1.1


tab
index
+5

19 Save Last Refer to section 1.5.1.1


tab
index
+6

20 Cancel Last Refer to section 1.5.1.1


tab
index
+7

21 Reset Last button It resets all the


tab selection for the
index answers in the question
+8

22 Submit Last button When the user wants It will visible


tab to submit the poll then in last page.
index he/ she needs to click On direct
+9 the submit button. clicking the
submit
button one
can save and
submit the
votes at
once.

Screen Events actions and validations

Special Notes: For all common events for this list section please refer to the section 1.5.1.2

Sl# Event Action Validation


1 When the section is All the fields will be loaded with
loaded their stored values. The questions
per page field will contain the
value as 3 in this case.

105
2 When the user Then the corresponding set will
selects any set from be populated.
the set field and
presses tab
3 When user enters the The specified number of This field will only accept numeric values; the
no. of question in a questions will be displayed. max length is set to 2in this case.
page text box and
presses tab
4 When user selects The questions will be displayed as
any per the format specified in the
Item from show by show by field. If the user selects
combo box and the unanswered option then all
presses tab the unanswered questions will be
displayed in the page and if the
user chooses the answered
option then all the answered
questions will be displayed in the
page.
5 When the user clicks The result for that particular This option will only be available if the option
on the view result question will be displayed in for show online result is taken as ‘Y’ while
option another pop up window. creating the poll.
6 When the Reset It resets all the answer option
button is clicked selections for all the questions
displayed in the page.
7 When the user User can’t choose more option than the value
answering multiple provided in the “number of option to be
choice with selection selected” field during the creation of the poll.
questions
8 When the user User can’t choose more option than the value
answering multiple provided in the “number of option to be
choice with ranking selected“ field of the poll creator and user
questions cannot provide same rank to different option
and user must provide the rank in sequential
manner. E.g. if user asked to provide three
ranks then he/she can only enter 1, 2, 3 digit.
9 When the user clicks All the responses of the voter will
the save button be saved temporarily and the
number of answered, number of
un answered question will be
updated in the top. User can
change the response later if
required. Until the user submits
the votes his/her selections will
not be taken to count.
10 When submit button The responses from the user will Once the opinion is submitted it can’t be
is clicked be saved permanently. After changed.
which the response again cannot
be changed.

106
1.5.8 Opinion PollAnalysis and approval of resultAnalysis Result
1.5.8.1 Purpose:
This screen allows analyzing the response for a particular poll and taking decision. The analyst can post
remarks on the poll response using this screen which will be published along with the question in the
result page. The user can analyze only those polls for which the analysis is required. The analysis will be
done on the basis of the responses of the users. This screen provides various means for getting the
information regarding the poll which will help to grasp a quick perception.

1.5.8.2 Brief Description


It is used to analyze the response of voters for each question of the topic defined for a related sub area
of an area. The results are displayed in terms of statistical data along with graphical representation. It
shows the complete and incomplete response for a particular set of question. This screen goes through
stages of approval for the analysis of the responses by authorized users to post comments for the
questions, sets of each poll and for the poll also.

1.5.8.3 Layout (Screen shots)


The screen is divided into two sections as described in the following section. One is named as the list
section and another is the detail section.

1.5.8.3.1 List Section


Description

This section contains all the information in the form of a list which entails the detailed and updated
analysis and approval information. This will display the current stage of the poll analysis if it has to move
through different stages. The users allowed to analyze the result for a particular poll can only see the
poll result if it is available in that stage. Once the user submits his/her analysis he/she cannot see the
poll again if it is not in the final stage.

Special Notes:

Sl Label Tab- Field Data Default Other Form Mand Business Remarks
# orde Type type Value values at atory significance
r mask (Y/N)
1 End Date 1 Text Date Sysdate It shows the list
Between DD- box -30 of topics with its
MON-YYYY and analysis stages
DD-MON-YYYY having end dates
2 Text Date Sysdate
within the given
box
dates

2 Record per page 3 Refer to the section 1.5.1.1

3 Search by 4 Refer to the section 1.5.1.1

4 Sl. No 5 Display Number It helps to


indexing the list.

107
5 Related to 6 Display Varchar It will show the The
related sub area names will
name along with be
the Area Name displayed
which are under in the
the module following
opinion poll. format
(Related
Area
Name::Rel
ated Sub
Area
Name)

9 Topic name Display number It displays the The list is


:Repeat No name of the topic populated
along with the for a
respective particular
repetition repetition
number. of a poll. If
the poll is
not
repetitive
then by
default it
will be
taken as
one
repetition.

10 Start Date Time Display Date It specifies the I.e. after


date and time that day
when actually the users can
poll will be vote for
started. the
specific
poll.

11 End Date Time Display varchar It specifies the After this


date after which date no
the current one can
repetition of that vote.
poll will become
unavailable.

12 Stage Name Display Varchar It provides the Stages


information that like-

108
the topic is in creating
which stage. stage,
rectifying
stage etc.

14 Edit/View Refer to the section 1.5.1.1

15 Delete Refer to the section 1.5.1.1

16 Sorting Refer to the section 1.5.1.1

17 First(|<) Refer to the section 1.5.1.1

18 Previous(<) Refer to the section 1.5.1.1

19 Next(>) Refer to the section 1.5.1.1

20 Last(>|) Refer to the section 1.5.1.1

21 Page number Refer to the section 1.5.1.1

Screen Events actions and validations

Special notes: For all the common events refers to the section 1.5.1.2

Sl# Event Action Validation


1 When the section is The related to area, related
loaded subarea, topic name, start date
end date and stage name will be
populated

2 When the user clicks Edit section will be displayed with


the edit/ view button all the default value, if any field
does not have default value then
null value will be displayed
3 When the user Then list of those poll repetitions The date in the first text box must be less than
provides any date in will be displayed whose end date that of the second one.
the end date is between the given dates.
between field

1.5.8.3.2 Edit/ Detail Section


Description:

This section provides all the information of the selected poll repeat along with each question and
responses of each option of that question in a set wise manner. The result of previous poll is also
available to the user. After analyzing the detail information user can provide its remark to each
question, each set and also to the entire poll.

Sl# Label Tab- Field Data Defaul Other Form Mand Business Remarks

109
order Type type t Value values at atory significance
mask (Y/N)
1 Topic Display Varchar It defines the name
of the poll which is
under the opinion
poll module for a
particular subarea
of an area.
2 Current Display Varchar It displays the
Status current status of the
poll whether it is
completed or
running.
3 Related Sub Display Varchar It defines the name
Area of the sub area
along with its area
of the
corresponding
topic.
4 Questions/Pa 1 Text Number 3 Number of
ge box questions to be
displayed will
depend on the value
entered in this text
box.

5 Set 2 Drop- Varchar All Set A, Questions will be


down set B displayed
and so depending upon
on chosen set.

6 Eligible Display Number It defines the total


voters number of eligible
participants for the
poll.

7 Set Display Varchar It will display the set


name.

8 Question Display Number It helps for indexing


number the questions.

9 Question Display Varchar It will display the


question.

10 Weightage Display Number It shows the


weightage of the
corresponding
question.

110
11 Answer Display Varchar It defines different For example yes/no,
Options option of the agree/disagree.
question.

12 Weightages Display Number It defines the


corresponding
weightage of each
answer option.

13 Poll Display Number It represents the The response is


Response responses of each printed in terms of
option using a percentage.
progress bar.

14 Votes Display Number It shows the total


number of votes for
a particular option
in actual number.

15 Total voters Display Number It represents total


number of
participants who
were actively
participated in the
polling.

16 Total Display Number Displays the total One voter can select
Response responses from the multiple answers for
eligible voters. a multiple select
question hence
having one voter for
a poll the question
can have more than
one response.

17 Pie chart 3 Button It displays the A graph will be


responses of each displayed after
option in form of pi clicking the pie chart
chart. option.

18 Bar chart 4 Button It displays the In case of SNGLE and


responses of each MSELECT answer
option in form of type questions the
bar chart. bar chart will be
normal and in case of
MRANK a multiline
bar chart will be
displayed.

111
19 Download 5 Button It shows an option
Poll by clicking which
Response in the response will be
Excel downloaded as a
document in the
excel format.

20 Comments 6 Text This field allows the


for question area analyst to post
comments for the
specific question.

21 Show results 7 Display It defines that if the Shows the poll


of previous with analyst wants to repeats by their
repeats option view the previous repetition numbers
as result then he can with a link. By
hyperli get it by clicking the clicking on the link
nk individual option another popup will
displayed in the list. open displaying the
result for the
particular poll
repetition.

22 Over all Last Button A popup will open


tab showing the
index cumulative
+1 response of all the
previous polls.

23 View Last Button A pop up will open The remarks will be


Remarks tab displaying the displayed with the
index remarks for a date on which those
+2 particular question were posted.
in that repetition.

24 Comments Last Text Varchar Analyst can enter These will be


for the set acces area his/her views about displayed at the end
sed the set in this field. of each set.
tab
index
+1

25 First(|<) Refer to the section 1.5.1.1

26 Previous(<) Refer to the section 1.5.1.1

27 Next(>) Refer to the section 1.5.1.1

112
28 Last(>|) Refer to the section 1.5.1.1

29 Comments Text Varchar Analyst can enter


for this poll area his/her remarks about
the poll in this field.

30 Current Text Varchar It indicates the analysis


stage box of poll is in which stage

31 Select stage Drop- Varchar This contains the stages


down to which the user is
assigned as the poll
analysis & approval
user

32 Approval Text Varchar This is the field to


Remarks area accept the approval
remarks from the
authorized user for that
stage.

33 Submit Button This will be displayed If the analysis for


only in the last page. the poll is
This is laced to submit submitted then
the final analysis. this button will
become invisible
and a message
‘You have
submitted the
analysis’ will be
displayed in that
place.

34 Save Refer to the section 1.5.1.1

35 Cancel Refer to the section 1.5.1.1

Screen Events actions and validations

Special notes: For all the common Events please refer to section 1.5.1.2

Sl# Event Action Validation


1 When the Edit section is All the information about the poll along with
loaded response and the remarks in the text area and
other important information will be displayed
2 When user selects any That corresponding questions of the selected
item in set field and set will be displayed.
presses tab

113
3 When the user enter any Only that much number of questions will be User can’t give non-
item in the show number displayed numeric data and the max
of question per page and length of this field is 2.
presses tab
4 When the user clicks on The poll response will be simulated by the help
the pie graph button of a pie chart just below to the answer options
and poll response section.
5 When the user clicks on The response will be displayed by the help of a If the answer type of the
the bar graph button bar graph. question is MRANK, i.e.
Multiple choices with
ranking, then a multiple set
bar chart will open.
7 When the user clicks on Then a document will be downloaded
the download excel image containing the poll response in excel format.
9 When the user selects The corresponding stage will be displayed in the Only the higher order
stage from select stage stages as compared to the
current stage will be
displayed.
10 When the user clicks on A pop up will open to display the response of If no repetitions available
the repetition number to the previous selected repetition in the same then this option will not be
see the response of the format for the specified question. displayed in the analysis
previous repetitions of a page for the question.
poll
11 If the user clicks the The overall response for the specific question If no repetitions are
overall button will be displayed in another pop up window. available then this option
will also not be visible.
12 When the user clicks the The remarks posted for the specific question in
view remarks option the particular repetition will be displayed in
another popup window.
13 when the user clicks the All the analysis will be saved under the selected
save button stage.
14 When the user clicks the The analysis will be cancelled and the detail
cancel button section will be closed.
15 When the user clicks the The analysis will be saved and the submitted
submit button status will be updated to Y.

1.5.9 Opinion pollConfigurationPoll Result


1.5.9.1 Purpose:
To show the question wise result and it’s analysis to the end users.

1.5.9.2 Brief Description:


User can get the result of different polls as per the date provided by it. It displays the entire information
of the poll and information includes functional area topic belongs to how many of eligible voters provide
their responses and how many responded. User can view the analysis of the each question if the analysis
was allowed. Result is displayed in set wise manner for advance poll and response of each option along
with a pie chart options.

1.5.9.3 Layout (Screen shots)


1.5.9.3.1 List Section
Description

114
Special Notes:

Sl Label Tab- Field Data Default Other Format Mandato Business significance Rem
# order Type type Value values mask ry (Y/N) arks
End 1 Textbox Date (Sysdate- DD-MON- Y Provides the range start
date 30) YYYY date. Display the polls
betwe which end date after the
1 en entered date
2 Textbox Date (Sysdate-1) DD-MON- Y Provides range end date
YYYY

2 Record 3 Refer to the section 1.5.1.1


per
page

3 Search 4 Refer to the section 1.5.1.1


by

4 Sl no. Display Number Shows the index of the list


populated.

5 Topic Display Varchar Y Provides topic name of a


name result page.

6 Relate Display Varchar Y Provides the related area


d Area related to result page.
name
7 Relate Display Varchar Y Provides the related sub-
d sub- area related to result page.
area
name

8 Start Display Date DD-MON- Y Provides the starting date


date YYYY of opinion poll.

9 End Display Date DD-MON- Y Provides the end date of


date YYYY opinion poll.

115
Sl Label Tab- Field Data Default Other Format Mandato Business significance Rem
# order Type type Value values mask ry (Y/N) arks
10 Poll Display Varchar Discar Displays the status of the This
status ded,dis poll. If the status is will
contin discarded or discontinued be
ued,ac then the show option will displ
tive be disabled. ayed
if the
user
is
allow
ed to
the
statu
s of
the
disca
rd or
disco
ntinu
ed
poll.

11 View Button Y Displays the result on the


screen.

12 Sorting Refer to the section 1.5.1.1

13 First(| Refer to the section 1.5.1.1


<)

14 Previo Refer to the section 1.5.1.1


us(<)

15 Next(> Refer to the section 1.5.1.1


)

16 Last(>| Refer to the section 1.5.1.1


)

17 Page Refer to the section 1.5.1.1


numbe
r

Screen Events actions and validations

Sl Event Action Validation


#

116
1 When the section is It shows the List of topics whose result is published with .
loaded. their corresponding related to area, related to sub area,
topic name, set, poll analysis, set analysis, question, date.
2 When the user clicks Displays result page of specific topic from a related area
on the view button. will be displayed
3 When the user enters Only those polls will be populated whose end date lies X should not be
the value in end date between X and Y provided by the user. greater than Y.
between X and Y
fields.
(Here X represents the
date-1 and Y
represents the date-2)

1.1.1.3.2 View Section


Description:-

This section is used to show the results for a particular poll along with the analysis (if required for that
poll). This section uses different graphs and charts to represent the responses of voters.

Special Notes:

Sl Label Tab- Field Data Default Other Format Mandato Business significance Remarks
# order Type type Value values mask ry (Y/N)
1 Related to 1 Display Varchar Y Displays the name of the
area related area.

2 Related to 2 Display Varchar Y Displays the name related


sub area sub area of the selected
area for which the poll is
conducted.

3 Topic 3 Display Varchar Y Display the name of the


poll.

4 Eligible 4 Display Number Y Displays the total no of


voters allowed participants.

5 Complete 5 Display Number Y Displays the no of voters


response who have given their
response to all the
questions of the poll.

6 In 6 Display Number Y Displays the no of voters


complete who have given their
response response to some of
questions of the poll.

117
Sl Label Tab- Field Data Default Other Format Mandato Business significance Remarks
# order Type type Value values mask ry (Y/N)
7 Set 7 Drop Varchar All Y Helps to filter the results
Down of the poll set wise. By
default results of all the
sets of the poll will be
displayed.

8 Show 8 Drop Varchar All Y It helps to show the result


result by Down by dividing the
participan participants into different
ts groups communities. E.g. if both
students and staffs are
allowed as participants
for a poll then the result
can be filtered in term of
students and staffs
separately.

9 Poll 9 Display Varchar N Displays the analysis


analysis posted for that poll by
the assigned analysis
approval user.(if analysis
required was mentioned
at the time of poll
creation)

10 Set 10 Display Varchar N Displays the analysis


analysis posted for that set by the
assigned analysis
approval user.(if analysis
required was mentioned
at the time of poll
creation)

11 Question 11 Display Varchar Y Display the question for


poll

12 Options 12 Display Varchar Y Displays the answer


options of the question

13 Histogram 13 Display N Display the graphical


representation of the
response of the
participants for each
option.

118
Sl Label Tab- Field Data Default Other Format Mandato Business significance Remarks
# order Type type Value values mask ry (Y/N)
14 Pi chart 14 Display N Display the graphical
representation of the
whole result for that
question.

15 Total no 15 Display Number N It shows the total no of


of voters voter gave their response
on a particular question.

16 Question 16 Display Varchar N Displays the analysis


analysis posted for the questions
by the assigned analysis
approval user.(if analysis
required was mentioned
at the time of poll
creation)

Screen Events actions and validations

Sl Event Action Validation


#
1 When the view section All the fields named as selected area, subarea ,topic .
is loaded. name ,sets, questions, their respective answering options
along with the response from the participants by using
different graphical representations will be displayed.
2 When the user It displays the results for the selected set.
changes the value of
the set field and
presses tab
3 When the user If displays the results for that question for the selected
changes the value of group of participants. E.g. if the total number of
the Show result by participants is 100 (60 students, 40 staffs) then the results
participants groups can be shown separately for 60 students and 40 staffs.
field and presses tab.

1.5.10 Opinion Pollàpollà Change Participants


1.5.10.1 Purpose

This screen is used to change the participants of a poll, if required.

119
1.5.10.2 Brief Description
The creator of a poll can add or change participants for that poll. The creator cannot remove the
assigned participants from the list if the poll is in running state. If the poll is a repeated one then the
creator can change the participants after polling date of the repeated poll is over.

1.5.10.3 Layout (Screen shots)


1.1.1.1.2 Change participant sections
Description

Special Notes:

Sl# Label Tab- Field Data Defa Other Format Mand Business significance Remarks
order Type type ult values mask atory
Value (Y/N)
1 Related 1 Drop- varchar Y It specifies the related e.g. Hostel,
to area down area name for the canteen etc
opinion poll module

2 Related 2 Drop- varchar Y It specifies the names of e.g. Boys hostel,


to sub- down the sub-area of the girls hostel etc
area selected area for that
module.

3 Topic 3 Drop- varchar Y It contains the name of


down the polls for the selected
sub area. User needs to
select the poll, which
participants list is to be
modified.

4 Add 4 Radio Boolean Check Uncheck When the user wants to


Participa butto ed ed add participants for a
nts n poll he needs to check
this field. By checking
this the user can add
more participants to the
existing list of allowed
participants for the
selected poll

Change 5 Radio Boolean Checked When the user wants to This field will
Participa butto , change participants for a only be enabled
nts n Uncheck poll he needs to check if the poll is not
ed this field. Here change in running state
means user can (i.e. the start
add/delete/modify the date of the poll
whole list of the allowed is not yet met)
participants of the poll.

120
5 Assign Refer to section 1.5.1.3.5
colleges

6 Current 12 Radio Boolean All, Specifies whether all the All the students
Student Butto Limited current students will be from only the
n selected or limited selected colleges
students will participate
in the polling

7 Assign Refer to the section 1.5.1.3.2


Current
Students

8 Staff 14 Radio Boolean All, Specifies whether all the


Butto Limited Staffs will be selected or
n limited staffs will
participate in the polling

9 Assign Refer to the section 1.5.1.3.1


Staffs

10 Alumni 16 Radio Boolean All, Specifies whether all the


Butto Limited Alumni will be selected
n or limited alumni will
participate in the polling

11 Assign Refer to the section 1.5.1.3.3


Alumni

12 Parents 18 Radio Boolean All, Specifies whether all the


Butto Limited Parents will be selected
n or limited parents will
participate in the polling

13 Assign Refer to the section 1.5.1.3.2


Parents

14 Applicant 20 Radio Boolean All, Specifies whether all the


s Butto Limited Applicants will be
n selected or limited
applicants will
participate in the polling

15 Assign Refer to the section 1.5.1.3.6


Applicant
s

121
16 Other 22 Check Boolean All, Specifies whether all the
predefin Box Limited defined groups will be
ed selected or limited
groups groups will participate in
the polling

17 Assign Refer to the section 1.5.1.3.4


defined
groups

18 External 23 Check Boolean Specifies whether


Users Box external world can
participate in the polling
or not

19 Change 24 Butto Helps to navigate the


date n control to the change
date screen.

20 save 25 Butto User needs to click the


n save button once all the
changes are done to the
list of assigned
participants.

21 cancel 26 Butto If the user needs to


n cancel all the actions
and go back to the
parent screen needs to
click the Cancel button

Screen Events actions and validations

Special notes: User cannot delete any participant from the existing participant list in a running poll.
For all the common events, action and validation for the assign colleges section refer to 1.5.3.1.5 and
for all other fields refer to 1.5.1.2

Sl# Event Action Validation


1 When the When the screen is loaded all the related area Only the allowed creators can access
screen is Drop-down, the related sub area Drop-down, this screen.
loaded topic Drop-down are displayed. Two radio
buttons named “add participants” and “change
participants” will be displayed. Following this
assign college section along with all the
participants’ fields (student, parent, staff, alumni,
applicants, predefined groups, external world etc)
will be displayed.
3 When the Then the respective sub area that belongs to The related area field should not be left

122
user select concerned area are populated blank.
related area
from
related area
Drop-down
4 When the Then the respective topic name related to that The user cannot leave sub area name
user select sub area created by the user (logged in) will be blank
related sub populated in the topic field.
area from
related sub
area Drop-
down and
presses tab
5 When the If the selected poll is in running state then only
user selects the add participant option will be enabled and the
a topic from change participant option will become disabled.
the topic
drop down
and presses
tab .
6 When the The change date screen will open.
user clicks
change date
button
7 When the All the selected participants for the poll will be
user clicks saved in the assigned participant list. Selected
save participant will be merged with the existing
button(if
allowed participant list replacing the duplicates.
add
participant
is selected)
8 When the All the selected participants will replace the Start date of poll mustn’t be less than
user clicks existing participant from the allowed participant sys date.
the save list for a selected poll
button (if
change
participant
is selected)
9 When user All data that are filled above of screen are not
select saved and new screen come having default value
cancel
button

1.5.11 Opinion PollPollDiscard/Discontinue Screen


1.5.11.1 Purpose
User will get facilities to discontinue the entire poll (auto repeat) forever irrespective of repetition
during polling. Using this screen user is also allowed to discard questions, sets or polls at any time after
creation of the poll. Using discard option user can stop a running poll for that time only.

123
1.5.11.2 Brief Description

This screen provides users the facilities to discard or discontinue the poll /set/questions according to
requirements. On choosing Discard option, we have to select poll/set/questions from Drop-down to be
discarded. On choosing set, list of set will be displayed for discarding. On choosing questions, a list of
sets will be displayed in the Drop-down and user has to select in which set question belongs. Then after
user has to perform its operations.

1.5.11.3 Layout (Screen shots)


1.1.1.1.3 List Section
Description

Special Notes:

Sl# Label Tab- Field Data type Default Other Format Ma Business Remarks
orde Type Value values mask nda significance
r tor
y
(Y/
N)
1 Related 1 Drop- Varchar Hostel, Y It specifies the
to area down Canteen related area name
name ,etc. for the opinion poll
module

2 Rela5ted 2 Drop- Varchar Boys hostel, Y It specifies the


Sub area down Ladies names of the sub-
name hostel etc. area of the selected
area for that
module.

3 Start 3 Text Box Date Sysdate DD/MO Y It is used to enlist all


Date N/YYYY the polls whose
Between starting date lies
4 Text Box Sysdate between two given
+30 dates for a
particular
areaSub area.

4 Record 5 Refer to the section 1.5.1.1


per page

5 Search 6 Refer to the section 1.5.1.1


by

6 Sl no. Display Number Shows the index of


the list populated.

124
Sl# Label Tab- Field Data type Default Other Format Ma Business Remarks
orde Type Value values mask nda significance
r tor
y
(Y/
N)
7 Related Display Varchar Area: Helps to identify the
to Sub area name and sub
Area area Area name for
:sub which the poll is
area created. only area
which were under
the opinion poll
module will be
displayed

8 Topic Display Varchar It shows the name


of the poll.

9 Start Display Date DD/MO It shows the Start


Date N/YYYY Date of the poll.

10 End Display Date DD/MO It shows the End


Date N/YYYY Date of the poll.

11 Disconti Button When user wants to After the poll is


nue discontinue a discontinued the
particular poll, repetition of
he/she needs to that poll will be
click this Button. restricted.

12 Discard Button When user wants to It will discard the


discard a particular selected poll
poll, he/she needs only.
to click this Button.

13 Discard Button When user wants to Only some


Questio discard some selected
ns selected questions questions will
from a selected become un-
poll, he/she needs available for
to click this Button polling.

14 First ( |< Refer to section 1.5.1.1


)

15 Previous Refer to section 1.5.1.1


(<)

125
Sl# Label Tab- Field Data type Default Other Format Ma Business Remarks
orde Type Value values mask nda significance
r tor
y
(Y/
N)
16 Next Refer to section 1.5.1.1
(>)

17 Last ( >| Refer to section 1.5.1.1


)

Screen Events actions and validations

Special notes: for all common events, actions, and validations refer to section 1.5.1.2

Sl# Event Action Validation


1 When the List section All the fields of the list filter will be Only authorized user can access this
is loaded displayed with their default values and screen.
the related area field will contain all the
area names for the opinion poll module.
2 When the user The respective related sub area of the
selects an area name selected related area will be populated
from the related to in the related sub area field.
area field and presses
tab
3 When the user enters All the polls whose start date lies Value of X should not be greater than
values in start date between the two given dates for the the value of Y.
between X and Y particular set of area sub area will be
field. (Here X displayed in the list page.
represents Date-1
and Y represents
Date-2).
4 When the user The list page will be displayed containing Only the user who has got the rights on
selects a sub area all the topics for the selected related to final stage of Create & Approve Poll
name from the arearelated sub area whose start date process and if cancellation is allowed
related sub area field lies between Sysdate and on the final stage
and presses tab. Sysdate+30(Sysdate and Sysdate+30 are
the default values of the X and Y
respectively).
5 When the user clicks The notification section for the
on the Discontinue discontinuation will be loaded.
button.
6 When the user clicks The notification section for the discard
on the Discard poll will be loaded.
button.
7 When the user clicks The Discard Question section of the
on the Discard selected poll will be loaded.
questions button.

126
Sl# Event Action Validation
8 When the user clicks The first page of the section will be If the user is in first page then this
on the First ( |< ) shown button will be disabled
button
9 When the user clicks The previous of the current page of the If the user is in first page then this
on the Previous ( < ) section will be shown to the user button will be disabled
button
10 When the user clicks The next of the current page of the If the user is in last page then this
on the Next ( >) section will be shown to the user button will be disabled
button
11 When the user clicks The last page of the section will be If the user is in last page then this
on the Last ( >| ) shown to the user button will be disabled
button

1.1.1.1.4 Notification Section for Discard and Discontinue


Description

Special Notes:

Sl# Label Tab- Field Data type Default Other Format Ma Business Remarks
orde Type Value values mask nda significance
r tor
y
(Y/
N)
1 Send 1 Check Boolean Yes/No It specifies whether If this field is
Notifica Box the information checked then by
tion about the discarded default this
about or discontinued poll information will
discard/ will be informed to be sent to the
disconti the participants or sub area
nue To not. functionary.
Participa
nts.

2 Show 2 Check Boolean Yes/No It specifies whether Participants can


discarde Box the discarded or only view the
d discontinued poll discard or
/disconti will be shown to the discontinue
nued participants in the status of the
poll to polling page. poll, they cannot
the vote for it.
participa
nts in
the
polling
page.

127
Sl# Label Tab- Field Data type Default Other Format Ma Business Remarks
orde Type Value values mask nda significance
r tor
y
(Y/
N)
3 Save 3 Button Refer to section 1.5.1.1

4 Cancel 4 Button Refer to section 1.5.1.1

Screen Events actions and validations

Special notes: for all common events, actions, and validations refer to section 1.5.1.2

Sl# Event Action Validation


1 When the user clicks The poll will be discarded if this section
on the Save button. is loaded after clicking the discard poll
button.
The poll will be discontinued if this
section is loaded after clicking the
discontinued poll button.
2 When the user clicks The section will be unloaded and the
on the Cancel button. selected poll will not be discarded
/discontinued.

1.1.1.1.5 Notification Section for Discard and Discontinue


Description

Special Notes:

Sl# Label Tab- Field Data type Default Other Format Ma Business Remarks
orde Type Value values mask nda significance
r tor
y
(Y/
N)
1 Topic Display Varchar It shows the
Name selected topic name
of the poll selected.

2 Related Display Varchar Related It will show the


to to area: related to area
Related name along with
sub related sub area
area name of the
selected poll.

128
Sl# Label Tab- Field Data type Default Other Format Ma Business Remarks
orde Type Value values mask nda significance
r tor
y
(Y/
N)
3 Time left Display Varchar Days It will show the
:hours remaining time to
vote for the
respective poll.

4 Set 1 Drop Varchar All Different set This field is used to By default all
names of filter the polls set sets will be
down the selected wise. shown
poll.

5 No of 2 Text box Number 5 Any value >0 This field illustrates


question and <total how many
s in a no of questions will be
page questions shown at a time

6 Discard 3 Check Boolean It helps the user to


all box select all the
questions to be
discarded all the
questions displayed
in a page.

7 Questio Display Varchar This represents the


n question of the
selected set that is
to be discarded.

129
Sl# Label Tab- Field Data type Default Other Format Ma Business Remarks
orde Type Value values mask nda significance
r tor
y
(Y/
N)
8 Answers 4 Fields If the answer type is All the answer
depends single choice then options will be
up on the answer options shown being
the will be displayed disabled.
answer with radio buttons.
type
given by If the answer type is
the user multiple choice with
rank then the
answer options will
be displayed with
text boxes.

If the answer type is


multiple choices
with selection then
the answer options
will be displayed
with check boxes.

9 Discard 5 Check This field is used to


box select the question
that he/she want to
discard.

15 First 6 Refer to section 1.5.1.1

16 Previous 7 Refer to section 1.5.1.1

17 Next 8 Refer to section 1.5.2.1

18 Last 9 Refer to section 1.5.1.1

19 Discard 10 Button To discard the This button will


selected questions be displayed in
user needs to click the last page.
in this button.

20 Cancel 11 Refer to section 1.5.1.1

Screen Events actions and validations

Special notes: for all common events, actions, and validations refer to section 1.5.1.2

130
Sl# Event Action Validation
1 When the user All the questions of that selected set will
selects a value from be displayed along with their answering
the set field and option and discard field.
presses tab.
2 When the user That number of questions will be It only accepts the numeric values and
changes the value in displayed in the page. the value is in between 1 to number of
the number of questions in this poll.
questions text box
and press tab.
3 When the user Discard options for all the questions in
checks the discard all that page will be selected.
field.
4 When the user The particular question will be selected
checks the discard which need to be discarded.
option field for
individual question.
5 When the user clicks All the selected questions will be
on the discard discarded.
button
6 when the user clicks This section will be closed and the
on the cancel button. discarding process will be cancelled.

1.5.12 Opinion PollPollChange Date


1.5.12.1 Purpose

The purpose of the screen is to provide facility to shift the start date and end date of a poll if required.
The extension of the dates of a poll can be done by the only assigned users.

1.5.12.2 Brief Description

This screen is used to extend a poll’s duration. If a poll is to be shifted then the user has to define both
the new start date and end date of that poll for which it will be extended. The screen works through
three sections named as Change Date section, Alter Subsequent Repeats section and List section. If the
poll is repetitive then the user has to mention the subsequent time period for which it will be
delayed/changed in the Alter Subsequent Repeat section. If the poll is not repetitive then only the
Change date section will be displayed to the user in which he has to only mention the change start date
and end date of that poll.

1.5.12.3 Layout (Screen shots)

The screen is divided into three sections as described.

1.5.12.3.1 List section


Description

131
This section enlists the poll names with their corresponding related area name, Related Sub area name,
poll name Start date, End date.
Special Notes:

Sl# Label Tab- Field Data type Defaul Other Format Manda Business Remarks
orde Type t values mask tory significance
r Value (Y/N)
1 Record per 1 Refers to the 1st row of the section 1.5.1.1
page

2 Search by 2 Refers to the 2nd row of the section 1.5.1.1

3 Sl# no Display Number Shows the index


of the list
populated

4 Related Display Varchar It displays the name


area of the different
related area of
opinion poll module.

5 Sub area Display Varchar It displays the name


name of the related sub
area under which
different polls are
conducted.

6 Poll Name Display Varchar Contains the name of


the created polls for
each sub area.

7 Start Date Display Date-Time Contains the start


& Time date and time of the
particular poll .After
which the participant
can vote for that
particular poll.

8 End Date Display Date-Time Contains the end The polls whose
& Time date and time of a end date has not
particular poll. After passed will be
which the participant populated.
cannot vote for that
particular poll.

132
9 Edit Display This provides the
editing facility to the
assigned users to
change the polling
date of a selected
poll.

10 First ( |< ) Refers to the 10th row of the section 1.5.1.1

11 Previous Refers to the 11th row of the section 1.5.1.1


(<)

12 Next ( > ) Refers to the 12th row of the section 1.5.1.1

13 Last ( >| ) Refers to the 13th row of the section 1.5.1.1

14 Page Refers to the 9th row of the section 1.5.1.1


Number

Screen Events actions and validations

Special Note: For all the common events, actions and validations in a list section refer to section1.5.2.2

Sl# Event Action Validation


1 When the list section is The list of existing polls with Only those polls will be in the list
loaded correspond to a related area name, whose start date and time is
sub area name along with their start greater than the sysdate and time.
date and end date will be displayed. If the start date of the poll is less
than or equals to the sysdate then
the user can only shift the end
date of that poll and the start date
of the poll field will be disabled.
2 When the user selects the For the selected poll the edit section
edit button will be displayed along with the
corresponding values in each field.

1.5.12.3.2 Edit Section


Description

This section is used to change the dates of a particular poll which is selected from the list by the
authorized user. The editing of the poll’s date goes through two different sections depending on the
type of the poll. The two sections are Change Date section and the Alter Subsequent Repeats section.

Special Notes: For non repetitive polls only the Change date section will be populated and if the poll is
repetitive then both the Change date section and Alter Subsequent repeats section will be populated for
editing purpose.

133
2.3.2.1 Change date section
Description

Sl# Label Tab- Field Data Defaul Other Forma Mand Business Remarks
orde Type type t Value values t mask atory significance
r (Y/N)
1 Related 1 Display Varchar Y It displays the The area names
Area name of the of that poll will
related area. be shown which
is selected from
the list.

2 Sub 2 Display Varchar Y It displays the The sub area


Area name of the names of that
Name related sub area poll will be
under which shown which is
different polls are selected from
conducted. the list.

3 Poll 3 Display Varchar Y It displays the The extension


Name name of the of the dates will
selected poll from be done for this
the list. displayed poll
only.
4 Start 4 Text Date DD/M Y Defines the poll User can not
Date Box ON/YY start date. It change the start
YY indicates the date date if the start
after which the date is less than
participants can the sysdate.
vote for the poll.

5 Time 5 Text Numeri HH Y The time with the Defines the


Box c date gives the time in hour
actual time on the
6 Text Numeri MI Y Defines the
start date after
Box c time in minute
which voting can
7 Drop- Varchar AM PM Y be started.
down

6 End Last Text Date DD/M Y It indicates the poll


Date tab Box ON/YY end date till which
inde YY the polling is
x+1 allowed.

134
7 Time Last Text Numeri HH Y The time with the Specifies the
tab Box c date gives the hour part of the
inde actual time on the time
x+2 end date after
which voting is not
allowed for that
Last Text Numeri MI Y Specifies the
tab c poll. I.e. the minute
Box
inde allowed
x+3 participants cannot
Last Drop- Varchar AM PM Y vote for the poll Sets the time
tab down format whether
after this date and
inde AM or PM
x+4 time.

8 Update Last Button User clicks on this This button will


tab button to save the be available
inde new updated start only for non
x+5 date and end date repetitive polls.
of a selected poll
from the list.

Screen Events actions and validations

For the common event, action, validation of start date and end date refer to screen Events actions and
validations of section 1.5.6.3.3.1

Sl# Event Action Validation


1 When the user makes User can’t provide the start date which
any changes in the is less than the sysdate.
start date field

2 When the user makes The End date must be greater than the
any changes in the start date.
End date field

.2.2 Alter Subsequent Repeats


Description

This section is only for repetitive polls. It will be populated in the screen if the selected poll from the list
is repetitive.

Sl# Label Tab- Field Data type Default Other Forma Manda Business significance Remarks
orde Type Value values t mask tory
r (Y/N)

135
1 Shift 1 Text Number y It will shift the poll
Repeat Box repeat start date by the
poll Start number of days provide
Date by by the user.

2 Shift 2 Text Number y User gives the number


Repeat Box of days which will be
poll End added to the repeat till
Date by date of the selected
poll.

3 Original 3 display Display the poll repeat


poll repeat date which is
till date previously specified at
the time of poll
creation.

4 Change 4 Text Date y User can change the


poll repeat box poll repeat till date by
till date providing a date in this
field.

5 Time 5 Text Numeric HH Y After this time the


Box repetition of repeated
poll will stop.
6 Text Numeric MI Y
Box

7 Drop- Varchar AM PM Y
down

6 Save 8 Button The changed start date


and end date of the
poll is saved.

7 Cancel Last Button It clears all the inputs


tab given by the users and
inde unloads the edit
x+1 section.

8 Change Last Button By clicking this change


participant tab participant page will
inde display, where user can
x+2 add and remove
participant for that
poll.

136
Screen Events actions and validations

Special notes:

Sl# Event Action Validation


1 When the user enters Only numeric value is allowed.
a value in the Shift
Repeat poll Start
Date by and presses
tab
2 When the user enters Only numeric value is allowed.
a value in the Shift User cannot provide any such value so
Repeat poll Shift that the change repeat poll end date is
Repeat poll End Date less than the change repeat poll start
by and presses tab date.
E.g. Let the start date of a poll is 5th Feb.
and end date is 10th Feb., if the user
shift the start date by 8 days and end
date by 1 day then this will not be
allowed because the Start date will
exceed the End date.
3 When the user gives An alert message will come as “You are It checks for the over lapping of the
a value in Shift over lapping the dates for the next repeat start date and till date of the
Repeat poll Start repetition of the poll”. selected repetitive poll for its next
Date by and Shift repetition. The entered value in both
Repeat poll End Date the fields would be such as there will be
by and presses tab no overlapping of the corresponding
dates.
4 When user provides a The date provided by the user should
value in the change not be less than the end date of current
poll repeat till date repeat poll
and presses tab
5 When user clicks the Then the control will move to the
on change participant change participant page
button

1.6 Database Design

1.6.1 ER Diagram

opinion_poll.er1

137
1.6.2 Screen to database mapping

final_mapping.xls

Sl# Screen Name (ModuleSub- Storage tables Other related Remarks


moduleScreen Name) tables
1

1.6.3 Screen-database details

1.6.3.1 AdministrationSecurityCreate Related to Area


1.6.3.1.1 Column-Database mapping
Please refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective
screens.

Sl# Label Database Tables Columns Remarks

1.6.3.1.2 List Section


.1 Action and validation SQLs
Special Note: When the screen is loaded the list page will be shown with the corresponding values.

Sl Event Actions: Logic with SQL as reqd. Validation: : Logic with SQL as
# reqd.
1 When All the columns named module name, related area, The delete button will only be enabled
the list college names, edit/view and delete will be loaded with if the user has the authorization.
section their respective values.
is loaded SQL: SELECT TM.ITEM_NAME,
RA.RELATED_AREA_ID,
RA.RELATED_AREA_NAME, CW.WING_NAME
FROM T_MENU TM,
T_ADM_SEC_RELATED_AREA RA,
T_ADM_SEC_REL_AREA_CLIENT_WING RAC,
T_CLIENT_WING CW
WHERE
TM.MENU_ITEM_ID=RA.MENU_ITEM_ID AND
RA.RELATED_AREA_ID=RAC.RELATED_AREA_I
D AND
RAC.CLIENT_WING_OID=CW.CLIENT_WING_OI
D;

138
2 When All the fields will be populated by their respective
the user values from the selected record for a particular related
clicks on to area.
the SQL: SELECT TM.ITEM_NAME,
edit/vie TM.MENU_ITEM_ID, RA.RELATED_AREA_ID,
w button RA.RELATED_AREA_NAME,
RA.RELATED_AREA_DESC FROM T_MENU TM,
T_ADM_SEC_RELATED_AREA RA WHERE
TM.MENU_ITEM_ID=RA.MENU_ITEM_ID AND
RA.RELATED_AREA_ID=
SELECTED_RELATED_AREA_ID
All the college names which are associated with the
related area will be shown in the assigned list box and
all other colleges will be shown in the available
colleges’ list box. The first section of ‘Select’ will
populate the assigned list box. And the second section
for ‘Select’ will populate the available list box.
SELECT CW.CLIENT_WING_OID,
CW.WING_NAME
FROM T_CLIENT_WING CW,
T_ADM_SEC_REL_AREA_CLIENT_WING RAC
WHERE
RAC.CLIENT_WING_OID=CW.CLIENT_WING_OI
D;
SELECT CW.CLIENT_WING_OID,
CW.WING_NAME FROM T_CLIENT_WING
WHERE NOT EXISTS (SELECT 1
FROM T_CLIENT_WING CW,
T_ADM_SEC_REL_AREA_CLIENT_WING RAC
WHERE
RAC.CLIENT_WING_OID=CW.CLIENT_WING_OI
D)

139
3 When The corresponding record in the list will be deleted. If the user is authorized to do so, then
the user Hence the data from both the tables named only he/she can access the delete button
clicks on T_ADM_SEC_REL_AREA_CLIENT_WING and and delete the selected record from the
the T_ADM_SEC_RELATED_AREA will be removed. list. If the particular related area name
delete SQL: DELETE FROM is in use down the line e.g.(if there is
button T_ADM_SEC_REL_AREA_CLIENT_WING any ongoing poll for the particular
WHERE RELATED_AREA_ID= related area then the area name cannot
SELECTED_RELATED_AREA_ID; be deleted). If the following query
DELETE FROM T_ADM_SEC_RELATED_AREA returns 0 then the deletion is possible.
WHERE RELATED_AREA_ID= SQL: SELECT
SELECTED_RELATED_AREA_ID; COUNT(PR.POLL_REPEAT_ID)
FROM T_OP_POLL_REPEAT PR,
T_OP_POLL_CONFIGURATION PC,
T_ADM_SEC_RELATED_SUB_ARE
A RSA,
T_ADM_SEC_RELATED_AREA RA
WHERE RA.RELATED_AREA_ID=
RSA.RELATED_AREA_ID AND
RSA.RELATED_ SUB_ AREA_ID=
PC.RELATED_SUB_AREA_ID AND
PC.POLL_ID=PR.POLL_ID AND
PR.START_DATE_TIME<=SYSDAT
E AND
PR.END_DATE_TIME>=SYSDATE

1.6.3.1.3 Edit Section


.1 Action and validation SQLs
Special Note: When the new or edit/view button is clicked in the list section then the edit/view section
will be loaded with all the fields containing their default values. If the field doesn’t have any default
value then it will contain null value.

Sl Event Actions: Logic with SQL as reqd. Validation: : Logic with


# SQL as reqd.
1 When The module name field will be populated with the corresponding If the user is super admin
the Edit module name. then he/she can edit the
section SQL: SELECT MENU_ITEM_ID, TM.ITEM_NAME related area for all the
is FROM T_MENU TM colleges.
loaded WHERE TM.MENU_ITEM_ID=’OP_POLL’; If the user is college admin
The assign college section will be shown with the assigned college then he/she can edit the
list box populated by all the college names. related area only for his/her
SQL: SELECT CLIENT_WING_OID, WING_NAME college. And for others if
FROM T_CLIENT_WING; the user is allowed to
modify then he/she can edit
otherwise they will only be
able to see the values for
the particular selection.

140
2 When The selected item in the module name field, the assigned colleges in The entered data should not
the user the assign college section with the given related area name in the violate the constraints of
clicks related area field and the respective description (if given) in the the related tables.
on the description field will be saved in the database after validation. Here The entered related area
save SELECTED_MENU_ITEM_ID refers to the name for the selected
button. SQL: INSERT INTO T_ADM_SEC_RELATED_AREA module name cannot be
(If the VALUES (RELATED_AREA_ID_INDX.NEXTVAL, duplicated.
edit/vie ENTERED_RELATED_AREA_NAME, To check this, the method
w ENTERED_RELATED_AREA_DESC, isAvailable(T_ADM_SEC
section SELECTED_MENU_ITEM_ID, USER_OID, _RELATED_AREA,
is ‘SYSDATE’,NULL,NULL); RELATED_AREA_NAM
loaded E, MENU_ITEM_ID) is
after The assigned colleges will be saved along with the created related called. If the table contains
clicking area in the table named a record having the given
the new T_ADM_SEC_REL_AREA_CLIENT_WING. values then it will return
button) If the no. of assigned colleges is more than one then the following true and will restrict the
query will execute that much no. of times as the no. of assigned entry of the same data
colleges. Here the NEXT_CLIENT_WING_OID represents the again. Hence one module
CLIENT_WING_OID of the next college in the assigned list. And if cannot have two same
the no. of assigned college is one then this query will execute only related area names.
once taking the CLIENT_WING_ID of the assigned college as the
NEXT_CLIENT_WING_OID. Here the
REL_AREA_CLIENT_WING_OID_INDX represents the index for
the table which will be used to create the RELATED_AREA_ID
automatically each time.
SQL: INSERT INTO T_ADM_SEC_REL_AREA_CLIENT_WING
VALUES (REL_AREA_CLIENT_WING_OID_INDX.NEXTVAL,
RELATED_AREA_ID_INDX.CURRVAL,
NEXT_CLIENT_WING_OID, USER_OID, ‘SYSDATE’, NULL,
NULL);

3 When The selected item in the module name field, the assigned colleges in The above mentioned
the user the assign college section with the given related area name in the isAvailable() will be called
clicks related area field and the respective description (if given) in the to check the uniqueness of
on the description field will be saved in the database after validation. the modified data. After
save SQL: UPDATE T_ADM_SEC_RELATED_AREA SET this, the query mentioned
button. RELATED_AREA_NAME= for delete button in the list
(If the ENTERED_RELATED_AREA_NAME, section will execute to
edit/vie RELATED_AREA_DESC= check for any ongoing poll
w ENTERED_RELATED_AREA_DESC, MENU_ITEM_ID= for that related area. If this
section SELECTED_MENU_ITEM_ID, query returns any value
is LAST_UPDATED_BY= USER_OID, LAST_UPDATED_ON= more than 0 then the
loaded ’SYSDATE’ modification cannot be
after WHERE RELATED_AREA_ID= done.
clicking SELECTED_RELATED_AREA_ID;
the

141
edit/vie All the modified data will be saved along with the modified created
w area for the selected RELATED_AREA_ID in the
button) T_ADM_SEC_REL_AREA_CLIENT_WING as follows.
Save the CREATED_BY and the CREATED_ON from the SELECT
section to use in the INSERT section.
SQL: SELECT CREATED_BY, CREATED_ON FROM
T_ADM_SEC_REL_AREA_CLIENT_WING WHERE
RELATED_AREA_ID= SELECTED_RELATED_AREA_ID;
DELETE FROM T_ADM_SEC_REL_AREA_CLIENT_WING
WHERE RELATED_AREA_ID=
SELECTED_RELATED_AREA_ID;
INSERT INTO T_ADM_SEC_REL_AREA_CLIENT_WING
VALUES (REL_AREA_CLIENT_WING_OID_INDX.NEXTVAL,
SELECTED_RELATED_AREA_ID,
NEXT_CLIENT_WING_OID, SAVED_CREATED_BY,
‘SAVED_CREATED_ON’, USER_OID, ‘SYSDATE’);

1.6.3.2 AdministrationSecurityCreate Related to sub area


1.6.3.2.1 Column-Database mapping
Please refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective
screens.

Sl# Label Database Tables Columns Remarks

1.6.3.2.2 List Section


.1 Action and validation SQLs
Special Note: When the screen is loaded the list page will be shown with the corresponding values.

Sl Event Actions: Logic with SQL as reqd. Validation: : Logic


# with SQL as reqd.
1 When All the columns named module name, college names, related area, related The delete button
the list sub area, edit/view and delete will be loaded with their respective values. will only be enabled
section SQL: SELECT if the user has the
is TM.ITEM_NAME, RA.RELATED_AREA_NAME, authorization.
loaded RSA.RELATED_SUB_AREA_ID,RSA.RELATED_SUB_AREA_NAME,
CW.WING_NAME ,

FROM
T_MENU TM, T_ADM_SEC_RELATED_AREA RA,
T_ADM_SEC_RELATED_SUB_AREA RSA,
T_ADM_SEC_REL_AREA_CLIENT_WING RAC, T_CLIENT_WING
CW
WHERE
RSA.RELATED_AREA_ID= RA.RELATED_AREA_ID
AND RSA.RELATED_AREA_ID=RAC.RELATED_AREA_ID AND
TM.MENU_ITEM_ID=RA.MENU_ITEM_ID AND
RAC.CLIENT_WING_OID=CW.CLIENT_WING_OID;

142
2 When All the fields will be populated by their respective values from the selected
the record for a particular related sub area.
user SQL: SELECT
clicks TM.ITEM_NAME, TM.MENU_ITEM_ID, RA.RELATED_AREA_ID,
on the RA.RELATED_AREA_NAME, RSA.RELATED_SUB_AREA_ID,
edit/vie RSA.RELATED_SUB_AREA_NAME,
w RSA.RELATED_SUB_AREA_DESC
button FROM
T_MENU TM, T_ADM_SEC_RELATED_AREA RA,
T_ADM_SEC_RELATED_SUB_AREA RSA
WHERE
TM.MENU_ITEM_ID=RA.MENU_ITEM_ID
AND RA.RELATED_AREA_ID=RSA.RELATED_AREA_ID
AND
RSA.RELATED_SUB_AREA_ID=
SELECTED_RELATED_SUB_AREA_ID

143
3 When The corresponding record in the list will be deleted. Hence the data from the If the user is
the tables named T_ADM_SEC_RELATED_SUB_AREA, authorized to do so,
user T_ADM_SCRN_APPROVAL_STAGE, then only he/she can
clicks T_ADM_SEC_AUTHORITY will be removed. access the delete
on the SQL: DELETE FROM T_ADM_SEC_RELATED_SUB_AREA WHERE button and delete the
delete RELATED_SUB_AREA_ID= SELECTED_RELATED_SUB_AREA_ID; selected record from
button DELETE FROM the list. If the
T_ADM_SCRN_APPROVAL_STAGE WHERE particular related sub
RELATED_SUB_AREA_ID=SELECTED_RELATED_SUB_AREA_ID; area name is in use
DELETE FROM down the line e.g.(if
T_ADM_SEC_AUTHORITY WHERE there is any ongoing
RELATED_SUB_AREA_ID=SELECTED_RELATED_SUB_AREA_ID; poll for the
particular related sub
area then the sub
area name cannot be
deleted). If the
following query
returns 0 then the
deletion is possible.
SQL: SELECT
COUNT(PR.POLL_
REPEAT_ID)
FROM
T_OP_POLL_REPE
AT PR,
T_OP_POLL_CON
FIGURATION PC,
T_ADM_SEC_REL
ATED_SUB_AREA
RSA,
T_ADM_SEC_REL
ATED_AREA RA
WHERE
RSA.RELATED_
SUB_ AREA_ID=
PC.RELATED_SUB
_AREA_ID AND
PC.POLL_ID=PR.P
OLL_ID AND
PR.START_DATE_
TIME<=SYSDATE
AND
PR.END_DATE_TI
ME>=SYSDATE

1.6.3.2.3 Edit Section


.1 Action and validation SQLs
Special Note: When the new or edit/view button is clicked in the list section then the edit/view section
will be loaded with all the fields containing their default values. If the field doesn’t have any default
value then it will contain null value.

Sl# Event Actions: Logic with SQL as reqd. Validation: : Logic


with SQL as reqd.

144
1 When the Edit The module name field will be populated with the If the user is super
section is loaded corresponding module name. admin then he/she
SQL: SELECT MENU_ITEM_ID, TM.ITEM_NAME can edit the related
FROM T_MENU TM sub area for all the
WHERE TM.MENU_ITEM_ID=’OP_POLL’; colleges.
The related to area will be shown in related to area field. If the user is college
SQL: SELECT RELATED_AREA_ID, admin then he/she
RELATED_AREA_NAME can edit the related
FROM T_ADM_SEC_RELATED_AREA RA,T_MENU TM sub area only for
WHERE RA.MENU_ITEM_ID=TM.MENU_ITEM_ID; his/her college. And
for others if the user
is allowed to modify
then he/she can edit
otherwise they will
only be able to see
the values for the
particular selection.
2 When the user The selected item in the module name field, the selected The entered data
clicks on the related area name in related area field, assigned related sub should not violate
save button. (If area name in the related sub area field and the respective the constraints of the
the edit/view description (if given) in the description field will be saved in related tables.
section is loaded the database after validation. Here The entered related
after clicking the SELECTED_MENU_ITEM_ID refers to the sub area name for
new button) SQL: INSERT INTO T_ADM_SEC_RELATED_AREA the selected module
VALUES (RELATED_SUB_AREA_ID_INDX.NEXTVAL, name cannot be
ENTERED_RELATED_SUB_AREA_NAME, duplicated.
ENTERED_RELATED_SUB_AREA_DESC,
SELECTED_RELATED_AREA_ID,
USER_OID, ‘SYSDATE’,NULL,NULL);

3 When the user The selected item in the module name field, related to area The method
clicks on the field with the given related sub area name in the related sub isAvailable() will be
save button. (If area field and the respective description (if given) in the called to check the
the edit/view description field will be saved in the database after validation. uniqueness of the
section is loaded SQL: UPDATE T_ADM_SEC_RELATED_SUB-AREA modified data. After
after clicking the SET RELATED_SUB_AREA_NAME= this, the query
edit/view button) ENTERED_RELATED_SUB-AREA_NAME, mentioned for delete
RELATED_SUB-AREA_DESC= button in the list
ENTERED_RELATED_SUB-AREA_DESC, section will execute
RELATED_AREA_ID=SELECTE to check for any
D_RELATED_AREA_ID, ongoing poll for that
MENU_ITEM_ID= SELECTED_MENU_ITEM_ID, related sub area. If
LAST_UPDATED_BY= USER_OID, this query returns
LAST_UPDATED_ON= ’SYSDATE’ any value more than
WHERE RELATED_SUB-AREA_ID= 0 then the
SELECTED_RELATED_SUB-AREA_ID; modification cannot
be done.

1.6.3.3 AdministrationSecurityCreate Sub Area Functionary


1.6.3.3.1 Column-Database mapping
Please refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective
screens.

Sl# Label Database Tables Columns Remarks

145
1.6.3.3.2 List Section
.1 Action and validation SQLs
Special Note: When the screen is loaded the list page will be shown with the corresponding values.

Sl# Event Actions: Logic with SQL as reqd. Validation: : Logic


with SQL as reqd.
1 When the The columns named as Sub Area Name and Functionary will be
list section retrieved from the view V_ADM_SEC_SUB_AREA_AUTHORITY
is loaded named as MODULE_AREA_SUB_AREA and
SUB_AREA_FUNCTIONARY to show all the available lists for the
sub area functionary. One sub area can have more than one
functionary and that will also from any user categories from Student,
Staff or Parent.

2 When the All the values will be populated along with all the details in each If not editable then the
user clicks field for a selected record. The RELATED_SUB_AREA_ID will be save button will be
on the passed as an argument in the function edit_onClick(subAreaId) and disabled.
EDIT/VIE all the details will be retrieved as per the stored information.
W button
4 When the All the records for a particular related sub area represented by the If the user is
user clicks RELATED_SUB_AREA_ID will be deleted from the table authorized one, then
on the T_ADM_SEC_SUB_AREA_AUTHORITY. only he/she can access
DELETE the delete button and
button delete the selected
record from the list.
5 When the The edit section is populated. Only the module name field containing After the user selects a
user clicks the list of all modules available to be used for this purpose and all module name from
on the NEW other fields contains null values. module name field
Button. The value of module name combo box is assigned by the then its corresponding
MENU_ITEM_ID and option by the column ITEM_NAME of the related area names are
table T_MENU. populated in the
The module name field is populated by all the ITEM_NAME values related to area field.
from the T_MENU table which can have different areas and their
sub areas also.
This is done by:
SELECT MENU_ITEM_ID, ITEM_NAME FROM T_MENU
WHERE MENU_ITEM_ID IN ('OP')

1.6.3.3.3 Edit Section


.1 Action and validation SQLs
Special Note: When the new or edit/view button is clicked in the list section then the edit/view section
will be loaded with all the fields containing their default values. If the field doesn’t have any default
value then it will contain null value.

Sl Event Actions: Logic with SQL as reqd. Validation: : Logic


# with SQL as reqd.

146
1 When the edit All the fields will be populated by their respective values from the selected The selected module
section is record for a particular related sub-area id. name and the
loaded SQL: 1 respective area name
By clicking SELECT SBA.MENU_ITEM_ID, SBA.RELATED_AREA_ID, and the sub area
the edit/view SBA.RELATED_SUB_AREA_ID name
Button FROM V_ADM_SEC_SUB_AREA_AUTHORITY SBA Will become read-
WHERE SBA.RELATED_SUB_AREA_ID=? only. Only the
The query written above will retrieve the MENU_ITEM_ID, assigned users can be
RELATED_AREA_ID, RELATED_SUB_AREA_ID to show the module changed for the
name, related area name and the related sub area name in the dropdowns as selected record.
selected.
SQL: 2
SELECT MAX(STAFF) AS "STAFF",MAX(STUDENT)AS
"STUDENT",
MAX(PARENT) AS "PARENT"
FROM (SELECT
CASE WHEN USR.USER_TYPE='STAFF'
THEN COUNT(AUTH.AUTHORITY_ID) ELSE 0 END AS
"STAFF",
CASE WHEN USR.USER_TYPE='STUDENT'
THEN COUNT(AUTH.AUTHORITY_ID) ELSE 0 END AS
"STUDENT" ,
CASE WHEN USR.USER_TYPE='PARENT'
THEN COUNT(AUTH.AUTHORITY_ID) ELSE 0 END AS
"PARENT"
FROM T_ADM_SEC_AUTHORITY AUTH,T_USER USR
WHERE AUTH.USER_OID=USR.USER_OID
AND AUTH.RELATED_SUB_AREA_ID=?
GROUP BY USR.USER_TYPE ORDER BY USR.USER_TYPE)
The above query will retrieve the information about the assigned users as
the functionary for a particular sub area. As per the output the
corresponding check box will be checked and if more than one user type
are assigned as the functionaries for one related sub area then another link
named show list will be displayed. If only one user type is assigned as the
functionary then that component will automatically open and show the list
of assigned and the available users. Otherwise the user needs to click on
the show list option to see the list of assigned users.
The module name option builder will be populated by the following query.
SQL:
SELECT MENU_ITEM_ID, ITEM_NAME FROM T_MENU
WHERE MENU_ITEM_ID IN ('OP')

147
2 When the The corresponding component will be loaded with the list of users
user clicks populated in both the list boxes.
the show list Case one for the STAFF:
option side to SQL: Available Staffs Query
the checkbox SELECT STF.USER_OID,STF.STAFF_ID,STF.STAFF_CODE,
of the STF.STAFF_NAME,
functionary STF.STAFF_CODE||'::'||STF.STAFF_NAME||'::'||
category TC.WING_CODE||'::'||
STF.DEPARTMENT_CODE||'::'||
DCAT.DESIGNATION_CATEGORY||'::'||
STF.DESIGNATION STAFF_INFO
FROM V_HR_STF_STAFF_INFO STF,T_USER USR,
T_HR_CNF_DESG_CATEGORIES DCAT,
T_CLIENT_WING TC
WHERE STF.USER_OID=USR.USER_OID
AND STF.DESIG_CAT_ID=DCAT.DESIG_CAT_ID
AND TC.CLIENT_WING_OID=STF.CLIENT_WING_OID
AND USR.USER_TYPE='STAFF'
AND
STF.CLIENT_WING_OID=DECODE(?,NULL,STF.CLIENT_WING_OI
D,?)
AND
STF.DEPARTMENT_ID=DECODE(?,NULL,STF.DEPARTMENT_ID,?)
AND STF.DESIG_CAT_ID=DECODE(?,NULL,STF.DESIG_CAT_ID,?)
AND
STF.DESIGNATION_ID=DECODE(?,NULL,STF.DESIGNATION_ID,?)
AND NOT EXISTS
(
SELECT 1 FROM T_ADM_SEC_AUTHORITY AUTH
WHERE AUTH.USER_OID=STF.USER_OID
AND AUTH.RELATED_SUB_AREA_ID=?
)
ORDER BY UPPER(STF.STAFF_NAME)
SQL: Assigned Staffs Query
SELECT STF.STAFF_ID,STF.STAFF_CODE,STF.STAFF_NAME,
STF.STAFF_CODE||'::'||STF.STAFF_NAME||'::'
||TC.WING_CODE ||'::'||STF.DEPARTMENT_CODE||'::'
||DCAT.DESIGNATION_CATEGORY
||'::'||STF.DESIGNATION STAFF_INFO
FROM T_ADM_SEC_AUTHORITY AUTH,T_USER USR,
V_HR_STF_STAFF_INFO STF,
T_HR_CNF_DESG_CATEGORIES DCAT,T_CLIENT_WING
TC
WHERE AUTH.USER_OID=USR.USER_OID
AND STF.USER_OID=USR.USER_OID
AND STF.DESIG_CAT_ID=DCAT.DESIG_CAT_ID
AND TC.CLIENT_WING_OID=STF.CLIENT_WING_OID
AND USR.USER_TYPE='STAFF'
AND AUTH.RELATED_SUB_AREA_ID=?
ORDER BY UPPER(STF.STAFF_NAME)

148
Case one for the STUDENT:
SQL: Available Students Query
SELECT VS.USER_OID,VS.STUDENT_ID,
VS.REGISTRATION_NO,
VS.STUDENT_ENROLLMENT_ID,VS.STUDENT_NAME,
VS.REGISTRATION_NO||'::'||
VS.STUDENT_NAME||'::'||
VS.BATCH||'::'||
VS.ACADEMIC_SESSION||'::'||
VS.DISCIPLINE_CODE||'::'||
VS.COURSE_CODE||'::'||CLW.WING_CODE STUDENT_INFO
FROM V_STDN_ENROLLMENT_DETAILS VS,T_USER
USR,T_CLIENT_WING CLW
WHERE CLW.CLIENT_WING_OID=VS.CLIENT_WING_OID
AND VS.USER_OID=USR.USER_OID
AND USR.USER_TYPE='STUDENT'
AND
VS.CLIENT_WING_OID=DECODE(?,NULL,VS.CLIENT_WING_OID,
?)
AND VS.COURSE_ID=DECODE(?,NULL,VS.COURSE_ID,?)
AND VS.DISCIPLINE_ID=DECODE(?,NULL,VS.DISCIPLINE_ID,?)
AND VS.BATCH_ID=DECODE(?,NULL,VS.BATCH_ID,?)
AND VS.BATCH_ACDMC_SESN_ID=
DECODE(?,NULL,VS.BATCH_ACDMC_SESN_ID,?)
AND NOT EXISTS
( SELECT 1 FROM T_ADM_SEC_AUTHORITY AUTH
WHERE AUTH.USER_OID=VS.USER_OID
AND AUTH.RELATED_SUB_AREA_ID=?
)ORDER BY UPPER(VS.STUDENT_NAME)
SQL: Assigned Students Query
SELECT VS.USER_OID,VS.STUDENT_ID,VS.REGISTRATION_NO,
VS.STUDENT_NAME,VS.STUDENT_ENROLLMENT_ID,
VS.REGISTRATION_NO||'::'||VS.STUDENT_NAME||'::'||
VS.BATCH||'::'||VS.ACADEMIC_SESSION||'::'||VS.DISCIPLINE_CODE
||'::'||VS.COURSE_CODE||'::'||TC.WING_CODE STUDENT_INFO
FROM V_STDN_ENROLLMENT_DETAILS VS,
T_ADM_SEC_AUTHORITY AUTH,
T_USER USR,T_CLIENT_WING TC
WHERE AUTH.USER_OID=USR.USER_OID
AND VS.USER_OID=USR.USER_OID
AND TC.CLIENT_WING_OID=VS.CLIENT_WING_OID
AND USR.USER_TYPE='STUDENT'
AND AUTH.RELATED_SUB_AREA_ID=?
ORDER BY UPPER(VS.STUDENT_NAME)

149
Case one for the STUDENT:
SQL: Available Parents Query
SELECT VS.STUDENT_ID, SPD.STUDENT_PARENT_ID,
DECODE(SPD.GUARDIAN,'F', SPD.FATHER_NAME, 'M',
SPD.MOTHER_NAME, SPD.GUARDIAN_NAME)||'::'||
VS.REGISTRATION_NO||'::'||VS.STUDENT_NAME||'::'||
VS.BATCH||'::'||VS.ACADEMIC_SESSION||'::'||
VS.DISCIPLINE_CODE||'::'||VS.COURSE_CODE||'::'||
CLW.WING_CODE PARENT_INFO
FROM V_STDN_ENROLLMENT_DETAILS VS,T_USER
USR,T_CLIENT_WING CLW,
T_STDN_PARENT_DETAILS SPD
WHERE CLW.CLIENT_WING_OID=VS.CLIENT_WING_OID
AND VS.STUDENT_ID=SPD.STUDENT_ID
AND USR.USER_OID=DECODE(SPD.GUARDIAN,'F',
SPD.FATHER_USER_OID, 'M',
SPD.MOTHER_USER_OID, SPD.GUARDIAN_USER_OID)
AND USR.USER_TYPE='PARENT'
AND
VS.CLIENT_WING_OID=DECODE(?,NULL,VS.CLIENT_WING_OID,
?)
AND VS.COURSE_ID=DECODE(?,NULL,VS.COURSE_ID,?)
AND VS.DISCIPLINE_ID=DECODE(?,NULL,VS.DISCIPLINE_ID,?)
AND VS.BATCH_ID=DECODE(?,NULL,VS.BATCH_ID,?)
AND
VS.BATCH_ACDMC_SESN_ID=DECODE(?,NULL,VS.BATCH_ACD
MC_SESN_ID,?)
AND NOT EXISTS
( SELECT 1 FROM T_ADM_SEC_AUTHORITY AUTH
WHERE AUTH.USER_OID=DECODE(SPD.GUARDIAN,'F',
SPD.FATHER_USER_OID, 'M',
SPD.MOTHER_USER_OID,
SPD.GUARDIAN_USER_OID)
AND AUTH.RELATED_SUB_AREA_ID=?
)ORDER BY UPPER(PARENT_INFO)

150
SQL: Assigned Parents Query
SELECT VS.STUDENT_ID, SPD.STUDENT_PARENT_ID,
DECODE(SPD.GUARDIAN,'F', SPD.FATHER_NAME, 'M',
SPD.MOTHER_NAME, SPD.GUARDIAN_NAME)||'::'||
VS.REGISTRATION_NO||'::'||VS.STUDENT_NAME||'::'||
VS.BATCH||'::'||VS.ACADEMIC_SESSION||'::'||
VS.DISCIPLINE_CODE||'::'||VS.COURSE_CODE||'::'||
TC.WING_CODE PARENT_INFO
FROM V_STDN_ENROLLMENT_DETAILS
VS,T_ADM_SEC_AUTHORITY AUTH,
T_USER USR,T_CLIENT_WING
TC,T_STDN_PARENT_DETAILS SPD
WHERE AUTH.USER_OID=USR.USER_OID
AND SPD.STUDENT_ID=VS.STUDENT_ID
AND USR.USER_OID=DECODE(SPD.GUARDIAN,'F',
SPD.FATHER_USER_OID, 'M',
SPD.MOTHER_USER_OID, SPD.GUARDIAN_USER_OID)
AND TC.CLIENT_WING_OID=VS.CLIENT_WING_OID
AND USR.USER_TYPE='PARENT'
AND AUTH.RELATED_SUB_AREA_ID=?
ORDER BY UPPER(PARENT_INFO)
3 When the All the values in all the fields are saved in their corresponding tables. If the edit/view
user clicks on It is done by: section is loaded after
the save SQL: clicking the new
button. INSERT INTO T_ADM_SEC_AUTHORITY button all the selected
(AUTHORITY_ID,RELATED_SUB_AREA_ID,USER_OID, user_oid will be
CREATED_BY,CREATED_ON) saved.
VALUES (?,?,?,?,SYSDATE) If the edit/view
And the list section will be updated by the newly added sub area. section is loaded after
The following query will help in removing the user_oid which were moved clicking the edit
back from the assigned section to the available section. button then all the
SQL: newly selected
DELETE FROM T_ADM_SEC_AUTHORITY user_oid will be
WHERE RELATED_SUB_AREA_ID=? saved and the
AND USER_OID=? user_oid which were
The user_oid will be retrieved from the individual tables as per the moved back from the
following query depending upon the user category. assigned section then
To get the user_oid of the staffs those will be
SQL: removed from the
SELECT USER_OID FROM T_HR_STF_STAFFS table.
WHERE STAFF_ID=?
To get the user_oid of the students
SQL:
SELECT USER_OID FROM T_STDN_STUDENT_INFO
WHERE STUDENT_ID=?
To get the user_oid of the parents
SQL:
SELECT DECODE(GUARDIAN,'F', FATHER_USER_OID, 'M',
MOTHER_USER_OID, GUARDIAN_USER_OID) USER_OID
FROM T_STDN_PARENT_DETAILS
WHERE STUDENT_PARENT_ID=?
And the list section will be updated by the modified sub area.

151
4 When the All the fields of the edit section will shows their default values and the
user clicks on previously selected values are discarded.
the cancel
button.
5 When the The menu_item_id will be provided as input to the related area combo box
user selects a which will populate the values in that related area drop down by executing
value from the following query.
the Module SQL:
Name combo SELECT RELATED_AREA_ID, RELATED_AREA_NAME FROM
box. T_ADM_SEC_RELATED_AREA
WHERE MENU_ITEM_ID=?
ORDER BY RELATED_AREA_NAME
6 When the The related_area_id will be provided as input to the related area combo
user selects a box which will populate the values in that related sub area drop down by
related area executing the following query.
from the SQL:
related to area SELECT RELATED_SUB_AREA_ID, RELATED_SUB_AREA_NAME
combo box FROM T_ADM_SEC_RELATED_SUB_AREA
WHERE RELATED_AREA_ID=?
ORDER BY RELATED_SUB_AREA_NAME
7 When the After selecting a sub-area name from the sub-area combo box, if any staff
user select a or student / parent is checked from the staff or students then their
value from corresponding section is loaded.
the Related But If only sub-area name is selected then no changes will be made.
sub-area
combo box.

1.6.3.4 AdministrationSecurityCreate Approval Stage and User


1.6.3.4.1 Column-Database mapping
Please refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective
screens.

Sl# Label Database Tables Columns Remarks

1.6.3.4.2 List Section


.1 Action and validation SQLs
Special Note: When the screen is loaded the list page will be shown with the corresponding values.

Sl# Event Actions: Logic with SQL as reqd. Validation: :


Logic with SQL
as reqd.
1 When The columns named as MODULE_NAME, AREA_SUB_AREA_NAME,
the list SUB_MODULE_SCREEN_NAME, STAGE_NAME, STAGE_ORDER and
section is ASSIGNED_USER will be retrieved from the view
loaded V_ADM_SEC_APPR_STG_USR. The sub area may have number of stages
for a certain activity and each activity can have more than one users. One stage
can have more than one user and that will also from any user categories from
Student, Staff or Parent.

152
2 When All the fields will be populated by their respective values from the selected If the user has
the user record for a particular SCREEN_APPROVAL_STAGES_ID .Here each record only view
clicks on in the list page is uniquely identified by permission then
the SCREEN_APPROVAL_STAGES_ID. This he couldn’t edit
EDIT/VI SCREEN_APPROVAL_STAGES_ID is implicitly passed as the argument the record but can
EW when the EDIT/VIEW button is clicked and hence the details will be displayed view the record.
button in the detail section.
3 When All the records from the tables named If the user is
the user T_ADM_SEC_SCRN_APPROVAL_STAGES and the table named authorized to
clicks on T_ADM_SEC_APROVL_STAGE_USER delete, then only
the Special note: If the authority has given any analysis previously then the user he/she can access
DELET can’t delete that record. Before deleting, user should check whether the the delete button
E button authority is in analysis history or not. and delete the
selected record
from the list.
4 When The edit section is populated. Only the module name field containing the list of After the user
the user all modules available to be used for this purpose and all other fields contains selects a module
clicks on null values. name from
the NEW The value of module name combo box is assigned by the MENU_ITEM_ID module name
Button. and option by the column ITEM_NAME of the table T_MENU. field then its
The module name field is populated by all the ITEM_NAME values from the corresponding
T_MENU table which can have different areas and their sub areas also. related area names
This is done by: are populated in
SELECT MENU_ITEM_ID, ITEM_NAME FROM T_MENU the related to area
WHERE MENU_ITEM_ID IN ('OP') field. And the
submodule
combobox will
also be filled.

1.6.3.4.3 Edit Section


.1 Action and validation SQLs
Special Note: When the edit/view button is clicked in the list section then the edit/view section will be
loaded with all the fields containing their corresponding values. When the New button is clicked in the
list section then the edit/view section will be loaded with all the Module names in the Module Name
combo box and other labels with their default values. If the field doesn’t have any default value then it
will contain null value.

Sl Event Actions: Logic with SQL as reqd. Validation: :


# Logic with SQL
as reqd.

153
1 When the All the fields will be populated by their respective values from the If the user is an
edit section is selected record for a particular SCREEN_APPROVAL_STAGES_ID authorized one
loaded .Here each record in the list page is uniquely identified by then he/she can
SCREEN_APPROVAL_STAGES_ID. edit the related
SQL:1 fields from the
SELECT MODULE_ID,SCREEN_ID,RELATED_AREA_ID, section. If the
RELATED_SUB_AREA_ID,SUB_MODULE_ID,SCREEN_ID, section is loaded
STAGE_NAME,STAGE_ORDER,CANCELATION_ALLOWED by clicking the
FROM V_ADM_SEC_APPR_STG_USR new button no
WHERE SCREEN_APPROVAL_STAGES_ID =? values in any field
ORDER BY SCREEN_NAME of the detail
The query written above will retrieve the MODULE_ID, SCREEN_ID, section will be
SUB_MODULE_ID, RELATED_AREA_ID, displayed as null
RELATED_SUB_AREA_ID, STAGE_NAME, STAGE_ORDER and will be passed as
CANCELATION_ALLOWED to represent the details in the screen. the argument in
SQL:2 the place of
SELECT MAX(STAFF) AS "STAFF",MAX(STUDENT)AS SCREEN_APPRO
"STUDENT",MAX(PARENT) AS "PARENT" FROM VAL_STAGES_I
(SELECT CASE WHEN USR.USER_TYPE='STAFF' THEN D. But when the
COUNT(ASAS.APPROVAL_STAGE_USER_ID) ELSE 0 END AS detail section is
"STAFF",CASE WHEN USR.USER_TYPE='STUDENT' THEN loaded by clicking
COUNT(ASAS.APPROVAL_STAGE_USER_ID) ELSE 0 END AS the edit/view
"STUDENT" ,CASE WHEN USR.USER_TYPE='PARENT' THEN button then all the
COUNT(ASAS.APPROVAL_STAGE_USER_ID) ELSE 0 END AS fields will be set
"PARENT" to the respective
FROM T_ADM_SEC_APROVL_STAGE_USER ASAS,T_USER USR values for the
WHERE ASAS.USER_OID=USR.USER_OID selected
AND ASAS.SCREEN_APPROVAL_STAGES_ID=? SCREEN_APPRO
GROUP BY USR.USER_TYPE ORDER BY USR.USER_TYPE VAL_STAGES_I
The above query will retrieve the information about the users for each D
individual stages defined for a specific activity. As per the output the
corresponding check box will be checked and if more than one user type
are assigned as the stage users for one stage of a related sub area then
another link named show list will be displayed. If only one user type is
assigned as the functionary then that component will automatically open
and show the list of assigned and the available users. Otherwise the user
needs to click on the show list option to see the list of assigned users.
The module name option builder will be populated by the following
query.
SQL:
SELECT MENU_ITEM_ID, ITEM_NAME FROM T_MENU
WHERE MENU_ITEM_ID IN ('OP')
3 When user By using the key of the module name the related area will be populated
selects in the Related to area combo box.
module name SQL:1
from module SELECT RELATED_AREA_ID, RELATED_AREA_NAME FROM
name combo T_ADM_SEC_RELATED_AREA
box WHERE MENU_ITEM_ID=?
ORDER BY RELATED_AREA_NAME
Like the related area drop down the sub module drop down will also be
filled by using the following query.
SQL:2
SELECT MENU_ITEM_ID,ITEM_NAME FROM T_MENU
WHERE ITEM_TYPE=?
AND PARENT_ID=?
ORDER BY UPPER(ITEM_NAME)

154
4 When the The related_area_id will be provided as input to the related area combo
user selects box which will populate the values in that related sub area drop down by
Related area executing the following query.
from related SQL:
to area SELECT RELATED_SUB_AREA_ID, RELATED_SUB_AREA_NAME
combo box FROM T_ADM_SEC_RELATED_SUB_AREA
WHERE RELATED_AREA_ID=?
ORDER BY RELATED_SUB_AREA_NAME
5 When the The screen name option builder will be filled by the appropriate screen
user selects names for the selected sub module by using the following query.
the sub SQL:
module name SELECT MENU_ITEM_ID, ITEM_NAME
from the sub FROM T_MENU
module WHERE ITEM_TYPE='D'
dropdown AND MENU_ITEM_ID IN ('OP-POLL-CREATEAPPRVPOLL',
'OP-AAR-ANALYSISRESULT')
AND PARENT_ID=?
ORDER BY UPPER(ITEM_NAME)
5 When the The corresponding component will be loaded with the list of users
user checks populated in both the list boxes.
the checkbox Case one for the STAFF:
provided to SQL: Available Staffs Query
choose the SELECT
user type as STF.USER_OID,STF.STAFF_ID,STF.STAFF_CODE,STF.STAF
stage users F_NAME,STF.STAFF_CODE||'::'||
STF.STAFF_NAME||'::'||TC.WING_CODE||'::'||
STF.DEPARTMENT_CODE||'::'||
DCAT.DESIGNATION_CATEGORY||'::'||STF.DESIGNATION
STAFF_INFO
FROM V_HR_STF_STAFF_INFO STF,T_USER USR,
T_HR_CNF_DESG_CATEGORIES DCAT,T_CLIENT_WING TC
WHERE STF.USER_OID=USR.USER_OID
AND STF.DESIG_CAT_ID=DCAT.DESIG_CAT_ID
AND TC.CLIENT_WING_OID=STF.CLIENT_WING_OID
AND USR.USER_TYPE='STAFF'
AND STF.CLIENT_WING_OID=
DECODE(?,NULL,STF.CLIENT_WING_OID,?)
AND STF.DEPARTMENT_ID=
DECODE(?,NULL,STF.DEPARTMENT_ID,?)
AND STF.DESIG_CAT_ID=
DECODE(?,NULL,STF.DESIG_CAT_ID,?)
AND STF.DESIGNATION_ID=
DECODE(?,NULL,STF.DESIGNATION_ID,?)
AND NOT EXISTS
(SELECT 1 FROM T_ADM_SEC_APROVL_STAGE_USER ASAS
WHERE ASAS.USER_OID=STF.USER_OID
AND ASAS.SCREEN_APPROVAL_STAGES_ID=?
)ORDER BY UPPER(STF.STAFF_NAME)

155
SQL: Assigned Staffs Query
SELECT
STF.STAFF_ID,STF.STAFF_CODE,STF.STAFF_NAME,STF.ST
AFF_CODE||'::'||STF.STAFF_NAME||'::'||
TC.WING_CODE||'::'||STF.DEPARTMENT_CODE||'::'||
DCAT.DESIGNATION_CATEGORY||'::'||STF.DESIGNATION
STAFF_INFO
FROM T_ADM_SEC_APROVL_STAGE_USER TSA, T_USER USR,
V_HR_STF_STAFF_INFO STF, T_HR_CNF_DESG_CATEGORIES
DCAT, T_CLIENT_WING TC
WHERE TSA.USER_OID=USR.USER_OID
AND STF.USER_OID=USR.USER_OID
AND STF.DESIG_CAT_ID=DCAT.DESIG_CAT_ID
AND TC.CLIENT_WING_OID=STF.CLIENT_WING_OID
AND USR.USER_TYPE='STAFF'
AND TSA.SCREEN_APPROVAL_STAGES_ID=?
ORDER BY UPPER(STF.STAFF_NAME)
Case one for the STUDENT:
SQL: Available Students Query
SELECT
VS.USER_OID,VS.STUDENT_ID,VS.REGISTRATION_NO,
VS.STUDENT_ENROLLMENT_ID,VS.STUDENT_NAME,
VS.REGISTRATION_NO||'::'||VS.STUDENT_NAME||'::'||
VS.BATCH||'::'||VS.ACADEMIC_SESSION||'::'||
VS.DISCIPLINE_CODE||'::'||VS.COURSE_CODE||'::'||
CLW.WING_CODE STUDENT_INFO
FROM V_STDN_ENROLLMENT_DETAILS VS,T_USER
USR,T_CLIENT_WING CLW
WHERE CLW.CLIENT_WING_OID=VS.CLIENT_WING_OID
AND VS.USER_OID=USR.USER_OID
AND USR.USER_TYPE='STUDENT'
AND VS.CLIENT_WING_OID=
DECODE(?,NULL,VS.CLIENT_WING_OID,?)
AND VS.COURSE_ID=DECODE(?,NULL,VS.COURSE_ID,?)
AND VS.DISCIPLINE_ID=
DECODE(?,NULL,VS.DISCIPLINE_ID,?)
AND VS.BATCH_ID=DECODE(?,NULL,VS.BATCH_ID,?)
AND VS.BATCH_ACDMC_SESN_ID=
DECODE(?,NULL,VS.BATCH_ACDMC_SESN_ID,?)
AND NOT EXISTS
(SELECT 1 FROM T_ADM_SEC_APROVL_STAGE_USER ASAS
WHERE ASAS.USER_OID=VS.USER_OID
AND ASAS.SCREEN_APPROVAL_STAGES_ID=?
)ORDER BY UPPER(VS.STUDENT_NAME)

156
SQL: Assigned Students Query
SELECT
VS.USER_OID,VS.STUDENT_ID,VS.REGISTRATION_NO,VS.S
TUDENT_NAME,VS.STUDENT_ENROLLMENT_ID,
VS.REGISTRATION_NO||'::'||VS.STUDENT_NAME||'::'||
VS.BATCH||'::'||VS.ACADEMIC_SESSION||'::'||
VS.DISCIPLINE_CODE||'::'||VS.COURSE_CODE||'::'||
TC.WING_CODE STUDENT_INFO
FROM V_STDN_ENROLLMENT_DETAILS
VS,T_ADM_SEC_APROVL_STAGE_USER ASAS,T_USER
USR,T_CLIENT_WING TC
WHERE ASAS.USER_OID=USR.USER_OID
AND VS.USER_OID=USR.USER_OID
AND TC.CLIENT_WING_OID=VS.CLIENT_WING_OID
AND USR.USER_TYPE='STUDENT'
AND ASAS.SCREEN_APPROVAL_STAGES_ID=?
ORDER BY UPPER(VS.STUDENT_NAME)
Case one for the STUDENT:
SQL: Available Parents Query
SELECT VS.STUDENT_ID, SPD.STUDENT_PARENT_ID,
DECODE(SPD.GUARDIAN,'F', SPD.FATHER_NAME, 'M',
SPD.MOTHER_NAME, SPD.GUARDIAN_NAME)||'::'||
VS.REGISTRATION_NO||'::'||VS.STUDENT_NAME||'::'||
VS.BATCH||'::'||VS.ACADEMIC_SESSION||'::'||
VS.DISCIPLINE_CODE||'::'||VS.COURSE_CODE||'::'||
CLW.WING_CODE PARENT_INFO
FROM V_STDN_ENROLLMENT_DETAILS VS,T_USER
USR,T_CLIENT_WING CLW,T_STDN_PARENT_DETAILS SPD
WHERE CLW.CLIENT_WING_OID=VS.CLIENT_WING_OID
AND VS.STUDENT_ID=SPD.STUDENT_ID
AND USR.USER_OID=DECODE(SPD.GUARDIAN,'F',
SPD.FATHER_USER_OID, 'M', SPD.MOTHER_USER_OID,
SPD.GUARDIAN_USER_OID)
AND USR.USER_TYPE='PARENT'
AND VS.CLIENT_WING_OID=
DECODE(?,NULL,VS.CLIENT_WING_OID,?)
AND VS.COURSE_ID=DECODE(?,NULL,VS.COURSE_ID,?)
AND VS.DISCIPLINE_ID=
DECODE(?,NULL,VS.DISCIPLINE_ID,?)
AND VS.BATCH_ID=DECODE(?,NULL,VS.BATCH_ID,?)
AND VS.BATCH_ACDMC_SESN_ID=
DECODE(?,NULL,VS.BATCH_ACDMC_SESN_ID,?)
AND NOT EXISTS
(SELECT 1 FROM T_ADM_SEC_APROVL_STAGE_USER ASAS
WHERE ASAS.USER_OID=DECODE(SPD.GUARDIAN,'F',
SPD.FATHER_USER_OID, 'M', SPD.MOTHER_USER_OID,
SPD.GUARDIAN_USER_OID)
AND ASAS.SCREEN_APPROVAL_STAGES_ID=?
)ORDER BY UPPER(PARENT_INFO)

157
SQL: Assigned Parents Query
SELECT VS.STUDENT_ID, SPD.STUDENT_PARENT_ID,
DECODE(SPD.GUARDIAN,'F', SPD.FATHER_NAME, 'M',
SPD.MOTHER_NAME, SPD.GUARDIAN_NAME)||'::'||
VS.REGISTRATION_NO||'::'||VS.STUDENT_NAME||'::'||
VS.BATCH||'::'||VS.ACADEMIC_SESSION||'::'||
VS.DISCIPLINE_CODE||'::'||VS.COURSE_CODE||'::'||
TC.WING_CODE PARENT_INFO
FROM V_STDN_ENROLLMENT_DETAILS
VS,T_ADM_SEC_APROVL_STAGE_USER ASAS,T_USER
USR,T_CLIENT_WING TC,T_STDN_PARENT_DETAILS SPD
WHERE ASAS.USER_OID=USR.USER_OID
AND SPD.STUDENT_ID=VS.STUDENT_ID
AND USR.USER_OID=DECODE(SPD.GUARDIAN,'F',
SPD.FATHER_USER_OID, 'M', SPD.MOTHER_USER_OID,
SPD.GUARDIAN_USER_OID)
AND TC.CLIENT_WING_OID=VS.CLIENT_WING_OID
AND USR.USER_TYPE='PARENT'
AND ASAS.SCREEN_APPROVAL_STAGES_ID=?
ORDER BY UPPER(PARENT_INFO)

158
6 When the All the values in all the fields are saved in their corresponding tables If the edit/view
user clicks on named T_ADM_SEC_SCRN_APPROVAL_STAGES and . section is loaded
the save T_ADM_SEC_APPROVAL_STAGE_USER after clicking the
button. (If the It is done by: new button all the
edit/view SQL:1 selected user_oid
section is INSERT INTO will be saved.
loaded after T_ADM_SEC_SCRN_APPROVAL_STAGES(SCREEN_APPROVAL_ST If the edit/view
clicking the AGES_ID,STAGE_NAME,STAGE_ORDER,RELATED_SUB_AREA_I section is loaded
new button) D,MENU_ITEM_ID,CANCELATION_ALLOWED,CREATED_BY,CRE after clicking the
ATED_ON) edit button then
VALUES(?,?,?,?,?,?,?,SYSDATE) all the newly
SQL:2 selected user_oid
INSERT INTO will be saved and
T_ADM_SEC_APROVL_STAGE_USER(APPROVAL_STAGE_USER_I the user_oid
D,SCREEN_APPROVAL_STAGES_ID,USER_OID,CREATED_BY,C which were
REATED_ON,STATUS) moved back from
VALUES(?,?,?,?,SYSDATE,'A') the assigned
The value’s are inserted in the database .Now we have to update the list section then those
box so that the inserted record can be visible in the list box .To do that will be removed
user have to load the list page. from the table.
The user_oid will be retrieved from the individual tables as per the
following query depending upon the user category.
To get the user_oid of the staffs
SQL:
SELECT USER_OID FROM T_HR_STF_STAFFS
WHERE STAFF_ID=?
To get the user_oid of the students
SQL:
SELECT USER_OID FROM T_STDN_STUDENT_INFO
WHERE STUDENT_ID=?
To get the user_oid of the parents
SQL:
SELECT DECODE(GUARDIAN,'F', FATHER_USER_OID, 'M',
MOTHER_USER_OID, GUARDIAN_USER_OID) USER_OID
FROM T_STDN_PARENT_DETAILS
WHERE STUDENT_PARENT_ID=?
And the list section will be updated by the modified sub area.
7 When the All the changed values in all fields are save in their corresponding Is Available
user clicks on tables. (related_sub_area
the save SQL: _id,menu_item_id
button. (If the UPDATE T_ADM_SEC_SCRN_APPROVAL_STAGES ,stage_name)
edit/view SET STAGE_NAME=?, STAGE_ORDER=?, Is Available
section is RELATED_SUB_AREA_ID=?, MENU_ITEM_ID=?, (related_sub_area
loaded after CANCELATION_ALLOWED=?, LAST_UPDATED_BY=?, _id,menu_item_id
clicking the LAST_UPDATED_ON=SYSDATE ,stage_order)
edit/view WHERE SCREEN_APPROVAL_STAGES_ID=?
button) For the updated SCRN_APPROVAL_STAGES_ID all the changed users
will be inserted using the previously mentioned query for the table
T_ADM_SEC_APPROVAL_STAGE_USER.
The users who have been moved back from the assigned list box to the
available list box need to be removed from the table by using the
following query.
SQL:
DELETE FROM T_ADM_SEC_APROVL_STAGE_USER
WHERE SCREEN_APPROVAL_STAGES_ID=?
AND USER_OID=?

159
4 When the All the fields of the edit section will shows their default values and the
user clicks on previously selected values are discarded.
the cancel
button.
1.6.3.5 Opinion PollPollCreate and Approve Poll
1.6.3.5.1 Column-Database mapping
Please refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective
screens.

Sl# Label Database Tables Columns Remarks

1.6.3.5.2 List Section


.1 Action and validation SQLs
Special Note: When the screen is loaded the list page will be shown with the corresponding values.

Sl# Event Actions: Logic with SQL as reqd. Validation: : Logic with
SQL as reqd.
1 When the All the columns named topic name, related to sub area, current stage, Start Date The delete button will only be
list section and Time, End Date and Time, Auto repeating, Remark allowed, Result shared enabled if the user has the
is loaded with participants, View/Edit and Delete will be loaded with their respective authorization.
values.
SQL: SELECT
PCFG.TOPIC,
RSA.RELATED_SUB_AREA_NAME,
PR.START_DATE_TIME,
PR.END_DATE_TIME,
DECODE(PCFG.REPEAT_TYPE,NULL,'NO','YES') AS AUTOREPEATING,
DECODE(PQR.REMARKS,NULL,'NO','YES') AS REMARKALLOWED,
DECODE(RP.RESULT_PUBLISH_ID,NULL,'NO','YES') AS
REMARKALLOWED

FROM
T_OP_POLL_CONFIGURATION PCFG,
T_ADM_SEC_RELATED_SUB_AREA RSA,
T_OP_POLL_REPEAT PR,
T_OP_POLL_QUESTION_REMARKS PQR,
T_OP_POLL_QUESTION PQ ,
T_OP_POLL_RESULT_PUBLISH RP

WHERE
PCFG.RELATED_SUB_AREA_ID=RSA.RELATED_SUB_AREA_ID
AND PR.POLL_ID=PCFG.POLL_ID
AND PQ.QUESTION_ID=PQR.QUESTION_ID

160
SQL: select sas.stage_name, sas.stage_order, asu.user_oid, pah.approval_date,
pah.poll_id, pc.topic,
pah.save, pah.submit
from t_adm_sec_related_sub_area rsa,
t_adm_sec_scrn_approval_stages sas,
t_adm_sec_aprovl_stage_user asu,
t_op_poll_approval_history pah,
t_op_poll_configuration pc
where
rsa.RELATED_SUB_AREA_ID=sas.RELATED_SUB_AREA_ID
and
sas.SCREEN_APPROVAL_STAGES_ID=asu.SCREEN_APPROVAL_STAGE
S_ID
and
asu.APPROVAL_STAGE_USER_ID=pah.APPROVAL_STAGE_USER_ID
and pah.poll_id=pc.poll_id
and
pc.RELATED_SUB_AREA_ID=sas.RELATED_SUB_AREA_ID

This is used to retrieve the stage information of the poll from which we can
retrieve the current stage of the poll.
2 When the All the fields will be populated by their respective values from the selected
user clicks record for a particular related to area.
on the SQL:
edit/view SELECT
button RA.RELATED_AREA_NAME,
RSA.RELATED_SUB_AREA_NAME,
PCFG.TOPIC,
PR.START _DATE_TIME,
PR.END_DATE_TIME,
FROM
T_ADM_SEC_RELATED_AREA RA
T_ADM_SEC_RELATED_SUB_AREA RSA
WHERE TM.MENU_ITEM_ID=RA.MENU_ITEM_ID
AND RA.RELATED_AREA_ID= SELECTED_RELATED_AREA_ID
All the college names which are associated with the related area will be shown in
the assigned list box and all other colleges will be shown in the available
colleges’ list box. The first section of ‘Select’ will populate the assigned list box.
And the second section for ‘Select’ will populate the available list box.
SELECT CW.CLIENT_WING_OID, CW.WING_NAME
FROM T_CLIENT_WING CW, T_ADM_SEC_REL_AREA_CLIENT_WING
RAC WHERE RAC.CLIENT_WING_OID=CW.CLIENT_WING_OID;
SELECT CW.CLIENT_WING_OID, CW.WING_NAME FROM
T_CLIENT_WING WHERE NOT EXISTS (SELECT 1
FROM T_CLIENT_WING CW, T_ADM_SEC_REL_AREA_CLIENT_WING
RAC WHERE RAC.CLIENT_WING_OID=CW.CLIENT_WING_OID)
3 When the The poll will be simple rejected and the status will be “n”
user clicks
on the
delete
button

1.6.3.5.3 Edit Section


.1 Action and validation SQLs

161
Sl# Event Actions: Logic with SQL as reqd. Validation: : Logic with SQL
as reqd.
1 When the user All the related area name will be populated with respect to module
select module name
name
“SELECT MENU_ITEM_ID,RELATED_AREA_NAME FROM
T_ADM_SEC_RELATED_AREA WHERE
MENU_ITEM_ID='OP_POLL';
2 When user select All the related sub area name will be populated with respect to
related area name related area name SELECT
RELATED_AREA_ID,RELATED_SUB_AREA_NAME FROM
T_ADM_SEC_RELATED_SUB_AREA WHERE
RELATED_AREA_ID =”SELECTED RELATED_AREA_ID”;
3 When the College filter will be available 1. If the user is a super admin
participant All the available college name from T_CLIENT_WING will be all available college will be
section loaded populated in the selected list seen in the selected list
If the super admin wants a college not to participate in the poll he 2. If the user is a college
SEND back to the available list admin will see only his
college
4 A. When the A. All the current student from the selected colleges will be selected If (admin=super or
user selects ALL for polling and ALL_STUDENT column from admin=college _admin )
option from T_OP_POLL_CONFIGURATION will be updated Then
current student he can add students from
section B. A students filter will be available containing all students list of all available college to selected
selected colleges in the available list and the admin has a option to students list
B. When the user add students from available list to selected student list
selects limited super admin adds all college
option from students and college admin
current student only adds own college
section option students

5 A. When the A. All the staff from the selected colleges will be selected for polling If (admin=super_admin or
user selects ALL and ALL_STAFF column from T_OP_POLL_CONFIGURATION admin=college _admin )
option from staff Then
section B. A staff filter will be available containing all staff list of all he can add staff from
selected colleges in the available list and the admin has a option to available staff to selected
B. When the user add staff from available list to selected staff list students
selects limited
option from staff super admin adds all college
section option staff and college admin only
adds own college staff

6 A. When the A. All the alumni from the selected colleges will be selected for If (admin=super or
user selects ALL polling and ALL_ALUMINI column from admin=college _admin )
option from T_OP_POLL_CONFIGURATION Then
alumni section he can add students from
B. A alumni filter will be available containing all students list of all available students to selected
B. When the user selected colleges in the available list and the admin has a option to students
selects limited add students from available list to selected student list
option from super admin adds all college
alumni section students and college admin
option only adds own college
students

162
7 A. When the A. All the staff from the selected colleges will be selected for polling If (admin=super_admin or
user selects ALL and ALL_PARENTS column from admin=college _admin )
option from staff T_OP_POLL_CONFIGURATION Then
section he can add staff from
B. A parent filter will be available containing all staff list of all available staff to selected
B. When the user selected colleges in the available list and the admin has a option to students
selects limited add staff from available list to selected staff list
option from staff super admin adds all college
section option staff and college admin only
adds own college staff

8 A. When the A. All the applicants from the selected colleges will be selected for If (admin=super or
user selects ALL polling admin=college _admin )
option from Then
applicants B. A alumni filter will be available containing all students list of all he can add students from
section selected colleges in the available list and the admin has a option to available students to selected
add students from available list to selected student list students
B. When the user
selects limited super admin adds all college
option from students and college admin
alumni section only adds own college
option students

9 A. When the A. All the other group from the selected colleges will be selected for If (admin=super_admin or
user check’s the polling admin=college _admin )
check box of Then
Groups Defined B. A parent filter will be available containing all staff list of all he can add staff from
selected colleges in the available list and the admin has a option to available staff to selected
B. When the user add staff from available list to selected staff list students
selects limited
option from staff super admin adds all college
section option staff and college admin only
adds own college staff

10 When the All the fields of the section is disabled by default


Repeated status If the user checks the Repeat checkbox all the fields of the section
section loaded will be enabled and REPEAT_TYPE column in
T_OP_POLL_CONFIGURATION will be ‘yes’
11 When the user When the user selects one value from period field
selects Day of SELECT PERIOD_OPTION,POLL_ID FROM
weak from T_OP_POLL_CONFIGURATION PCFG
Period field the T_OP_POLL_REPEAT PR
corresponding WHERE
day field drop PCFG.POLL_ID=PR.POLL_ID
down will appear
SELECT DAY_NAME,POLL_ID FROM
T_OP_POLL_CONFIGURATION PCFG
T_OP_POLL_REPEAT PR
WHERE
PCFG.POLL_ID=PR.POLL_ID
AND DAYS_ID=?

163
12 When the user ??
selects date of
month from
period field
corresponding
date field will be
appear from 1-28
days of the
month
13 When the user ??
selects MONTH
OF YEAR from
period field
corresponding
MONTH field
14 When the user ??
selects AFTER
X DAYS from
period field
15 When the user All the values from the respective fields go to the corresponding
clicks on save table
button IF THE POLL IS SIMPLE/REPEAT CHECK BOX IS NOT
SELECTED THE POLL START_DATE AND END_DATE GOES
TO THE T_OP_POLL_REPEAT
SQL:-

INSERT INTO T_OP_POLL_REPEAT


VALUES(POLL_ID,POLL_REPEAT_ID,REPEATION
_NO,START_DATE_TIME,END_DATE_TIME,DISCARD_POLL
)

If the poll is repetitive


Then
INSERT INTO T_OP_POLL_CONFIGURATION VALUES(ALL
COLUMNS)

INSERT INTO T_OP_POLL_COMMUNICATION_OPTION


VALUES(ALL COLUMNS WITH RESPECTIVE VALUES)

INSERT INTO T_OP_POLL_QUESTION VALUES(ALL


COLUMNS);

IF ANALYSIS REQUARED CHECKBOX IS CHECKED

INSERT INTO T_OP_POLL_QUESTION_ANALISYS


VALUES(ALL COLUMNS WITH CORRESPONDING VALUES);

IF REMARK REQUIRED CHECK BOX IS CHECKED

INSERT INTO T_OP_POLL_QUESTION_REMARKS


VALUES(ALL COLUMNS WITH CORRESPONDING VALUES);

If result publish option is checked

INSERT INTO T_OP_POLL_RESULT_PUBLISH VALUES();

164
1.6.3.6 Opinion PollPollPolling
1.6.3.6.1 Column-Database mapping
Please refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective
screens.

Sl# Label Database Tables Columns Remarks

1.6.3.6.2 Screen Section


.1 Action and validation SQLs

Sl Event Actions: Logic with SQL as reqd. Validation


# : : Logic
with SQL
as reqd.

165
1 When the 5 column will be generated having column name-
polling Topic name, related to area, time left to vote, my voting status, poll status, vote now.
page is Selecting any row of list section and clicking on vote now button user can see the
loaded, polling page and can give his response.
the list ……………………………………………………………………………………….
page We can get topic name from T_OP_POLL_CONFIGURATION table,
containin ………………………………………………………………………………………..
g the Related area name and sub area from related area and sub area table
column ………………………………………………………………………………………..
name and Time left to vote from poll repeat table as end date time—sysdate ,
column ………………………………………………………………………………………..
value will To get my voting status concept is –
be For a particular question there is particular answer option and particular answer is
displayed clicked by particular user. so if
. poll repeat id ,answer option id and user id is unique for a particular
Polling id then the answer option related to particular question and that question
related to particular set is answered.
Count total no of question in a poll
SELECT COUNT (*) QUESTION_ID
FROM T_OP_POLL_QUESTION PQ ,
T_OP_POLL_SET PS ,
WHERE PQ.SET_ID=PS.SET_ID; AS--T

Count no of question which is answered in the poll.


SELECT COUNT(*)
FROM T_OP_POLL_SET PS,
T_OP_POLL_QUESTION PQ ,
T_OP_POLL_ANSWER_OPTION AO
T_OP_POLL_POLLING PO,
T_USER U
WHERE PQ.SET_ID=PS.SET_ID AND
AO.QUESTION_ID=PQ.QUESTION_ID AND
PO.ANSWER_OPTION_ID=AO.ANSWER_OPTION_ID AND
PO.USER_OID=U.USER_OID ; AS--A
If in that set( total no of question= total answered question) , i.e T=A
Then vote completed
If in that set( total no of question!= total answered question) i.e T!=A
Then partially voted
And if total answered question is =0 i.e A=0
Then yet to vote ]
……………………………………………………………………………………..
Poll status i.e discarded or discontinued poll can be known from
T_OP_POLL_REPEAT table.If the DISCARD_POLL column and
REPEAT_DISCONTINUE column of table T_OP_POLL_REPEAT is ’ Y’ then
that poll_id is discarded or discontinued.
SELECT RE.DISCARD_POLL AS
DISCARDED,RE.REPEAT_DISCONTINUE AS DISCONTINUED
FROM T_OP_POLL_REPEAT RE, T_OP_POLL_CONFIGURATION PC
WHERE RE.POLL_ID=PC.POLL_ID

166
Pseudo code of list page
SELECT
PC.TOPIC AS TOPIC_NAME,R.RELATED_AREA_NAME||':'||
RS.RELATED_SUB_AREA_NAME AS
AREA_SUBAREA,RE.END_DATE_TIME-SYSDATE AS TIME_LEFT,
RE.DISCARD_POLL AS DISCARDED,RE.REPEAT_DISCONTINUE AS
DISCONTINUED
FROM
T_OP_POLL_CONFIGURATION PC,
T_ADM_SEC_RELATED_SUB_AREA RS,
T_ADM_SEC_RELATED_AREA R,
T_OP_POLL_REPEAT RE

WHERE
PC.RELATED_SUB_AREA_ID = RS.RELATED_SUB_AREA_ID AND
R. RELATED_AREA_ID= RS.RELATED_AREA_ID AND
RS. RELATED_SUB_AREA_ID=PC. RELATED_SUB_AREA_ID AND
RE.POLL_ID=PC.POLL_ID

Count total no of question in a poll


SELECT COUNT (*) QUESTION_ID
FROM T_OP_POLL_QUESTION PQ ,
T_OP_POLL_SET PS ,
WHERE PQ.SET_ID=PS.SET_ID; AS--T

Count no of question which is answered in the poll.


SELECT COUNT(*)
FROM T_OP_POLL_SET PS,
T_OP_POLL_QUESTION PQ ,
T_OP_POLL_ANSWER_OPTION AO
T_OP_POLL_POLLING PO,
T_USER U
WHERE PQ.SET_ID=PS.SET_ID AND
AO.QUESTION_ID=PQ.QUESTION_ID AND
PO.ANSWER_OPTION_ID=AO.ANSWER_OPTION_ID AND
PO.USER_OID=U.USER_OID ; AS--A
If in that set( total no of question= total answered question) , i.e T=A
Then vote completed
If in that set( total no of question!= total answered question) i.e T!=A
Then partially voted
And if total answered question is =0 i.e A=0
Then yet to vote ]

1.6.3.6.3 Edit Section


1 Action and validation SQLs
Special Note:

Sl# Event Actions: Logic with SQL as reqd. Validation: : Logic with SQL
as reqd.
1 When the Topic name from T_OP_POLL_CONFIGURATION will

167
polling be populated.
page field SELECT PC.TOPIC AS TOPIC_NAME
is loaded FROM T_OP_POLL_CONFIGURATION PC,
T_ADM_SEC_RELATED_SUB_AREA RS
WHERE PC.RELATED_SUB_AREA_ID =
RS.RELATED_SUB_AREA_ID
2 When The related area name, sub area name will be populated with
related respect to a certain topic name “
area field SELECT R.RELATED_AREA_NAME||':'||
is loaded RS.RELATED_SUB_AREA_NAME AS
AREA_SUBAREA
FROM T_ADM_SEC_RELATED_SUB_AREA RS,
T_ADM_SEC_RELATED_AREA R,
T_OP_POLL_CONFIGURATION PC
WHERE
R. RELATED_AREA_ID= RS.RELATED_AREA_ID
AND
RS. RELATED_SUB_AREA_ID=PC.
RELATED_SUB_AREA_ID

3 When Time left to give response for a particular poll will be


Time Left displayed here. Left time will be calculated as end date
field is time--sys date time.
loaded SELECT
END_DATE_TIME-SYSDATE AS Time_Left
FROM
T_OP_POLL_REPEAT
4 When The set name will be displayed as given like A,B,C,ALL
SET field from the table T_OP_POLL_SET .The default value ALL
is loaded will be shown. Selecting any set name from SET field the
available question in that set related to a particular topic
name will be displayed.
SELECT
PS.SET_NAME
FROM
T_OP_POLL_SET PS,

T_OP_POLL_CONFIGURATION PC
WHERE PC.POLL_ID=PS.POLL_ID
5 When a The entered number is stored and that number of question
number is belongs to previously selected set name will be shown to the
entered user in a screen. The default value will be 5.
into “No INSERT INTO
of TABLE NAME
question ( No of question per page )
in a page” VALUES
(&No of question per page )

6 When You have to select one from Normal flow, answered,


“Show unanswered and normal flow will be displayed as default
By” field .Selecting option from this answered question and
is selected unanswered question will be displayed in the page
accordingly.
7 To get Count total no of question in a poll

168
answered SELECT COUNT (*) QUESTION_ID
and FROM T_OP_POLL_QUESTION PQ ,
unanswer T_OP_POLL_SET PS ,
ed WHERE PQ.SET_ID=PS.SET_ID;
questions Count no of question which is answered in the poll.
SELECT COUNT(*)
FROM T_OP_POLL_SET PS,
T_OP_POLL_QUESTION PQ ,
T_OP_POLL_ANSWER_OPTION AO,
T_OP_POLL_POLLING PO,
T_USER U
WHERE PQ.SET_ID=PS.SET_ID AND
AO.QUESTION_ID=PQ.QUESTION_ID AND
PO.ANSWER_OPTION_ID=AO.ANSWER_OPTION_ID
AND
PO.USER_OID=U.USER_OID ;
Unanswered question=total no of question-answered ques^
8 To show The question and answer option of previously selected SET
the name will be displayed.
question SELECT PQ.QUESTION ,AO.ANSWER_OPTION
FROM T_OP_POLL_QUESTION PQ,
T_OP_POLL_ANSWER_OPTION AO
WHERE PQ.QUESTION_ID=AO.QUESTION_ID

9 When To store question remarks of polling page.


poll INSERT INTO T_OP_POLL_QUESTION_REMARKS
participan (REMARKS)
t enters VALUES (‘&REMARKS’);
remarks
10 When All the entered and selected data of polling page will be
participan saved in respective tables.
t
Clicks
SAVE
button
11 When All the entered and selected data of polling page will not be
participan saved in respective tables.
t
Clicks
CANCEL
button
12 When All the entered and selected data of all the page will be
participan saved in respective tables
t And can’t be edited further.
Clicks
SUBMIT
button

1.6.3.7 Opinion PollPoll Result & Analysis Poll Analysis and Approval
1.6.3.7.1 Column-Database mapping
Please refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective
screens.

169
Sl# Label Database Tables Columns Remarks

1.6.3.7.2 List Section


1 Action and validation SQLs
Special Note: When the screen is loaded the list page will be shown with the corresponding values. The
fields named end date between DATE1 and DATE2 will take the default value as given DATE1=sysdate-30
and the DATE2=sysdate-1.The given dates will be taken as input for the query and returns the list of all
the polls which have been completed. Through the current status field we can see the running polls and
also list all the polls at a time. If the ‘my approval pending’ check box will be selected then only those
analysis of the polls waiting for user’s approval will be listed in the section.

Sl# Event Actions: Logic with SQL as reqd. Validation: : Logic with
SQL as reqd.
1 When the All the columns named related area: sub area, Topic, start date, The discard button will only
list end date, Analysis stage, edit/view and delete will be loaded with be enabled if the user has the
section is their respective values. authorization.
loaded SQL: SELECT RA.RELATED_AREA_NAME,
RAS.RELATED_SUB_AREA_NAME, PC.TOPIC,
PR.POLL_REPEAT_ID, PR.POLL_REPEAT_ID,
PR.START_DATE_TIME, PR.END_DATE_TIME,
PRC.POLL_ANALYSIS_FOR_ID
FROM T_ADM_SEC_RELATED_AREA RA,
T_ADM_SEC_RELATED_SUB_AREA RAS,
T_OP_POLL_CONFIGURATION PC, T_OP_POLL_REPEAT
PR, T_OP_POLL_REPEAT_POLL_CONSIDER PRC,
WHERE RA.RELATED_AREA_ID=
RAS.RELATED_AREA_ID AND
RAS.RELATED_SUB_AREA_ID=
PC.RELATED_SUB_AREA_ID AND PC.POLL_ID=
PR.POLL_ID
AND PR.POLL_REPEAT_ID=PRC.POLL_REPEAT_ID
AND START_DATE_TIME BETWEEN SYSDATE-30
AND SYSDATE;
Along with these values the current stage of the analysis will also
be retrieved and displayed with each topic.

170
The following section will retrieve the current stage of the
analysis of the result for the poll. It will retrieve the stage for a
particular repeat.
SQL:SELECT RELATED_AREA_NAME||' : '||
RELATED_SUB_AREA_NAME AREA,
PC.POLL_ID, TOPIC, PR.POLL_REPEAT_ID,
RPC.POLL_ANALYSIS_FOR_ID,
PAF.ANALYSIS_DATE,
PAA.APPROVAL_REMARKS, PAA.SAVE,
PAA.SUBMIT,
SAS.STAGE_NAME, MIN(SAS.STAGE_ORDER)
STAGE_ORDER
FROM T_OP_POLL_CONFIGURATION PC,
T_ADM_SEC_RELATED_AREA RA,
T_ADM_SEC_RELATED_SUB_AREA RSA,
T_OP_POLL_REPEAT PR,
T_OP_POLL_REPEAT_POLL_CONSIDER RPC,
T_OP_POLL_ANALYSIS_FOR PAF,
T_OP_POLL_ANALYSIS_APPROVAL PAA,
T_ADM_SEC_APROVL_STAGE_USER ASU,
T_ADM_SEC_SCRN_APPROVAL_STAGES SAS
WHERE
RA.RELATED_AREA_ID=RSA.RELATED_AREA_ID
AND
PC.RELATED_SUB_AREA_ID=RSA.RELATED_SUB_AREA
_ID
AND PC.POLL_ID=PR.POLL_ID
AND RPC.POLL_REPEAT_ID=PR.POLL_REPEAT_ID
AND
PAF.POLL_ANALYSIS_FOR_ID=RPC.POLL_ANALYSIS_F
OR_ID
AND
PAF.POLL_ANALYSIS_FOR_ID=PAA.POLL_ANALYSIS_F
OR_ID
AND
ASU.APPROVAL_STAGE_USER_ID=PAA.APPROVAL_STA
GE_USER_ID
AND
SAS.SCREEN_APPROVAL_STAGES_ID=ASU.SCREEN_AP
PROVAL_STAGES_ID
AND
SAS.RELATED_SUB_AREA_ID=RSA.RELATED_SUB_ARE
A_ID
AND PAA.SAVE='Y'
AND PAA.SUBMIT='N'
AND PR.POLL_REPEAT_ID=&PRID
GROUP BY RELATED_AREA_NAME||' : '||
RELATED_SUB_AREA_NAME,
PC.POLL_ID, TOPIC,
PR.POLL_REPEAT_ID,
RPC.POLL_ANALYSIS_FOR_ID,
PAF.ANALYSIS_DATE,
PAA.APPROVAL_REMARKS, PAA.SAVE,
PAA.SUBMIT,
SAS.STAGE_NAME
ORDER BY POLL_ID, POLL_REPEAT_ID

171
The following section will show the status of the poll whether it
is discarded or discontinued or active.
SQL:SELECT CASE PR.DISCARD_POLL=’Y’ THEN
‘DISCARDED’ ELSE ‘ACTIVE’ END, CASE
PR.REPEAT_DISCONTINUE=’Y’ THEN ‘DISCONTINUED’
ELSE ‘ACTIVE’ END FROM T_OP_POLL_REPEAT PR
WHERE PR.POLL_REPEAT_ID= POLL_REPEAT_ID of each
poll.
2 When the All the fields will be populated by their respective values from If the submitted status is
user the selected record for a particular POLL_REPEAT_ID. The being true for that particular
clicks on fields named related area and topic for display will be populated analysis then the user cannot
the with the respective values. edit. The analysis can only
edit/view be viewed.
button The no of eligible voters will be evaluated as follows.
If the fields named ALL_STUDENT, ALL_STAFFS,
ALL_PARENTS, ALL_ALUMNI, ALL_GROUPS contains Y
then check for the participating colleges in the
T_OP_POLL_PARTICIPATING_COLLEG and counts all the
allowed participants to get the no. of eligible voters. And if any
of the above mentioned field contains N then the
T_OP_POLL_LIMITED_PARTICIPANTS will be checked for
getting the no. of eligible voters by counting all the USER_OID
for the corresponding POLL_ID

The complete response field will be populated by the no of voters


who have voted by responding to all the questions of the poll.
Select all the questions from the T_OP_POLL_QUESTIONS for
a particular POLL_ID. Check for the voters who have responded
to that POLL_I, then identify and count the voters who have
voted for all the questions of that poll.

The incomplete response field will be populated by the no. of


voters who have not voted by giving answers to all questions.
First count the total no of voters for the POLL_ID from the
T_OP_POLLING, and then subtract the voters given complete
response from the total no. of voters.

Current status will represent whether the poll is finished or is in


running state. This value will be retrieved from the list directly.

The following section will retrieve all the set names for that
POLL_ID
SQL: SELECT SET_ID, SET_NAME FROM
T_OP_POLL_SET WHERE POLL_ID=SELECTED_POLL_ID

The next field ‘show no of questions’ specifies how many


questions will be displayed at a time for the particular set.
The next field is show voting results of last polls. This field
shows the no. of polls to be viewed for the analysis. And the
respective options will be displayed in the page.
SQL: SELECT START_DATE_TIME, END_DATE_TIME,
POLL_REPEAT_ID, REPETITION_NO FROM
T_OP_POLL_REPEAT
WHERE POLL_ID=SELECTED_POLL_ID

172
The next field is show all questions with the no of questions for
that set which will display all the questions of that set one after
another.
The field ‘filter response by participant type’ will be populated
by identifying the groups of participants from the
T_OP_POLL_CONFIGURATION and also by identifying the
USERTYPE from the T_USER of the allocated USER_OID. The
groups can be any of the students, staffs, parents, alumni,
applicants etc
The following section shows the set name, questions and the
corresponding responses of the answer options with auto
generated graphs.
SQL:SELECT PS.SET_NAME, PQ.QUESTION,
PQ.QUESTION_WEIGHTAGE, PA.ANSWER_OPTION,
PA.ANSWER_OPTION_WEIGHTAGE

FROM T_OP_POLL_SET PS, T_OP_POLL_QUESTION PQ,


T_OP_POLL_ANSWER_OPTION PA

WHERE PS.SET_ID=PQ.SET_ID AND


PQ.QUESTION_ID=PA.QUESTION_ID AND
PS.SET_ID=SELECTED_SET_ID
The result for each option will be evaluated by the following
query
SQL:SELECT COUNT(USER_OID), ANSWER_OPTION
FROM T_OP_POLL_ANSWER_OPTION
GROUP BY ANSWER_OPTION
Total no. of voters for each poll will be shown by the following
query
SQL:SELECT COUNT(DISTINCT USER_OID) FROM
T_OP_POLL_POLLING
WHERE
POLL_REPEAT_ID=SELECTED_POLL_REPEAT_ID
GROUP BY POLL_REPEAT_ID
The current stage will be populated by the corresponding poll
analysis stage from the list page.
The select stage field will be populated by the assigned stages to
the user
Here the name of those stages will be shown to the user to which
the user is allotted as the approver and the analysis of that stage is
not submitted yet.
3 When the Here the entire poll will be discarded. If the user is authorized to
user SQL:UPDATE T_OP_POLL_DISCARDED_QUESTIONS SET do so, then only he/she can
clicks on DISCARD_STATUS=’Y’; access the discard button
the and discard the selected poll
discard from the list. If the particular
button is running then the poll also
can be discarded.

1.6.3.7.3 Edit Section


1 Action and validation SQLs
Special Note: In this section the comments after analysis will be posted for all components such as the
comments can be for the question, it can be for the set or it also can be for the poll. And when the user

173
clicks on the save button then all the comments will be saved in their respective analysis tables. When
the edit section is loaded all the fields mentioned will be shown with the appropriate values as
mentioned in the section 1.1.2.2.1.1. Along with all the fields other fields named comments for
question, comments for set, comments for poll will be shown in the section as well as another option
asking for the overall comment if multiple poll analysis is requested by the option show voting results of
last several polls.

Sl Eve Actions: Logic with SQL as reqd. Validati


# nt on: :
Logic
with
SQL as
reqd.
1 Whe The comments given for the corresponding fields will be saved in their corresponding
n the tables.
user SQL:INSERT INTO T_OP_POLL _ANALYSIS_FOR
click VALUES(POLL_ANALYSIS_FOR_ID,SELECTED_POLL_ID,’SYSDATE’,’ENTERED
s on _ANALYSIS_COMMENT’);
the
save INSERT INTO VALUES(REPEAT_POLL_CON_ID,
butto CURRENT_POLL_ANALYSIS_FOR_ID, SELECTED_POLL_REPEAT_ID);
n.
INSERT INTO T_OP_POLL __SET_ANALYSIS VALUES(SET_ANALYSIS_
ID,SELECTED_SET_ID, CURRENT_POLL_ANALYSIS_FOR_ID,
’ENTERED_SET_ANALYSIS_COMMENTS’);

INSERT INTO T_OP_POLL __QUESTION_ANALYSIS


VALUES(QUESTION_ANALYSIS_ ID,SELECTED_QUESTION_ID,
CURRENT_SET_ANALYSIS _ID,
’ENTERED_QUESTION_ANALYSIS_COMMENTS’);
In the T_OP_POLL_ANALYSIS_APPROVAL the SAVED_STATUS will become true
for that particular POLL_ANALYSIS_FOR_ID
2 Whe All the saved information regarding the analysis will be saved in the tables and cannot be
n the edited by the user after submission. The submitted status in the
user T_OP_POLL_ANALYSIS_APPROVAL will become true.
click
s the
sub
mit
butto
n

1.6.3.8 Opinion PollPoll Result & AnalysisResult


1.6.3.8.1 Column-Database mapping
Please refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective
screens.

Sl# Label Database Tables Columns Remarks

174
1.6.3.8.2 List Section

1 Action and validation SQLs

Special Note: When the screen is loaded the list page will be shown with the corresponding values. The
end date between fields will be having default value as sysdate-30 and sysdate-1 respectively. The status
field contains the status of the polls listed whether a poll is discarded or discontinued. The results of the
discarded or discontinued polls will not be available, only the state is visible to the user depending on
the given specification.

Sl Event Actions: Logic with SQL as reqd. Validation: : Logic with SQL as
# reqd.
1 When All the columns named topic name, related area, sub area If any poll is discarded or
the list name, start date; end date view will be loaded with their discontinued by the assigned user
section respective values the default value for the end date between then the status of that poll will be
is fields is sysdate-30 and sysdate-1. displayed as “discarded” or
loaded SQL: “discontinued”. No results for that
SELECT RA.RELATED_AREA_NAME, poll will be available. This will be
SA.RELATED_SUB_AREA_NAME, shown to the participants if the
PC.TOPIC AS TOPIC NAME , SHOW_DSCD_POLLS_TI_USER
PR.START_DATE_TIME, &
PR.END_DATE_TIME, SHOW_DISCON_POLLS_TO_US
PR.DISCARD_POLL ER has the value as”Y”.
PR.POLL_REPEAT_ID

FROM T_ADM_SEC_RELATED_AREA RA,


T_ADM_SEC_RELATED_SUB_AREA
SA,
T_OP_POLL_CONFIGURATION PC,
T_OP_POLL_REPEAT PR
WHERE
RA.RELATED_TO_AREA_ID=SA.RELATED_SUB_ARE
A_ID AND
SA.RELATED_SUB_AREA_ID=PC.
T_OP_POLL_CONFIGURATION AND
PR.POLL_ID=PC.POLL_ID
PR.END_DATE_TIME IS BETWEEN(SYSDATE-
30,SYSDATE-1)
AND (PR.SHOW_DSCD_POLLS_TI_USER=’Y’ OR
PR.SHOW_DISCON_POLLS_TO_USER=’Y’)

175
2 When All the polls whose end date are between THE GIVEN TWO
the End DATES(DATE-1 AND DATE-2) will be populated in the list
date as
betwee SQL:
n field SELECT PC.TOPIC AS TOPIC NAME ,
is RA.RELATED_AREA_NAME,
selecte SA.RELATED_SUB_AREA_NAME,
d PR.START_DATE_TIME,
PR.END_DATE_TIME,
PR.POLL_REPEAT_ID,
PR.REPEAT_DISCONTINUE
FROM
T_ADM_SEC_RELATED_AREA RA,
T_ADM_SEC_RELATED_SUB_AREA SA
T_OP_POLL_CONFIGURATION
T_OP_POLL_REPEAT
WHERE
RA.RELATED_TO_AREA_ID=SA.RELATED_SUB_ARE
A_ID AND
SA.RELATED_SUB_AREA_ID=PC.
T_OP_POLL_CONFIGURATION AND
PR.POLL_ID=PC.POLL_ID AND
END_DATE_TIME IS BETWEEN(DATE1,DATE2)

3 All the fields will be populated in the upper section as per the
When the selected poll_repeat_id.
user clicks Eligible voters will come from the list of participants i.e.
on view ALL_STUDENT, ALL_STAFFS, ALL_PARENTS,
button ALL_ALUMNI, ALL_GROUPS. out of these whose status
is Y in the t_op_poll_cofiguration table then the
T_OP_POLL_PARTICIPATING_COLLEG table will be
checked for counting the assigned participants to get the no
of eligible voters(user_oid,poll_id). If the status is N then
T_OP_POLL_LIMITED_PARTICIPANTS will be cheked.

Complete response will be taken as


answer_option_id,user_oid,poll_repeat_id from
t_op_poll_polling. In t_op_poll_answer_option table we get
the question_id so that we can know for which question the
answer is for.
Incomplete response = count total no of voters – complete
responses ( both will come form t_op_poll_polling in against
of each poll_repeat_id.
When the It contains all the sets present in that selected poll topic.
user selects SQL:
the Set field SELECT SET_ID, SET_NAME
FROM
T_OP_POLL_SET
WHERE
POLL_ID=SELECTED_POLL_ID
When user Then all the participating groups will be populated in that
selects the combo box against the poll_id and user_oid. It will identify
Show Result the participants from T_OP_POLL_CONFIGURATION
by (staff,student,parent,alumni,applicants etc)

176
For Poll Analysis:
SQL:
AF.POLL_ANALYSIS_COMMENT
FROM
T_OP_POLL_REPEAT_POLL_CONSIDER PCN
T_OP_POLL_ANALYSIS_FOR AF
WHERE
AF.POLL_ANALYSIS_FOR_ID=PCN.
POLL_ANALYSIS_FOR_ID AND
AF.POLL_ID = SLECTED POLL_ID

For Set analysis:


SQL:
SELECT
SA.SET_ANALYSIS_COMMENT
FROM
T_OP_POLL_SET_ANALYSIS SA,
T_OP_POLL_ANALYSIS_FOR AF
WHERE
SA.POLL_ANALYSIS_FOR_ID=AF_
POLL_ANALYSIS_FOR_ID AND
AF.POLL_ID=SELECTED POLL_ID
For Question:
SQL:
Q.QUESTION,
A.ANSWER_OPTION,
FROM
T_OP_POLL_SET S,
T_OP_POLL_QUESTION Q,
T_OP_POLL_ANSWER_OPTION A
WHERE
S.SET_ID=Q.SET_ID AND
Q.QUESTION_ID=A.QUESTION_ID AND
S.SET_ID=SELECTED SET_ID

For calculating the total no of voters votes:


SQL:SELECT COUNT(DISTINCT USER_OID) FROM
T_OP_POLL_POLLING
WHERE
POLL_REPEAT_ID=SELECTED_POLL_REPEAT_ID
GROUP BY POLL_REPEAT_ID
For question analysis:
SQL:
SELECT
QA.QUESTION_ANALYSIS_COMMENT
FORM
T_OP_POLL_QUESTUIN_ANALYSIS
WHERE
AQ.SET_ANALYSIS_ID=SA.SET_ANALYSIS_ID ANS
SA.SET_ID=S.SET_ID
S.POLL_ID=PC.POLL_ID

177
1.6.3.9 Opinion PollPollDiscard & Discontinue poll
1.6.3.9.1 Column-Database mapping
Please refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective
screens.

Sl# Label Database Tables Columns Remarks

1.6.3.9.2 Discard Section


1 Action and validation SQLs
Special Note: when the page is loaded the entire field will be displayed.

S Event Actions: Logic with SQL as reqd. Valida


l# tion: :
Logic
with
SQL
as
reqd.
1 When the Then the related to area name under opinion poll module will be populated in the related
screen is to area field.
loaded SQL:

SELECT RELATED_AREA_ID,RELATED_AREA_NAME
FROM T_ADM_SEC_RELATED_AREA
WHERE MENU_ITEM_ID='OP_POLL'

2 When the Then the respective sub area under that related to area will be populated in sub area field. .
user SQL:
choose SELECT RELATED_SUB_AREA_ID,RELATED_SUB_AREA_NAME
any item FROM T_ADM_SEC_RELATED_SUB_AREA
in the RSA,T_ADM_SEC_RELATED_AREA RA
related WHERE RSA.RELATED_AREA_ID =?
area field AND RSA. RELATED_AREA_ID=RA.RELATED_AREA_ID
and
presses
tab

178
3 When All the columns named related to area, related to sub area, topic name, set name, status
user and also discard/ discontinue button with all the default value will be displayed as a list.
choose CREATE VIEW AS V1
any item SQL:
in related SELECT
sub area
field and RA.RELATED_AREA_NAME,RA.RELATED_AREA_ID,SRA.RELATED_SUB_AR
presses EA_ID,SRA.RELATED_SUB_AREA_NAME,PC.POLL_ID,PC.TOPIC,PC.START_D
tab ATE_TIME,PC.END_DATE_TIME,PS.SET_ID,PS.SET_NAME,PD.DISCARD_STAT
US,RPT.POLL_REPEAT_ID
FROM T_ADM_SEC_RELATED_AREA RA,T_MENU
MN,T_ADM_SEC_RELATED_SUB_AREA SRA,T_OP_POLL_CONFIGURATION
PC,T_OP_POLL_SET PS,T_OP_POLL_REPEAT
RPT,T_OP_POLL_DISCARDED_QUESTIONS PD
WHERE
RA.MENU_ITEM_ID=MN.MENU_ITEM_ID
AND SRA.RELATED_AREA_ID=RA.RELATED_AREA_ID
AND PC.RELATED_SUB_AREA_ID=SRA.RELATED_SUB_AREA_ID
AND PS.POLL_ID=PC.POLL_ID
AND RPT.POLL_ID=PC.POLL_ID
AND PD.POLL_REPEAT_ID=RPT.POLL_REPEAT_ID
AND PC.RELATED_SUB_AREA_ID= 12
**Discontinue button will appear only for repetitive poll
SQL
SELECT PC.REPEAT_TYPE,V1.POLL_ID
FROM T_OP_POLL_CONFIGURATION PC,V1
WHERE V1.POLL_ID=PC.POLL_ID
AND REPEAT_TYPE IS NULL;

4 When Then only those topic will be displayed whose start date is in between the date provided
user by the user.
enter SELECT
two date
in start RA.RELATED_AREA_NAME,RA.RELATED_AREA_ID,SRA.RELATED_SUB_AR
date EA_ID,SRA.RELATED_SUB_AREA_NAME,PC.POLL_ID,PC.TOPIC,PC.START_D
between ATE_TIME,PC.END_DATE_TIME,PS.SET_ID,PS.SET_NAME,PD.DISCARD_STAT
X and Y US,RPT.POLL_REPEAT_ID
field FROM T_ADM_SEC_RELATED_AREA RA,T_MENU
MN,T_ADM_SEC_RELATED_SUB_AREA SRA,T_OP_POLL_CONFIGURATION
PC,T_OP_POLL_SET PS,T_OP_POLL_REPEAT
RPT,T_OP_POLL_DISCARDED_QUESTIONS PD
WHERE
RA.MENU_ITEM_ID=MN.MENU_ITEM_ID
AND SRA.RELATED_AREA_ID=RA.RELATED_AREA_ID
AND PC.RELATED_SUB_AREA_ID=SRA.RELATED_SUB_AREA_ID
AND PS.POLL_ID=PC.POLL_ID
AND RPT.POLL_ID=PC.POLL_ID
AND PD.POLL_REPEAT_ID=RPT.POLL_REPEAT_ID
AND PC.RELATED_SUB_AREA_ID= ?
AND PC.START_DATE_TIME BETWEEN ?(DATE1)AND ?(DATE2)

179
5 if user Then the respective poll, set, question along with the answer option will be displayed at
clicks the the top.
CREATE VIEW AS VIEW V2
discard
SQL:
question SELECT
button RPT.POLL_ID,PC.TOPIC,PS.SET_ID,PS.SET_NAME,PQ.QUESTION_ID, PQ.QUESTIO
N,RPT.POLL_REPEAT_ID,ANS.ANSWER_OPTION_ID,ANS.ANSWER_OPTION
FROM
T_OP_POLL_SET PS,T_OP_POLL_QUESTION
PQ,T_OP_POLL_CONFIGURATION PC, T_ADM_SEC_RELATED_SUB_AREA
RSA, T_ADM_SEC_RELATED_AREA RA,T_OP_POLL_REPEAT RPT,
T_OP_POLL_ANSWER_OPTION ANS

WHERE RPT.POLL_ID = PC.POLL_ID


AND PC.RELATED_SUB_AREA_ID=RSA.REALTED_SUB_AREA_ID
AND RSA.RELATED_AREA_ID=RA.RELATED_AREA_ID
AND PS.POLL_ID=PC.POLL_ID
AND PQ.SET_ID=PS.SET_ID
AND ANS.QUESTION_ID= PQ.QUESTION_ID
AND PC.RELATED_SUB_AREA_ID=?
6 When Then the set name field will be populated along with all the set name of the selected poll.
the user SQL:
SELECT ST.SET_ID,ST.SET_NAME,RPT.POLL_ID
clicks the
FROM T_OP_POLL_SET ST,T_OP_POLL_CONFIGURATION
discard PC,T_ADM_SEC_RELATED_SUB_AREA RSA,T_ADM_SEC_RELATED_AREA
question RA,T_MENU MN,T_OP_POLL_REPEAT RPT
button WHERE
RA.MENU_ITEM_ID=MN.MENU_ITEM_ID
AND RSA.RELATED_AREA_ID=RA.RELATED_AREA_ID
AND PC.RELATED_SUB_AREA_ID=RSA.RELATED_SUB_AREA_ID
AND RPT.POLL_ID=PC.POLL_ID
AND ST.POLL_ID=PC.POLL_ID

7 When Then the question and answer option will be displayed of that selected set
the user SQl:
SQL:
chose
SELECT
any item RPT.POLL_ID,PC.TOPIC,PS.SET_ID,PS.SET_NAME,PQ.QUESTION_ID, PQ.QUESTIO
in the set N,RPT.POLL_REPEAT_ID,ANS.ANSWER_OPTION_ID,ANS.ANSWER_OPTION
name FROM
field T_OP_POLL_SET PS,T_OP_POLL_QUESTION
PQ,T_OP_POLL_CONFIGURATION PC, T_ADM_SEC_RELATED_SUB_AREA
RSA, T_ADM_SEC_RELATED_AREA RA,T_OP_POLL_REPEAT RPT,
T_OP_POLL_ANSWER_OPTION ANS

WHERE RPT.POLL_ID = PC.POLL_ID


AND PC.RELATED_SUB_AREA_ID=RSA.REALTED_SUB_AREA_ID
AND RSA.RELATED_AREA_ID=RA.RELATED_AREA_ID
AND PS.POLL_ID=PC.POLL_ID
AND PQ.SET_ID=PS.SET_ID
AND ANS.QUESTION_ID= PQ.QUESTION_ID
AND PC.RELATED_SUB_AREA_ID=?
AND RPT.POLL_ID=?
AND PS.SET=?

180
8 when the Then the question /poll/set will be discarded
user For discarding a poll:
SQL:
clicks the
UPDATE TABLE T_OP_POLL_REPEAT
discard SET DISCARD_POLL=’Y’
button ,REPEAT_DISCONTINUE=’Y’,
SEND_DSCD_NTFCN_TO_PTCPNTS=’Y’,SHOW_DSCD_POLLS_TO_USR=’Y’
WHERE POLL_ID = SELECTED POLL_ID IN THE LIST;

9 WHEN FOR DISCARDING A QUESTION :


THE
1.UPDATE TABLE T_OP_POLL_DISCARDED_QUESTIONS
USER
SET DISCARD_ STATUS=’Y’
SELECT WHERE QUESTION_ID=SELECTED QUESTION ID IN THE LIST
THE
DISCARD
CHECK
BOX

1 When Then the entire set will be discarded


0 the user FOR DISCARDING A SET
select
UPDATE TABLE T_OP_POLL_DISCARDED_QUESTIONS
the SET DISCARD_ STATUS=’Y’
discard
the WHERE QUESTION_ID IN(SELECT QUESTION_ID
entire FROM T_OP_POLL_QUESTION
WHERE
field
T_OP_POLL_QUESTION.QUESTION_ID=T_OP_POLL_DISCARDED_QUESTION
S.QUESTION_ID
AND SET_ID=SELECTED SET ID IN THE LIST )
1 When Then all displayed questions will be discarded
1 the user SQL
select
UPDATE TABLE T_OP_POLL_DISCARDED_QUESTIONS
discard SET
all CHECK DISCARD_STATUS=’Y’
BOX WHERE QUESTION_ID IN(?,?,?)

1 when the then that particular poll will not repeat.


2 user SQL:
UPDATE TABLE T_OP_POLL_REPEAT
clicks the
SET REPEAT_DISCONTINUE=’Y’
discontin ,
ue SEND_DISCNT_NTFCN_TO_PTCPNTS=’Y’,SHOW_DISCONT_POLL_TO_USR=’
button Y’

WHERE POLL_REPEAT_ID=SELECTED POLL_ID IN THEV LIST

181
1.6.3.10 Opinion pollpollChange Participants
1.6.3.10.1 Column-Database mapping
Please refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective
screens.

Sl# Label Database Tables Columns Remarks

1.6.3.10.2 Edit Section


2.1 Action and validation SQLs

Sl# Event Actions: Logic with SQL as reqd. Validation: : Logic with SQL as
reqd.
1 When the change The module label having combo box along with
participants of all value is populated
repeated poll Sql:select menu_item_id,item_name from
section is loaded T_MENU
The Related Area,Related SubArea,topic name
along with select college,student,staff
alumni,applicants,others etc are loaded
By selecting a respective module the corresponding
related area is populated
Sql: select Related_area_id,Related_area_name
from T_ADM_SEC_RELATED_AREA where
menu_iten_id=(select menu_item_id from
T_MENU where item_name=”opinion poll”);
2 When user select a By selecting a respective related area the
area from corresponding related sub area is populated
Related_Area Sql:
combo box that are Select related_sub_area_name from
populated T_ADM_SEC_RELATED_SUB_AREA,
where related_area_id=(select related_area_id
from T_ADM_RELATED_AREA where
menu_item_id=(select menu_item_id from
T_MENU where item_name=”opinion poll”))

182
3 When user select a Sql:
sub-area Select topic from t_op_poll_configuration where
respective related_sub_area_id=(select related_sub_area_id
poll/topic name from t_adm_sec_related_sub_area where related
belongs to that _area_id =(select related_area_id from
sub-area is t_adm_sec_related_area where
populated in that menu_item_id=(select menu_item_id from t_menu
combo box where item_name=”opinion poll”)))

Select poc.topic from t_op_poll_configuration


poc,t_adm_sec_relate_sub_area
rs,t_adm_sec_related_area ra,t_menu tm where
poc.related_sub_area_id=rs.related_sub_area_id
and rs.related_area_id=ra.related_area_id and
ra.menu_item_id=tm.menu_item_id(of opinion
poll)

183
4 When user select By selecting all or limited a filter is poping out
from the combo When user select “all” all colleges are displayed in
box having the the right side of filter and then we can’t take any
lable “select college from that right side display to left side
college” ,there are display
2 things that area But when user clicks “limited” ,in the right side of
flashed filter all colleges are poping out , user can selects
e.g.all,limited the colleges from right side block to take them to
left side block
All above authority is fully enjoyed by only super
admin of the organization
But for a admin of respective college logged in
only user’s college is poping out in that filter
Sql:

Select wing_name from t_client_wing cw where


cw.client_wing_oid=(select client_wing_oid from
t_op_poll_participating_colleges where
poll_id=(select poll_id from
t_op_poll_configuration where
related_sub_area_id=(select related_sub_area_id
from t_adm_sec_related_sub_area where related
_area_id =(select related_area_id from
t_adm_sec_related_area where
menu_item_id=(select menu_item_id from t_menu
where item_name=”opinion poll”)))))

Select tcw.wing_name from t_client_wing tcw,


,t_op_poll_participating_colleges
poc,t_op_poll_configuration
pol,t_adm_sec_related_sub_area
rs,t_adm_sec_related_area ra,t_menu tm where
tcw.client_wing_oid=poc.client_wing_id and
poc.poll_id=pol.poll_id and
pol.related_sub_area_id=rs.related_sub_area_id
and rs.related_area_id=ra.related_area_id and
ra.menu_item_id=tm.menu_item_id(of opinion
poll)

5 When the College filter will be available 1. If the user is a super admin all
participant section All the available college name from available college will be seen in
loaded T_CLIENT_WING will be populated in the the selected list
selected list 2. If the user is a college admin
If the super admin wants a college not to will see only his college
participate in the poll he reverse back to the
available list

184
6 A. When the user A. All the current student from the selected If (admin=super or admin=college
selects ALL option colleges will be selected for polling and _admin )
from current ALL_STUDENT column from Then
student section T_OP_POLL_CONFIGURATION he can add students from available
students to selected students
B. When the user B. A students filter will be available containing all
selects limited students list of all selected colleges in the available super admin adds all college
option from list and the admin has a option to add students from students and college admin only
current student available list to selected student list adds own college students
section option

7 A. When the user A. All the staff from the selected colleges will be If (admin=super_admin or
selects ALL option selected for polling and ALL_STAFF column from admin=college _admin )
from staff section T_OP_POLL_CONFIGURATION Then
he can add staff from available
B. When the user B. A staff filter will be available containing all staff staff to selected students
selects limited list of all selected colleges in the available list and
option from staff the admin has a option to add staff from available super admin adds all college staff
section option list to selected staff list and college admin only adds own
college staff

8 A. When the user A. All the alumni from the selected colleges will be If (admin=super or admin=college
selects ALL option selected for polling and ALL_ALUMINI column _admin )
from alumni from T_OP_POLL_CONFIGURATION Then
section he can add students from available
B. A alumni filter will be available containing all students to selected students
B. When the user students list of all selected colleges in the available
selects limited list and the admin has a option to add students from super admin adds all college
option from available list to selected student list students and college admin only
alumni section adds own college students
option

9 A. When the user A. All the staff from the selected colleges will be If (admin=super_admin or
selects ALL option selected for polling and ALL_PARENTS column admin=college _admin )
from staff section from T_OP_POLL_CONFIGURATION Then
he can add staff from available
B. When the user B. A parent filter will be available containing all staff to selected students
selects limited staff list of all selected colleges in the available list
option from staff and the admin has a option to add staff from super admin adds all college staff
section option available list to selected staff list and college admin only adds own
college staff

10 A. When the user A. All the applicants from the selected colleges will If (admin=super or admin=college
selects ALL option be selected for polling _admin )
from applicants Then
section B. A alumni filter will be available containing all he can add students from available
students list of all selected colleges in the available students to selected students
B. When the user list and the admin has a option to add students from
selects limited available list to selected student list super admin adds all college
option from students and college admin only
alumni section adds own college students
option

185
11 A. When the user A. All the other group from the selected colleges If (admin=super_admin or
check’s the check will be selected for polling admin=college _admin )
box of Groups Then
Defined B. A parent filter will be available containing all he can add staff from available
staff list of all selected colleges in the available list staff to selected students
B. When the user and the admin has a option to add staff from
selects limited available list to selected staff list super admin adds all college staff
option from staff and college admin only adds own
section option college staff

1.6.3.11 Opinion pollPollChange Dates


1.6.3.11.1 Column-Database mapping

Sl# Label Database Tables Columns Remarks

1.6.3.11.2 List Section


2.1 Action and validation SQLs

Sl Even Actions: Logic with SQL as reqd. Validation: :


# t Logic with SQL
as reqd.
1 When The corresponding related area,related subarea,poll name,start end date and time,edit Super admin is
the will be loaded authorized to
list Sql:Select Related_area_name from T_ADM_RELATED_AREA where acess to all
sectio menu_item_id=(select menu_item_id fromT_MENU where menu_item_id=”opinion colleges/instituti
n is poll”) ons
loade {The above sql is used when an admin of a given institution is choosing that is the ,but admin of
d case there is no option of other colleges/institutions so no case of opting for wing respective
names/college names} college is
authorized only
Select related_area_name from T_ADM_RELATED_AREA RA to
,t_adm_sec_rel_area_client_wing rew where manipulate/edit
Ra.related_area_id=rew.related_area_id and rew.client_wing_id=(select the respective
client_wing_id from T_client_wing where wing_name=(selected wing_name from college records
t_client_wing))
{ This above sql is used to give authority to super admin to opt for the colleges that
he/she is wanting to use}

Select related_sub_area_name from T_ADM_SEC_RELATED_SUB_AREA,


where related_area_id=(select related_area_id from T_ADM_RELATED_AREA
where menu_item_id=(select menu_item_id from T_MENU where
item_name=”opinion poll”))

186
Select topic from t_op_poll_configuration where related_sub_area_id=(select
related_sub_area_id from t_adm_sec_related_sub_area where related
_area_id =(select related_area_id from t_adm_sec_related_area where
menu_item_id=(select menu_item_id from t_menu where item_name=”opinion
poll”)))

Select poc.topic from t_op_poll_configuration poc,t_adm_sec_relate_sub_area


rs,t_adm_sec_related_area ra,t_menu tm where
poc.related_sub_area_id=rs.related_sub_area_id and
rs.related_area_id=ra.related_area_id and ra.menu_item_id=tm.menu_item_id(of
opinion poll)
Select start_date_time from t_op_poll_repeat where poll_id=(select poll_id from
t_op_poll_configuration where related_sub_area_id=(select related_sub_area_id
from t_adm_sec_related_sub_area where related
_area_id =(select related_area_id from t_adm_sec_related_area where
menu_item_id=(select menu_item_id from t_menu where item_name=”opinion
poll”))))

Select start_date_time from t_op_poll_repeat por,t_op_poll_configuration


poc,t_adm_sec_related_sub_area rs,t_adm_sec_related_area ra,t_menu tm where
por.poll_id=poc.poll_id and poc.related_sub_area_id=rs.related_sub_area_id and
rs.related_area_id=ra.related_area_id and ra.menu_item_id=tm.menu_item_id(of
opinion poll)

Select end_date_time from t_op_poll_repeat where poll_id=(select poll_id from


t_op_poll_configuration where related_sub_area_id=(select related_sub_area_id
from t_adm_sec_related_sub_area where related
_area_id =(select related_area_id from t_adm_sec_related_area where
menu_item_id=(select menu_item_id from t_menu where item_name=”opinion
poll”))))

Select end_date_time from t_op_poll_repeat por,t_op_poll_configuration


poc,t_adm_sec_related_sub_area rs,t_adm_sec_related_area ra,t_menu tm where
por.poll_id=poc.poll_id and poc.related_sub_area_id=rs.related_sub_area_id and
rs.related_area_id=ra.related_area_id and ra.menu_item_id=tm.menu_item_id(of
opinion poll)

Select
ra.related_area_name,ras.related_sub_area_name,poc.topic,pr.start_date_time,
pr.end_datetime from t_adm_sec_related_area ra,t_adm_sec_related_sub_area
ras,t_op_poll_configuration poc,t_op_poll_repeat pr where
ra.related_area_id=ras.related_area_id and
ras.related_sub_area_id=poc.related_sub_area_id and poc.poll_id=pr.poll_id

1.6.3.11.3 Edit Section


3.1 Action and validation SQLs

Sl# Event Actions: Logic with SQL as reqd. Validation: : Logic


with SQL as reqd.
1 When For the non repetitive poll a edit section is coming out having displayed the Admin or super
edit related area name ,related sub area name, poll/topic name. admin only can

187
button is Here the user is authorized to give new start date and new end date edit/manipulate
clicked
and that Insert into t_op_poll_configuration (repeat_start_date_time,
poll is of repeat_end_date_time) values(?,?) where related_sub_area_id=(select
non related_sub_area_id from t_adm_sec_related_sub_area where related
repetitive _area_id =(select related_area_id from t_adm_sec_related_area where
menu_item_id=(select menu_item_id from t_menu where
item_name=”opinion poll”))) ) and max(repetition_no)=1
? =value entered by user

2 When For the non repetitive poll a edit section is coming out having displayed the
edit related area name ,related sub area name,poll/topic name.
button is Here the user is authorized to give new start date and new end date,and the
clicked user is given priority to add no of days to start date and end date
and that
poll is Update t_op_poll_repeat set start_date_time=start_date_time+?;
repetitive
Update t_op_poll_repeat set end_date_time=end_date_time+?;

? =value entered by user

188

Das könnte Ihnen auch gefallen