+ All Categories
Home > Documents > URS for Opinion Poll

URS for Opinion Poll

Date post: 22-Nov-2014
Category:
Upload: prmohanty08
View: 113 times
Download: 0 times
Share this document with a friend
Popular Tags:
293
URS for Opinion Poll GREYCELLS TRAINING ASSIGNMENT Module – Opinion Poll July 2010 Kalinga Software Private Limited Bhubaneswar 1
Transcript
Page 1: URS for Opinion Poll

URS for Opinion Poll

GREYCELLS

TRAINING ASSIGNMENT

Module – Opinion Poll

July 2010

Kalinga Software Private Limited

Bhubaneswar

Document Name Greycells_TRA_OP.doc Version.Rev 0.0b

Authorized by Date

1

Page 2: URS for Opinion Poll

COPYRIGHT NOTICE

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

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

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

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

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

mechanical, photocopying or otherwise is illegal.

Kalinga Software Private Limited

SDF Building-III, Infocity, Patia

Bhubaneswar

India.

Telephone: +91-674-2742645, 2742646

Website: http://www.kalingasoft.com

Mail to: [email protected]

2

Page 3: URS for Opinion Poll

Contents1 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

Page 4: URS for Opinion Poll

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 PollConfigurationchange 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

Page 5: URS for Opinion Poll

REVISION HISTORY

Ver. Date Author Reviewed by Date Description0.0a 24/jul/2010 Training Team Self 27/jul/2010 First version as prepared by

the Team and consolidated.

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

0.0c 08/aug/2010 Training Team Self 08/aug/2010 Modified document after review and changed.

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

5

Page 6: URS for Opinion Poll

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 topico 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 remarkso 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 timeso Result publishing options

Information on result publishing to people who should be kept informed via e-mail, sms and e-notice,

6

Page 7: URS for Opinion Poll

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-noticeo 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 historyo 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 historyo 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

Page 8: URS for Opinion Poll

1.3 Process Description

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

Page 9: URS for Opinion Poll

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

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

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

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

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

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

a. to participants for poll notification andb. to participants and related sub area functionaries for informing the publishing of result.

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

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

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

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

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

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

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

9

Page 10: URS for Opinion Poll

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

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

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

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

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

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

1.3.1 Create Related to Area:1.3.1.1 Input:

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

1 Module name

Module name Opinion poll It specifies the module name for which the related area is to be created.

Admin Create menu Varchar

2 Selected colleges

College names The authorized users select the name of the college from available college list for particular area in a module.

Varchar

3 Related Area name

Related Area name

Hostel It specifies the name of the related area which will be created.

Varchar

Description Dimensions of hostel accommodation and management

It gives the description of the created related area name.

Varchar

10

Page 11: URS for Opinion Poll

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 Type1 Created Related to

areaModule name As defined in input Section

1.3.2 Create Sub Area:

1.3.2.1 Input:Sl# Data Flow Data element Data Value

ExamplesExplanation Interface

Module Interface Process

Data Type

1 Created Related to area

Refer to 1.3.1.4 Refer to section 1.3.1.1 Create Related area

Refer to section 1.3.1.4

2 Sub Area name

Sub Area Name Boys Hostel It creates related sub-areas within a particular related area.

Varchar

Description Accommodation for boys.

It describes the sub-area within the sub area.

Varchar

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

Page 12: URS for Opinion Poll

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 OutputSl# Data Flow Data element Data Type1 Created sub area Created related area As defined in input Section

Sub area name

1.3.3 Create Poll approval Stage:

1.3.3.1 Input:Sl# Data Flow Data element Data Value

ExamplesExplanation Interface

Module Interface Process

Data Type

1 Screen name Screen name Create and approve poll

It specifies the screen name for which the functionary is assigned to the user.

Menu Create menu

Varchar

2 Created sub area

Refer to section 1.3.3.4

Refer to section 1.3.3.1 Create related to sub area

Refer to section 1.3.3.1

3 Poll approval stages

Stage Name Creating It defines various stage for the approval process

Varchar

Stage Order 1 It defines the stage order of different stages within a particular sub area.

Number

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.

12

Page 13: URS for Opinion Poll

Only numeric value is allowed to stage order.

1.3.3.4 Output:Sl# Data Flow Data element Data Type1 Created poll approval

stagesScreen name As defined in input Section

Stage Name As defined in input Section

Stage order As defined in input Section

1.3.4 Create Poll Approval users:1.3.4.1 Input:

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

1 Created poll approval stages

Refer to section 1.3.5.4

Creation It defines the stage names for the approval process

Create Poll Approval stage

Varchar

2 Approving Users

Staffs Mr. Manmath It specifies the name of the staffs who will approve the poll at the assigned stages.

Staff Create Staff Varchar

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

Student Create Student Varchar

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

Student Create Student Varchar

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.

13

Page 14: URS for Opinion Poll

Only varchar value is allowed for providing functionary names.

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

Stage Name As defined in input Section

Stage order As defined in input Section

functionary name As defined in input Section

2 Stage users Screen name As defined in input Section

Stage Name As defined in input Section

Stage order As defined in input Section

Authority name As defined in input Section

1.3.5 Create Sub Area functionary:1.3.5.1 Input

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

1 Created Sub Area

Refer to section 1.3.3.4

Refer to section 1.3.3.1 Create related to Sub area

Refer to section 1.3.3.1

2 functionary Students Mr.Pulin It specifies the current students of the college.

Student Create student Varchar

Staffs Mr. Pradyumna

It specifies the staffs of the college.

Staff Create staff Varchar

Parents Mr. Manmath It specifies the parents of the current students of the college.

Student Create Student

Varchar

14

Page 15: URS for Opinion Poll

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. The name of the functionary must be chosen before poll creation.

1.3.5.4 Output:Sl# Data Flow Data element Data Type1 Approved Sub area

functionarySub area name As defined in input Section

Functionary name As defined in input Section

1.3.6 Create Poll:1.3.6.1 Input

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

1 Created Sub area

Refers to section 1.3.3.4

Refers to section 1.3.3.1 Create sub area

Refer to section 1.3.3.1

2 Poll creating users

User Name Punyataya Mishra

The name of the user who has the right to Create Poll i.e. has been assigned in process – “ Create Poll approval users” for the screen “Create Poll” and the stage whose stage order is 1. (stage order 1 denotes the first stage and hence the stage of creating the poll)

Create Poll approval users

Has to refer to the respective module for

Varchar

User Type Staff/Student/Parent

15

Page 16: URS for Opinion Poll

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

finding the names of the user.

(Staff – Staff InfoCreate Staff, Student- Student InfoAdmission/Create Student)

User Identification Code

STF003 The identification code of the user as given below.

Staff: Staff Code

Student: Student Reg. No.

Parents : Student Reg. No.

3 Topic Name Topic name Mess election

It defines the name of the topic for polling.

Varchar

4 Voting duration

Start date 15/jun/2008

Defines the start date and time of the created poll i.e. the assigned participants can start voting from this date and time onwards till the end date and time

Datetime

Start time 10.00am

End date 15/aug/2008

Datetime

End time 10.00am

5 Participating colleges

Colleges name Selected colleges

Defines the name of the selected colleges which are participating in a particular polling.(it helps to know whether all colleges or a limited set of colleges participates in a poll. )

Admin varchar

16

Page 17: URS for Opinion Poll

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

6 Participants Staff Selected Staffs

Defines the selected staff who are eligible for polling.

For finding the names of the staff.

(Staff – Staff InfoCreate Staff)

Varchar

Student Selected Students

Defines the selected students who are eligible for polling.

For finding the names of the students.(Student- Student InfoAdmission/Create Student)

Varchar

Parents Selected Parents

Defines the selected parents who are eligible for polling.

For finding the names of the Parents.(Student- Student InfoAdmission/Create Student)

Varchar

17

Page 18: URS for Opinion Poll

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

Alumni Selected Alumni

Defines the selected Alumnus who are eligible for polling.

Alumni For finding the names of the Alimni. (Student- Student InfoAdmission/Create Alumni)

Varchar

Applicants Selected Applicants

Defines the selected Applicants who are eligible for polling.

Applicant

Create Applicant

Varchar

Other Groups Selected Groups

Defines the Selected groups who are eligible for polling.

Groups Create Groups

Varchar

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

7 Repetition options and period

Type of repetition

After x days, Day of week , Date of month, Date and month of the year

It defines whether poll is a repeated poll or not, if repeated then what is the when and at what frequency the poll is repeated. Depending upon the type of repetition, the corresponding values should be the input.

Varchar

Day of week

(for repetition type- Day of Week)

Monday It is the day of the week in which the poll will be repeated every week.

Varchar

Date of month

(for repetition type- Date of month)

12th On this date of every month the poll will be repeated.

Varchar

18

Page 19: URS for Opinion Poll

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

Date and month of year

(for repetition type- Date and month of year)

12th of jun This is the date of a month on which the poll will be repeated every year

Varchar

After x days

(for repetition type- After x days)

10 The poll will be repeated after each of the given no of days.

Number

Poll duration (in days)

The duration for which the repeat polls will be available to participants for voting.

Number (decimal values allowed)

Repetition Start Date & time

15/aug/2009

11:30am

The first repeat of the poll will be from this date and time onwards. This means after the original poll, the poll will be 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.

Date

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

19

Page 20: URS for Opinion Poll

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

End repeat date 17/aug/2009

Auto repeat polls will be repeated till this date. After this date, they will not be repeated.

Date

8 Poll type Types of polling Simple, advanced

It defines the poll type i.e. weather the poll is simple or advanced. Pl. refer to screen design for the definition of simple and advanced

Char(1)

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

Varchar

Set Weightage 1 It provides weightage to the set Number

10 Question and answer options

Question It defines the question provided by the creator.

Varchar

Question weightage

1 Each question of a poll is to be assigned with some weightage.

Number

Answer type Single choice, multiple choice with selection,

Multiple choices with ranking.

It defines the answer type of the question. Whether user will select multiple option or single option.

Varchar

No of options to be selected

3 If the answer type is multiple choices, then it defines number option to be selected.

Number

No of answers 2 It defines the number of option for a question.

Number

options Yes, no It specifies the answer option for each question.

Varchar

Option weightages

1 It provides weightage to each answer option.

Number

20

Page 21: URS for Opinion Poll

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

Copy from question number

1 If user wants to provide same option in other question, then it can be done by coping from question number.

Number

11 Poll options Analysis required

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

Char(1)

Remarks allowed

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

Char(1)

12 Poll Notification & communication option.

Poll Notification to participants via :E-mail(M)

If the poll creator checks on this poll notification option then the information of the creation of that poll to the participants will go via e-mail.

Char(1)

Poll Notification to participants via : SMS(S)

If the poll creator checks on this poll notification option then the information of the creation of that poll to the participants by sending SMS.

Poll Notification to participants via :E-Notice(N)

If the poll creator checks on this poll notification option then the information of the creation of that poll to the participants will be published by e-notice.

21

Page 22: URS for Opinion Poll

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

13 Result publishing and communication option

E-mail result to sub area functionary

If the poll creator wants to communicate the poll results to the sub area functionary then he has to select this option during the poll creation. (If this is selected then the poll notification to the functionaries will be done automatically).

Char(1)

Publish result to all

If this field is checked then the published results will be available on the institution’s web site so that all the users can view the poll results.

Result share with participants via E-mail, SMS, E-notice

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

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 Type1 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

Page 23: URS for Opinion Poll

4 Poll creator Created staffs /students / parents or all

As specified in the input sections

5 Participants All or selected group of participants.

As specified in the input sections

6 Repeating status Repetition period As specified in the input sections

Start date & time

End date & time

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

8 Set options Set name As specified in the input sections

Set weightage

9 Question details Questions As specified in the input sections

Question weightage

Answer type

No of options to be selected

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

options

weightages

Copy from question number

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

Remarks allowed?

12 Notification and publication options

Polling Notification As specified in the input sections

Publication of result

13 Sub area name Refers to section 1.3.3.1

14 Related area name Refers to section 1.3.2.1

1.3.7 Next poll approval stages:1.3.7.1 Input

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

23

Page 24: URS for Opinion Poll

1 Created poll Refer to the section 1.3.6.4

Refer to the section 1.3.6.1 Create poll Refer to section 1.3.6.4

2 Stage users Refer to the section 1.3.4.4

Refer to the section 1.3.4.1 Create Poll Approval Users

Refer to section 1.3.4.4

3 Repeated poll with changed participants

Refer to section 1.3.13.4

Refer to the section 1.3.13.1 Change participants

Refer to the section 1.3.13.1

4 Changed poll Refer to section 1.3.12.4

Refer to the section 1.1.17.1 Change date Refer to section 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 Type1 Email for next

Approvalemail As defined in input Section

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

1.3.8 Communicate to participants & Functionaries:1.3.8.1 Input:

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

1 Finally approved poll

Refer to section 1.3.7.4

Refer to section 1.3.7.1 Next poll approval stages

Refer to section 1.3.7.1

24

Page 25: URS for Opinion Poll

2 Contact Address

Email [email protected] The email address of the participant through which email will be sent

User Create user Varchar

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

Number

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 Type1 Poll notice Information about poll and its

timingAs defined in input Section

URL of the poll

1.3.9 Poll:-

1.3.9.1 Input

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

1 Finally Approved poll(not discarded and not discontinued)

Refer to the section 1.3.7.4 Next poll approval stages

Refer to the section 1.3.7.1

25

Page 26: URS for Opinion Poll

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

2 Responses from participants

Poll responses The selected participants for the poll give their responses.

As defined in the question

Remarks if allowed

Remarks given for a particular question if allowed

Varchar

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 OutputSl# Data Flow Data element Data Type1 Poll responses with

remarksSelected option As defined in input Section

Remark for the question if allowed

1 Poll result(not discarded and not discontinued)

Topic name As defined in input Section

Set name

Questions in each set

Answer options

No of voters

No of participants

Statistics for each answer option selected by the voters

Pie chart representing the statistics

26

Page 27: URS for Opinion Poll

Bar chart representing the statistics

3 Poll analysis request email

Email to the next analysis approver As defined in input Section

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

1.3.10 Discard poll or question:1.3.10.1 Input:

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

1 Polls to be discarded

Polls to be discarded

Any continuing repetitive poll can be discarded by the college authority as per the requirement of the institution or as per the authority’s desire.

Varchar

2 poll discarded notification to user

Show discarded poll to participant

Y/N If this value is ‘Y’ then the information about discarded poll will be shown to the participant in the respective screens (polling screen, analysis screen, and result screen).

Char(1)

Send email about the discarded poll to allowed participants.

Y/N If this value is ‘Y’ then the discarded poll information is sent to the participants after the poll is discarded.

Char(1)

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

27

Page 28: URS for Opinion Poll

1 Discarded polls Discarded polls As defined in the input section.

2 Notification about discarded poll

Discard poll notification AS defined in the input section

1.3.11 Discontinue Poll:

1.3.11.1 Input:Sl# Data Flow Data element Data

Value Examples

Explanation Interface Module

Interface Process

Data Type

1 Repeated poll

Auto repeated poll

The auto repeated poll related to a sub-area can be discontinued.

Refer to section 1.3.9.1

2 poll discontinuing notification to user

Show discontinued poll to participants

Y/N If this value is ‘Y’ then the information about discontinued poll will be shown to the participant in the respective screens (polling screen, analysis screen, and result screen).

Char(1)

Send email about the discontinued poll to allowed participants.

Y/N If this value is ‘Y’ then the discontinued poll information is sent to the participants.

Char(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.

28

Page 29: URS for Opinion Poll

Only repetitive polls can be discontinued.

1.3.11.2 Output:Sl# Data Flow Data element Data Type1 Discontinued poll Discontinued poll As defined in the input section.

2 Notification about discontinued poll

Discontinued poll notification AS defined in the input section

1.3.12 Change Poll Date:

1.3.12.1 Input:

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

1 Created polls with repeating status

Refer to the 1st row of section1.1.8.4

The created polls with their repetitive status from which the user knows about the poll type whether it is repeating or general type.

Create poll

Varchar

4 New Start date and time

Start date 15/jun/2008 It is the new given fates by the user for extending the poll.

Date

Start time 10.00am This is the changed start time of the poll.

Date

5 New End date and time

End date 18/jun/2008 This is the new end date of the poll till which the poll will be conducted.

Date

End time 12.00pm This is the ending time of poll.

Date

6 Shift repeat poll start date by

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

Number

7 Shift repeat poll end date by

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

Number

29

Page 30: URS for Opinion Poll

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. 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 Type1 Extended dates with new

start date and end date.Extended dates with new start date and end date.

As defined in the input section

1.3.13 Change Participants:

1.3.13.1 Input:Sl#

Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

1 Participant

Refer to 7th row of section1.3.9.1

Only for the repetitive poll the participants will be recreated.

Create Poll

Refer to section1.3.9.1

2 Existing repetitive poll

Existing repetitive poll

It takes the repetitive polls only. Varchar

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.

30

Page 31: URS for Opinion Poll

Only authorized users can change the participants for the poll.

1.3.13.4 Output:Sl# Data Flow Data element Data Type1 Repeated poll with changed

participantsRepeated poll with changed participants

As defined in the input section

1.3.14 Create Poll Analysis Stages:

1.3.14.1 Input:Sl# Data Flow Data element Data Value

ExamplesExplanation Interface

Module Interface Process

Data Type

1 Screen name Screen name Poll analysis and approval

It specifies the screen name for which the authority is assigned to the user.

Menu Create menu

Varchar

2 Created sub area

Refer to section 1.3.3.4

Refer to section 1.3.3.1 Create related sub area

Refer to section 1.3.3.1

3 Poll analysis stages

Stage Name Creating It defines various stage for the approval process

Create Poll Approval Stage

Varchar

Stage Order 1 It defines the stage order of different stages within a particular sub area.

Number

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.

31

Page 32: URS for Opinion Poll

1.3.14.4 Output:

Sl# Data Flow Data element Data Type1 Created poll analysis

stages Screen name As defined in input Section

Stage Name As defined in input Section

Stage order As defined in input Section

1.3.15 Create Poll Analysis Approval user:1.3.15.1 Input:

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

1 Created poll analysis stages

Refer to section 1.3.5.4

Creation It defines the stage names for the approval process

Create poll analysis stages

Varchar

2 Approving Users

Staffs Mr. Manmath It specifies the name of the staffs who will approve the analysis of the poll response at the assigned stages.

Staff Create Staff

Varchar

Students Mr. Priya It specifies the name of the current students who will approve the analysis of the poll response at the assigned stages.

Student Create Student

Varchar

Parents Mr. Yogi It specifies the name of the parents of the current students who will approve the analysis of the poll response at the assigned stages.

Student Create Student

Varchar

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.

32

Page 33: URS for Opinion Poll

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 stages

Stage Name As defined in input Section

Stage order As defined in input Section

Authority name As defined in input Section

1.3.16 Poll result analysis and approval:1.3.16.1 Input

Sl# Data Flow Data element Data Value Examples

Explanation Interface Module

Interface Process

Data Type

1 Poll analysis user and stages

Refer to the section 1.3.15.4

Refer to the section 1.3.15.1 Create poll analysis and approval users

Refer to the section 1.3.15.1

2 Poll response with remarks

Refer to the section 1.3.9.4

Refer to the section 1.3.9.1 Poll Refer to 3rd row of section 1.3.9.1

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 Type1 Poll result Poll result As defined by the input section

33

Page 34: URS for Opinion Poll

2 Analyzed and approved poll result

Poll result As defined by the input section

1.3.17 Communicate Result:

1.3.17.1 Input:Sl# Data Flow Data

elementData Value Examples

Explanation Interface Module

Interface Process

Data Type

1 Poll result Poll result If the results don’t need analysis then they can be directly communicated to the participants and concerned sub area functionaries.

2 Analyzed and approved poll result

The analyzed and approved results with comments are sent to the corresponding participants and sub area authorities.

Poll Analysis and Approval

???

3 Contact address

Refer to section 1.3.6.1

34

Page 35: URS for Opinion Poll

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.3.17.4 Output:Sl# Data Flow Data element Data Type1 communicated poll

results to participantsPoll result Varchar

2 communicated poll results for sub area functionary

Poll result Varchar

1.4 Screen to process mapping

Sl# Process Name Screen Name (ModuleSub-moduleScreen Name)

Remarks

1 Create related to area AdministrationSecurity Create Related to area Both the processes are being done through the same screen.

2 Create Related Sub-area AdministrationSecurity Create Related sub-area

3 Create Sub Area functionary

AdministrationSecurity Create sub area functionary

4 Create Poll approval stages AdministrationSecurityApproval Stage & User All the processes are being done through the same screen.5 Create poll approval users

6 Create poll analysis stages

7 Create poll analysis users

8 Create poll Opinion PollPollCreate & Approve Poll In the communicate to participants & sub area functionary 9 Next poll approval stages

35

Page 36: URS for Opinion Poll

process, the invitation for the poll will be sent to the participants and the concerned functionary will also be notified.

10 Communicate to participants & sub area functionary

11 Poll Opinion PollPollPolling

12 Discard Poll or question Opinion PollPollDiscard & Discontinue Poll

13 Discontinue Poll

14 Change participants Opinion PollPollChange Participants

15 Poll Result Analysis & Approval

Opinion PollPoll Result & AnalysisPoll Analysis & Approval

16 Communicate Result publishing

A batch process will run and the results will be sent to the respective functionary.

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.

18 Change Poll date Opinion PollPollChange date This process helps the user to extend the dates of any created poll.

36

Page 37: URS for Opinion Poll

1.5 Screen Designs1.5.1 Common to All Screens

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

Sl# Label Tab-order

Field Type Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Record per page

Textbox Number 10 This feature helps the user to choose the maximum number of records that he/she wants to be displayed on the screen.

E.g.: If the user wants that at most 10 records should be displayed on the screen, then he/she needs to type 5 in the Rec#/page field. By default it takes 10.

2 Search by Drop-down

Varchar Second column of the list

Other columns of the list page

User need to select search by category from drop down list.

The dropdown list contains name of the columns in the list.

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

3 New Button In order to create new record in a screen, the user needs to click on “New” in corresponding

37

Page 38: URS for Opinion Poll

screen.

4 Save Button In order to save new entered data, the user has to click on Save Button.

The saved data can be modified later on.

5 Cancel Button In order to close the edit section the user needs to click on the Cancel button.

The entered data will be discarded.

6 Edit/View Button In order to update or view the existing data, the user has to click on pencil shape icon to view or make any change in existing entry.

The users who are authorized for modification can only edit the fields otherwise they can only view the fields (disabled for modification).

7 Delete Button In order to Delete any existing record, the user needs to click on "garbage bin" icon parallel to record with the data.

The users who are authorized to delete can only delete the record otherwise the button will be disabled.

8 Sorting Button Ascending

Descending

In order to sorting of data in a screen, user needs to click on the column header.

The highlighted triangle represents the order of sorting. Triangle pointing upward: Data will come in ascending order. Triangle pointing downward: Data will come in descending order.

38

Page 39: URS for Opinion Poll

9 Page Number

Display Varchar It displays the page number of the current screen that the user is viewing.

The message will be displayed like Page 1 of 10.

10 First ( |< ) Button In order to go to the first page the user needs to click on this button.

If the user is in the first page the button will be disabled.

11 Previous ( < ) Button In order to go to the previous page of the currently viewing page the user needs to click on this button.

If the user is in the first page the button will be disabled.

12 Next ( > ) Button In order to go to the next page of the currently viewing page the user needs to click on this button.

If the user is in the last page the button will be disabled.

13 Last ( >| ) Button In order to go to the last page the user needs to click on this button.

If the user is in the last page the button will be disabled.

14 Shortcut Text Box In order to go to particular screen, the user needs to know the shortcut and enter in the text box.

User can define or change this shortcut from Keyboard Shortcut Screen.

15 >> (Assign) Button It helps to move all the values from the available list box to the Assigned list box.

39

Page 40: URS for Opinion Poll

16 > (Assign) Button It helps to move the chosen option from the available list box to the Assigned list box.

17 < (Assign) Button It helps to move back the chosen option from the Assigned list box to the available list box.

18 << (Assign) Button It helps to move back all the values from the assigned list box to the available list box.

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

Sl# Event Action Validation1 When the List section is

loadedThe list will be shown along with all the fields named Record per Page, Search by, New button, Page No and First ( |< ), Previous ( < ), Next ( > ) and Last ( >| ) buttons with all the specified column headers with all the values in each column. If there is nothing saved earlier then only the headers will be shown with no records.

2 When the Edit/View section is loaded

If the section is loaded by clicking the new button all fields will contain the default values or if the section is loaded by clicking the edit/view button then the fields will contain the values in the corresponding record.

3 When the user enters a value to the record per page field and presses tab

It shows the first page with no. of records equal to the given value and changes the total no of pages as per the given value.

Only numeric values can be given as input.

4 When the user changes the value of the Drop-down in the search by field and enters

The entered value will be matched with the values of the selected column name and the matching

The user should give the corresponding value as per the selected column name to have the

40

Page 41: URS for Opinion Poll

any value in the text box and presses tab

records will be displayed in the list irrespective of letter case. If the text box is left blank then all the records will be shown.

list of desired records.

5 When the user clicks the new button

The edit/view section of the screen will be shown with the corresponding fields containing their default values. Other fields will remain as blank.

The users can only access the new button if they are allowed to create a new record for that screen. Other validations/ actions which are screen specific have been mentioned in the respective screens.

6 When the user clicks the save button

The entered data will be saved. The mandatory fields cannot be left blank. Other validations/ actions which are screen specific have been mentioned in the respective screens.

7 When the user clicks the cancel button

The Edit/View section will be closed and all the data entered (if any) will be discarded.

8 When the user clicks the Edit/View button of a particular record

The selected record from the list will be populated in the respective fields of the Edit/view section. The user can only view if he/she is not authorized to modify.

9 When the user clicks the delete button of particular record

The corresponding record will be deleted from the list. The user who is authorized to delete the record can only access this button.

Other validations/ actions which are screen specific have been mentioned in the respective screens.

10 When the user clicks on the column header of the list

The list will be displayed by sorting 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 First ( |< ) button

The first page of the section will be shown.

If the user is in first page then this button will be disabled.

12 When the user clicks on the Previous ( < ) button

The previous of the current page of the section will be shown to the user.

If the user is in first page then this button will be disabled.

13 When the user clicks on the Next ( >) button

The next of the current page of the section will be shown to the user.

If the user is in last page then this button will be disabled.

14 When the user clicks on the Last ( >| ) button

The last page of the section will be shown to the user.

If the user is in last page then this button will be disabled.

15 When the user gives input to the shortcut field and presses the tab button

The respective screen will be loaded as defined in the keyboard shortcut screen. If entered value is not a valid one then the welcome screen will be

The entered value must be a valid shortcut as defined in the keyboard shortcut screen.

41

Page 42: URS for Opinion Poll

shown to the user.16 When user clicks on >>

(Assign) buttonAll the members in the available list box will move to the assigned list box.

If the available list box is blank then this button will be disabled.

17 When user clicks on > (Assign) button

All the selected members in the available list box will move to the assigned list box.

If the available list box is blank then this button will be disabled.

18 When user clicks on < (Assign) button

All the selected members in the assigned list box will move back to the available list box.

If the assigned list box is blank then this button will be disabled.

19 When user clicks on << (Assign) button

All the members in the assigned list box will move back to the available list box.

If the assigned list box is blank then this button will be disabled.

1.5.1.3 Common Components1.5.1.3.1 Staff ComponentDescription

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 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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 College Last tab index+1

Drop-down

Varchar All List of Colleges

Selects the college name from the field.

College from which the staffs will be selected.

2 Departments Last tab index+2

Drop-down

Varchar All List of Departments for a selected College

Selects the particular department from the selected college.

Department of the college from which the staffs will be selected.

3 Designation Category

Last tab index+3

Drop-down

Varchar All List of the designation

Selects the particular designation category of the

Indicates the designation category of the

42

Page 43: URS for Opinion Poll

categories

staff. staff.

4 Designation Last tab Index+4

Drop-down

Varchar All List of the designations for a selected designation category

Selects the particular designation from which the staffs will be selected preceded by the designation category.

5 Available Staffs

Last tab Index+5

List Box

Varchar Contains all the available staffs for the selected combination of the previous defined fields as (College-Departments-Designation Category-Designation).

All the staffs belonging to the particular set of selection of this combination will be listed in the list box. By default all the staffs from all the colleges will be displayed in the list box.

6 >> (Assign) Last tab Index+6

Refer to the 15th row of the section 1.5.1.1

7 > (Assign) Last tab Index+7

Refer to the 16th row of the section 1.5.1.1

8 < (Assign) Last tab Index+8

Refer to the 17th row of the section 1.5.1.1

9 << (Assign) Last tab Index+9

Refer to the 18th row of the section 1.5.1.1

10 Assigned Staffs

Last tab Index+10

List Box

Varchar The list box will be populated with the selected staffs from the available staffs list box or by the list of assigned staffs as per the screen in

This defines the list of all the assigned staffs.

43

Page 44: URS for Opinion Poll

which it is used.

Screen Events Actions and Validations

Sl# Event Action Validation1 When the Staff Component

Section is loadedIf loaded after clicking the New button in the list section, Then this section will show the list of all staffs in all colleges and also from all departments, all designation categories and all designations.If loaded after clicking the Edit/View button in the list section, all the fields will be populated with their respective values of the selected record.

2 When the user selects some item from college Drop-down and presses tab

Then the respective Departments of the selected college will be populated in the Department Drop-down and all the staffs from the selected college from all departments and designation category and also from all designations will be displayed in the Available list box except those who are selected for the purpose where this component will be used and listed in the assigned list box.

3 When the user selects some item from Department Drop-down and presses tab

Then the respective staffs from all designation category of the selected department of the selected college will be populated in the Available list box.

4 When the user selects some item from Designation category Drop-down and presses tab

Then the respective designation of the selected designation category will be populated in the Designation Drop-down. And all the staffs belonging to that designation category will 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 item from Designation Drop-down and presses tab

Then the Available staffs will be populated in the Available staff list Box as per the whole set of selection. In general the selection of designation and the designation category does not depend on the selection of the college and the department.

6 When user clicks on >> (Assign) button

Refer to the row 16th of the section 1.5.1.2

7 When user clicks on > (Assign) button

Refer to the row 17th of the section 1.5.1.2

8 When user clicks on < (Assign) button

Refer to the row 18th of the section 1.5.1.2

9 When user clicks on << (Assign) button

Refer to the row 19th of the section 1.5.1.2

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

44

Page 45: URS for Opinion Poll

interchanged between both the list boxes. If the component is needed to be called without the ADD mode then nothing is required to be passed in the function while calling the component. This case is applicable to all common components.

1.5.1.3.2 Student ComponentDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 College Last tab index+1

Drop-down

Varchar All List of all the colleges

Selects the college name from the field.

College from which the students will be selected.

2 Course Last tab index+2

Drop-down

Varchar All List of all the courses for a selected college

Selects the particular course from the selected college.

The course in which the students are enrolled in the selected college will be selected.

3 Discipline Last tab index+3

Drop-down

Varchar All List of the discipline for a selected course

Selects the particular discipline of the course.

Indicates the discipline of the student.

45

Page 46: URS for Opinion Poll

4 Batch Last tab Index+4

Drop-down

Varchar All List of all the Batches for a selected Discipline

Selects the particular batch of the course from which the students will be selected.

Batch refers to a particular academic year of the course. e.g. (2005-2009 batch).

5 Semester Last tab Index+5

Drop-down

Varchar All List of all the semesters for a selected batch

Selects the particular semester in a set of course-discipline-batch from which the students will be selected.

The semesters like first semester, second semester etc.

6 Available Students

Last tab Index+6

List Box

Varchar Contains all the available students for the selected combination of the previous defined fields as (College-Course-Discipline-Batch-Semester).

All the students belonging to the particular set of selection of this combination will be listed in the list box except the items in the assigned students’ list box.

7 >> (Assign) Last tab Index+7

Refer to the 15th row of the section 1.5.1.1

8 > (Assign) Last tab Index+8

Refer to the 16th row of the section 1.5.1.1

9 < (Assign) Last tab Index+9

Refer to the 17th row of the section 1.5.1.1

10 << (Assign) Last tab Index+10

Refer to the 18th row of the section 1.5.1.1

11 Assigned Students

Last tab Index+11

List Box

Varchar The list box will be populated with the selected students from the available students list box or

This defines the list of all the assigned students for

46

Page 47: URS for Opinion Poll

by the assigned students for the specific purpose for which the component is used.

the purpose.

Screen Events Actions and Validations

Sl# Event Action Validation1 When the Assign Student

Section is loadedIf loaded after clicking the New button, Then this section having college, course, Discipline, Batch, Semester, Assigned Student with their default values will be populated. The Available students’ list box will contain the list of all the available students from all the colleges as well as from all the courses, from all the disciplines, from all the batches and also from all the semesters. But if loaded after clicking the Edit/View button then these fields contains the respective values of the selected record and the assigned list box will contain the list of all the students assigned for the purpose and the available list box will be populated by the list of all the remaining students.

2 When the user selects some item from college Drop-down and presses tab

Then the respective Courses of the selected college will be populated in the Course Drop-down and the available list will be populated for the selected college only.

3 When the user selects some item from Course Drop-down and presses tab

Then the corresponding discipline, batch, Term of the selected course will be populated in the Discipline, batch and Term Drop-down respectively. And the available list of selected students for the selected course will be listed in the available list box. This list will contain the students from all disciplines, all batches and all semesters.

4 When the user selects some item from the Discipline Drop-down and presses tab

All the students from the corresponding Discipline will be populated for the particular set of selection for the fields (College-Course).

5 When the user selects some item from the Batch Drop-down and presses tab

All the students for the selected batch will be populated in the available students’ list box.

6 When the user selects some item from the Semester Drop-down and presses tab

All the students from the particular set of selection will be listed in the available list box.

7 When user clicks on >> (Assign) button

Refer to the row 16th of the section 1.5.1.2

8 When user clicks on > (Assign) button

Refer to the row 17th of the section 1.5.1.2

9 When user clicks on < (Assign) button

Refer to the row 18th of the section 1.5.1.2

47

Page 48: URS for Opinion Poll

10 When user clicks on << (Assign) button

Refer to the row 19th of the section 1.5.1.2

1.5.1.3.3 Parent ComponentDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 College Last tab index+1

Drop-down

Varchar All List of all the colleges

Selects the college name from the field.

College from which the parents of the students will be selected.

2 Course Last tab index+2

Drop-down

Varchar All List of all the courses for a selected college

Selects the particular course from the selected college.

The course in which the students are enrolled in the selected college whose parents will be selected.

3 Discipline Last tab index+3

Drop-down

Varchar All List of the discipline for a selected course

Selects the particular discipline of the course.

Indicates the discipline of the student.

4 Batch Last tab Index+4

Drop-down

Varchar All List of all the Batches

Selects the particular batch of the course from

Batch refers to a particular academic year

48

Page 49: URS for Opinion Poll

for a selected Discipline

which the parents of the students will be selected.

of the course. e.g. (2005-2009 batch).

5 Semester Last tab Index+5

Drop-down

Varchar All List of all the semesters for a selected batch

Selects the particular semester in a set of course-discipline-batch from which the parents of the students will be selected.

The semesters like first semester, second semester etc.

6 Available Parents

Last tab Index+6

List Box

Varchar Contains the list of all the available parents of the students for the selected combination of the previous defined fields as (College-Course-Discipline-Batch-Semester).

All the parents of corresponding students belonging to the particular set of selection of this combination will be listed in the list box except the items in the assigned parents’ list box.

7 >> (Assign) Last tab Index+7

Refer to the 15th row of the section 1.5.1.1

8 > (Assign) Last tab Index+8

Refer to the 16th row of the section 1.5.1.1

9 < (Assign) Last tab Index+9

Refer to the 17th row of the section 1.5.1.1

10 << (Assign) Last tab Index+10

Refer to the 18th row of the section 1.5.1.1

11 Assigned Parents

Last tab Index+11

List Box

Varchar The list box will be populated with the selected parents from the available parents list box or

This defines the list of all the assigned parents for the

49

Page 50: URS for Opinion Poll

by the assigned parents for the specific purpose for which the component is used.

purpose.

Screen Events Actions and Validations

Sl# Event Action Validation1 When the Assign Parent

Section is loadedIf loaded after clicking the New button, Then this section having college, course, Discipline, Batch, Semester, Assigned Student with their default values will be populated. The Available parents’ list box will contain the list of all the available parents of the students from all the colleges as well as from all the courses, from all the disciplines, from all the batches and also from all the semesters. But if loaded after clicking the Edit/View button then these fields contains the respective values of the selected record and the assigned list box will contain the list of all the parents assigned for the purpose and the available list box will be populated by the list of all the remaining parents.

2 When the user selects some item from college Drop-down and presses tab

Then the respective Courses of the selected college will be populated in the Course Drop-down and the available list will be populated for the selected college only.

3 When the user selects some item from Course Drop-down and presses tab

Then the corresponding discipline, batch, Term of the selected course will be populated in the Discipline, batch and Term Drop-down respectively. And the available list of selected parents for the selected course will be listed in the available list box. This list will contain the parents of the students from all disciplines, all batches and all semesters.

4 When the user selects some item from the Discipline Drop-down and presses tab

All the parents of the students from the corresponding Discipline will be populated for the particular set of selection for the fields (College-Course).

5 When the user selects some item from the Batch Drop-down and presses tab

All the parents of the students for the selected batch will be populated in the available students’ list box.

6 When the user selects some item from the Semester Drop-down and presses tab

All the parents of the students from the particular set of selection will be listed in the available list box.

7 When user clicks on >> (Assign) button

Refer to the row 16th of the section 1.5.1.2

8 When user clicks on > (Assign) button

Refer to the row 17th of the section 1.5.1.2

9 When user clicks on < Refer to the row 18th of the section 1.5.1.2

50

Page 51: URS for Opinion Poll

(Assign) button10 When user clicks on <<

(Assign) buttonRefer to the row 19th of the section 1.5.1.2

1.5.1.3.4 Colleges componentDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Available Colleges

Last tab Index+1

List Box

Varchar All Colleges

Contains all the available colleges.

It contains the name of the colleges except the names of the assigned colleges for the specific purpose.

2 >> (Assign) Last tab Index+2

Refer to the 15th row of the section 1.5.1.1

3 > (Assign) Last tab Index+3

Refer to the 16th row of the section 1.5.1.1

4 < (Assign) Last tab Index+4

Refer to the 17th row of the section 1.5.1.1

5 <<(Assign) Last tab Index+5

Refer to the 18th row of the section 1.5.1.1

6 Assigned Colleges

Last tab Index+6

List Box

Varchar Contains all the selected Colleges

Screen Events Actions and Validations

Sl# Event Action Validation1 When this section is

loaded after clicking the new button

All the available colleges will be populated in the available colleges list box.

If the user is the super admin then all colleges will be shown. Otherwise if the user is the college admin then only

51

Page 52: URS for Opinion Poll

his/her college will be shown.2 When this section is

loaded after clicking the edit/view button

All the assigned colleges will be populated in the assigned colleges list box and all other colleges which are not selected will be shown in the available colleges list box.

3 When user clicks on >> (Assign) button

Refer to the row 16th of the section 1.5.1.2

4 When user clicks on > (Assign) button

Refer to the row 17th of the section 1.5.1.2

5 When user clicks on < (Assign) button

Refer to the row 18th of the section 1.5.1.2

6 When user clicks on << (Assign) button

Refer to the row 19th of the section 1.5.1.2

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 AlumniDescription

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

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

Sl# Label Tab-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 College Last index+1

Drop-down

Varchar Y Selects the college name from the field.

College from which the alumni will be selected.

2 Course Last index+2

Drop-down

Varchar Y Selects the particular course from the selected college.

The course in which the students are enrolled in the selected college will be selected.

3 Discipline Last index+3

Drop-down

Varchar Y Selects the particular discipline of the course.

Indicates the discipline of the student.

4 Pass out Batch

Last Index+4

Drop-down

Varchar Y Selects the particular batch of the course from which the

The current batches will not be populated in this Drop-down.

52

Page 53: URS for Opinion Poll

students will be selected. Here the batches must be the pass out batches.

Only the students from the passed out batches will be available in this section.

5 Available Alumni

Last Index+5

List Box

Varchar Contains the entire available alumni name.

6 >> (Assign) Last Index+6

Refer to the 15th row of the section 1.5.1.1

7 > (Assign) Last Index+7

Refer to the 16th row of the section 1.5.1.1

8 < (Assign) Last Index+8

Refer to the 17th row of the section 1.5.1.1

9 << (Assign) Last Index+9

Refer to the 18th row of the section 1.5.1.1

10 Assigned Alumni’s

Last Index+10

List Box

Varchar The list box will be populated with the selected Alumni from the available staffs list box

This defines the list of all the assigned Alumni

Screen Events Actions and Validations

Sl# Event Action Validation1 When the Assign Alumni

section is loadedIf loaded after clicking the New button, Then this section having 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 item from college Drop-down and presses tab

Then the respective Courses from the selected college will be populated in the Course Drop-down

53

Page 54: URS for Opinion Poll

3 When the user select some item from Course Drop-down and presses tab

Then the corresponding discipline and batch will be populated in the Discipline and batch Drop-down respectively.

The Batches populated in the Batch Drop-down must be the batches of the passed out students.

4 When the user selects a set of Course-Discipline-Batch-Semester from these fields

All the students from the particular set of selection will be listed in the available list box.

5 When user clicks on >> (Assign) button

Refer to 16th row of the section1.5.1.2

6 When user clicks on > (Assign) button

Refer to 17th row of the section1.5.1.2

7 When user clicks on < (Assign) button

Refer to 18th row of the section1.5.1.2

8 When user clicks on << (Assign) button

Refer to 19th row of the section1.5.1.2

1.5.1.3.6 Assign Defined Groups SectionDescription

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

Sl# Label Tab-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Available Groups

Last tab Index+1

List Box

Varchar All the predefined groups

Contains all the available groups

2 >> (Assign) Last tab Index+2

Refer to the 15th row of the section 1.5.1.1

3 > (Assign) Last tab Index+3

Refer to the 16th row of the section 1.5.1.1

4 < (Assign) Last tab Index+4

Refer to the 17th row of the section 1.5.1.1

5 <<(Assign) Last tab Index+5

Refer to the 18th row of the section 1.5.1.1

6 Assigned Groups

Last tab Index+6

List Box

Varchar Contains all the selected groups

Screen Events Actions and Validations

Sl# Event Action Validation1 When this section is

loadedif loaded after clicking the New button, then all the available predefined groups will be populated in the

54

Page 55: URS for Opinion Poll

assigned groups list box, if the this section is loaded after clicking the Edit/View button then this field contains the respective values of that record.

2 When user clicks on >> (Assign) button

Refer to the row 16th of the section 1.5.1.2

3 When user clicks on > (Assign) button

Refer to the row 17th of the section 1.5.1.2

4 When user clicks on < (Assign) button

Refer to the row 18th of the section 1.5.1.2

5 When user clicks on << (Assign) button

Refer to the row 19th of the section 1.5.1.2

1.5.1.3.7 Assign ApplicantsDescription

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

Sl# Label Tab-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Course applied for

Last tab Index+1

Drop-down

Varchar All Selects the course name for which the applicants have applied for

2 Available Applicants

Last tab Index+2

List Box

Varchar All the applicants

Contains all the available Applicants

3 >> (Assign) Last tab Index+3

Refer to the 15th row of the section 1.5.1.1

4 > (Assign) Last tab Index+4

Refer to the 16th row of the section 1.5.1.1

5 < (Assign) Last tab Index+5

Refer to the 17th row of the section 1.5.1.1

6 <<(Assign) Last tab Index+6

Refer to the 18th row of the section 1.5.1.1

7 Assigned Applicants

Last tab Index+7

List Box

Varchar Contains all the selected Applicants

Events, Actions and Validations

55

Page 56: URS for Opinion Poll

Sl# Event Action Validation1 When the user selects any value from the

course applied for field and presses tabAll the applicants applied for that particular course will be listed in the available applicants list box

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

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

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

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

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

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

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

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

1.5.2.3 Layout (Screen shots)The screen is divided into two sections as List Section and Edit Section.

1.5.2.3.1 List SectionDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Record per 1 Refer to 1st row of the section 1.5.1.1

56

Page 57: URS for Opinion Poll

page

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

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

4 Sl# no Display Number Used for indexing the list.

5 Module Name

Display Varchar Opinion Poll

It specifies the module name for which the area is created.

Here the module name is “opinion poll” in which different sub areas are created.module name can be different as per the requirements

6 Related area Name

Display Varchar It shows the created related area under a particular module.

E.g. Hostel, Library

7 College names

Display Varchar It shows the names of the college assigned to the related areas. College names are displayed as comma separated as shown in the examples.

E.g. CET, Silicon

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

9 Delete Refer to 7th row of the section 1.5.1.1

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

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

57

Page 58: URS for Opinion Poll

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

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

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

Screen Events Actions and Validations

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

Sl# Event Action Validation1 When user clicks the

delete button All the data of that respective row will be deleted from the data base. User cannot delete

related area of a running poll.

1.5.2.3.2 Edit SectionDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

1 Module name

1 Drop-down

Varchar Opinion poll

Y User selects the module name in which different related area will be created

2 Related to area name

2 Text box

Varchar Y User defines related to area name

3 Description

3 Text area

Varchar N This field describes about the related area for which the poll is to be created.

58

Page 59: URS for Opinion Poll

4 Assign Colleges

Refer to the section 1.5.1.3.5

5 Save Last tab index+1

Refer to 4th row of the section 1.5.1.1

6 Cancel Last tab index+2

Refer to 5th row of the section 1.5.1.1

Screen Events Actions and Validations

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

Sl# Event Action Validation1 When the edit

section is loaded All the fields of the section will be populated with their respective default values. For a super user all the available college names will be displayed in the available college field but if the user is one of the college admin then he can only do any editing/deleting for his college. College admin only can view the other selected college names created by super admin. When the section is loaded after clicking the new button all the fields remain blank, but If the section is loaded after the clicking the edit button in the list section for a particular row the fields will be populated as per the values in that row.

2 When the user selects a value from the module name and presses the tab

All the related area for the selected module will be populated in the related to area field from which user needs to choose the required one.

This field cannot be left blank.

3 When the user enters a value in the related area name for a particular module and clicks the save button

A pop will alert the user showing the message as “Sorry the related area already exists in this module”.

Two area names cannot be same in a particular module.

4 When the user modifies the related area name defined previously in use for a poll and clicks the save button

A pop will alert the user showing the message as “ Sorry , this area contains an ongoing poll ”

The user cannot change the area name if that area name is being used by any ongoing poll.

6 When the user clicks the save button

if the edit/ view section is loaded by clicking edit/ view button then all the modified data were stored in the data base, but if the edit/ view section is loaded by clicking new button then all the data were inserted into the data base.

User cannot change the related area name of a running poll and user cannot provide an already exited related area name.

59

Page 60: URS for Opinion Poll

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

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

1.5.3.3 Layout (Related sub-area)This screen is divided into two sections as follows

1.5.3.3.1 List sectionDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

1 Record per page

1 Refer to the 1st row of the section 1.5.1.1

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

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

4 Sl# No Display Number Used for indexing the list.

5 College names: Related to area name

Display Varchar E.g.-CET, Silicon: Hostel

It shows the related area name and name of the college for which it is defined either by the super admin or the college admin.

6 Related sub-area name

Display Varchar It defines the name of the related sub area

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

60

Page 61: URS for Opinion Poll

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

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

10 Previous ( < )

Refer to the 11th row of the section 1.5.1.1

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

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

13 Page Number

Refer to the 9th row of the section 1.5.1.1

Screen Events Actions and Validations

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

Sl# Event Action Validation1 When the list section is

loadedThe list will be populated with the predefined area names and description.If nothing is defined previously then no data will come in the list and only the headers of the list will be displayed.

2 When the user clicks the edit/view button

Then all the field of edit section will be populated with the respective value from the list section. user can modify those value depending on the requirement.

3 When the user clicks the new button

Edit section will be populated with default values, if any field does not have any default value then null value will be displayed in those field

4 When the user clicks the delete button

Then the data of that respective row will be deleted from the data base

User cannot delete sub area of a running poll.Only authorized user can delete any data.

1.5.3.3.2 Edit sectionDescription

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.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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

61

Page 62: URS for Opinion Poll

1 Module name

1 Drop-down

Varchar Opinion poll

Y User selects the module name in which different related area will be created

It indicates the module name in which different related area will be created

2 Related to Area name

2 Drop-down

Varchar Hostel,Library etc

Y User selects the name of related area

3 Related to sub-area name

3 Textbox Varchar Boys Hostel, Girls Hostel etc

Y User defines the name of the related sub area

The selected area name will be treated as the default sub area name if that area doesn’t have any sub area.

4 Description 4 Text Area

Varchar N It describes the information about the particular sub-area for which polling will be done

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

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

Screen Events actions and validationsSpecial Note: For all common events and actions please refer to the section 1.5.1.2

Sl# Event Action Validation1 When the edit section

is loadedAll the fields of the section will be populated with their respective values. when the section is loaded after clicking the new button all the fields remain blank, but If the section is loaded after the clicking the edit button in the list section for a particular row the fields will be populated as per the values in that row.

2 When the user selects a value in the module name and presses the tab

All the related area associated with the module name will be populated in the related to area field.

The module name field should not be left blank.

3 When the user selects a value in the related area name and presses tab

The sub area name will be populated with the selected area field as a default value.

4 When the user enters a value in the related sub area name under a particular set of

If the entered sub area name is same as any predefined sub area for that set then a pop will alert the user showing the message as “Sorry ! the related sub area already exists in this Module-”.

Two sub area names cannot be same in a particular module.

62

Page 63: URS for Opinion Poll

Module-Related area and clicks the save button

5 When the user modifies the related area name defined previously in use for a poll and clicks the save button

A pop will alert the user showing the message as “ Sorry , this area contains an ongoing poll ”

The user cannot change the area name if that area name is being used by any ongoing poll.

6 When the user clicks the save button

if the edit/ view section is loaded by clicking edit/ view button then all the modified data were stored in the data base, but if the edit/ view section is loaded by clicking new button then all the data were inserted into the data base.

User cannot change the sub area name of a running poll and user cannot provide an already exited sub area name.

1.5.4 AdministrationSecurityCreate Sub-area Functionary1.5.4.1 PurposeHelps in assigning the functionaries for different related sub area of an area created for a specific module. In other words assignment of a head for a sub area e.g. (hostel canteen of the area-canteen) is done using this screen.

1.5.4.2 Brief Description

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

1.5.4.3 Layout (Screen shots)

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

1.5.4.3.1 List sectionDescription

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

Sl# Label Tab-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Record per page

1 Refers to the 1st row of the section 1.5.1.1

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

63

Page 64: URS for Opinion Poll

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

4 Sl# no Display Number Shows the index of the list populated

5 Sub Area Name

Display Varchar It shows the sub area name along with its module name and the area name in a specific format.

The format is Module Name: Related Area name: Related Sub Area Name

6 Functionary

Display Varchar Helps to identify the functionaries of the sub area of an area defined for a specific module.

Contains the name of the authorities of a subarea. The authorities can be any from staffs, students and parents. The name of the functionaries are preceded by the user type of the assigned functionary in capital letters followed by a colon.

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

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

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

12 Previous ( < )

Refers to the 11th row of the section 1.5.1.1

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

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

15 Page Number

Refers to the 9th row of the section 1.5.1.1

Sl# Event Action Validation

64

Page 65: URS for Opinion Poll

1 When the list section is loaded The list of the functionaries and their related subarea name along with the area and its module name which have been defined earlier will be populated.If not defined then the list will be blank only with the headings.

This screen will be displayed to the authorized users only.

2 When the user clicks the delete button

All the information related to the selected record in the particular row of the list will be removed from the database.

At least one functionary should be there for a particular sub area.

Screen Events actions and validations

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

1.5.4.3.2 Edit/Details sectionDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

1 Module Name 1 Drop-down

Varchar Opinion poll

Y User selects the module name in which different related area were created.

It defines the name of the module.

2 Related Area 2 Drop-down

Varchar Y User selects the name of the related area.

It helps to select the required area from the available list.

3 Sub Area 3 Drop-down

Varchar Y User selects the name of the related sub-area.

The sub area names will be populated in the list only for the selected area in the previous field.

65

Page 66: URS for Opinion Poll

4 Functionary type

Staffs 4 Check Box

Boolean Specifies whether staffs will be selected or not

Students 5 Check Box

Boolean Specifies whether students will be selected or not.

Parents 6 Check Box

Boolean Specifies whether parents will be selected or not.

5 Staff Component Refers to the section 1.5.1.3.1

6 Student Component

Refers to the section 1.5.1.3.2

7 Parent component

Refers to the section 1.5.1.3.3

11 Save Last tab

index+1

Refers to the 4th row of the section 1.5.1.1

12 Cancel Last tab

index+2

Refers to the 5th row of the section 1.5.1.1

Screen Events actions and validations

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

Sl# Event Action Validation1 When the edit

section is loaded after clicking the new button.

The edit section will be loaded with all the default values in their respective fields. All the three drop downs will display select option. And the module name drop down will be populated with all the available module names appropriate for the screen.

2 When the user selects an item from the module name field and presses tab button

All the related area associated with the module name will be populated in the related to area field.

The module name field should not be left blank.

66

Page 67: URS for Opinion Poll

3 When the user choose any item in related area field and presses tab button

The value for the sub area of a particular related area will be populated from which the user needs to select any of the sub area names.

The related area field should not be left blank.

4 When the user checks the staff check box

The staff component will be loaded just below to it.

5 When the user checks the current students & parents check box

The student component will be loaded just below to the staff component.

6 When the user checks the parents check box

The parent component will be loaded below to the student component.

2 When the edit section is loaded after clicking the edit/view button from the list.

The respective module name, related area name and the sub area name will be displayed in the dropdown and the corresponding checkboxes will be checked for the respective assigned user types. And the first component will be displayed with the assigned users list. And for the others if assigned for the sub area will display a show list option side to the checkbox. (The check box is checked to show the status of the assignment, whether any member from that user type is assigned as a functionary or not for that sub area).

If any user has no edit permission the save button will be disabled. In this case the dropdowns showing the module name, related area name and the sub area name will be disabled (the displaying values cannot be changed).

When the user clicks the show list button

The corresponding component will be loaded with the appropriate values as the list in the available and assigned section in the component. And the option named show list will be invisible.

If the members of the particular user type are assigned as the functionary for the selected sub area then this option will be displayed as a hyperlink.

6 When the user clicks the save button

If the edit/ view section is loaded by clicking edit/ view button then all the modified data were stored in the data base, but if the edit/ view section is loaded by clicking new button then all the data were inserted into the data base. (At least one user should be selected by using the component as the sub area functionary).

From the available check boxes namely staff, students and parents at least one field is to be checked. If checked, then corresponding assigned list box must contain at least one value.

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

67

Page 68: URS for Opinion Poll

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

1.5.5.3 Layout (Screen shots)The screen is divided into two sections. As mentioned in the previous screens also. One is the List section and another is the Detail section.

1.5.5.3.1 List sectionDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Record per page

1 Refers to the 1st row of the section 1.5.1.1

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

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

4 Sl# no Display Number Helps in indexing the displayed list

Shows the index of the list populated.

5 Module Name

Display Varchar Displays the module name

68

Page 69: URS for Opinion Poll

6 Related area::Sub Area

Display Varchar Displays the set of related area and related sub area name for which the stages and the stage users are to be defined.

The name will be displayed as the one given in the following example. (e.g. Canteen::Hostel Canteen)

7 Sub Module::Screen Name

Display Varchar Displays the screen name of the corresponding sub module for which the stages are defined.

Screen name refers to the pages like ‘create and approve poll’ or ‘Analysis Result’.

8 Stage name

Display Varchar Shows the name of the stage.

9 Stage order Display Number Specifies the order of the stage.

10 Assigned Users

Display Varchar Helps to identify the stage users of the sub area of an area defined for a specific screen of the sub module for a related area.

Contains the name of the users of a stage for the subarea. The users can be anyone from staffs, students and parents. The name of the stage users are preceded by the user type of them in capital letters followed by a colon.

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

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

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

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

69

Page 70: URS for Opinion Poll

17 Previous ( < )

Refers to the 11th row of the section 1.5.1.1

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

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

20 Page Number

Refers to the 9th row of the section 1.5.1.1

Screen Events actions and validations

Sl# Event Action Validation1 When the list section

is loadedThe list of the stages, stage orders, assigned users and their related area name along with the subarea and the screen name etc will be displayed in the list if defined. If no information will be found regarding the stages and the users then the list page will show a message as ‘No records to display’.

This screen will be available only to the limited users who have been given authorization.

2 When the user clicks the delete button

All the data of the respective rows will be deleted from the database.

Special Note: for all the common events for this section please refer to the section 1.5.1.2.

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

1.5.5.3.2 Edit SectionDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

70

Page 71: URS for Opinion Poll

1 Module Name 1 Drop-down

Varchar Y User selects the module for which the required related areas will be populated in the related area field

2 Related Area 2 Drop-down

Varchar Y User selects the required related area

The approval stages will be defined as per the related sub area of an area.

3 Sub Area 3 Drop-down

Varchar Y Provides the names of the sub area for an area of a module

4 Sub Module 4 Drop- down

Varchar Y Provides the name of the sub module which will help in selecting the screen names.

5 Screen Name 5 Drop-down

Varchar Y The screen name defines the activity for which different stages and their users will be defined.

The screen names will be like Create and approve poll and Analysis result etc.

6 Stage Name 6 Text box

Varchar Y User defines the name of the stage with in an activity.

7 Stage order 7 Textbox Number Y Provides the level of the stage or the order of the stage.

71

Page 72: URS for Opinion Poll

8 Cancellation allowed

8 Check Box

Boolean N N It gives the right to the stage users whether they can cancel the whole activity or not in a particular stage

E.g. in case of opinion poll the poll can be cancelled in any stage if allowed in this screen during the stage creation.

9 Choose Stage Users

Staffs 9 Check Box

Boolean Specifies whether staffs will be selected or not

Students 10 Check Box

Boolean Specifies whether students will be selected or not.

Parents 11 Check Box

Boolean Specifies whether parents will be selected or not.

9 Staff component Refer to the section 1.5.1.3.1

10 Students component

Refer to the section 1.5.1.3.2

11 Parents component

Refer to the section 1.5.1.3.3

11 Save Last tab index+1

Refer to the 4th row of the section 1.5.1.1

12 Cancel Last tab index+2

Refer to the 5th row of the section 1.5.1.1

Screen Events actions and validations

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

Sl# Event Action Validation

72

Page 73: URS for Opinion Poll

1 When this section is loaded

All the fields will be populated with their corresponding values. If the page is loaded after clicking the new button then there will be default value in the fields and if the section is loaded after clicking the edit button then the fields will be shown with the values from the respective row from the list section.

2 When user selects any item from the Module name Drop-down and presses tab

Then the names of the respective related area of the selected module will be populated in the Related to area Drop-down. And the names in the sub module drop-down will also be populated for that module.

3 When user selects any item from the Related to area Drop-down and presses tab

Then the names of the respective related sub area will be populated in the Sub Area Drop-down

4 When the user checks the staff check box

The staff component will be loaded just below to that line.

5 When the user checks the student check box

The Student component will be loaded 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 parent check box

Then the parent component will be loaded.

7 When the user clicks the save button

if the edit/ view section is loaded by clicking edit/ view button then all the modified data were stored in the data base, but if the edit/ view section is loaded by clicking new button then all the data were inserted into the data base and the list will be populated another new record set.

From the check boxes namely staff, students and parents at least one field is to be checked. If checked, then corresponding assigned list box must contain at least one value.And Two stage name and two stage order cannot be same in a particular sub area.Only numeric value is allowed in the stage order field.

8 When the user clicks the cancel button

The details section will become invisible and will be closed without performing any action.

1.5.6 Opinion PollPollCreate and Approve Poll1.5.6.1 Purpose

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

1.5.6.2 Brief Description

The authorized user can create a poll by defining the questions and the options with suitable answer types as required. The user has to provide all the additional details for the poll like defining the topic name, defining the group of participants, specifying the repetition interval of the poll (if any), providing

73

Page 74: URS for Opinion Poll

the result notification options etc. This screen is also used for the approval of the created poll which is managed by the defined stages for approval in the configuration sub module. After saving the poll the user can modify the poll, but once the poll is submitted for approval then the user can not modify the same. The poll can be verified and modified by the next higher stage members if required. The approver posses the authorization to delete the poll also (if cancellation is allowed for that particular stage). In future if required to discontinue a repetitive poll or to discard a continuing poll the approver having the authority to cancel the poll can do the same.

1.5.6.3 Layout (Screen shots)

The screen is divided into two sections as described.

1.5.6.3.1 List filter sectionDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

1 Related to Area

1 Drop-down

Varchar All (for the particular module. E.g. here the module is Opinion Poll)

Any defined related to area name

Y Helps to filter the list by selecting any of the related to area

74

Page 75: URS for Opinion Poll

2 Related to sub Area

2 Drop-down

Varchar Any defined related to sub area name for the selected area in the previous field

Y Helps to filter the list by selecting any of the related to sub area for a particular area

3 Stage 3 Drop-down

Varchar Any defined stage name in which the login user is a member for the selected set of (areasub-area)

Y Helps to filter the list by selecting any of the stage in which the user is a member

4 Start Date

4 Text Box

Date Sysdate DD/MON/YYYY

Y It helps to find those polls whose start date is the greater than equals to the given date

5 End Date 5 Text Box

Date Sysdate+30

DD/MON/YYYY

Y It helps to find those polls whose end date is the less than equals to the given date

6 My approval Pending

6 Check Box

Boolean It enlists all the records that are to be approved by the user for a particular stage

Screen Events actions and validations

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

Sl# Event Action Validation1 When the list filter section is

loadedAll the available related to area names for the particular module name will be populated in the related to area field.

75

Page 76: URS for Opinion Poll

1 When the user selects a name from the related to area field and presses tab

All the available related to sub area for the particular area will be populated in the related to sub area field.

2 When the user selects a particular sub area from the sub area field and presses tab

All the approval stages for Create and Approve Poll Screen of Opinion Poll module assigned for that sub area to the user will be populated in the stage field.

3 When the user selects any of the available stages from the stage drop-down and presses tab

The list of all polls in that stage for a particular (areasub-area) starting on or after Sysdate and ending on or 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 start date and presses the tab

If the user enters a valid date then the focus will go to the end date field. And those polls having start date greater than or equals to the given date and ending on or before the specified default end date will be shown in the list.

The date should not be less than the Sysdate and also should not be more than the end date (default value).

5 When the user changes the end date and presses tab

All the polls starting from or after the specified start date and ending on or before the specified end date will be listed for a particular set of (areasub-areastage)

End date cannot be less than the start date

6 When the user clicks on the my approval pending check box

Only the records of the polls which are to be approved by the user will be listed in the list section for the particular set of selection.

1.5.6.3.2 List sectionDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

1 Record per page

1 Refer to 1st row of the section 1.5.1.1

76

Page 77: URS for Opinion Poll

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

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

4 Sl# No Display Number Shows the indexes of the records populated in the list

5 Topic Display Varchar Displays the name of the poll

6 Related to sub area name

display Varchar Helps to identify the particular sub area name for which the poll is created.

7 Current Stage

Display Varchar Displays the current stage of the poll in the defined approval process for that related to sub area

8 Start Date & Time

Display Date-Time

Helps to identify the start date and time of the particular poll

9 End Date & Time

Display Date-Time

Helps to identify the end date and time of the particular poll

10 Auto Repeating

Display Boolean Identifies whether the poll is repetitive or not

11 Remarks Allowed

Display Boolean It identifies whether the poll allows to post remarks or not

12 Result shared with participants

Display Boolean Indicates about the sharing of the result whether it is shared with the participants or not

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

14 Delete Refer to 7th row of the section 1.5.1.1

77

Page 78: URS for Opinion Poll

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

16 Previous ( < )

Refer to 11th row of the section 1.5.1.1

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

18 Last ( >| )

Refer to 13th row of the section 1.5.1.1

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

Screen Events actions and validations

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

Sl# Event Action Validation1 When the user clicks the

new buttonAll the values for the related area field for the selected module will be populated.

Here the module name is set to Opinion Poll.

2 When the user clicks the edit/view button

All the associated information for the particular poll will be populated in the fields in the screen

3 When the user clicks delete button

The corresponding poll will be rejected.

1.5.6.3.3 Edit sectionThe edit section is again divided into five sub sections which are described as follows.

1.5.6.3.3.1 Define the topic sectionDescription

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-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

78

Page 79: URS for Opinion Poll

1 Related to area

1 Drop-down

Varchar Any defined related to area name

Y Selects the required related to area defined for the module “opinion poll”

2 Related to sub area name

2 Drop-down

Varchar Any defined related to sub area name for the selected area name

Y Selects the required related to sub area for the area in which poll is to be defined.

3 Topic 3 Text Box

Varchar Y Defines a name for the poll for the selected sub area of an area

4 Start Date

4 Text Box

Date DD/MON/YYYY

Y Defines the poll start date. It indicates the date after which the participants can vote for the poll.

5 Time 5 Text Box

Numeric HH Y The time with the date gives the actual time on the start date after which voting can be started.

Defines the time in hour

6 Text Box

Numeric MI Y Defines the time in minute

7 Drop-down

Varchar AM PM Y

6 End Date

8 Text Box

Date DD/MON/YYYY

Y It indicates the poll end date till which the polling is allowed.

7 Time 9 Text Box

Numeric HH Y The time with the date gives the actual time on the end date after which voting is not allowed for that poll. i.e. the allowed participants cannot

Specifies the hour part of the time

10 Text Box

Numeric MI Y Specifies the minute

79

Page 80: URS for Opinion Poll

vote for the poll after this date and time.

11 Drop-down

Varchar AM PM Y Sets the time format whether AM or PM

Screen Events actions and validations

Sl# Event Action Validation1 When the section is

loadedAll the available related areas for the module opinion poll will be populated in the related area field

2 When the user selects a name from the related to area button and presses tab

All the available related to sub area for the particular area will be populated in the related to sub area field

3 When the user enters the value in the start/end date field and presses tab

If the date is a valid one then focus goes to the hour field (denoted by HH)

The date format is to be checked. This field should contain a valid date. The specific format to be checked is DD/MON/YYYY. Date 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 the value in the time field (hour field) and presses tab

If the hour is a valid one then focus goes to the minute field (denoted by MI)

The value in the hour field will be checked and it will accept only numbers. The number in this field should be between 0 and 12.

5 When the user enters the value in the time field (minute field) and presses tab

If the minute is a valid one then focus goes to the AM/PM field (denoted by MI)

The value in the minute field will be checked and it will accept only numbers. The number in this field should be between 1 and 59.

6 When the user selects the AM or PM from the AM/PM Drop-down

The time will be set by the selected option.

1.5.6.3.3.1 Define the participants sectionDescription

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

80

Page 81: URS for Opinion Poll

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-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

1 Assign Colleges

Refer to the section 1.5.1.3.5

2 Current Student

7 Radio Button

Boolean All, Limited Specifies whether all the current students will be selected or limited students will participate in the polling

All the students from only the selected colleges

3 Assign Current Students

Refer to the section 1.5.1.3.2

4 Staff 9 Radio Button

Boolean All, Limited Specifies whether all the Staffs will be selected or limited staffs will participate in the polling

5 Assign Staffs

Refer to the section 1.5.1.3.1

6 Alumni 11 Radio Button

Boolean All, Limited Specifies whether all the Alumni will be selected or limited alumni will participate in the polling

7 Assign Alumni

Refer to the section 1.5.1.3.3

8 Parents 13 Radio Button

Boolean All, Limited Specifies whether all the Parents will be selected or limited parents will participate in the polling

81

Page 82: URS for Opinion Poll

9 Assign Parents

Refer to the section 1.5.1.3.2

10 Applicants

15 Radio Button

Boolean All, Limited Specifies whether all the Applicants will be selected or limited applicants will participate in the polling

11 Assign Applicants

Refer to the section 1.5.1.3.6

12 Other predefined groups

17 Check Box

Boolean All, Limited Specifies whether all the defined groups will be selected or limited groups will participate in the polling

13 Assign defined groups

Refer to the section 1.5.1.3.4

14 External Users

18 Check Box

Boolean Specifies whether external world can participate in the polling or not

15 Send Email

19 Check Box

Boolean Specifies whether the notification to the participants will be sent through mail or not

Notification along with the URL will be sent through mail.

16 Send SMS

20 Check Box

Boolean Specifies whether the notification to the participants will be sent through SMS or not

Notification along with the URL will be sent through SMS.

82

Page 83: URS for Opinion Poll

17 Send Enotice

21 Check Box

Boolean Specifies whether the notification will be sent to the Enotice or not

Notification along with the URL will be published in the Enotice.

Screen Events actions and validations

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

Sl# Event Action Validation1 When the user

selects all option from the current students field

All the current students from the selected colleges from the assigned colleges field will be selected as the participants for the poll.

2 When the user selects limited option from the current students field

The assign student and parent section will be loaded with all the available students from all the previously selected colleges in the assigned colleges’ field. Then user needs to select the students, whom he wants to allow as participants for that poll

3 When the user selects all option from the staffs field

All the current staffs from the selected colleges from the assigned colleges field will be selected as the participants for the poll

4 When the user selects limited option from the staffs field

The assign staffs section will be loaded with all the available staffs from all the previously selected 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 selects all option from the alumni field

All the alumni from the selected colleges from the assigned colleges field will be selected as the participants for the poll

6 When the user selects limited option from the alumni field

The assign alumni section will be loaded with all the available alumni from all the previously selected 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 selects all option from the parents field

All the parents of the current students from the selected colleges from the assigned colleges field will be selected as the participants for the poll

8 When the user selects limited option from the parents field

The assign student and parent section will be loaded with all the available students from all the previously 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

83

Page 84: URS for Opinion Poll

9 When the user selects all option from the applicants field

All the applicants from the selected colleges from the assigned colleges field will be selected as the participants for the poll

10 When the user selects limited option from the applicants field

The assign applicants section will be loaded with all the available applicants from all the selected colleges earlier in the assigned colleges’ field. Then user needs to select the applicants, whom he wants to allow as participants for that poll

11 When the user checks the groups defined field

Then assign defined groups will be populated with all the previously defined groups in the available groups list box

12 When the user checks the external users field

Then the poll will be made available for the external world to participate and vote

13 When send Email field is checked

Poll notification along with invitation to participate and the URL of the poll will be sent to the participants defined for that poll through Email

14 When send SMS field is checked

Poll notification along with invitation to participate and the URL of the poll will be sent to the participants defined for that poll through SMS

15 When send Enotice field is checked

Poll notification along with invitation to participate and the URL of the poll will be published for the participants defined for that poll through Enotice

Define poll repetition status sectionDescription

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-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Repeat 1 Check Box

Boolean Unchecked

Checked Indicates whether the poll is to be repeated automatically after certain interval or not

84

Page 85: URS for Opinion Poll

2 Period 2 Drop-down

Varchar Day of the Week, Date of the month, Month and date of the Year, After X days

Y(if repeat is checked)

Specifies the interval in which the poll will be repeated automatically.

3 Day 3 Drop-down

Varchar All weekdays of the week

Y(if Day of the Week is selected)

Day of the week indicates the particular day of each week on which the particular poll will be repeated.

Date of month

Last tab index+1

Drop-down

Number 1-28 (As we cannot poll on date >28 in each month)

Y(if Date of the month or Date and month of the Year is selected)

Date of the month indicates the particular date in each month on which the created poll will be repeated.

Month 3 Drop-down

Varchar All the months in a year

Y(if date and month of the Year is selected)

Month specifies the particular month in each year on which the poll will be repeated.

This will take effect with the combination of the date field for the option Month and date of the Year

After days

3 Text box

Number Any number Y(if After X days is selected)

Specifies the no. of days after the end of the poll that will be repeated again

85

Page 86: URS for Opinion Poll

4 Repetition duration in days

Last tab index +1

Text Box

Number The duration between the specified start date and the end date in the topic creation sub section.

Y(if repeat is checked)

Defines the duration for the repeated poll

Indicates the no. of days between the start date and end date of a poll

5 Start Date

Last index+2

Text Box

Date DD/MON/YYYY

Y Defines the start date after which the repetition of the poll will be started.

After the start date the subsequent repetition of polls will be carried out until the Till date is met.

6 Time Last index+3

Text Box

Numeric HH Y It is used to define the time on the particular date after which the repetition will be started. From this date the first repetition will be started.

Specifies the hour part of the time

Last index+4

Text Box

Numeric MI Y Specifies the minute part of the time

Last Index+5

Drop-down

Varchar AM PM Y Sets the time format whether AM or PM

86

Page 87: URS for Opinion Poll

7 End Repeat Date

Last index+6

Text Box

Date DD/MON/YYYY

Y This date specifies the date up to which the repetition of the poll will be carried out. E.g. if the poll is to be repeated for the whole year and the repetition frequency is monthly then the repetition of the poll will be carried out in every month up to the specified End Repeat date

8 Poll End Time

Last index+7

Text Box

Numeric HH Y It is used to mention the time by which the poll will finish on the calculated end date for each repetition. E.g. if the calculated end date for any of the repetition 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

Specifies the hour part of the time

Last index+8

Text Box

Numeric MI Y Specifies the minute part of the time

Last Index+9

Drop-down

Varchar AM PM Y Sets the time format whether AM or PM

Screen Events actions and validations

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

Sl# Event Action Validation

87

Page 88: URS for Opinion Poll

1 When the user checks the repeat field

The repeat section becomes visible along with all specified fields. The period field will be populated with the corresponding values as defined (Day of the week, Date of a month, Date and month of a year, after X days).

If repeat field is not checked then the repeat section will not be visible.

2 When the user selects an option from the period field and presses tab

All the related sub fields will become visible listed by their specific values. (The sub fields are Day, Date of month, Month). If the user selects the ‘Day of the week’, then the ‘Day’ field will be visible asking for the name of the week day. If the ‘Date of month’ is selected then the month field will be visible asking for the date of the month. If the ‘Date and month of year’ is selected then both the ‘month’ and the ‘date’ will become visible asking for the month and date for each year. And finally if ‘After X days’ is selected the field ‘After days ’ will be shown asking for the no. of days for each repetition.

If repeat field is checked the period field cannot be left blank.

3 When the user selects the option date of the month from the period field and presses tab

The date of the month field will be shown and the field will be populated with the values ranging from 1 to 28.

If repeat field is checked this field cannot be left blank. Date should be in between 1 and 28 as every month has these dates in common.

4 When the user selects the option date and month of the year from the period field and presses tab

The month field and the date of the month field will be shown and month field will be populated by the three lettered abbreviations for each month in a year

If repeat field is checked, The month field cannot be left blank.

5 When the user selects a particular month in the month field and presses tab

The date of the month field will be populated with the dates of that month

If repeat field is checked, The date of the month field cannot be left blank.

6 When the user enters the value in the After days field and presses tab

Only numeric value will be accepted by this field. If repeat field is checked this field cannot be left blank.

7 When the user enters the value in the Repetition duration in days field

Only numeric value will be accepted by this field. If repeat field is checked this field cannot be left blank.

8 When the user enters the value in the start date field and presses tab

If the date is a valid one then focus goes to the hour field (denoted by HH)

The date format is to be checked. This field should contain a valid date. The 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.

88

Page 89: URS for Opinion Poll

9 When the user enters the value in the time field (hour field) and presses tab

If the hour is a valid one then focus goes to the minute field (denoted by MI)

The value in the hour field will be checked and it will accept only numbers. The number in this field should be between 1 and 23.

10 When the user enters the value in the time field (minute field) and presses tab

If the minute is a valid one then focus goes to the AM/PM field (denoted by MI)

The value in the minute field will be checked and it will accept only numbers. The number in this field should be between 1 and 59.

11 When the user selects the AM or PM from the AM/PM Drop-down

The time will be set by the selected option.

12 When the user enters the value in the start date and time and presses tab

The start date and time should not be less than sysdate and also should not be greater than end date.

13 When the user enters the value in the till date and time and presses tab

The till date and time should not be less than start date and time.

Define result publication option sectionDescription

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.

Sl# Label Tab-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Email results to related sub area functionary

1 Check Box

Boolean Specifies whether the results will be sent to the related sub area functionary or not

Results will be sent to the related sub area functionary

2 Publish results to all

2 Check Box

Boolean Specifies whether the results will be published to the public or not

All indicates to everyone whether the user is a participant or not

89

Page 90: URS for Opinion Poll

3 Results shared with participants

3 Check Box

Boolean Specifies whether the results will be shared with the participants or not

This indicates the sharing of the result publication notice.

Send Email

4 Check Box

Boolean Specifies whether the notification to the participants will be sent through Email or not

Send SMS

5 Check Box

Boolean Specifies whether the notification to the participants will be sent through SMS or not

Send Enotice

6 Check Box

Boolean Specifies whether the result publication notice will be published in the Enotice or not

Screen Events actions and validations

Sl# Event Action Validation1 When the user

checks the email result to the related area functionary field

It is set for the future that the results of the particular poll will be sent to the respective related functionary of that poll

2 When the user checks the publish results to all field

It is set for the future that the results of the particular poll will be published for the public

3 When the user checks the result shared with participants field

It is set for the future that the results of the poll will be shared with the participants

4 If the via email option is checked

Then the result publication notification will be shared with the participants through their email address.

5 If the via SMS option is checked

Then the result publication notification will be shared with the participants through SMS to their mobile numbers.

90

Page 91: URS for Opinion Poll

6 If the via Enotice option is checked

Then the participants will be notified through Enotice

1.5.6.3.3.4 Create Question sectionDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Advanced

1 Check Box

Boolean Unchecked

Checked Specifies whether it is a simple poll or an advanced poll

2 Minimum % of required vote

2 Text Box

Number Defines minimum number of votes for a particular poll

If the no of votes for a poll will not exceed the minimum value then the analyst will be prompted to discard the poll

91

Page 92: URS for Opinion Poll

3 Analysis Required

3 Check Box

Boolean unchecked

checked Specifies whether analysis for the question is allowed or not

If analysis for a question is allowed then analysis for the poll and the set to which the question belongs will be allowed automatically

4 Remarks allowed (poll wise)

4 Check Box

Boolean unchecked

checked Specifies whether remarks for the whole poll (all questions of that poll)

If remarks allowed for the poll then user can give remarks to all the questions of that poll while voting.

5 Unremove

5 Button User selects this if he/she wants to undo a delete operation

This button will only be enabled if the particular poll was deleted previously.

6 Set Last tab index+1

Text Box

Number 1(Disabled)

Any number

Y(If advanced is checked)

Defines the name for the Set in a poll. If advanced is checked then this becomes enable

An advanced poll can contain multiple sets

7 Set weightage

Last tab index+2

Text Box

Number 1(Disabled)

Any Number

Y(If advanced is checked)

Defines the weightage for the set

If advanced is checked then this becomes enable

8 Question

Last tab index+3

Text Area

Varchar Y Defines the question

92

Page 93: URS for Opinion Poll

9 Question Weightage

Last tab index+4

Text Box

Number 1 Y Defines the weightage for the question

10 Answer Type

Last tab index+5

Drop-down

Varchar Single choice

Multiple choice with selection, multiple choice with ranking

Y Defines the type of option for the question

Type of options means whether it is single choice or multiple choices with selection or multiple choices with ranking

11 No of options

Last tab index+6

Text Box

Number Any Number

Y Specifies the no of options for that question

12 No of options to be selected

Last tab index+7

Text Box

Number 1(for single choice), No of options (for multiple choices)

Any number less than no of options

Y Limits the no of options to be selected by the user while voting

13 Option Last tab index+1

Text Box

Varchar This field defines the options for the question. This field will be repeated for the no of options times hence the tab index will be incremented so on

The options can be like YES, NO, CAN’T SAY etc

93

Page 94: URS for Opinion Poll

Option weightage

Last tab index+2

Text Box

Number 1 Any number

This field defines weightage for the corresponding option. This field will be repeated for the no of options times hence the tab index will be incremented so on

14 Copy from question number

Last tab index+1

Text Box

Number 1 Any defined question number

This will copy all the previously defined options for the question along with all other parameters

This avoids the rework. The user only needs to define the question. After copying the user can change any parameter.

15 Remarks allowed (question wise)

Last tab index+2

Check Box

Boolean unchecked

checked Specifies whether remarks for the question

If remarks allowed for the question then user can give remarks to the question while voting.

16 Add more question

Last tab index+3

Button When the user wants to add more questions to the set he need to click on this button

After clicking this button another block of question along with all the associated fields as mentioned above in this table will come with the incremented tab index for each field.

94

Page 95: URS for Opinion Poll

17 Add more sets

Last index+4

Button When the user wants to add more sets to the poll he need to click on this button(This button will only be visible if the advanced field is checked)

After clicking this button another section of set will be displayed containing all the fields as mentioned above in this table with the incremented tab index for each field.

18 Current Stage

Last tab index+1

Display Varchar Any defined poll approval stage name

Displays the current stage name in which the user is

19 Select Stage

Last tab index+2

Drop-down

Varchar Current Stage

Stage where stage order>last stage where the poll was submitted

This enables the user to move between different stages of approval to see the status (and modify anything if required) of the polls in between the approval stages.

Only those stages will be populated on which the user has the rights. (i.e. to the stage to which the user is assigned as an approver)

20 Remark Last tab index+3

Text Area

Varchar User can give remarks on the poll in a particular stage through this field

21 Save Last tab index+4

Refer to the 4th row section 1.5.1.1

22 Cancel Last tab index+5

Refer to the 5th row section 1.5.1.1

95

Page 96: URS for Opinion Poll

23 Submit Last tab index+6

Button

User clicks on this to send the poll to the next level of approval once he/she has created or reviewed the poll.

If the user is in the last level of approval then the poll will be published in the polling page and the polling will be started once it meets the start date and time

24 Date Display

Shows the date on which the poll was last approved or created

25 Stage Display

Shows the stage name on which the poll was last approved or created

26 Approved By

Display

Shows the name of the approver by whom the poll was last approved or created

27 Remarks Display

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

Screen Events actions and validations

Sl# Event Action Validation

96

Page 97: URS for Opinion Poll

1 When the section is loaded by clicking the edit/view button

Then all the fields will be displayed with their respective value, if remarks is allowed to each question then remark allowed for the entire poll will be checked otherwise it was not checked. And if the poll is an advance one then only advanced field will be checked and question will be displayed in set wise manner.

2 When the user checks the advanced field

The set option and the set weight option will be enabled along with the Add more sets button will become visible.

3 When the user enters value in the minimum percentage of required votes field

It will check for the numeric values. This field will accept the value between 1 and 100

4 When the user checks the analysis required

Then analysis is allowed for the poll.

4 When the user checks the remarks allowed field in the upper section used for the poll

This checks all the remarks allowed field displayed for each question which enables the participant to post comment for all the questions of the poll.

5 When the user enters the value in the set field

This field will only accept the numeric values

6 When the user enters the value in the set weightage field

It will check for the numeric values only.

7 When the user enters the value in the question weightage field

It will check for the numeric values only.

8 When the user selects any value in the answer type field

The answers for that question will be defined by that type. E.g. if the single choice is selected then the options will be defined by the radio button, if the multiple choice with selection is defined then the options will be defined by the check box and if the multiple choice with ranking is selected then options will be defined by the help of a text box aside to each option. If the selection will be for any of the multiple choice then no of options to be selected field will be enabled.

9 When the user gives any value to the no of options field and presses tab

Then that no of option fields and their corresponding weightage fields will be populated in the section

Must be numeric value.

97

Page 98: URS for Opinion Poll

10 When the user gives any value to the no of options to be selected field

Then the question will allow the voter to select only that much of options to select during polling.

The no of options to be selected should not be greater than the total no of options for that question and must be numeric value

11 When the user gives the value in the copy from the question field

The options with all other parameters except the question will be copied from the specified question in the field to the current question. The user can change the copied values later.

For the first question this must be in disable form.

12 When the user checks the remarks allowed field used for the specific question

It is set for the future that during polling the voter can post remark for that particular question.

13 When the user clicks on the add more questions button

Another section for the question creation will become visible through which another question can be created for the particular set

14 When the user clicks on the add more sets button

Another section for the set creation will become visible through which another set can be created for the particular set

15 When the user changes the value in the select stage field

The current poll will be moved to that stage and will be reviewed in that stage.

Only those stages to which the user is assigned as the functionary and the 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

98

Page 99: URS for Opinion Poll

16 When the user clicks the save button

The poll along with all the essential details will be saved and the status for that poll will be set to saved against the user in that stage.

For the define topic section-None of the mandatory fields mentioned above can be left blank. The start date and time cannot be greater than the end date and time. The hour’s field denoted by HH cannot be greater than 12 and the minute field denoted by MI cannot be greater than 59 and these fields should only accept numeric values. If the user is in the stage 1 then the start date cannot be less than Sysdate.

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

For define poll repetition status section-If repeat check box is checked, All the mandatory fields should be filled. Start date and time must be less than that of end repeat date and end time.

For result publication option section-The status of the result shared with participants’ field will be checked. If the status is checked then any of the communication option must have to be checked.

16 When the user presses the submit button

The poll will be approved in the current stage by the user and will be moved to the next stage. If the user is in the last stage who clicks on submit for the poll then the poll will be published for the polling and will be available in the polling page only when the start date is met by the poll.If submit button is clicked the status of that poll will become submitted for that user.

All the validations will be same as the validation for the save button mentioned in the above row.

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

99

Page 100: URS for Opinion Poll

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

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

1.5.7.3.1 List pageDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

1 Show polls having End date between DD/MON/YYYY to DD/MON/YYYY

1 Text box

Date Sysdate DD/MON/YYYY

N It will filter the polls whose end date for voting lies within the given dates.

This date cannot be greater than the second date

2 Text box

Date Sysdate+30

DD/MON/YYYY

This date cannot be less than the first date

2 Record per page

3 Refer to 1st row of section 1.5.1.1

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

4 Sl no Display Number It will show the indexing for the polls

100

Page 101: URS for Opinion Poll

5 Area::SubArea

Display Varchar Area::SubArea

Helps to identify the area name and sub Area name for which the poll is created. The area names which were under the opinion poll module will be displayed for this purpose.

6 Topic name Display Varchar It defines the name of the poll. It also displays the repetition number of the poll if it is a repetitive one

The polls will be displayed to those who are allowed to participate.

7 Time left Display Varchar X DaysY HoursZ Mins

It will show the remaining time to vote for each poll.

8 Poll status Display Varchar Running, To Be Started, Completed

Displays the status of the poll. If the end date is over then status will be completed, if the end date is not over and start date is less than sysdate then the poll is running else if the start date is greater than the sysdate the status will be to be started

101

Page 102: URS for Opinion Poll

9 My voting status

Display Varchar Completely Voted, Partially Voted and Not Voted Yet

It will show the voting status of the user. The status Partially Voted means that the user not yet voted for all the questions in the poll, likewise the status Completely Voted means the user has voted for all the questions in that poll and the status not yet voted means the user not yet voted for any of the question in that poll

10 Vote now Button Vote When the user clicks on this button all the fields of the voting section will be populated with the respective values from the list.

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

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

13 Previous ( < )

Refers to the 11th row of the section 1.5.1.1

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

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

16 Page Number

Refers to the 9th row of the section 1.5.1.1

Screen Events actions and validations

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

Sl# Event Action Validation

102

Page 103: URS for Opinion Poll

1 When the list section is loaded

Only the approved polls will be listed in the list. The list will contain that 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.

The values for the date fields between will be sysdate and sysdate+30.

2 When user enters date in the field show poll having end date between x and y and presses tab.(here X is date-1 and Y is date-2)

Then the polls having the matching records will be displayed in the list section whose end date is in between the provided value

The first date cannot be greater than the second date and similarly the second date cannot be less than the first date.

Value of x must be less than that of value of y.

And the value of x should be greater than or equal to sys date.

3 When the user clicks the vote now button

Then the vote section will be displayed with the respective fields containing the corresponding values in that field i.e. respective poll name, related to area will displayed at the top along with other fields. Such as the questions and the answer options etc.

If the poll status is completed, then the detail section will not open and also when the poll status is to be started then the detail section will not open showing the message that the poll will be started on the specified date. If the poll is discarded or discontinued then also an alert will indicate the discard or discontinued status of that poll.

1.5.7.3.2 Polling Detail sectionDescription

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:

103

Page 104: URS for Opinion Poll

Sl# Label Tab-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

1 Topic Display Varchar It will show the respective poll name which is selected from the list section.

2 Related Sub Area

Display Varchar Related Area: Related sub area

It will show the related area name along with related sub area name of the respective poll. Only those functional areas will be populated which were under the opinion poll.

3 Time left

Display Varchar W DaysX hoursY MinutesZ Seconds

It will show the remaining time to vote for the respective poll.

The timer will act like an indicator showing the remaining time.

4 Ques#/Page

1 Text box

Number 3 Any two digit number greater than zero

This field illustrates how many questions will be shown at a time in the page.

The user can see any number of questions in the page starting from 1 to total no of questions.

5 Show by

2 Drop down

Varchar All Unanswered Questions/ Answered Questions

It filters the questions depending upon the options chosen. On selecting Answered Questions only the questions have been answered will be populated. And same for the other option.

It will help in identifying the unanswered questions quickly and easily.

104

Page 105: URS for Opinion Poll

Sl# Label Tab-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

6 Set 3 Drop down

Varchar All Different set names of the selected poll.

This field is used to filter the polls set wise.

By default all sets will be shown

7 Total questions

Display Number Display the total no. of questions in the poll.

8 Answered

Display Number It displays the no. of answered questions by the user.

9 Un-answered

Display Number It displays the no. of un-answered questions by the user.

10 Set Display Varchar This shows the set name of the selected set.

The sets will be displayed as one following other if multiple sets are selected at a time

11 Question

Display Varchar This represents the question for which the user is going to answer.

The questions are numbered in the display sequence always. There is no internal numbering of the question

105

Page 106: URS for Opinion Poll

Sl# Label Tab-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

12 Answers

4 Fields depends up on the answer type given by the user

If the answer type is single choice then the answer options will be displayed with radio buttons.

If the answer type is multiple choices with rank then the answer options will be displayed with text boxes.

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

If the answer type is multiple option with ranking then there will be another field valued as reset selection

13 Show Result

5 Display (Hyperlink)

Varchar This is placed as a hyperlink which will be used to see the online result of the poll during polling.

This will only be visible if the status for show online result for the poll is set to ‘Y’

14 remarks

Last tab index+1

Varchar This field will be available only if the remarks are allowed for that question.

15 First Last tab index+2

Refer to section 1.5.1.1

16 Previous

Last tab index+3

Refer to section 1.5.1.1

106

Page 107: URS for Opinion Poll

Sl# Label Tab-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

17 Next Last tab index+4

Refer to section 1.5.2.1

18 Last Last tab index+5

Refer to section 1.5.1.1

19 Save Last tab index+6

Refer to section 1.5.1.1

20 Cancel Last tab index+7

Refer to section 1.5.1.1

21 Reset Last tab index+8

button It resets all the selection for the answers in the question

22 Submit Last tab index+9

button When the user wants to submit the poll then he/ she needs to click the submit button.

It will visible in last page. On direct clicking the submit button one can save and submit the votes at once.

Screen Events actions and validations

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

Sl# Event Action Validation

107

Page 108: URS for Opinion Poll

1 When the section is loaded

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

2 When the user selects any set from the set field and presses tab

Then the corresponding set will be populated.

3 When user enters the no. of question in a page text box and presses tab

The specified number of questions will be displayed.

This field will only accept numeric values; the max length is set to 2in this case.

4 When user selects anyItem from show by combo box and presses tab

The questions will be displayed as per the format specified in the show by field. If the user selects the unanswered option then all 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 on the view result option

The result for that particular question will be displayed in another pop up window.

This option will only be available if the option for show online result is taken as ‘Y’ while creating the poll.

6 When the Reset button is clicked

It resets all the answer option selections for all the questions displayed in the page.

7 When the user answering multiple choice with selection questions

User can’t choose more option than the value provided in the “number of option to be selected” field during the creation of the poll.

8 When the user answering multiple choice with ranking questions

User can’t choose more option than the value provided in the “number of option to be selected“ field of the poll creator and user 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 the save button

All the responses of the voter will 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 is clicked

The responses from the user will be saved permanently. After which the response again cannot be changed.

Once the opinion is submitted it can’t be changed.

108

Page 109: URS for Opinion Poll

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

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

1.5.8.3 Layout (Screen shots)The screen is divided into two sections as described in the following section. One is named as the list section and another is the detail section.

1.5.8.3.1 List SectionDescription

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 End Date Between DD-MON-YYYY and DD-MON-YYYY

1 Text box

Date Sysdate-30

It shows the list of topics with its analysis stages having end dates within the given dates

2 Text box

Date Sysdate

2 Record per page 3 Refer to the section 1.5.1.1

3 Search by 4 Refer to the section 1.5.1.1

109

Page 110: URS for Opinion Poll

4 Sl. No 5 Display Number It helps to indexing the list.

5 Related to 6 Display Varchar It will show the related sub area name along with the Area Name which are under the module opinion poll.

The names will be displayed in the following format (Related Area Name::Related Sub Area Name)

9 Topic name :Repeat No

Display number It displays the name of the topic along with the respective repetition number.

The list is populated for a particular repetition of a poll. If the poll is not repetitive then by default it will be taken as one repetition.

10 Start Date Time Display Date It specifies the date and time when actually the poll will be started.

I.e. after that day users can vote for the specific poll.

11 End Date Time Display varchar It specifies the date after which the current repetition of that poll will become

After this date no one can vote.

110

Page 111: URS for Opinion Poll

unavailable.

12 Stage Name Display Varchar It provides the information that the topic is in which stage.

Stages like- creating stage, rectifying stage etc.

14 Edit/View Refer to the section 1.5.1.1

15 Delete Refer to the section 1.5.1.1

16 Sorting Refer to the section 1.5.1.1

17 First(|<) Refer to the section 1.5.1.1

18 Previous(<) Refer to the section 1.5.1.1

19 Next(>) Refer to the section 1.5.1.1

20 Last(>|) Refer to the section 1.5.1.1

21 Page number Refer to the section 1.5.1.1

Screen Events actions and validations

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

Sl# Event Action Validation1 When the section is

loadedThe related to area, related subarea, topic name, start date end date and stage name will be populated

2 When the user clicks the edit/ view button

Edit section will be displayed with all the default value, if any field does not have default value then null value will be displayed

3 When the user provides any date in the end date between field

Then list of those poll repetitions will be displayed whose end date is between the given dates.

The date in the first text box must be less than that of the second one.

1.5.8.3.2 Edit/ Detail SectionDescription:

111

Page 112: URS for Opinion Poll

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

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 Status

Display Varchar It displays the current status of the poll whether it is completed or running.

3 Related Sub Area

Display Varchar It defines the name of the sub area along with its area of the corresponding topic.

4 Questions/Page

1 Text box

Number 3 Number of questions to be displayed will depend on the value entered in this text box.

5 Set 2 Drop-down

Varchar All Set A, set B and so on

Questions will be displayed depending upon chosen set.

6 Eligible voters

Display Number It defines the total number of eligible participants for the poll.

7 Set Display Varchar It will display the set name.

8 Question number

Display Number It helps for indexing the questions.

112

Page 113: URS for Opinion Poll

9 Question Display Varchar It will display the question.

10 Weightage Display Number It shows the weightage of the corresponding question.

11 Answer Options

Display Varchar It defines different option of the question.

For example yes/no, agree/disagree.

12 Weightages Display Number It defines the corresponding weightage of each answer option.

13 Poll Response

Display Number It represents the responses of each option using a progress bar.

The response is printed in terms of percentage.

14 Votes Display Number It shows the total number of votes for a particular option in actual number.

15 Total voters Display Number It represents total number of participants who were actively participated in the polling.

16 Total Response

Display Number Displays the total responses from the eligible voters.

One voter can select multiple answers for a multiple select question hence having one voter for a poll the question can have more than one response.

17 Pie chart 3 Button It displays the responses of each option in form of pi chart.

A graph will be displayed after clicking the pie chart option.

113

Page 114: URS for Opinion Poll

18 Bar chart 4 Button It displays the responses of each option in form of bar chart.

In case of SNGLE and MSELECT answer type questions the bar chart will be normal and in case of MRANK a multiline bar chart will be displayed.

19 Download Poll Response in Excel

5 Button It shows an option by clicking which the response will be downloaded as a document in the excel format.

20 Comments for question

6 Text area

This field allows the analyst to post comments for the specific question.

21 Show results of previous repeats

7 Display with option as hyperlink

It defines that if the analyst wants to view the previous result then he can get it by clicking the individual option displayed in the list.

Shows the poll repeats by their repetition numbers with a link. By clicking on the link another popup will open displaying the result for the particular poll repetition.

22 Over all Last tab index+1

Button A popup will open showing the cumulative response of all the previous polls.

23 View Remarks

Last tab index+2

Button A pop up will open displaying the remarks for a particular question in that repetition.

The remarks will be displayed with the date on which those were posted.

114

Page 115: URS for Opinion Poll

24 Comments for the set

Last accessed tab index+1

Text area

Varchar Analyst can enter his/her views about the set in this field.

These will be displayed at the end of each set.

25 First(|<) Refer to the section 1.5.1.1

26 Previous(<) Refer to the section 1.5.1.1

27 Next(>) Refer to the section 1.5.1.1

28 Last(>|) Refer to the section 1.5.1.1

29 Comments for this poll

Text area

Varchar Analyst can enter his/her remarks about the poll in this field.

30 Current stage

Text box

Varchar It indicates the analysis of poll is in which stage

31 Select stage Drop-down

Varchar This contains the stages to which the user is assigned as the poll analysis & approval user

32 Approval Remarks

Text area

Varchar This is the field to accept the approval remarks from the authorized user for that stage.

33 Submit Button This will be displayed only in the last page. This is laced to submit the final analysis.

If the analysis for the poll is submitted then this button will become invisible and a message ‘You have submitted the analysis’ will be displayed in that place.

34 Save Refer to the section 1.5.1.1

115

Page 116: URS for Opinion Poll

35 Cancel Refer to the section 1.5.1.1

Screen Events actions and validations

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

Sl# Event Action Validation1 When the Edit section is

loadedAll the information about the poll along with response and the remarks in the text area and other important information will be displayed

2 When user selects any item in set field and presses tab

That corresponding questions of the selected set will be displayed.

3 When the user enter any item in the show number of question per page and presses tab

Only that much number of questions will be displayed

User can’t give non-numeric data and the max length of this field is 2.

4 When the user clicks on the pie graph button

The poll response will be simulated by the help of a pie chart just below to the answer options and poll response section.

5 When the user clicks on the bar graph button

The response will be displayed by the help of a bar graph.

If the answer type of the question is MRANK, i.e. Multiple choices with ranking, then a multiple set bar chart will open.

7 When the user clicks on the download excel image

Then a document will be downloaded containing the poll response in excel format.

9 When the user selects stage from select stage

The corresponding stage will be displayed in the Only the higher order stages as compared to the current stage will be displayed.

10 When the user clicks on the repetition number to see the response of the previous repetitions of a poll

A pop up will open to display the response of the previous selected repetition in the same format for the specified question.

If no repetitions available then this option will not be displayed in the analysis page for the question.

11 If the user clicks the overall button

The overall response for the specific question will be displayed in another pop up window.

If no repetitions are available then this option will also not be visible.

12 When the user clicks the view remarks option

The remarks posted for the specific question in the particular repetition will be displayed in another popup window.

13 when the user clicks the save button

All the analysis will be saved under the selected stage.

14 When the user clicks the cancel button

The analysis will be cancelled and the detail section will be closed.

15 When the user clicks the submit button

The analysis will be saved and the submitted status will be updated to Y.

116

Page 117: URS for Opinion Poll

1.5.9 Opinion pollConfigurationPoll Result

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

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

1.5.9.3 Layout (Screen shots)1.5.9.3.1 List SectionDescription

Special Notes:

Sl#

Label Tab-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

1

End date between

1 Textbox Date (Sysdate-30)

DD-MON-YYYY

Y Provides the range start date. Display the polls which end date after the entered date

2 Textbox Date (Sysdate-1) DD-MON-YYYY

Y Provides range end date

2 Record per page

3 Refer to the section 1.5.1.1

3 Search by

4 Refer to the section 1.5.1.1

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

5 Topic name

Display Varchar Y Provides topic name of a result page.

6 Related Area name

Display Varchar Y Provides the related area related to result page.

7 Related sub-area name

Display Varchar Y Provides the related sub-area related to result page.

117

Page 118: URS for Opinion Poll

Sl#

Label Tab-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

8 Start date

Display Date DD-MON-YYYY

Y Provides the starting date of opinion poll.

9 End date

Display Date DD-MON-YYYY

Y Provides the end date of opinion poll.

10 Poll status

Display Varchar Discarded,discontinued,active

Displays the status of the poll. If the status is discarded or discontinued then the show option will be disabled.

This will be displayed if the user is allowed to the status of the discard or discontinued poll.

11 View Button Y Displays the result on the screen.

12 Sorting Refer to the section 1.5.1.1

13 First(|<)

Refer to the section 1.5.1.1

14 Previous(<)

Refer to the section 1.5.1.1

15 Next(>)

Refer to the section 1.5.1.1

16 Last(>|)

Refer to the section 1.5.1.1

118

Page 119: URS for Opinion Poll

Sl#

Label Tab-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

17 Page number

Refer to the section 1.5.1.1

Screen Events actions and validations

Sl#

Event Action Validation

1 When the section is loaded.

It shows the List of topics whose result is published with their corresponding related to area, related to sub area, topic name, set, poll analysis, set analysis, question, date.

.

2 When the user clicks on the view button.

Displays result page of specific topic from a related area will be displayed

3 When the user enters the value in end date between X and Y fields.(Here X represents the date-1 and Y represents the date-2)

Only those polls will be populated whose end date lies between X and Y provided by the user.

X should not be greater than Y.

1.1.1.3.2 View SectionDescription:-

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-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

1 Related to area

1 Display Varchar Y Displays the name of the related area.

2 Related to sub area

2 Display Varchar Y Displays the name related sub area of the selected area for which the poll is conducted.

3 Topic 3 Display Varchar Y Display the name of the poll.

4 Eligible voters

4 Display Number Y Displays the total no of allowed participants.

119

Page 120: URS for Opinion Poll

Sl#

Label Tab-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

5 Complete response

5 Display Number Y Displays the no of voters who have given their response to all the questions of the poll.

6 In complete response

6 Display Number Y Displays the no of voters who have given their response to some of questions of the poll.

7 Set 7 Drop Down

Varchar All Y Helps to filter the results of the poll set wise. By default results of all the sets of the poll will be displayed.

8 Show result by participants groups

8 Drop Down

Varchar All Y It helps to show the result by dividing the participants into different communities. E.g. if both students and staffs are allowed as participants for a poll then the result can be filtered in term of students and staffs separately.

9 Poll analysis

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

10 Set analysis

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

11 Question 11 Display Varchar Y Display the question for poll

120

Page 121: URS for Opinion Poll

Sl#

Label Tab-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

12 Options 12 Display Varchar Y Displays the answer options of the question

13 Histogram 13 Display N Display the graphical representation of the response of the participants for each option.

14 Pi chart 14 Display N Display the graphical representation of the whole result for that question.

15 Total no of voters

15 Display Number N It shows the total no of voter gave their response on a particular question.

16 Question analysis

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

Screen Events actions and validations

Sl#

Event Action Validation

1 When the view section is loaded.

All the fields named as selected area, subarea ,topic name ,sets, questions, their respective answering options along with the response from the participants by using different graphical representations will be displayed.

.

2 When the user changes the value of the set field and presses tab

It displays the results for the selected set.

3 When the user changes the value of the Show result by participants groups field and presses tab.

If displays the results for that question for the selected group of participants. E.g. if the total number of participants is 100 (60 students, 40 staffs) then the results can be shown separately for 60 students and 40 staffs.

121

Page 122: URS for Opinion Poll

1.5.10 Opinion Pollpoll Change Participants 1.5.10.1 Purpose

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

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

1.5.10.3 Layout (Screen shots)1.5.10.3.1 Change participant sectionsDescription

Special Notes:

Sl# Label Tab-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

1 Related to area

1 Drop-down

varchar Y It specifies the related area name for the opinion poll module

e.g. Hostel, canteen etc

2 Related to sub-area

2 Drop-down

varchar Y It specifies the names of the sub-area of the selected area for that module.

e.g. Boys hostel, girls hostel etc

3 Topic 3 Drop-down

varchar Y It contains the name of the polls for the selected sub area. User needs to select the poll, which participants list is to be modified.

4 Add Participants

4 Radio button

Boolean Checked

Unchecked

When the user wants to add participants for a poll he needs to check this field. By checking this the user can add more participants to the existing list of allowed participants for the selected poll

122

Page 123: URS for Opinion Poll

Change Participants

5 Radio button

Boolean Checked , Unchecked

When the user wants to change participants for a poll he needs to check this field. Here change means user can add/delete/modify the whole list of the allowed participants of the poll.

This field will only be enabled if the poll is not in running state (i.e. the start date of the poll is not yet met)

5 Assign colleges

Refer to section 1.5.1.3.5

6 Current Student

12 Radio Button

Boolean All, Limited

Specifies whether all the current students will be selected or limited students will participate in the polling

All the students from only the selected colleges

7 Assign Current Students

Refer to the section 1.5.1.3.2

8 Staff 14 Radio Button

Boolean All, Limited

Specifies whether all the Staffs will be selected or limited staffs will participate in the polling

9 Assign Staffs

Refer to the section 1.5.1.3.1

10 Alumni 16 Radio Button

Boolean All, Limited

Specifies whether all the Alumni will be selected or limited alumni will participate in the polling

11 Assign Alumni

Refer to the section 1.5.1.3.3

12 Parents 18 Radio Button

Boolean All, Limited

Specifies whether all the Parents will be selected or limited parents will participate in the polling

13 Assign Parents

Refer to the section 1.5.1.3.2

123

Page 124: URS for Opinion Poll

14 Applicants

20 Radio Button

Boolean All, Limited

Specifies whether all the Applicants will be selected or limited applicants will participate in the polling

15 Assign Applicants

Refer to the section 1.5.1.3.6

16 Other predefined groups

22 Check Box

Boolean All, Limited

Specifies whether all the defined groups will be selected or limited groups will participate in the polling

17 Assign defined groups

Refer to the section 1.5.1.3.4

18 External Users

23 Check Box

Boolean Specifies whether external world can participate in the polling or not

19 Change date

24 Button

Helps to navigate the control to the change date screen.

20 save 25 Button

User needs to click the save button once all the changes are done to the list of assigned participants.

21 cancel 26 Button

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

Screen Events actions and validations

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

124

Page 125: URS for Opinion Poll

Sl# Event Action Validation1 When the

screen is loaded

When the screen is loaded all the related area Drop-down, the related sub area Drop-down, topic Drop-down are displayed. Two radio buttons named “add participants” and “change participants” will be displayed. Following this assign college section along with all the participants’ fields (student, parent, staff, alumni, applicants, predefined groups, external world etc) will be displayed.

Only the allowed creators can access this screen.

3 When the user select related area from related area Drop-down

Then the respective sub area that belongs to concerned area are populated

The related area field should not be left blank.

4 When the user select related sub area from related sub area Drop-down and presses tab

Then the respective topic name related to that sub area created by the user (logged in) will be populated in the topic field.

The user cannot leave sub area name blank

5 When the user selects a topic from the topic drop down and presses tab .

If the selected poll is in running state then only the add participant option will be enabled and the change participant option will become disabled.

6 When the user clicks change date button

The change date screen will open.

7 When the user clicks save button(if add participant is selected)

All the selected participants for the poll will be saved in the assigned participant list. Selected participant will be merged with the existing allowed participant list replacing the duplicates.

8 When the user clicks the save button (if change participant is selected)

All the selected participants will replace the existing participant from the allowed participant list for a selected poll

Start date of poll mustn’t be less than sys date.

9 When user select cancel

All data that are filled above of screen are not saved and new screen come having default value

125

Page 126: URS for Opinion Poll

button

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

1.5.11.2 Brief Description

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

1.5.11.3 Layout (Screen shots)1.5.11.3.1 List SectionDescription

Special Notes:

Sl# Label Tab-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Related to area name

1 Drop-down

Varchar Hostel, Canteen ,etc.

Y It specifies the related area name for the opinion poll module

2 Rela5ted Sub area name

2 Drop-down

Varchar Boys hostel, Ladies hostel etc.

Y It specifies the names of the sub-area of the selected area for that module.

3 Start Date Between

3 Text Box Date Sysdate DD/MON/YYYY

Y It is used to enlist all the polls whose starting date lies between two given dates for a particular areaSub area.

4 Text Box Sysdate+30

126

Page 127: URS for Opinion Poll

Sl# Label Tab-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

4 Record per page

5 Refer to the section 1.5.1.1

5 Search by

6 Refer to the section 1.5.1.1

6 Sl no. Display Number Shows the index of the list populated.

7 Related to Area :sub area

Display Varchar Area: Sub area

Helps to identify the area name and sub Area name for which the poll is created. only area which were under the opinion poll module will be displayed

8 Topic Display Varchar It shows the name of the poll.

9 Start Date

Display Date DD/MON/YYYY

It shows the Start Date of the poll.

10 End Date

Display Date DD/MON/YYYY

It shows the End Date of the poll.

11 Discontinue

Button When user wants to discontinue a particular poll, he/she needs to click this Button.

After the poll is discontinued the repetition of that poll will be restricted.

12 Discard Button When user wants to discard a particular poll, he/she needs to click this Button.

It will discard the selected poll only.

127

Page 128: URS for Opinion Poll

Sl# Label Tab-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

13 Discard Questions

Button When user wants to discard some selected questions from a selected poll, he/she needs to click this Button

Only some selected questions will become un-available for polling.

14 First ( |< )

Refer to section 1.5.1.1

15 Previous ( < )

Refer to section 1.5.1.1

16 Next ( > )

Refer to section 1.5.1.1

17 Last ( >| )

Refer to section 1.5.1.1

Screen Events actions and validations

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

Sl# Event Action Validation1 When the List section

is loaded All the fields of the list filter will be displayed with their default values and the related area field will contain all the area names for the opinion poll module.

Only authorized user can access this screen.

2 When the user selects an area name from the related to area field and presses tab

The respective related sub area of the selected related area will be populated in the related sub area field.

3 When the user enters values in start date between X and Y field. (Here X represents Date-1 and Y represents Date-2).

All the polls whose start date lies between the two given dates for the particular set of area sub area will be displayed in the list page.

Value of X should not be greater than the value of Y.

128

Page 129: URS for Opinion Poll

Sl# Event Action Validation4 When the user

selects a sub area name from the related sub area field and presses tab.

The list page will be displayed containing all the topics for the selected related to arearelated sub area whose start date lies between Sysdate and Sysdate+30(Sysdate and Sysdate+30 are the default values of the X and Y respectively).

Only the user who has got the rights on final stage of Create & Approve Poll process and if cancellation is allowed on the final stage

5 When the user clicks on the Discontinue button.

The notification section for the discontinuation will be loaded.

6 When the user clicks on the Discard button.

The notification section for the discard poll will be loaded.

7 When the user clicks on the Discard questions button.

The Discard Question section of the selected poll will be loaded.

8 When the user clicks on the First ( |< ) button

The first page of the section will be shown

If the user is in first page then this button will be disabled

9 When the user clicks on the Previous ( < ) button

The previous of the current page of the section will be shown to the user

If the user is in first page then this button will be disabled

10 When the user clicks on the Next ( >) button

The next of the current page of the section will be shown to the user

If the user is in last page then this button will be disabled

11 When the user clicks on the Last ( >| ) button

The last page of the section will be shown to the user

If the user is in last page then this button will be disabled

1.5.11.3.2 Notification Section for Discard and DiscontinueDescription

Special Notes:

129

Page 130: URS for Opinion Poll

Sl# Label Tab-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Send Notification about discard/discontinue To Participants.

1 Check Box

Boolean Yes/No It specifies whether the information about the discarded or discontinued poll will be informed to the participants or not.

If this field is checked then by default this information will be sent to the sub area functionary.

2 Show discarded /discontinued poll to the participants in the polling page.

2 Check Box

Boolean Yes/No It specifies whether the discarded or discontinued poll will be shown to the participants in the polling page.

Participants can only view the discard or discontinue status of the poll, they cannot vote for it.

3 Save 3 Button Refer to section 1.5.1.1

4 Cancel 4 Button Refer to section 1.5.1.1

Screen Events actions and validations

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

Sl# Event Action Validation1 When the user clicks

on the Save button. The poll will be discarded if this section is loaded after clicking the discard poll button.The poll will be discontinued if this section is loaded after clicking the discontinued poll button.

130

Page 131: URS for Opinion Poll

Sl# Event Action Validation2 When the user clicks

on the Cancel button.The section will be unloaded and the selected poll will not be discarded /discontinued.

1.5.11.3.3 Notification Section for Discard and DiscontinueDescription

Special Notes:

Sl# Label Tab-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Topic Name

Display Varchar It shows the selected topic name of the poll selected.

2 Related to

Display Varchar Related to area: Related sub area

It will show the related to area name along with related sub area name of the selected poll.

3 Time left Display Varchar Days :hours

It will show the remaining time to vote for the respective poll.

4 Set 1 Drop

down

Varchar All Different set names of the selected poll.

This field is used to filter the polls set wise.

By default all sets will be shown

5 No of questions in a page

2 Text box Number 5 Any value >0 and <total no of questions

This field illustrates how many questions will be shown at a time

131

Page 132: URS for Opinion Poll

Sl# Label Tab-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

6 Discard all

3 Check box

Boolean It helps the user to select all the questions to be discarded all the questions displayed in a page.

7 Question

Display Varchar This represents the question of the selected set that is to be discarded.

8 Answers 4 Fields depends up on the answer type given by the user

If the answer type is single choice then the answer options will be displayed with radio buttons.

If the answer type is multiple choice with rank then the answer options will be displayed with text boxes.

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

All the answer options will be shown being disabled.

9 Discard 5 Check box

This field is used to select the question that he/she want to discard.

15 First 6 Refer to section 1.5.1.1

16 Previous 7 Refer to section 1.5.1.1

17 Next 8 Refer to section 1.5.2.1

132

Page 133: URS for Opinion Poll

Sl# Label Tab-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

18 Last 9 Refer to section 1.5.1.1

19 Discard 10 Button To discard the selected questions user needs to click in this button.

This button will be displayed in the last page.

20 Cancel 11 Refer to section 1.5.1.1

Screen Events actions and validations

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

Sl# Event Action Validation1 When the user

selects a value from the set field and presses tab.

All the questions of that selected set will be displayed along with their answering option and discard field.

2 When the user changes the value in the number of questions text box and press tab.

That number of questions will be displayed in the page.

It only accepts the numeric values and the value is in between 1 to number of questions in this poll.

3 When the user checks the discard all field.

Discard options for all the questions in that page will be selected.

4 When the user checks the discard option field for individual question.

The particular question will be selected which need to be discarded.

5 When the user clicks on the discard button

All the selected questions will be discarded.

6 when the user clicks on the cancel button.

This section will be closed and the discarding process will be cancelled.

133

Page 134: URS for Opinion Poll

1.5.12 Opinion PollPollChange Date1.5.12.1 Purpose

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

1.5.12.2 Brief Description

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

1.5.12.3 Layout (Screen shots)

The screen is divided into three sections as described.

1.5.12.3.1 List sectionDescription

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-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Record per page

1 Refers to the 1st row of the section 1.5.1.1

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

3 Sl# no Display Number Shows the index of the list populated

4 Related area

Display Varchar It displays the name of the different related area of opinion poll module.

134

Page 135: URS for Opinion Poll

5 Sub area name

Display Varchar It displays the name of the related sub area under which different polls are conducted.

6 Poll Name Display Varchar Contains the name of the created polls for each sub area.

7 Start Date & Time

Display Date-Time Contains the start date and time of the particular poll .After which the participant can vote for that particular poll.

8 End Date & Time

Display Date-Time Contains the end date and time of a particular poll. After which the participant cannot vote for that particular poll.

The polls whose end date has not passed will be populated.

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

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

11 Previous ( < )

Refers to the 11th row of the section 1.5.1.1

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

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

14 Page Number

Refers to the 9th row of the section 1.5.1.1

Screen Events actions and validations

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

135

Page 136: URS for Opinion Poll

Sl# Event Action Validation1 When the list section is

loadedThe list of existing polls with correspond to a related area name, sub area name along with their start date and end date will be displayed.

Only those polls will be in the list whose start date and time is greater than the sysdate and time. If the start date of the poll is less than or equals to the sysdate then the user can only shift the end date of that poll and the start date of the poll field will be disabled.

2 When the user selects the edit button

For the selected poll the edit section will be displayed along with the corresponding values in each field.

1.5.12.3.2 Edit SectionDescription

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.

1.5.12.3.2.1 Change date sectionDescription

Sl# Label Tab-order

Field Type

Data type

Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance

Remarks

1 Related Area

1 Display Varchar Y It displays the name of the related area.

The area names of that poll will be shown which is selected from the list.

2 Sub Area Name

2 Display Varchar Y It displays the name of the related sub area under which different polls are conducted.

The sub area names of that poll will be shown which is selected from the list.

3 Poll Name

3 Display Varchar Y It displays the name of the selected poll from the list.

The extension of the dates will be done for this displayed poll only.

136

Page 137: URS for Opinion Poll

4 Start Date

4 Text Box

Date DD/MON/YYYY

Y Defines the poll start date. It indicates the date after which the participants can vote for the poll.

User can not change the start date if the start date is less than the sysdate.

5 Time 5 Text Box

Numeric

HH Y The time with the date gives the actual time on the start date after which voting can be started.

Defines the time in hour

6 Text Box

Numeric

MI Y Defines the time in minute

7 Drop-down

Varchar AM PM Y

6 End Date

Last tab index + 1

Text Box

Date DD/MON/YYYY

Y It indicates the poll end date till which the polling is allowed.

7 Time Last tab index + 2

Text Box

Numeric

HH Y The time with the date gives the actual time on the end date after which voting is not allowed for that poll. I.e. the allowed participants cannot vote for the poll after this date and time.

Specifies the hour part of the time

Last tab index + 3

Text Box

Numeric

MI Y Specifies the minute

Last tab index + 4

Drop-down

Varchar AM PM Y Sets the time format whether AM or PM

8 Update Last tab index + 5

Button User clicks on this button to save the new updated start date and end date of a selected poll from the list.

This button will be available only for non repetitive polls.

Screen Events actions and validations

137

Page 138: URS for Opinion Poll

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

Sl# Event Action Validation1 When the user makes

any changes in the start date field

User can’t provide the start date which is less than the sysdate.

2 When the user makes any changes in the End date field

The End date must be greater than the start date.

1.5.12.3.2.2 Alter Subsequent RepeatsDescription

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-order

Field Type

Data type Default Value

Other values

Format mask

Mandatory (Y/N)

Business significance Remarks

1 Shift Repeat poll Start Date by

1 Text Box

Number y It will shift the poll repeat start date by the number of days provide by the user.

2 Shift Repeat poll End Date by

2 Text Box

Number y User gives the number of days which will be added to the repeat till date of the selected poll.

3 Original poll repeat till date

3 display Display the poll repeat date which is previously specified at the time of poll creation.

4 Change poll repeat till date

4 Text box

Date y User can change the poll repeat till date by providing a date in this field.

5 Time 5 Text Box

Numeric HH Y After this time the repetition of repeated

138

Page 139: URS for Opinion Poll

poll will stop.6 Text Box

Numeric MI Y

7 Drop-down

Varchar AM PM Y

6 Save 8 Button The changed start date and end date of the poll is saved.

7 Cancel Last tab index + 1

Button It clears all the inputs given by the users and unloads the edit section.

8 Change participant

Last tab index + 2

Button By clicking this change participant page will display, where user can add and remove participant for that poll.

Screen Events actions and validations

Special notes:

Sl# Event Action Validation1 When the user enters

a value in the Shift Repeat poll Start Date by and presses tab

Only numeric value is allowed.

2 When the user enters a value in the Shift Repeat poll Shift Repeat poll End Date by and presses tab

Only numeric value is allowed.User cannot provide any such value so that the change repeat poll end date is less than the change repeat poll start date.E.g. Let the start date of a poll is 5th Feb. and end date is 10th Feb., if the user shift the start date by 8 days and end date by 1 day then this will not be allowed because the Start date will exceed the End date.

139

Page 140: URS for Opinion Poll

3 When the user gives a value in Shift Repeat poll Start Date by and Shift Repeat poll End Date by and presses tab

An alert message will come as “You are over lapping the dates for the next repetition of the poll”.

It checks for the over lapping of the repeat start date and till date of the selected repetitive poll for its next repetition. The entered value in both the fields would be such as there will be no overlapping of the corresponding dates.

4 When user provides a value in the change poll repeat till date and presses tab

The date provided by the user should not be less than the end date of current repeat poll

5 When user clicks the on change participant button

Then the control will move to the change participant page

1.6 Database Design

1.6.1 ER Diagram

1.6.2 Screen to database mapping

Sl# Screen Name (ModuleSub-moduleScreen Name)

Storage tables Other related tables

Remarks

1

1.6.3 Screen-database details

1.6.3.1 AdministrationSecurityCreate Related to Area1.6.3.1.1 Column-Database mappingPlease refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective screens.

Sl# Label Database Tables Columns Remarks

140

Page 141: URS for Opinion Poll

1.6.3.1.2 List Section1.6.3.1.2.1 Action and validation SQLs

Special Note: When the screen is loaded the list page will be shown with the corresponding values.

Sl#

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

1 When the list section is loaded

All the columns named module name, related area, college names, edit/view and delete will be loaded with their respective values.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_ID AND RAC.CLIENT_WING_OID=CW.CLIENT_WING_OID;

The delete button will only be enabled if the user has the authorization.

2 When the user clicks on the edit/view button

All the fields will be populated by their respective values from the selected record for a particular related to area.SQL: SELECT TM.ITEM_NAME, TM.MENU_ITEM_ID, RA.RELATED_AREA_ID, 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_IDAll 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)

141

Page 142: URS for Opinion Poll

3 When the user clicks on the delete button

The corresponding record in the list will be deleted. Hence the data from both the tables named T_ADM_SEC_REL_AREA_CLIENT_WING and T_ADM_SEC_RELATED_AREA will be removed.SQL: DELETE FROM T_ADM_SEC_REL_AREA_CLIENT_WING WHERE RELATED_AREA_ID= SELECTED_RELATED_AREA_ID;DELETE FROM T_ADM_SEC_RELATED_AREA WHERE RELATED_AREA_ID= SELECTED_RELATED_AREA_ID;

If the user is authorized to do so, then only he/she can access the delete button and delete the selected record from the list. If the particular related area name is in use down the line e.g.(if there is any ongoing poll for the particular related area then the 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_REPEAT PR, T_OP_POLL_CONFIGURATION PC, T_ADM_SEC_RELATED_SUB_AREA RSA, T_ADM_SEC_RELATED_AREA RAWHERE 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<=SYSDATE AND PR.END_DATE_TIME>=SYSDATE

1.6.3.1.3 Edit Section1.6.3.1.3.1 Action and validation SQLs

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

Sl#

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

1 When the Edit section is loaded

The module name field will be populated with the corresponding module name.SQL: SELECT MENU_ITEM_ID, TM.ITEM_NAMEFROM T_MENU TMWHERE TM.MENU_ITEM_ID=’OP_POLL’;

If the user is super admin then he/she can edit the related area for all the colleges.If the user is college admin then he/she can edit the related area only for 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.

The assign college section will be shown with the assigned college list box populated by all the college names.SQL: SELECT CLIENT_WING_OID, WING_NAME FROM T_CLIENT_WING;

142

Page 143: URS for Opinion Poll

2 When the user clicks on the save button. (If the edit/view section is loaded after clicking the new button)

The selected item in the module name field, the assigned colleges in the assign college section with the given related area name in the related area field and the respective description (if given) in the description field will be saved in the database after validation. Here SELECTED_MENU_ITEM_ID refers to the SQL: INSERT INTO T_ADM_SEC_RELATED_AREA VALUES (RELATED_AREA_ID_INDX.NEXTVAL, ENTERED_RELATED_AREA_NAME, ENTERED_RELATED_AREA_DESC, SELECTED_MENU_ITEM_ID, USER_OID, ‘SYSDATE’,NULL,NULL);

The entered data should not violate the constraints of the related tables.The entered related area name for the selected module name cannot be duplicated.To check this, the method isAvailable(T_ADM_SEC_RELATED_AREA, RELATED_AREA_NAME, MENU_ITEM_ID) is called. If the table contains a record having the given values then it will return true and will restrict the entry of the same data again. Hence one module cannot have two same related area names.

The assigned colleges will be saved along with the created related area in the table named T_ADM_SEC_REL_AREA_CLIENT_WING.If the no. of assigned colleges is more than one then the following query will execute that much no. of times as the no. of assigned colleges. Here the NEXT_CLIENT_WING_OID represents the CLIENT_WING_OID of the next college in the assigned list. And if the no. of assigned college is one then this query will execute only 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 user clicks on the save button. (If the edit/view section is loaded after clicking the

The selected item in the module name field, the assigned colleges in the assign college section with the given related area name in the related area field and the respective description (if given) in the description field will be saved in the database after validation.SQL: UPDATE T_ADM_SEC_RELATED_AREA SET RELATED_AREA_NAME= ENTERED_RELATED_AREA_NAME, RELATED_AREA_DESC= ENTERED_RELATED_AREA_DESC, MENU_ITEM_ID= SELECTED_MENU_ITEM_ID,LAST_UPDATED_BY= USER_OID, LAST_UPDATED_ON= ’SYSDATE’WHERE RELATED_AREA_ID= SELECTED_RELATED_AREA_ID;

The above mentioned isAvailable() will be called to check the uniqueness of the modified data. After this, the query mentioned for delete button in the list section will execute to check for any ongoing poll for that related area. If this query returns any value more than 0 then the modification cannot be done.

143

Page 144: URS for Opinion Poll

edit/view button)

All the modified data will be saved along with the modified created area for the selected RELATED_AREA_ID in the T_ADM_SEC_REL_AREA_CLIENT_WING as follows.Save the CREATED_BY and the CREATED_ON from the SELECT section to use in the INSERT section.SQL: SELECT CREATED_BY, CREATED_ON FROM T_ADM_SEC_REL_AREA_CLIENT_WING WHERE RELATED_AREA_ID= SELECTED_RELATED_AREA_ID;DELETE FROM T_ADM_SEC_REL_AREA_CLIENT_WING WHERE RELATED_AREA_ID= SELECTED_RELATED_AREA_ID;INSERT INTO T_ADM_SEC_REL_AREA_CLIENT_WING VALUES (REL_AREA_CLIENT_WING_OID_INDX.NEXTVAL, SELECTED_RELATED_AREA_ID, NEXT_CLIENT_WING_OID, SAVED_CREATED_BY, ‘SAVED_CREATED_ON’, USER_OID, ‘SYSDATE’);

1.6.3.2 AdministrationSecurityCreate Related to sub area1.6.3.2.1 Column-Database mappingPlease refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective screens.

Sl# Label Database Tables Columns Remarks

1.6.3.2.2 List Section1.6.3.2.2.1 Action and validation SQLs

Special Note: When the screen is loaded the list page will be shown with the corresponding values.

Sl#

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

1 When the list section is loaded

All the columns named module name, college names, related area, related sub area, edit/view and delete will be loaded with their respective values.SQL: SELECT TM.ITEM_NAME, RA.RELATED_AREA_NAME,RSA.RELATED_SUB_AREA_ID,RSA.RELATED_SUB_AREA_NAME, CW.WING_NAME ,

FROM T_MENU TM, T_ADM_SEC_RELATED_AREA RA, T_ADM_SEC_RELATED_SUB_AREA RSA, T_ADM_SEC_REL_AREA_CLIENT_WING RAC, T_CLIENT_WING CW WHERERSA.RELATED_AREA_ID= RA.RELATED_AREA_IDAND 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;

The delete button will only be enabled if the user has the authorization.

144

Page 145: URS for Opinion Poll

2 When the user clicks on the edit/view button

All the fields will be populated by their respective values from the selected record for a particular related sub area.SQL: SELECT TM.ITEM_NAME, TM.MENU_ITEM_ID, RA.RELATED_AREA_ID, RA.RELATED_AREA_NAME, RSA.RELATED_SUB_AREA_ID,RSA.RELATED_SUB_AREA_NAME, RSA.RELATED_SUB_AREA_DESC 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 ANDRSA.RELATED_SUB_AREA_ID= SELECTED_RELATED_SUB_AREA_ID

145

Page 146: URS for Opinion Poll

3 When the user clicks on the delete button

The corresponding record in the list will be deleted. Hence the data from the tables named T_ADM_SEC_RELATED_SUB_AREA, T_ADM_SCRN_APPROVAL_STAGE,T_ADM_SEC_AUTHORITY will be removed.SQL: DELETE FROM T_ADM_SEC_RELATED_SUB_AREA WHERE RELATED_SUB_AREA_ID= SELECTED_RELATED_SUB_AREA_ID;DELETE FROM T_ADM_SCRN_APPROVAL_STAGE WHERE RELATED_SUB_AREA_ID=SELECTED_RELATED_SUB_AREA_ID;DELETE FROM T_ADM_SEC_AUTHORITY WHERE RELATED_SUB_AREA_ID=SELECTED_RELATED_SUB_AREA_ID;

If the user is authorized to do so, then only he/she can access the delete button and delete the selected record from the list. If the particular related sub area name is in use down the line e.g.(if there is any ongoing 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_REPEAT PR, T_OP_POLL_CONFIGURATION PC, T_ADM_SEC_RELATED_SUB_AREA RSA, T_ADM_SEC_RELATED_AREA RAWHERE RSA.RELATED_ SUB_ AREA_ID= PC.RELATED_SUB_AREA_ID AND PC.POLL_ID=PR.POLL_ID AND PR.START_DATE_TIME<=SYSDATE AND PR.END_DATE_TIME>=SYSDATE

1.6.3.2.3 Edit Section1.6.3.2.3.1 Action and validation SQLs

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

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

146

Page 147: URS for Opinion Poll

1 When the Edit section is loaded

The module name field will be populated with the corresponding module name.SQL: SELECT MENU_ITEM_ID, TM.ITEM_NAMEFROM T_MENU TMWHERE TM.MENU_ITEM_ID=’OP_POLL’;

If the user is super admin then he/she can edit the related sub area for all the colleges.If the user is college admin then he/she can edit the related sub area only for 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.

The related to area will be shown in related to area field.SQL: SELECT RELATED_AREA_ID,RELATED_AREA_NAMEFROM T_ADM_SEC_RELATED_AREA RA,T_MENU TMWHERE RA.MENU_ITEM_ID=TM.MENU_ITEM_ID;

2 When the user clicks on the save button. (If the edit/view section is loaded after clicking the new button)

The selected item in the module name field, the selected related area name in related area field, assigned related sub area name in the related sub area field and the respective description (if given) in the description field will be saved in the database after validation. Here SELECTED_MENU_ITEM_ID refers to the SQL: INSERT INTO T_ADM_SEC_RELATED_AREA VALUES (RELATED_SUB_AREA_ID_INDX.NEXTVAL, ENTERED_RELATED_SUB_AREA_NAME,ENTERED_RELATED_SUB_AREA_DESC,SELECTED_RELATED_AREA_ID, USER_OID, ‘SYSDATE’,NULL,NULL);

The entered data should not violate the constraints of the related tables.The entered related sub area name for the selected module name cannot be duplicated.

3 When the user clicks on the save button. (If the edit/view section is loaded after clicking the edit/view button)

The selected item in the module name field, related to area field with the given related sub area name in the related sub area field and the respective description (if given) in the description field will be saved in the database after validation.SQL: UPDATE T_ADM_SEC_RELATED_SUB-AREA SET RELATED_SUB_AREA_NAME= ENTERED_RELATED_SUB-AREA_NAME, RELATED_SUB-AREA_DESC= ENTERED_RELATED_SUB-AREA_DESC,RELATED_AREA_ID=SELECTE D_RELATED_AREA_ID, MENU_ITEM_ID= SELECTED_MENU_ITEM_ID,LAST_UPDATED_BY= USER_OID, LAST_UPDATED_ON= ’SYSDATE’WHERE RELATED_SUB-AREA_ID= SELECTED_RELATED_SUB-AREA_ID;

The method isAvailable() will be called to check the uniqueness of the modified data. After this, the query mentioned for delete button in the list section will execute to check for any ongoing poll for that related sub area. If this query returns any value more than 0 then the modification cannot be done.

1.6.3.3 AdministrationSecurityCreate Sub Area Functionary1.6.3.3.1 Column-Database mappingPlease refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective screens.

Sl# Label Database Tables Columns Remarks

147

Page 148: URS for Opinion Poll

1.6.3.3.2 List Section1.6.3.3.2.1 Action and validation SQLs

Special Note: When the screen is loaded the list page will be shown with the corresponding values.

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

1 When the list section is loaded

The columns named as Sub Area Name and Functionary will be retrieved from the view V_ADM_SEC_SUB_AREA_AUTHORITY named as MODULE_AREA_SUB_AREA and SUB_AREA_FUNCTIONARY to show all the available lists for the sub area functionary. One sub area can have more than one functionary and that will also from any user categories from Student, Staff or Parent.

2 When the user clicks on the EDIT/VIEW button

All the values will be populated along with all the details in each field for a selected record. The RELATED_SUB_AREA_ID will be passed as an argument in the function edit_onClick(subAreaId) and all the details will be retrieved as per the stored information.

If not editable then the save button will be disabled.

4 When the user clicks on the DELETE button

All the records for a particular related sub area represented by the RELATED_SUB_AREA_ID will be deleted from the table T_ADM_SEC_SUB_AREA_AUTHORITY.

If the user is authorized one, then only he/she can access the delete button and delete the selected record from the list.

5 When the user clicks on the NEW Button.

The edit section is populated. Only the module name field containing the list of all modules available to be used for this purpose and all other fields contains null values.The value of module name combo box is assigned by the MENU_ITEM_ID and option by the column ITEM_NAME of the table T_MENU.The module name field is populated by all the ITEM_NAME values 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')

After the user selects a module name from module name field then its corresponding related area names are populated in the related to area field.

1.6.3.3.3 Edit Section1.6.3.3.3.1 Action and validation SQLs

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

Sl#

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

148

Page 149: URS for Opinion Poll

1 When the edit section is loadedBy clicking the edit/view Button

All the fields will be populated by their respective values from the selected record for a particular related sub-area id.SQL: 1SELECT SBA.MENU_ITEM_ID, SBA.RELATED_AREA_ID, SBA.RELATED_SUB_AREA_IDFROM V_ADM_SEC_SUB_AREA_AUTHORITY SBAWHERE SBA.RELATED_SUB_AREA_ID=?The query written above will retrieve the MENU_ITEM_ID, RELATED_AREA_ID, RELATED_SUB_AREA_ID to show the module name, related area name and the related sub area name in the dropdowns as selected.SQL: 2SELECT 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 USRWHERE AUTH.USER_OID=USR.USER_OIDAND 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 selected module name and the respective area name and the sub area nameWill become read-only. Only the assigned users can be changed for the selected record.

The module name option builder will be populated by the following query.SQL:SELECT MENU_ITEM_ID, ITEM_NAME FROM T_MENUWHERE MENU_ITEM_ID IN ('OP')

149

Page 150: URS for Opinion Poll

2 When the user clicks the show list option side to the checkbox of the functionary category

The corresponding component will be loaded with the list of users populated in both the list boxes.Case one for the STAFF:SQL: Available Staffs QuerySELECT STF.USER_OID,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_INFOFROM 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_OIDAND STF.DESIG_CAT_ID=DCAT.DESIG_CAT_IDAND TC.CLIENT_WING_OID=STF.CLIENT_WING_OIDAND 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_AUTHORITY AUTHWHERE AUTH.USER_OID=STF.USER_OIDAND AUTH.RELATED_SUB_AREA_ID=?

)ORDER BY UPPER(STF.STAFF_NAME)

150

Page 151: URS for Opinion Poll

SQL: Assigned Staffs QuerySELECT 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_INFOFROM T_ADM_SEC_AUTHORITY AUTH,T_USER USR,

V_HR_STF_STAFF_INFO STF, T_HR_CNF_DESG_CATEGORIES DCAT,T_CLIENT_WING

TCWHERE AUTH.USER_OID=USR.USER_OIDAND STF.USER_OID=USR.USER_OIDAND STF.DESIG_CAT_ID=DCAT.DESIG_CAT_IDAND TC.CLIENT_WING_OID=STF.CLIENT_WING_OIDAND USR.USER_TYPE='STAFF'AND AUTH.RELATED_SUB_AREA_ID=?ORDER BY UPPER(STF.STAFF_NAME)

Case one for the STUDENT:SQL: Available Students QuerySELECT 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_INFOFROM V_STDN_ENROLLMENT_DETAILS VS,T_USER USR,T_CLIENT_WING CLWWHERE CLW.CLIENT_WING_OID=VS.CLIENT_WING_OIDAND VS.USER_OID=USR.USER_OIDAND 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_OIDAND AUTH.RELATED_SUB_AREA_ID=?

)ORDER BY UPPER(VS.STUDENT_NAME)

151

Page 152: URS for Opinion Poll

SQL: Assigned Students QuerySELECT 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_INFOFROM V_STDN_ENROLLMENT_DETAILS VS,

T_ADM_SEC_AUTHORITY AUTH, T_USER USR,T_CLIENT_WING TC

WHERE AUTH.USER_OID=USR.USER_OIDAND VS.USER_OID=USR.USER_OIDAND TC.CLIENT_WING_OID=VS.CLIENT_WING_OIDAND USR.USER_TYPE='STUDENT'AND AUTH.RELATED_SUB_AREA_ID=?ORDER BY UPPER(VS.STUDENT_NAME)Case one for the STUDENT:SQL: Available Parents QuerySELECT 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_INFOFROM V_STDN_ENROLLMENT_DETAILS VS,T_USER USR,T_CLIENT_WING CLW,

T_STDN_PARENT_DETAILS SPDWHERE CLW.CLIENT_WING_OID=VS.CLIENT_WING_OIDAND VS.STUDENT_ID=SPD.STUDENT_IDAND 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_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)

152

Page 153: URS for Opinion Poll

SQL: Assigned Parents QuerySELECT 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_INFOFROM V_STDN_ENROLLMENT_DETAILS VS,T_ADM_SEC_AUTHORITY AUTH,

T_USER USR,T_CLIENT_WING TC,T_STDN_PARENT_DETAILS SPDWHERE AUTH.USER_OID=USR.USER_OIDAND SPD.STUDENT_ID=VS.STUDENT_IDAND 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_OIDAND USR.USER_TYPE='PARENT'AND AUTH.RELATED_SUB_AREA_ID=?ORDER BY UPPER(PARENT_INFO)

3 When the user clicks on the save button.

All the values in all the fields are saved in their corresponding tables.It is done by:SQL:INSERT INTO T_ADM_SEC_AUTHORITY(AUTHORITY_ID,RELATED_SUB_AREA_ID,USER_OID,CREATED_BY,CREATED_ON)VALUES (?,?,?,?,SYSDATE)And the list section will be updated by the newly added sub area.The following query will help in removing the user_oid which were moved back from the assigned section to the available section.SQL:DELETE FROM T_ADM_SEC_AUTHORITYWHERE RELATED_SUB_AREA_ID=?AND USER_OID=?

If the edit/view section is loaded after clicking the new button all the selected user_oid will be saved.If the edit/view section is loaded after clicking the edit button then all the newly selected user_oid will be saved and the

153

Page 154: URS for Opinion Poll

user_oid which were moved back from the assigned section then those will be removed 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_STAFFSWHERE STAFF_ID=?To get the user_oid of the students SQL:SELECT USER_OID FROM T_STDN_STUDENT_INFOWHERE 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_DETAILSWHERE STUDENT_PARENT_ID=?And the list section will be updated by the modified sub area.

4 When the user clicks on the cancel button.

All the fields of the edit section will shows their default values and the previously selected values are discarded.

5 When the user selects a value from the Module Name combo box.

The menu_item_id will be provided as input to the related area combo box which will populate the values in that related area drop down by executing the following query.SQL:SELECT RELATED_AREA_ID, RELATED_AREA_NAME FROM T_ADM_SEC_RELATED_AREAWHERE MENU_ITEM_ID=?ORDER BY RELATED_AREA_NAME

6 When the user selects a related area from the related to area combo box

The related_area_id will be provided as input to the related area combo box which will populate the values in that related sub area drop down by executing the following query.SQL:SELECT RELATED_SUB_AREA_ID, RELATED_SUB_AREA_NAME FROM T_ADM_SEC_RELATED_SUB_AREAWHERE RELATED_AREA_ID=?ORDER BY RELATED_SUB_AREA_NAME

7 When the user select a value from the Related sub-area combo box.

After selecting a sub-area name from the sub-area combo box, if any staff or student / parent is checked from the staff or students then their corresponding section is loaded.But If only sub-area name is selected then no changes will be made.

1.6.3.4 AdministrationSecurityCreate Approval Stage and User1.6.3.4.1 Column-Database mappingPlease refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective screens.

Sl# Label Database Tables Columns Remarks

154

Page 155: URS for Opinion Poll

1.6.3.4.2 List Section1.6.3.4.2.1 Action and validation SQLs

Special Note: When the screen is loaded the list page will be shown with the corresponding values.

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

1 When the list section is loaded

The columns named as MODULE_NAME, AREA_SUB_AREA_NAME, SUB_MODULE_SCREEN_NAME, STAGE_NAME, STAGE_ORDER and ASSIGNED_USER will be retrieved from the view V_ADM_SEC_APPR_STG_USR. The sub area may have number of stages for a certain activity and each activity can have more than one users. One stage can have more than one user and that will also from any user categories from Student, Staff or Parent.

2 When the user clicks on the EDIT/VIEW button

All the fields will be populated by their respective values from the selected record for a particular SCREEN_APPROVAL_STAGES_ID .Here each record in the list page is uniquely identified by SCREEN_APPROVAL_STAGES_ID. This SCREEN_APPROVAL_STAGES_ID is implicitly passed as the argument when the EDIT/VIEW button is clicked and hence the details will be displayed in the detail section.

If the user has only view permission then he couldn’t edit the record but can view the record.

3 When the user clicks on the DELETE button

All the records from the tables named T_ADM_SEC_SCRN_APPROVAL_STAGES and the table named T_ADM_SEC_APROVL_STAGE_USERSpecial note: If the authority has given any analysis previously then the user can’t delete that record. Before deleting, user should check whether the authority is in analysis history or not.

If the user is authorized to delete, then only he/she can access the delete button and delete the selected record from the list.

4 When the user clicks on the NEW Button.

The edit section is populated. Only the module name field containing the list of all modules available to be used for this purpose and all other fields contains null values.The value of module name combo box is assigned by the MENU_ITEM_ID and option by the column ITEM_NAME of the table T_MENU.The module name field is populated by all the ITEM_NAME values 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')

After the user selects a module name from module name field then its corresponding related area names are populated in the related to area field. And the submodule combobox will also be filled.

1.6.3.4.3 Edit Section1.6.3.4.3.1 Action and validation SQLs

Special Note: When the edit/view button is clicked in the list section then the edit/view section will be loaded with all the fields containing their corresponding values. When the New button is clicked in the list section then the edit/view section will be loaded with all the Module names in the Module Name combo box and other labels with their default values. If the field doesn’t have any default value then it will contain null value.

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

155

Page 156: URS for Opinion Poll

Logic with SQL as reqd.

1 When the edit section is loaded

All the fields will be populated by their respective values from the selected record for a particular SCREEN_APPROVAL_STAGES_ID .Here each record in the list page is uniquely identified by SCREEN_APPROVAL_STAGES_ID.SQL:1SELECT MODULE_ID,SCREEN_ID,RELATED_AREA_ID,RELATED_SUB_AREA_ID,SUB_MODULE_ID,SCREEN_ID,STAGE_NAME,STAGE_ORDER,CANCELATION_ALLOWEDFROM V_ADM_SEC_APPR_STG_USRWHERE SCREEN_APPROVAL_STAGES_ID =?

ORDER BY SCREEN_NAMEThe query written above will retrieve the MODULE_ID, SCREEN_ID, SUB_MODULE_ID, RELATED_AREA_ID, RELATED_SUB_AREA_ID, STAGE_NAME, STAGE_ORDER and CANCELATION_ALLOWED to represent the details in the screen.SQL:2SELECT MAX(STAFF) AS "STAFF",MAX(STUDENT)AS "STUDENT",MAX(PARENT) AS "PARENT" FROM (SELECT CASE WHEN USR.USER_TYPE='STAFF' THEN COUNT(ASAS.APPROVAL_STAGE_USER_ID) ELSE 0 END AS "STAFF",CASE WHEN USR.USER_TYPE='STUDENT' THEN COUNT(ASAS.APPROVAL_STAGE_USER_ID) ELSE 0 END AS "STUDENT" ,CASE WHEN USR.USER_TYPE='PARENT' THEN COUNT(ASAS.APPROVAL_STAGE_USER_ID) ELSE 0 END AS "PARENT"FROM T_ADM_SEC_APROVL_STAGE_USER ASAS,T_USER USRWHERE ASAS.USER_OID=USR.USER_OIDAND ASAS.SCREEN_APPROVAL_STAGES_ID=?GROUP BY USR.USER_TYPE ORDER BY USR.USER_TYPEThe above query will retrieve the information about the users for each 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.

If the user is an authorized one then he/she can edit the related fields from the section. If the section is loaded by clicking the new button no values in any field of the detail section will be displayed as null will be passed as the argument in the place of SCREEN_APPROVAL_STAGES_ID. But when the detail section is loaded by clicking the edit/view button then all the fields will be set to the respective values for the selected SCREEN_APPROVAL_STAGES_ID

The module name option builder will be populated by the following query.SQL:SELECT MENU_ITEM_ID, ITEM_NAME FROM T_MENUWHERE MENU_ITEM_ID IN ('OP')

156

Page 157: URS for Opinion Poll

3 When user selects module name from module name combo box

By using the key of the module name the related area will be populated in the Related to area combo box.SQL:1SELECT RELATED_AREA_ID, RELATED_AREA_NAME FROM T_ADM_SEC_RELATED_AREAWHERE 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:2SELECT MENU_ITEM_ID,ITEM_NAME FROM T_MENUWHERE ITEM_TYPE=?AND PARENT_ID=?ORDER BY UPPER(ITEM_NAME)

4 When the user selects Related area from related to area combo box

The related_area_id will be provided as input to the related area combo box which will populate the values in that related sub area drop down by executing the following query.SQL:SELECT RELATED_SUB_AREA_ID, RELATED_SUB_AREA_NAME FROM T_ADM_SEC_RELATED_SUB_AREAWHERE RELATED_AREA_ID=?ORDER BY RELATED_SUB_AREA_NAME

5 When the user selects the sub module name from the sub module dropdown

The screen name option builder will be filled by the appropriate screen names for the selected sub module by using the following query.SQL:SELECT MENU_ITEM_ID, ITEM_NAME FROM T_MENUWHERE ITEM_TYPE='D' AND MENU_ITEM_ID IN ('OP-POLL-CREATEAPPRVPOLL','OP-AAR-ANALYSISRESULT')AND PARENT_ID=?ORDER BY UPPER(ITEM_NAME)

157

Page 158: URS for Opinion Poll

5 When the user checks the checkbox provided to choose the user type as stage users

The corresponding component will be loaded with the list of users populated in both the list boxes.Case one for the STAFF:SQL: Available Staffs QuerySELECT STF.USER_OID,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_INFOFROM V_HR_STF_STAFF_INFO STF,T_USER USR, T_HR_CNF_DESG_CATEGORIES DCAT,T_CLIENT_WING TCWHERE STF.USER_OID=USR.USER_OIDAND STF.DESIG_CAT_ID=DCAT.DESIG_CAT_IDAND TC.CLIENT_WING_OID=STF.CLIENT_WING_OIDAND 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 ASASWHERE ASAS.USER_OID=STF.USER_OIDAND ASAS.SCREEN_APPROVAL_STAGES_ID=?)ORDER BY UPPER(STF.STAFF_NAME)SQL: Assigned Staffs QuerySELECT 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_INFOFROM 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 TCWHERE TSA.USER_OID=USR.USER_OIDAND STF.USER_OID=USR.USER_OIDAND STF.DESIG_CAT_ID=DCAT.DESIG_CAT_IDAND TC.CLIENT_WING_OID=STF.CLIENT_WING_OIDAND USR.USER_TYPE='STAFF'AND TSA.SCREEN_APPROVAL_STAGES_ID=?ORDER BY UPPER(STF.STAFF_NAME)

158

Page 159: URS for Opinion Poll

Case one for the STUDENT:SQL: Available Students QuerySELECT 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_INFOFROM V_STDN_ENROLLMENT_DETAILS VS,T_USER USR,T_CLIENT_WING CLWWHERE CLW.CLIENT_WING_OID=VS.CLIENT_WING_OIDAND VS.USER_OID=USR.USER_OIDAND 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 ASASWHERE ASAS.USER_OID=VS.USER_OIDAND ASAS.SCREEN_APPROVAL_STAGES_ID=?)ORDER BY UPPER(VS.STUDENT_NAME)SQL: Assigned Students QuerySELECT 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_INFOFROM V_STDN_ENROLLMENT_DETAILS VS,T_ADM_SEC_APROVL_STAGE_USER ASAS,T_USER USR,T_CLIENT_WING TCWHERE ASAS.USER_OID=USR.USER_OIDAND VS.USER_OID=USR.USER_OIDAND TC.CLIENT_WING_OID=VS.CLIENT_WING_OIDAND USR.USER_TYPE='STUDENT'AND ASAS.SCREEN_APPROVAL_STAGES_ID=?ORDER BY UPPER(VS.STUDENT_NAME)

159

Page 160: URS for Opinion Poll

Case one for the STUDENT:SQL: Available Parents QuerySELECT 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_INFOFROM V_STDN_ENROLLMENT_DETAILS VS,T_USER USR,T_CLIENT_WING CLW,T_STDN_PARENT_DETAILS SPDWHERE CLW.CLIENT_WING_OID=VS.CLIENT_WING_OIDAND VS.STUDENT_ID=SPD.STUDENT_IDAND 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 ASASWHERE 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)SQL: Assigned Parents QuerySELECT 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_INFOFROM V_STDN_ENROLLMENT_DETAILS VS,T_ADM_SEC_APROVL_STAGE_USER ASAS,T_USER USR,T_CLIENT_WING TC,T_STDN_PARENT_DETAILS SPDWHERE ASAS.USER_OID=USR.USER_OIDAND SPD.STUDENT_ID=VS.STUDENT_IDAND 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_OIDAND USR.USER_TYPE='PARENT'AND ASAS.SCREEN_APPROVAL_STAGES_ID=?ORDER BY UPPER(PARENT_INFO)

160

Page 161: URS for Opinion Poll

6 When the user clicks on the save button. (If the edit/view section is loaded after clicking the new button)

All the values in all the fields are saved in their corresponding tables named T_ADM_SEC_SCRN_APPROVAL_STAGES and . T_ADM_SEC_APPROVAL_STAGE_USERIt is done by: SQL:1INSERT INTO T_ADM_SEC_SCRN_APPROVAL_STAGES(SCREEN_APPROVAL_STAGES_ID,STAGE_NAME,STAGE_ORDER,RELATED_SUB_AREA_ID,MENU_ITEM_ID,CANCELATION_ALLOWED,CREATED_BY,CREATED_ON)VALUES(?,?,?,?,?,?,?,SYSDATE)SQL:2INSERT INTO T_ADM_SEC_APROVL_STAGE_USER(APPROVAL_STAGE_USER_ID,SCREEN_APPROVAL_STAGES_ID,USER_OID,CREATED_BY,CREATED_ON,STATUS)VALUES(?,?,?,?,SYSDATE,'A') The value’s are inserted in the database .Now we have to update the list box so that the inserted record can be visible in the list box .To do that user have to load the list page. 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_STAFFSWHERE STAFF_ID=?To get the user_oid of the students SQL:SELECT USER_OID FROM T_STDN_STUDENT_INFOWHERE 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_DETAILSWHERE STUDENT_PARENT_ID=?And the list section will be updated by the modified sub area.

If the edit/view section is loaded after clicking the new button all the selected user_oid will be saved.If the edit/view section is loaded after clicking the edit button then all the newly selected user_oid will be saved and the user_oid which were moved back from the assigned section then those will be removed from the table.

7 When the user clicks on the save button. (If the edit/view section is loaded after clicking the edit/view button)

All the changed values in all fields are save in their corresponding tables.SQL:UPDATE T_ADM_SEC_SCRN_APPROVAL_STAGESSET STAGE_NAME=?, STAGE_ORDER=?,RELATED_SUB_AREA_ID=?, MENU_ITEM_ID=?,CANCELATION_ALLOWED=?, LAST_UPDATED_BY=?,LAST_UPDATED_ON=SYSDATEWHERE SCREEN_APPROVAL_STAGES_ID=?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_USERWHERE SCREEN_APPROVAL_STAGES_ID=?AND USER_OID=?

Is Available (related_sub_area_id,menu_item_id,stage_name)Is Available (related_sub_area_id,menu_item_id,stage_order)

161

Page 162: URS for Opinion Poll

4 When the user clicks on the cancel button.

All the fields of the edit section will shows their default values and the previously selected values are discarded.

1.6.3.5 Opinion PollPollCreate and Approve Poll1.6.3.5.1 Column-Database mappingPlease refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective screens.

Sl# Label Database Tables Columns Remarks

1.6.3.5.2 List Section1.6.3.5.2.1 Action and validation SQLs

Special Note: When the screen is loaded the list page will be shown with the corresponding values.

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

1 When the list section is loaded

All the columns named topic name, related to sub area, current stage, Start Date and Time, End Date and Time, Auto repeating, Remark allowed, Result shared with participants, View/Edit and Delete will be loaded with their respective 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_IDAND PQ.QUESTION_ID=PQR.QUESTION_ID

The delete button will only be enabled if the user has the authorization.

162

Page 163: URS for Opinion Poll

SQL: select sas.stage_name, sas.stage_order, asu.user_oid, pah.approval_date, pah.poll_id, pc.topic,

pah.save, pah.submitfrom 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 pcwhere

rsa.RELATED_SUB_AREA_ID=sas.RELATED_SUB_AREA_IDand

sas.SCREEN_APPROVAL_STAGES_ID=asu.SCREEN_APPROVAL_STAGES_ID

and asu.APPROVAL_STAGE_USER_ID=pah.APPROVAL_STAGE_USER_ID

and pah.poll_id=pc.poll_idand

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 user clicks on the edit/view button

All the fields will be populated by their respective values from the selected record for a particular related to area.SQL: SELECT RA.RELATED_AREA_NAME,RSA.RELATED_SUB_AREA_NAME,PCFG.TOPIC,PR.START _DATE_TIME,PR.END_DATE_TIME,FROMT_ADM_SEC_RELATED_AREA RA T_ADM_SEC_RELATED_SUB_AREA RSAWHERE TM.MENU_ITEM_ID=RA.MENU_ITEM_ID AND RA.RELATED_AREA_ID= SELECTED_RELATED_AREA_IDAll 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 user clicks on the delete button

The poll will be simple rejected and the status will be “n”

163

Page 164: URS for Opinion Poll

1.6.3.5.3 Edit Section1.6.3.5.3.1 Action and validation SQLs

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

1 When the user select module name

All the related area name will be populated with respect to module name

“SELECT MENU_ITEM_ID,RELATED_AREA_NAME FROM T_ADM_SEC_RELATED_AREA WHERE MENU_ITEM_ID='OP_POLL';

2 When user select related area name

All the related sub area name will be populated with respect to 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 participant section loaded

College filter will be availableAll the available college name from T_CLIENT_WING will be populated in the selected list If the super admin wants a college not to participate in the poll he SEND back to the available list

1. If the user is a super admin all available college will be seen in the selected list 2. If the user is a college admin will see only his college

4 A. When the user selects ALL option from current student section

B. When the user selects limited option from current student section option

A. All the current student from the selected colleges will be selected for polling and ALL_STUDENT column from T_OP_POLL_CONFIGURATION will be updated

B. A students filter will be available containing all students list of all selected colleges in the available list and the admin has a option to add students from available list to selected student list

If (admin=super or admin=college _admin )Then he can add students from available college to selected students list

super admin adds all college students and college admin only adds own college students

5 A. When the user selects ALL option from staff section

B. When the user selects limited option from staff section option

A. All the staff from the selected colleges will be selected for polling and ALL_STAFF column from T_OP_POLL_CONFIGURATION

B. A staff filter will be available containing all staff list of all selected colleges in the available list and the admin has a option to add staff from available list to selected staff list

If (admin=super_admin or admin=college _admin )Then he can add staff from available staff to selected students

super admin adds all college staff and college admin only adds own college staff

164

Page 165: URS for Opinion Poll

6 A. When the user selects ALL option from alumni section

B. When the user selects limited option from alumni section option

A. All the alumni from the selected colleges will be selected for polling and ALL_ALUMINI column from T_OP_POLL_CONFIGURATION

B. A alumni filter will be available containing all students list of all selected colleges in the available list and the admin has a option to add students from available list to selected student list

If (admin=super or admin=college _admin )Then he can add students from available students to selected students

super admin adds all college students and college admin only adds own college students

7 A. When the user selects ALL option from staff section

B. When the user selects limited option from staff section option

A. All the staff from the selected colleges will be selected for polling and ALL_PARENTS column from T_OP_POLL_CONFIGURATION

B. A parent filter will be available containing all staff list of all selected colleges in the available list and the admin has a option to add staff from available list to selected staff list

If (admin=super_admin or admin=college _admin )Then he can add staff from available staff to selected students

super admin adds all college staff and college admin only adds own college staff

8 A. When the user selects ALL option from applicants section

B. When the user selects limited option from alumni section option

A. All the applicants from the selected colleges will be selected for polling

B. A alumni filter will be available containing all students list of all selected colleges in the available list and the admin has a option to add students from available list to selected student list

If (admin=super or admin=college _admin )Then he can add students from available students to selected students

super admin adds all college students and college admin only adds own college students

9 A. When the user check’s the check box of Groups Defined

B. When the user selects limited option from staff section option

A. All the other group from the selected colleges will be selected for polling

B. A parent filter will be available containing all staff list of all selected colleges in the available list and the admin has a option to add staff from available list to selected staff list

If (admin=super_admin or admin=college _admin )Then he can add staff from available staff to selected students

super admin adds all college staff and college admin only adds own college staff

10 When the Repeated status section loaded

All the fields of the section is disabled by defaultIf the user checks the Repeat checkbox all the fields of the section will be enabled and REPEAT_TYPE column in T_OP_POLL_CONFIGURATION will be ‘yes’

165

Page 166: URS for Opinion Poll

11 When the user selects Day of weak from Period field the corresponding day field drop down will appear

When the user selects one value from period fieldSELECT PERIOD_OPTION,POLL_ID FROM T_OP_POLL_CONFIGURATION PCFG T_OP_POLL_REPEAT PRWHERE PCFG.POLL_ID=PR.POLL_ID

SELECT DAY_NAME,POLL_ID FROM T_OP_POLL_CONFIGURATION PCFG T_OP_POLL_REPEAT PRWHERE PCFG.POLL_ID=PR.POLL_ID AND DAYS_ID=?

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

??

166

Page 167: URS for Opinion Poll

15 When the user clicks on save button

All the values from the respective fields go to the corresponding tableIF THE POLL IS SIMPLE/REPEAT CHECK BOX IS NOT SELECTED THE POLL START_DATE AND END_DATE GOES TO THE T_OP_POLL_REPEATSQL:-

INSERT INTO T_OP_POLL_REPEAT VALUES(POLL_ID,POLL_REPEAT_ID,REPEATION _NO,START_DATE_TIME,END_DATE_TIME,DISCARD_POLL)

If the poll is repetitive Then INSERT INTO T_OP_POLL_CONFIGURATION VALUES(ALL COLUMNS)

INSERT INTO T_OP_POLL_COMMUNICATION_OPTION VALUES(ALL COLUMNS WITH RESPECTIVE VALUES)

INSERT INTO T_OP_POLL_QUESTION VALUES(ALL COLUMNS);

IF ANALYSIS REQUARED CHECKBOX IS CHECKED

INSERT INTO T_OP_POLL_QUESTION_ANALISYS VALUES(ALL COLUMNS WITH CORRESPONDING VALUES);

IF REMARK REQUIRED CHECK BOX IS CHECKED

INSERT INTO T_OP_POLL_QUESTION_REMARKS VALUES(ALL COLUMNS WITH CORRESPONDING VALUES);

If result publish option is checked

INSERT INTO T_OP_POLL_RESULT_PUBLISH VALUES();

1.6.3.6 Opinion PollPollPolling1.6.3.6.1 Column-Database mappingPlease refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective screens.

Sl# Label Database Tables Columns Remarks

1.6.3.6.2 Screen Section1.6.3.6.2.1 Action and validation SQLs

Sl Event Actions: Logic with SQL as reqd. Validation

167

Page 168: URS for Opinion Poll

# : : Logic with SQL as reqd.

168

Page 169: URS for Opinion Poll

1 When the polling page is loaded, the list page containing the column name and column value will be displayed.

5 column will be generated having column name-Topic name, related to area, time left to vote, my voting status, poll status, vote now.Selecting any row of list section and clicking on vote now button user can see the polling page and can give his response.……………………………………………………………………………………….We can get topic name from T_OP_POLL_CONFIGURATION table,………………………………………………………………………………………..Related area name and sub area from related area and sub area table………………………………………………………………………………………..Time left to vote from poll repeat table as end date time—sysdate ,………………………………………………………………………………………..To get my voting status concept is – For a particular question there is particular answer option and particular answer is 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_IDFROM T_OP_POLL_QUESTION PQ , T_OP_POLL_SET PS ,WHERE PQ.SET_ID=PS.SET_ID; AS--T

Count no of question which is answered in the poll.SELECT COUNT(*) FROM T_OP_POLL_SET PS, T_OP_POLL_QUESTION PQ , T_OP_POLL_ANSWER_OPTION AO T_OP_POLL_POLLING PO, T_USER UWHERE PQ.SET_ID=PS.SET_ID AND AO.QUESTION_ID=PQ.QUESTION_ID AND PO.ANSWER_OPTION_ID=AO.ANSWER_OPTION_ID ANDPO.USER_OID=U.USER_OID ; AS--AIf in that set( total no of question= total answered question) , i.e T=AThen vote completed If in that set( total no of question!= total answered question) i.e T!=AThen partially voted And if total answered question is =0 i.e A=0Then yet to vote ]……………………………………………………………………………………..Poll status i.e discarded or discontinued poll can be known from T_OP_POLL_REPEAT table.If the DISCARD_POLL column and REPEAT_DISCONTINUE column of table T_OP_POLL_REPEAT is ’ Y’ then that poll_id is discarded or discontinued.SELECT RE.DISCARD_POLL AS DISCARDED,RE.REPEAT_DISCONTINUE AS DISCONTINUEDFROM T_OP_POLL_REPEAT RE, T_OP_POLL_CONFIGURATION PCWHERE RE.POLL_ID=PC.POLL_ID

169

Page 170: URS for Opinion Poll

Pseudo code of list pageSELECTPC.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 DISCONTINUEDFROMT_OP_POLL_CONFIGURATION PC, T_ADM_SEC_RELATED_SUB_AREA RS,T_ADM_SEC_RELATED_AREA R, T_OP_POLL_REPEAT RE WHEREPC.RELATED_SUB_AREA_ID = RS.RELATED_SUB_AREA_ID ANDR. RELATED_AREA_ID= RS.RELATED_AREA_ID ANDRS. RELATED_SUB_AREA_ID=PC. RELATED_SUB_AREA_ID ANDRE.POLL_ID=PC.POLL_ID

Count total no of question in a poll SELECT COUNT (*) QUESTION_IDFROM T_OP_POLL_QUESTION PQ , T_OP_POLL_SET PS ,WHERE PQ.SET_ID=PS.SET_ID; AS--T

Count no of question which is answered in the poll.SELECT COUNT(*) FROM T_OP_POLL_SET PS, T_OP_POLL_QUESTION PQ , T_OP_POLL_ANSWER_OPTION AO T_OP_POLL_POLLING PO, T_USER UWHERE PQ.SET_ID=PS.SET_ID AND AO.QUESTION_ID=PQ.QUESTION_ID AND PO.ANSWER_OPTION_ID=AO.ANSWER_OPTION_ID ANDPO.USER_OID=U.USER_OID ; AS--AIf in that set( total no of question= total answered question) , i.e T=AThen vote completed If in that set( total no of question!= total answered question) i.e T!=AThen partially voted And if total answered question is =0 i.e A=0Then yet to vote ]

1.6.3.6.3 Edit Section1.6.3.6.3.1 Action and validation SQLs

Special Note:

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

1 When the Topic name from T_OP_POLL_CONFIGURATION will

170

Page 171: URS for Opinion Poll

polling page field is loaded

be populated.SELECT PC.TOPIC AS TOPIC_NAME FROM T_OP_POLL_CONFIGURATION PC, T_ADM_SEC_RELATED_SUB_AREA RSWHERE PC.RELATED_SUB_AREA_ID = RS.RELATED_SUB_AREA_ID

2 When related area field is loaded

The related area name, sub area name will be populated with respect to a certain topic name “SELECT R.RELATED_AREA_NAME||':'||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 ANDRS. RELATED_SUB_AREA_ID=PC. RELATED_SUB_AREA_ID

3 When Time Left field is loaded

Time left to give response for a particular poll will be displayed here. Left time will be calculated as end date time--sys date time.SELECT END_DATE_TIME-SYSDATE AS Time_Left FROM T_OP_POLL_REPEAT

4 When SET field is loaded

The set name will be displayed as given like A,B,C,ALL from the table T_OP_POLL_SET .The default value ALL will be shown. Selecting any set name from SET field the available question in that set related to a particular topic name will be displayed.SELECT PS.SET_NAME FROM T_OP_POLL_SET PS,

T_OP_POLL_CONFIGURATION PCWHERE PC.POLL_ID=PS.POLL_ID

5 When a number is entered into “No of question in a page”

The entered number is stored and that number of question belongs to previously selected set name will be shown to the user in a screen. The default value will be 5.INSERT INTO TABLE NAME ( No of question per page )VALUES (&No of question per page )

6 When “Show By” field is selected

You have to select one from Normal flow, answered, unanswered and normal flow will be displayed as default .Selecting option from this answered question and unanswered question will be displayed in the page accordingly.

7 To get Count total no of question in a poll

171

Page 172: URS for Opinion Poll

answered and unanswered questions

SELECT COUNT (*) QUESTION_IDFROM T_OP_POLL_QUESTION PQ , T_OP_POLL_SET PS ,WHERE PQ.SET_ID=PS.SET_ID; 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 UWHERE PQ.SET_ID=PS.SET_ID AND AO.QUESTION_ID=PQ.QUESTION_ID AND PO.ANSWER_OPTION_ID=AO.ANSWER_OPTION_ID ANDPO.USER_OID=U.USER_OID ; Unanswered question=total no of question-answered ques^

8 To show the question

The question and answer option of previously selected SET name will be displayed.SELECT PQ.QUESTION ,AO.ANSWER_OPTIONFROM T_OP_POLL_QUESTION PQ, T_OP_POLL_ANSWER_OPTION AOWHERE PQ.QUESTION_ID=AO.QUESTION_ID

9 When poll participant enters remarks

To store question remarks of polling page.INSERT INTO T_OP_POLL_QUESTION_REMARKS (REMARKS)VALUES (‘&REMARKS’);

10 When participant Clicks SAVE button

All the entered and selected data of polling page will be saved in respective tables.

11 When participant Clicks CANCELbutton

All the entered and selected data of polling page will not be saved in respective tables.

12 When participant Clicks SUBMIT button

All the entered and selected data of all the page will be saved in respective tablesAnd can’t be edited further.

1.6.3.7 Opinion PollPoll Result & Analysis Poll Analysis and Approval1.6.3.7.1 Column-Database mappingPlease refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective screens.

172

Page 173: URS for Opinion Poll

Sl# Label Database Tables Columns Remarks

1.6.3.7.2 List Section1.6.3.7.2.1 Action and validation SQLs

Special Note: When the screen is loaded the list page will be shown with the corresponding values. The fields named end date between DATE1 and DATE2 will take the default value as given DATE1=sysdate-30 and the DATE2=sysdate-1.The given dates will be taken as input for the query and returns the list of all the polls which have been completed. Through the current status field we can see the running polls and also list all the polls at a time. If the ‘my approval pending’ check box will be selected then only those analysis of the polls waiting for user’s approval will be listed in the section.

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

1 When the list section is loaded

All the columns named related area: sub area, Topic, start date, end date, Analysis stage, edit/view and delete will be loaded with their respective values.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_IDFROM 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_IDAND PR.POLL_REPEAT_ID=PRC.POLL_REPEAT_IDAND START_DATE_TIME BETWEEN SYSDATE-30AND SYSDATE; Along with these values the current stage of the analysis will also be retrieved and displayed with each topic.

The discard button will only be enabled if the user has the authorization.

173

Page 174: URS for Opinion Poll

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_ORDERFROM 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_IDAND PC.RELATED_SUB_AREA_ID=RSA.RELATED_SUB_AREA_IDAND PC.POLL_ID=PR.POLL_IDAND RPC.POLL_REPEAT_ID=PR.POLL_REPEAT_IDAND PAF.POLL_ANALYSIS_FOR_ID=RPC.POLL_ANALYSIS_FOR_IDAND PAF.POLL_ANALYSIS_FOR_ID=PAA.POLL_ANALYSIS_FOR_IDAND ASU.APPROVAL_STAGE_USER_ID=PAA.APPROVAL_STAGE_USER_IDAND SAS.SCREEN_APPROVAL_STAGES_ID=ASU.SCREEN_APPROVAL_STAGES_IDAND SAS.RELATED_SUB_AREA_ID=RSA.RELATED_SUB_AREA_IDAND PAA.SAVE='Y'AND PAA.SUBMIT='N'AND PR.POLL_REPEAT_ID=&PRIDGROUP 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_NAMEORDER BY POLL_ID, POLL_REPEAT_ID

174

Page 175: URS for Opinion Poll

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 PRWHERE PR.POLL_REPEAT_ID= POLL_REPEAT_ID of each poll.

2 When the user clicks on the edit/view button

All the fields will be populated by their respective values from the selected record for a particular POLL_REPEAT_ID. The fields named related area and topic for display will be populated with the respective values.

If the submitted status is being true for that particular analysis then the user cannot edit. The analysis can only be viewed.

The no of eligible voters will be evaluated as follows.If the fields named ALL_STUDENT, ALL_STAFFS, ALL_PARENTS, ALL_ALUMNI, ALL_GROUPS contains Y then check for the participating colleges in the T_OP_POLL_PARTICIPATING_COLLEG and counts all the allowed participants to get the no. of eligible voters. And if any of the above mentioned field contains N then the T_OP_POLL_LIMITED_PARTICIPANTS will be checked for getting the no. of eligible voters by counting all the USER_OID for the corresponding POLL_ID

The complete response field will be populated by the no of voters who have voted by responding to all the questions of the poll. Select all the questions from the T_OP_POLL_QUESTIONS for a particular POLL_ID. Check for the voters who have responded to that POLL_I, then identify and count the voters who have voted for all the questions of that poll.

The incomplete response field will be populated by the no. of voters who have not voted by giving answers to all questions. First count the total no of voters for the POLL_ID from the T_OP_POLLING, and then subtract the voters given complete response from the total no. of voters.

Current status will represent whether the poll is finished or is in running state. This value will be retrieved from the list directly.

The following section will retrieve all the set names for that POLL_IDSQL: SELECT SET_ID, SET_NAME FROM T_OP_POLL_SET WHERE POLL_ID=SELECTED_POLL_ID

The next field ‘show no of questions’ specifies how many questions will be displayed at a time for the particular set.The next field is show voting results of last polls. This field shows the no. of polls to be viewed for the analysis. And the respective options will be displayed in the page.SQL: SELECT START_DATE_TIME, END_DATE_TIME, POLL_REPEAT_ID, REPETITION_NO FROM T_OP_POLL_REPEATWHERE POLL_ID=SELECTED_POLL_ID

175

Page 176: URS for Opinion Poll

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 etcThe following section shows the set name, questions and the corresponding responses of the answer options with auto generated graphs.SQL:SELECT PS.SET_NAME, PQ.QUESTION, PQ.QUESTION_WEIGHTAGE, PA.ANSWER_OPTION, PA.ANSWER_OPTION_WEIGHTAGE

FROM T_OP_POLL_SET PS, T_OP_POLL_QUESTION PQ, T_OP_POLL_ANSWER_OPTION PA

WHERE PS.SET_ID=PQ.SET_ID AND PQ.QUESTION_ID=PA.QUESTION_ID ANDPS.SET_ID=SELECTED_SET_IDThe result for each option will be evaluated by the following querySQL:SELECT COUNT(USER_OID), ANSWER_OPTIONFROM T_OP_POLL_ANSWER_OPTIONGROUP BY ANSWER_OPTIONTotal no. of voters for each poll will be shown by the following querySQL:SELECT COUNT(DISTINCT USER_OID) FROM T_OP_POLL_POLLINGWHERE POLL_REPEAT_ID=SELECTED_POLL_REPEAT_IDGROUP BY POLL_REPEAT_IDThe current stage will be populated by the corresponding poll analysis stage from the list page.The select stage field will be populated by the assigned stages to the user Here the name of those stages will be shown to the user to which the user is allotted as the approver and the analysis of that stage is not submitted yet.

3 When the user clicks on the discard button

Here the entire poll will be discarded.SQL:UPDATE T_OP_POLL_DISCARDED_QUESTIONS SET DISCARD_STATUS=’Y’;

If the user is authorized to do so, then only he/she can access the discard button and discard the selected poll from the list. If the particular is running then the poll also can be discarded.

1.6.3.7.3 Edit Section1.6.3.7.3.1 Action and validation SQLs

Special Note: In this section the comments after analysis will be posted for all components such as the comments can be for the question, it can be for the set or it also can be for the poll. And when the user

176

Page 177: URS for Opinion Poll

clicks on the save button then all the comments will be saved in their respective analysis tables. When the edit section is loaded all the fields mentioned will be shown with the appropriate values as mentioned in the section 1.1.2.2.1.1. Along with all the fields other fields named comments for question, comments for set, comments for poll will be shown in the section as well as another option asking for the overall comment if multiple poll analysis is requested by the option show voting results of last several polls.

Sl#

Event

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

1 When the user clicks on the save button.

The comments given for the corresponding fields will be saved in their corresponding tables.SQL:INSERT INTO T_OP_POLL _ANALYSIS_FOR VALUES(POLL_ANALYSIS_FOR_ID,SELECTED_POLL_ID,’SYSDATE’,’ENTERED_ANALYSIS_COMMENT’);

INSERT INTO VALUES(REPEAT_POLL_CON_ID, CURRENT_POLL_ANALYSIS_FOR_ID, SELECTED_POLL_REPEAT_ID);

INSERT INTO T_OP_POLL __SET_ANALYSIS VALUES(SET_ANALYSIS_ ID,SELECTED_SET_ID, CURRENT_POLL_ANALYSIS_FOR_ID, ’ENTERED_SET_ANALYSIS_COMMENTS’);

INSERT INTO T_OP_POLL __QUESTION_ANALYSIS VALUES(QUESTION_ANALYSIS_ ID,SELECTED_QUESTION_ID, CURRENT_SET_ANALYSIS _ID, ’ENTERED_QUESTION_ANALYSIS_COMMENTS’);In the T_OP_POLL_ANALYSIS_APPROVAL the SAVED_STATUS will become true for that particular POLL_ANALYSIS_FOR_ID

2 When the user clicks the submit button

All the saved information regarding the analysis will be saved in the tables and cannot be edited by the user after submission. The submitted status in the T_OP_POLL_ANALYSIS_APPROVAL will become true.

1.6.3.8 Opinion PollPoll Result & AnalysisResult1.6.3.8.1 Column-Database mappingPlease refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective screens.

Sl# Label Database Tables Columns Remarks

177

Page 178: URS for Opinion Poll

1.6.3.8.2 List Section

1.6.3.8.2.1 Action and validation SQLs

Special Note: When the screen is loaded the list page will be shown with the corresponding values. The end date between fields will be having default value as sysdate-30 and sysdate-1 respectively. The status field contains the status of the polls listed whether a poll is discarded or discontinued. The results of the discarded or discontinued polls will not be available, only the state is visible to the user depending on the given specification.

Sl#

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

1 When the list section is loaded

All the columns named topic name, related area, sub area name, start date; end date view will be loaded with their respective values the default value for the end date between fields is sysdate-30 and sysdate-1.SQL: SELECT RA.RELATED_AREA_NAME, SA.RELATED_SUB_AREA_NAME, PC.TOPIC AS TOPIC NAME , PR.START_DATE_TIME, PR.END_DATE_TIME, PR.DISCARD_POLL PR.POLL_REPEAT_ID

FROM T_ADM_SEC_RELATED_AREA RA, T_ADM_SEC_RELATED_SUB_AREA SA, T_OP_POLL_CONFIGURATION PC, T_OP_POLL_REPEAT PR WHERE RA.RELATED_TO_AREA_ID=SA.RELATED_SUB_AREA_ID ANDSA.RELATED_SUB_AREA_ID=PC. T_OP_POLL_CONFIGURATION ANDPR.POLL_ID=PC.POLL_IDPR.END_DATE_TIME IS BETWEEN(SYSDATE-30,SYSDATE-1)AND (PR.SHOW_DSCD_POLLS_TI_USER=’Y’ OR PR.SHOW_DISCON_POLLS_TO_USER=’Y’)

If any poll is discarded or discontinued by the assigned user then the status of that poll will be displayed as “discarded” or “discontinued”. No results for that poll will be available. This will be shown to the participants if the SHOW_DSCD_POLLS_TI_USER & SHOW_DISCON_POLLS_TO_USER has the value as”Y”.

178

Page 179: URS for Opinion Poll

2 When the End date between field is selected

All the polls whose end date are between THE GIVEN TWO DATES(DATE-1 AND DATE-2) will be populated in the list asSQL:SELECT PC.TOPIC AS TOPIC NAME , RA.RELATED_AREA_NAME, SA.RELATED_SUB_AREA_NAME, PR.START_DATE_TIME, PR.END_DATE_TIME, PR.POLL_REPEAT_ID, PR.REPEAT_DISCONTINUEFROM T_ADM_SEC_RELATED_AREA RA, T_ADM_SEC_RELATED_SUB_AREA SA T_OP_POLL_CONFIGURATION T_OP_POLL_REPEAT WHERERA.RELATED_TO_AREA_ID=SA.RELATED_SUB_AREA_ID ANDSA.RELATED_SUB_AREA_ID=PC. T_OP_POLL_CONFIGURATION ANDPR.POLL_ID=PC.POLL_ID AND END_DATE_TIME IS BETWEEN(DATE1,DATE2)

3 When the user clicks on view button

All the fields will be populated in the upper section as per the selected poll_repeat_id.Eligible voters will come from the list of participants i.e. ALL_STUDENT, ALL_STAFFS, ALL_PARENTS, ALL_ALUMNI, ALL_GROUPS. out of these whose status is Y in the t_op_poll_cofiguration table then the T_OP_POLL_PARTICIPATING_COLLEG table will be checked for counting the assigned participants to get the no of eligible voters(user_oid,poll_id). If the status is N then T_OP_POLL_LIMITED_PARTICIPANTS will be cheked. Complete response will be taken as answer_option_id,user_oid,poll_repeat_id from t_op_poll_polling. In t_op_poll_answer_option table we get the question_id so that we can know for which question the answer is for.Incomplete response = count total no of voters – complete responses ( both will come form t_op_poll_polling in against of each poll_repeat_id.

When the user selects the Set field

It contains all the sets present in that selected poll topic. SQL:SELECT SET_ID, SET_NAME FROM T_OP_POLL_SET WHERE POLL_ID=SELECTED_POLL_ID

When user selects the Show Result by

Then all the participating groups will be populated in that combo box against the poll_id and user_oid. It will identify the participants from T_OP_POLL_CONFIGURATION (staff,student,parent,alumni,applicants etc)

179

Page 180: URS for Opinion Poll

For Poll Analysis:SQL:AF.POLL_ANALYSIS_COMMENTFROM T_OP_POLL_REPEAT_POLL_CONSIDER PCNT_OP_POLL_ANALYSIS_FOR AFWHERE AF.POLL_ANALYSIS_FOR_ID=PCN. POLL_ANALYSIS_FOR_ID ANDAF.POLL_ID = SLECTED POLL_ID

For Set analysis:SQL:SELECT SA.SET_ANALYSIS_COMMENTFROMT_OP_POLL_SET_ANALYSIS SA,T_OP_POLL_ANALYSIS_FOR AFWHERESA.POLL_ANALYSIS_FOR_ID=AF_ POLL_ANALYSIS_FOR_ID ANDAF.POLL_ID=SELECTED POLL_IDFor Question:SQL:Q.QUESTION, A.ANSWER_OPTION, FROM T_OP_POLL_SET S, T_OP_POLL_QUESTION Q, T_OP_POLL_ANSWER_OPTION AWHERE S.SET_ID=Q.SET_ID ANDQ.QUESTION_ID=A.QUESTION_ID ANDS.SET_ID=SELECTED SET_ID

For calculating the total no of voters votes:SQL:SELECT COUNT(DISTINCT USER_OID) FROM T_OP_POLL_POLLINGWHERE POLL_REPEAT_ID=SELECTED_POLL_REPEAT_IDGROUP BY POLL_REPEAT_IDFor question analysis:SQL:SELECT QA.QUESTION_ANALYSIS_COMMENT FORMT_OP_POLL_QUESTUIN_ANALYSISWHEREAQ.SET_ANALYSIS_ID=SA.SET_ANALYSIS_ID ANSSA.SET_ID=S.SET_IDS.POLL_ID=PC.POLL_ID

180

Page 181: URS for Opinion Poll

1.6.3.9 Opinion PollPollDiscard & Discontinue poll1.6.3.9.1 Column-Database mappingPlease refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective screens.

Sl# Label Database Tables Columns Remarks

1.6.3.9.2 Discard Section1.6.3.9.2.1 Action and validation SQLs

Special Note: when the page is loaded the entire field will be displayed.

Sl#

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

1 When the screen is loaded

Then the related to area name under opinion poll module will be populated in the related to area field.SQL:

SELECT RELATED_AREA_ID,RELATED_AREA_NAMEFROM T_ADM_SEC_RELATED_AREAWHERE MENU_ITEM_ID='OP_POLL'

2 When the user choose any item in the related area field and presses tab

Then the respective sub area under that related to area will be populated in sub area field.SQL:SELECT RELATED_SUB_AREA_ID,RELATED_SUB_AREA_NAMEFROM T_ADM_SEC_RELATED_SUB_AREA RSA,T_ADM_SEC_RELATED_AREA RAWHERE RSA.RELATED_AREA_ID =? AND RSA. RELATED_AREA_ID=RA.RELATED_AREA_ID

.

181

Page 182: URS for Opinion Poll

3 When user choose any item in related sub area field and presses tab

All the columns named related to area, related to sub area, topic name, set name, status and also discard/ discontinue button with all the default value will be displayed as a list.CREATE VIEW AS V1SQL:SELECT RA.RELATED_AREA_NAME,RA.RELATED_AREA_ID,SRA.RELATED_SUB_AREA_ID,SRA.RELATED_SUB_AREA_NAME,PC.POLL_ID,PC.TOPIC,PC.START_DATE_TIME,PC.END_DATE_TIME,PS.SET_ID,PS.SET_NAME,PD.DISCARD_STATUS,RPT.POLL_REPEAT_IDFROM 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 PDWHERE RA.MENU_ITEM_ID=MN.MENU_ITEM_IDAND SRA.RELATED_AREA_ID=RA.RELATED_AREA_IDAND PC.RELATED_SUB_AREA_ID=SRA.RELATED_SUB_AREA_IDAND PS.POLL_ID=PC.POLL_IDAND RPT.POLL_ID=PC.POLL_IDAND PD.POLL_REPEAT_ID=RPT.POLL_REPEAT_IDAND PC.RELATED_SUB_AREA_ID= 12**Discontinue button will appear only for repetitive pollSQL 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

user enter two date in start date between X and Y field

Then only those topic will be displayed whose start date is in between the date provided by the user.SELECT RA.RELATED_AREA_NAME,RA.RELATED_AREA_ID,SRA.RELATED_SUB_AREA_ID,SRA.RELATED_SUB_AREA_NAME,PC.POLL_ID,PC.TOPIC,PC.START_DATE_TIME,PC.END_DATE_TIME,PS.SET_ID,PS.SET_NAME,PD.DISCARD_STATUS,RPT.POLL_REPEAT_IDFROM 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 PDWHERE RA.MENU_ITEM_ID=MN.MENU_ITEM_IDAND SRA.RELATED_AREA_ID=RA.RELATED_AREA_IDAND PC.RELATED_SUB_AREA_ID=SRA.RELATED_SUB_AREA_IDAND PS.POLL_ID=PC.POLL_IDAND RPT.POLL_ID=PC.POLL_IDAND PD.POLL_REPEAT_ID=RPT.POLL_REPEAT_IDAND PC.RELATED_SUB_AREA_ID= ?AND PC.START_DATE_TIME BETWEEN ?(DATE1)AND ?(DATE2)

182

Page 183: URS for Opinion Poll

5 if user clicks the discard question button

Then the respective poll, set, question along with the answer option will be displayed at the top.CREATE VIEW AS VIEW V2SQL:SELECT RPT.POLL_ID,PC.TOPIC,PS.SET_ID,PS.SET_NAME,PQ.QUESTION_ID,PQ.QUESTION,RPT.POLL_REPEAT_ID,ANS.ANSWER_OPTION_ID,ANS.ANSWER_OPTION FROMT_OP_POLL_SET PS,T_OP_POLL_QUESTION PQ,T_OP_POLL_CONFIGURATION PC, T_ADM_SEC_RELATED_SUB_AREA RSA, T_ADM_SEC_RELATED_AREA RA,T_OP_POLL_REPEAT RPT, T_OP_POLL_ANSWER_OPTION ANS

WHERE RPT.POLL_ID = PC.POLL_IDAND PC.RELATED_SUB_AREA_ID=RSA.REALTED_SUB_AREA_IDAND RSA.RELATED_AREA_ID=RA.RELATED_AREA_IDAND PS.POLL_ID=PC.POLL_IDAND PQ.SET_ID=PS.SET_IDAND ANS.QUESTION_ID= PQ.QUESTION_IDAND PC.RELATED_SUB_AREA_ID=?

6 When the user clicks the discard question button

Then the set name field will be populated along with all the set name of the selected poll.SQL:SELECT ST.SET_ID,ST.SET_NAME,RPT.POLL_IDFROM T_OP_POLL_SET ST,T_OP_POLL_CONFIGURATION PC,T_ADM_SEC_RELATED_SUB_AREA RSA,T_ADM_SEC_RELATED_AREA RA,T_MENU MN,T_OP_POLL_REPEAT RPTWHERE RA.MENU_ITEM_ID=MN.MENU_ITEM_IDAND RSA.RELATED_AREA_ID=RA.RELATED_AREA_IDAND PC.RELATED_SUB_AREA_ID=RSA.RELATED_SUB_AREA_IDAND RPT.POLL_ID=PC.POLL_IDAND ST.POLL_ID=PC.POLL_ID

183

Page 184: URS for Opinion Poll

7 When the user chose any item in the set name field

Then the question and answer option will be displayed of that selected setSQl:SQL:SELECT RPT.POLL_ID,PC.TOPIC,PS.SET_ID,PS.SET_NAME,PQ.QUESTION_ID,PQ.QUESTION,RPT.POLL_REPEAT_ID,ANS.ANSWER_OPTION_ID,ANS.ANSWER_OPTION FROMT_OP_POLL_SET PS,T_OP_POLL_QUESTION PQ,T_OP_POLL_CONFIGURATION PC, T_ADM_SEC_RELATED_SUB_AREA RSA, T_ADM_SEC_RELATED_AREA RA,T_OP_POLL_REPEAT RPT, T_OP_POLL_ANSWER_OPTION ANS

WHERE RPT.POLL_ID = PC.POLL_IDAND PC.RELATED_SUB_AREA_ID=RSA.REALTED_SUB_AREA_IDAND RSA.RELATED_AREA_ID=RA.RELATED_AREA_IDAND PS.POLL_ID=PC.POLL_IDAND PQ.SET_ID=PS.SET_IDAND ANS.QUESTION_ID= PQ.QUESTION_IDAND PC.RELATED_SUB_AREA_ID=?AND RPT.POLL_ID=?AND PS.SET=?

8 when the user clicks the discard button

Then the question /poll/set will be discarded For discarding a poll:SQL:UPDATE TABLE T_OP_POLL_REPEATSET DISCARD_POLL=’Y’,REPEAT_DISCONTINUE=’Y’,SEND_DSCD_NTFCN_TO_PTCPNTS=’Y’,SHOW_DSCD_POLLS_TO_USR=’Y’WHERE POLL_ID = SELECTED POLL_ID IN THE LIST;

9 WHEN THE USER SELECT THE DISCARD CHECK BOX

FOR DISCARDING A QUESTION :

1.UPDATE TABLE T_OP_POLL_DISCARDED_QUESTIONSSET DISCARD_ STATUS=’Y’WHERE QUESTION_ID=SELECTED QUESTION ID IN THE LIST

10

When the user select the discard the entire field

Then the entire set will be discardedFOR DISCARDING A SET

UPDATE TABLE T_OP_POLL_DISCARDED_QUESTIONSSET DISCARD_ STATUS=’Y’

WHERE QUESTION_ID IN(SELECT QUESTION_ID FROM T_OP_POLL_QUESTIONWHERE T_OP_POLL_QUESTION.QUESTION_ID=T_OP_POLL_DISCARDED_QUESTIONS.QUESTION_IDAND SET_ID=SELECTED SET ID IN THE LIST )

184

Page 185: URS for Opinion Poll

11

When the user select discard all CHECK BOX

Then all displayed questions will be discardedSQL

UPDATE TABLE T_OP_POLL_DISCARDED_QUESTIONSSET DISCARD_STATUS=’Y’WHERE QUESTION_ID IN(?,?,?)

12

when the user clicks the discontinue button

then that particular poll will not repeat.SQL:UPDATE TABLE T_OP_POLL_REPEATSET REPEAT_DISCONTINUE=’Y’,SEND_DISCNT_NTFCN_TO_PTCPNTS=’Y’,SHOW_DISCONT_POLL_TO_USR=’Y’

WHERE POLL_REPEAT_ID=SELECTED POLL_ID IN THEV LIST

1.6.3.10 Opinion pollpollChange Participants1.6.3.10.1 Column-Database mappingPlease refer to the opinion_poll_DB_mapping.xls for the entire column mapping of the respective screens.

Sl# Label Database Tables Columns Remarks

1.6.3.10.2 Edit Section1.6.3.10.2.1 Action and validation SQLs

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

1 When the change participants of repeated poll section is loaded

The module label having combo box along with all value is populatedSql:select menu_item_id,item_name from T_MENUThe Related Area,Related SubArea,topic name along with select college,student,staff alumni,applicants,others etc are loadedBy selecting a respective module the corresponding related area is populatedSql: 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”);

185

Page 186: URS for Opinion Poll

2 When user select a area from Related_Area combo box that are populated

By selecting a respective related area the corresponding related sub area is populatedSql:Select related_sub_area_name from T_ADM_SEC_RELATED_SUB_AREA, where related_area_id=(select related_area_id from T_ADM_RELATED_AREA where menu_item_id=(select menu_item_id from T_MENU where item_name=”opinion poll”))

3 When user select a sub-area respective poll/topic name belongs to that sub-area is populated in that combo box

Sql:Select topic from t_op_poll_configuration where related_sub_area_id=(select related_sub_area_id from t_adm_sec_related_sub_area where related_area_id =(select related_area_id from t_adm_sec_related_area where menu_item_id=(select menu_item_id from t_menu where item_name=”opinion poll”)))

Select poc.topic from t_op_poll_configuration poc,t_adm_sec_relate_sub_area rs,t_adm_sec_related_area ra,t_menu tm where poc.related_sub_area_id=rs.related_sub_area_id and rs.related_area_id=ra.related_area_id and ra.menu_item_id=tm.menu_item_id(of opinion poll)

186

Page 187: URS for Opinion Poll

4 When user select from the combo box having the lable “select college” ,there are 2 things that area flashed e.g.all,limited

By selecting all or limited a filter is poping outWhen user select “all” all colleges are displayed in the right side of filter and then we can’t take any college from that right side display to left side displayBut when user clicks “limited” ,in the right side of filter all colleges are poping out , user can selects the colleges from right side block to take them to left side blockAll above authority is fully enjoyed by only super admin of the organizationBut for a admin of respective college logged in only user’s college is poping out in that filterSql:

Select wing_name from t_client_wing cw where cw.client_wing_oid=(select client_wing_oid from t_op_poll_participating_colleges where poll_id=(select poll_id from t_op_poll_configuration where related_sub_area_id=(select related_sub_area_id from t_adm_sec_related_sub_area where related_area_id =(select related_area_id from t_adm_sec_related_area where menu_item_id=(select menu_item_id from t_menu where item_name=”opinion poll”)))))

Select tcw.wing_name from t_client_wing tcw, ,t_op_poll_participating_colleges poc,t_op_poll_configuration pol,t_adm_sec_related_sub_area rs,t_adm_sec_related_area ra,t_menu tm where tcw.client_wing_oid=poc.client_wing_id and poc.poll_id=pol.poll_id and pol.related_sub_area_id=rs.related_sub_area_id and rs.related_area_id=ra.related_area_id and ra.menu_item_id=tm.menu_item_id(of opinion poll)

5 When the participant section loaded

College filter will be availableAll the available college name from T_CLIENT_WING will be populated in the selected list If the super admin wants a college not to participate in the poll he reverse back to the available list

1. If the user is a super admin all available college will be seen in the selected list 2. If the user is a college admin will see only his college

187

Page 188: URS for Opinion Poll

6 A. When the user selects ALL option from current student section

B. When the user selects limited option from current student section option

A. All the current student from the selected colleges will be selected for polling and ALL_STUDENT column from T_OP_POLL_CONFIGURATION

B. A students filter will be available containing all students list of all selected colleges in the available list and the admin has a option to add students from available list to selected student list

If (admin=super or admin=college _admin )Then he can add students from available students to selected students

super admin adds all college students and college admin only adds own college students

7 A. When the user selects ALL option from staff section

B. When the user selects limited option from staff section option

A. All the staff from the selected colleges will be selected for polling and ALL_STAFF column from T_OP_POLL_CONFIGURATION

B. A staff filter will be available containing all staff list of all selected colleges in the available list and the admin has a option to add staff from available list to selected staff list

If (admin=super_admin or admin=college _admin )Then he can add staff from available staff to selected students

super admin adds all college staff and college admin only adds own college staff

8 A. When the user selects ALL option from alumni section

B. When the user selects limited option from alumni section option

A. All the alumni from the selected colleges will be selected for polling and ALL_ALUMINI column from T_OP_POLL_CONFIGURATION

B. A alumni filter will be available containing all students list of all selected colleges in the available list and the admin has a option to add students from available list to selected student list

If (admin=super or admin=college _admin )Then he can add students from available students to selected students

super admin adds all college students and college admin only adds own college students

9 A. When the user selects ALL option from staff section

B. When the user selects limited option from staff section option

A. All the staff from the selected colleges will be selected for polling and ALL_PARENTS column from T_OP_POLL_CONFIGURATION

B. A parent filter will be available containing all staff list of all selected colleges in the available list and the admin has a option to add staff from available list to selected staff list

If (admin=super_admin or admin=college _admin )Then he can add staff from available staff to selected students

super admin adds all college staff and college admin only adds own college staff

10 A. When the user selects ALL option from applicants section

B. When the user selects limited option from alumni section option

A. All the applicants from the selected colleges will be selected for polling

B. A alumni filter will be available containing all students list of all selected colleges in the available list and the admin has a option to add students from available list to selected student list

If (admin=super or admin=college _admin )Then he can add students from available students to selected students

super admin adds all college students and college admin only adds own college students

188

Page 189: URS for Opinion Poll

11 A. When the user check’s the check box of Groups Defined

B. When the user selects limited option from staff section option

A. All the other group from the selected colleges will be selected for polling

B. A parent filter will be available containing all staff list of all selected colleges in the available list and the admin has a option to add staff from available list to selected staff list

If (admin=super_admin or admin=college _admin )Then he can add staff from available staff to selected students

super admin adds all college staff and college admin only adds own college staff

1.6.3.11 Opinion pollPollChange Dates1.6.3.11.1 Column-Database mapping

Sl# Label Database Tables Columns Remarks

1.6.3.11.2 List Section1.6.3.11.2.1 Action and validation SQLs

Sl#

Event

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

1 When the list section is loaded

The corresponding related area,related subarea,poll name,start end date and time,edit will be loadedSql:Select Related_area_name from T_ADM_RELATED_AREA where menu_item_id=(select menu_item_id fromT_MENU where menu_item_id=”opinion poll”) {The above sql is used when an admin of a given institution is choosing that is the case there is no option of other colleges/institutions so no case of opting for wing names/college names}

Select related_area_name from T_ADM_RELATED_AREA RA ,t_adm_sec_rel_area_client_wing rew where Ra.related_area_id=rew.related_area_id and rew.client_wing_id=(select client_wing_id from T_client_wing where wing_name=(selected wing_name from t_client_wing)){ This above sql is used to give authority to super admin to opt for the colleges that he/she is wanting to use}

Super admin is authorized to acess to all colleges/institutions,but admin of respective college is authorized only to manipulate/edit the respective college records

Select related_sub_area_name from T_ADM_SEC_RELATED_SUB_AREA, where related_area_id=(select related_area_id from T_ADM_RELATED_AREA where menu_item_id=(select menu_item_id from T_MENU where item_name=”opinion poll”))

189

Page 190: URS for Opinion Poll

Select topic from t_op_poll_configuration where related_sub_area_id=(select related_sub_area_id from t_adm_sec_related_sub_area where related_area_id =(select related_area_id from t_adm_sec_related_area where menu_item_id=(select menu_item_id from t_menu where item_name=”opinion poll”)))

Select poc.topic from t_op_poll_configuration poc,t_adm_sec_relate_sub_area rs,t_adm_sec_related_area ra,t_menu tm where poc.related_sub_area_id=rs.related_sub_area_id and rs.related_area_id=ra.related_area_id and ra.menu_item_id=tm.menu_item_id(of opinion poll)Select start_date_time from t_op_poll_repeat where poll_id=(select poll_id from t_op_poll_configuration where related_sub_area_id=(select related_sub_area_id from t_adm_sec_related_sub_area where related_area_id =(select related_area_id from t_adm_sec_related_area where menu_item_id=(select menu_item_id from t_menu where item_name=”opinion poll”))))

Select start_date_time from t_op_poll_repeat por,t_op_poll_configuration poc,t_adm_sec_related_sub_area rs,t_adm_sec_related_area ra,t_menu tm where por.poll_id=poc.poll_id and poc.related_sub_area_id=rs.related_sub_area_id and rs.related_area_id=ra.related_area_id and ra.menu_item_id=tm.menu_item_id(of opinion poll)

Select end_date_time from t_op_poll_repeat where poll_id=(select poll_id from t_op_poll_configuration where related_sub_area_id=(select related_sub_area_id from t_adm_sec_related_sub_area where related_area_id =(select related_area_id from t_adm_sec_related_area where menu_item_id=(select menu_item_id from t_menu where item_name=”opinion poll”))))

Select end_date_time from t_op_poll_repeat por,t_op_poll_configuration poc,t_adm_sec_related_sub_area rs,t_adm_sec_related_area ra,t_menu tm where por.poll_id=poc.poll_id and poc.related_sub_area_id=rs.related_sub_area_id and rs.related_area_id=ra.related_area_id and ra.menu_item_id=tm.menu_item_id(of opinion poll)

Select ra.related_area_name,ras.related_sub_area_name,poc.topic,pr.start_date_time,pr.end_datetime from t_adm_sec_related_area ra,t_adm_sec_related_sub_area ras,t_op_poll_configuration poc,t_op_poll_repeat pr where ra.related_area_id=ras.related_area_id and ras.related_sub_area_id=poc.related_sub_area_id and poc.poll_id=pr.poll_id

1.6.3.11.3 Edit Section1.6.3.11.3.1 Action and validation SQLs

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

1 When edit

For the non repetitive poll a edit section is coming out having displayed the related area name ,related sub area name, poll/topic name.

Admin or super admin only can

190

Page 191: URS for Opinion Poll

button is clicked and that poll is of non repetitive

Here the user is authorized to give new start date and new end date

Insert into t_op_poll_configuration (repeat_start_date_time, repeat_end_date_time) values(?,?) 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”))) ) and max(repetition_no)=1? =value entered by user

edit/manipulate

2 When edit button is clicked and that poll is repetitive

For the non repetitive poll a edit section is coming out having displayed the related area name ,related sub area name,poll/topic name.Here the user is authorized to give new start date and new end date,and the user is given priority to add no of days to start date and end date

Update t_op_poll_repeat set start_date_time=start_date_time+?;

Update t_op_poll_repeat set end_date_time=end_date_time+?; ? =value entered by user

191


Recommended