Beruflich Dokumente
Kultur Dokumente
GREYCELLS
TRAINING ASSIGNMENT
July 2010
Bhubaneswar
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,
Bhubaneswar
India.
Website: http://www.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 AdministrationSecurityCreate Related Area...............................................................52
1.5.3 AdministrationSecurityCreate Related Sub Area........................................................56
1.5.4 AdministrationSecurityCreate Sub-area Functionary.................................................59
1.5.5 Opinion PollConfigurationApproval stage and user...................................................63
1.5.6 Opinion PollPollCreate and Approve Poll...................................................................68
3
1.5.7 Opinion pollPollpolling...............................................................................................93
1.5.8 Opinion PollAnalysis and approval of resultAnalysis Result.....................................100
1.5.9 Opinion pollConfigurationPoll Result.......................................................................109
1.5.10 Opinion PollàConfigurationàchange participants for repeated poll.................................112
1.5.11 Opinion PollPollDiscard/Discontinue Screen............................................................120
1.5.12 Opinion PollPollChange 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
0.0b 02/aug/2010 Training Team Rajesh Sharma 07/aug/2010 Modified document after
review.
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)
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.
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.
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.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
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
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
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
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
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
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
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
InfoCr
eate
Staff,
Student-
Student
InfoAd
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
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
InfoCr
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
InfoAd
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
InfoAd
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
InfoAd
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. ????
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)
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.
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
Multiple
choices
with
ranking.
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.
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.
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.
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
22
Start date & time
Set weightage
Question weightage
Answer type
No of options to be selected
options
weightages
Remarks allowed?
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
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
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)
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
Answer options
No of voters
No of participants
3 Poll analysis request Email to the next analysis approver As defined in input Section
email
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.
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.
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
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.
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.
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.
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.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
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.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.
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:
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.
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
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
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.
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
4 Create Poll approval stages AdministrationSecurityApproval Stage & User All the processes are
being done through
5 Create poll approval users
the same screen.
6 Create poll analysis stages
13 Discontinue Poll
35
15 Poll Result Analysis & Opinion PollPoll Result & AnalysisPoll Analysis &
Approval Approval
17 Show Result Opinion PollPoll Result & AnalysisPoll 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.
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.
37
view or make any view the fields
change in existing (disabled for
entry. modification).
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.
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.
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.
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
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.
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.
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.
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
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.
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
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
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
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.
51
college. enrolled in the
selected college
will be selected.
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
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
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
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
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
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.
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
56
as shown in the
examples.
For all common events for this list section please refer to the section 1.5.1.2.
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.
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.
58
base. running poll and
user cannot
provide an already
exited related area
name.
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
59
6 Related Display Varchar It defines the name of
sub-area the related sub area
name
Special Note: For all common events and actions in the list section please refer to the section 1.5.1.2
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.
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.
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.
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.
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.
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
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
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
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.
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.
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.
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
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.
68
18 Next ( > ) Refers to the 12th row of the section 1.5.1.1
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.
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.
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.
70
Students 10 Check Boolean Specifies
Box whether students
will be selected
or not.
Special Note: For all the common events and the actions please refer to the section 1.5.1.2.
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.
The purpose of this screen is to define the Poll for a particular subarea of a related to area.
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.
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)
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
(areasub-
area)
Special Note: For all the common events, actions and validations in a list section refer to section1.5.2.2
74
3 When the user selects any of The list of all polls in that stage for a
the available stages from the particular (areasub-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
(areasub-areastage)
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.
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
75
5 Topic Display Varchar Displays the name of
the poll
76
19 Page No Refer to 9th row of the section 1.5.1.1
Special Note: For all the common events, actions and validations in a list section refer to section1.5.2.2
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
7 Drop- Varchar AM PM Y
down
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
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
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
For the events of the common section please refer to the Common sections of the screens
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
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
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.
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
For all the common section events please refer to the common section
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
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)
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
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)
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
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)
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
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
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.
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
94
Screen Events actions and validations
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.
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.
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
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.
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
Special Notes: For all common events for this list section please refer to the section 1.5.1.2
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.
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.
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.
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
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.
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
Special Notes: For all common events for this list section please refer to the section 1.5.1.2
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 PollAnalysis and approval of resultAnalysis 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.
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
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)
108
the topic is in creating
which stage. stage,
rectifying
stage etc.
Special notes: For all the common events refers to the section 1.5.1.2
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.
110
11 Answer Display Varchar It defines different For example yes/no,
Options option of the agree/disagree.
question.
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.
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.
112
28 Last(>|) Refer to the section 1.5.1.1
Special notes: For all the common Events please refer to section 1.5.1.2
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.
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
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.
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)
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.
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.
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.
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.
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
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
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
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
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
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.
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
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
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
(>)
Special notes: for all common events, actions, and validations refer to section 1.5.1.2
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
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.
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
Special notes: for all common events, actions, and validations refer to section 1.5.1.2
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.
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.
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.
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.
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.
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.
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
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.
Special Note: For all the common events, actions and validations in a list section refer to section1.5.2.2
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.
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.
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
2 When the user makes The End date must be greater than the
any changes in the start date.
End date field
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.
7 Drop- Varchar AM PM Y
down
136
Screen Events actions and validations
Special notes:
1.6.1 ER Diagram
opinion_poll.er1
137
1.6.2 Screen to database mapping
final_mapping.xls
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
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’);
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
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.
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.
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')
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.
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.
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 PollPollCreate 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# 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
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
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:-
164
1.6.3.6 Opinion PollPollPolling
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.
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
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
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
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 )
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
1.6.3.7 Opinion PollPoll 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
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 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
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
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.
174
1.6.3.8.2 List Section
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
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.
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
177
1.6.3.9 Opinion PollPollDiscard & 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.
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
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
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;
181
1.6.3.10 Opinion pollpollChange 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# 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”)))
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:
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
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
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
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+?;
188