Академический Документы
Профессиональный Документы
Культура Документы
for
DGLW
by
Shahida Tarannum
Submitted
in partial fulfillment of the requirements of the degree of
to the
DEPARTMENT OF MATHEMATICS
FACULTY OF NATURAL SCIENCES
JAMIA MILLIA ISLAMIA
NEW DELHI-110025
July 2007
1
GOVERNMENT OF INDIA
MINISTRY OF COMMUNICATION & INFORMATION TECHNOLOGY
This is to certify that Ms Shahida Tarannum Student ID No. 9857,a student of M.Sc.
Tech Industrial Mathematics with Computer Applications from Jamia Millia Islamia,
New Delhi has done her full-semester project training at Labour Information Systems
Division, NIC, New Delhi, from 01/03/07 to 10/07/07.
The project work entitled “Employee Management System” embodies the work
done by Ms Shahida Tarannum during her above full semester project training period.
2
ACKNOWLEDGEMENT
First of all, let me thank the Almighty God and my Parents who are the most graceful
and merciful for their blessing that Contributed to the successful completion of my
project.
I would like to take this opportunity to express my profound sense of gratitude and
respect to all those who helped me throughout the duration of this project. The Jamia
Millia Islamia, in particular has been the source of inspiration for me. I acknowledge
the effort of those who have contributed significantly to my project. I express my
sincere gratitude and thankfulness towards Prof. Mohd. Rais Khan, Head, Department
of Mathematics, Jamia Millia Islamia for his valuable time and guidance throughout
this course.
I feel privileged to offer my sincere thanks and deep sense of gratitude to Mrs.
Rachna Shrivastava, Technical Director NIC, Mrs J.R.D Kailey, Senior Technical
Director NIC, Mr. Alok Roy, Scientist D, NIC, for expressing their confidence in me
by letting me work on a project of this magnitude and using the latest technologies
and providing their support, help & encouragement in implementing this Project.
I would like to express my sincere gratitude towards all my teachers, especially Dr.
Muhammad Abulaish for their skillful Teaching, precious suggestions and
encouragements. Last but not the least I would like to mention the name of Prof.
Sharfuddin Ahmed for his tremendous helping nature. I regret any inadvertent
omissions.
Shahida Tarannum
3
ABSTRACT
This project entitled “Employee Management System” has been designed towards
improving the Management of Employee Information in the field offices of DGLW. It
maintains Seniority, Leave Records, Transfer & Postings and other basic information
of Employee. Various MIS reports can be generated through it Viz. Leave Order,
Seniority List, Vacancy Position and CR Status etc. It is a web-based application; it
will be accessed simultaneously from many field offices of DGLW. Field offices are
supposed to enter information of Employee of their region. This information is
compiled and used at Headquarter Level for MIS purposes.
The project has been an enriching experience for me in the field of programming and
Enterprise Application development. The project has been developed to fulfill the
requirements of the Employees in Labour Ministry.
The tools and technologies used for developing the software are ASP for analysis and
design phases for developing the code for the application and SQL SERVER as the
back end tool on Microsoft windows 2000 platform.
4
Table of Contents
Certificate…………………………………………………………………… I
Acknowledgement………………………………………………………….. II
Abstract……………………………………………………………………... III
List of Tables and Figures………………………………………………….. IV
1. Introduction…………………………………………………. 1
1.1 Background 1
1.2 Motivation 1
1.3 Organization 1
1.3.1 National Informatics Center 2
1.3.2 Labour information System Division 4
1.4 Realization of the Problem 4
1.5 Broad outline of work 5
2. Problem Formulation………………………………………… 6
5
3.5.3 Economic Feasibility 15
3.5.4 Legal Feasibility 15
3.6 Information Gathering 15
3.6.1 Information about Project 15
3.6.2 Information Sources 16
3.7 DFD’s 17
3.8 Processing Logic 23
3.8.1 Reports Generated by the System 24
3.8.2 Data Structures 24
3.9 Application Architecture 25
3.10 Database Architecture 27
3.11 Input Output Specification 39
3.11.1 Screen Layout 39
3.11.2 Navigation (Menu description) 39
3.11.3 Help Facilities 39
3.11.4 Error Messages 39
3.12 Choices of Tools and Technologies 39
3.12.1 ASP 40
3.12.2 ASP Programming 42
3.12.3 Parsing ASP Code 43
3.12.4 Connecting to Database 44
Annexures………………………………………………………
6
A. Sample Forms 54-91
B. Sample Reports 92-103
C. Sample code 104-126
D. List of Common Validations 127
E. Definition Glossary 128
F. Bibliography 129
7
CHAPER 1
INTRODUCTION
This section presents the background and motivation of the system that has been
designed and prototyped in this project. The section also reviews the objective of the
project.
1.1Background
The application software takes care of database and day to day operations. For the
ease of the user the web-based application is developed using ASP and SQL server in
the back .The different modules were added to the system as per DGLW Desk
requirement and are being integrated into this web-based application.
1.2 Motivation
8
1.2Organization
1.3 This section lists the name of the organization for which we designed and
prototyped this project.
At the State level, NICs State/UTs Units provide informatics support to their
respective State Government and at the District level laid the NIC District Informatics
Offices.
NIC has conceptualized, developed and implemented a very large number of projects
for various Central and State Government Ministries, Departments and Organizations.
Many of these projects are continuing projects being carried out by various divisions
of NIC at New Delhi Headquarters and State/District centres throughout the country.
9
Some of the most important note worthy projects, which offer a glimpse of the
multifaceted, diverse activities of NIC, touching upon all spheres of e-governance and
thereby influencing the lives of millions of citizens of India are given below:
• India Image
• Training
• Video Conferencing
10
1.3.2 Labour Information System Division
LISD, a unit of NIC is assisting various organizations under the ministry of Labour in
identifying the computerization needs to improve efficiency and overcome difficulties
in manual system, preparing system specifications, developing software for identified
application system and organizing training for computerized operations and their
application system. The NIC-MOL computer center in ShramShakti Bhavan is
connected to countrywide NIC network (NICNET) through communication lines.
LISD has already initiated computerized in areas of Industrial Relations, Labour
welfare, Social Security, Labour Statistics and Employment and Manpower
Information.
The Present system is manual and thus it is not user friendly. The proposed system
DGLW will be implemented as an Intranet application. The application software will
be hosted on the MOLDB (Ministry of Labour & Employment Database server) web
server located at NIC Computer Cell, Ministry of Labour, Shram Shakti Bhawan, Rafi
Marg, New Delhi. The application software will be developed in ASP, JavaScript, VB
Script and HTML. The central database is based on MS SQL Server 2000. The system
can be accessed over the Intranet connecting all the Intranet of Ministry of Labour &
Employment nodes. Clients equipped with web-browsers can access the system from
any of the Intranet Nodes.
The function of the system will be managing Employees at various field offices from
the Head Quarter .It manages information about Employees of DGLW at various
Field offices. It manages information regarding Human Resources through field
offices. So, that manpower can be monitored at Head Quarter.
11
1.5 Broad outline of work
Chapter 1> This chapter has introduced the problem along with brief description of
the project.
Chapter 2> The second chapter describes the problem formulation. What is need of
work?
Chapter 3> This chapter deals with analysis and design of the system, application of
new system, the hardware and software requirements for implementing the system
and stating the choice of the language used.
Chapter 4> This chapter discusses the implementation part of the system. The
hardware and software requirement for implementing the system have been discussed.
The operation manual and input requirement to the system have also taken up in this
chapter.
Chapter 5> This chapter deals with result and discussion of the new system, stating
interpretation of the results, importance of the work.
12
CHAPTER 2
PROBLEM FORMULATION
Introduction
13
General of Labour Welfare) has its Headquarter in Delhi and its field offices are
spread across the country. This project will help in capturing information regarding
Human Resources through field offices. So, that manpower can be monitored at Head
Quarter. For the ease of the user and for the public the existing systems were migrated
to web-based applications.
1. Employee Management
The function of the system will be managing Employees at various field offices from
the Head Quarter .It manages information about Employees of DGLW at various
Field offices. It manages information regarding Human Resources through field
offices. So, that manpower can be monitored at Head Quarter.
14
The existing system comprises of a system in which details are to be manually
handled. This is not user friendly.
It will be able to manage information about Employee in more user friendly way. This
system will manage Employees information at various field offices. User ID and
password has been given to all the field offices so that they can enter their employee’s
information into central database. Their access to the central database is restricted to
their information only. Various reports based on the data entered by employees at
field offices are generated at Head Quarter. These reports are helpful in Manpower
management decisions.
15
CHAPTER 3
3.1Defining A System
Input Output
Processing
The sequencing of various activities required for developing and maintaining systems
in an ordered form is referred as Systems Life Cycle. It helps in establishing a system
project plan as it gives overall list of process and sub-processes required for
developing any system. Here, the systems life cycle will be discussed with reference
to the development of Employee Management System.
Broadly, following are the different activities to be considered while defining the
systems development cycle for the said project:
Problem Definition
Systems analysis
16
Proposed system
Feasibility study
Systems design
Updation
Administration
Testing
Implementation
Maintenance
System analysis is a logical process; the objective of this phase is not actually to solve
the problem but to determine what must be done to solve the problem. The basic
objective of the analysis stage is to develop the logical model of the system using
tools such as the data flow diagram and elementary data description of the elementary
algorithm. The logical model is Subject to review by both the management and the
user who agree that the model does in fact reflect what should be done to solve the
problem.
System analysis is not a precise science. It is in fact more of an art, aided by scientific
approach to find definition and recording data, gathering traditional structures is only
one part of the system analysis, the next step is to examine the data, assess the
situation and looking at the alternatives.
17
A complete understanding of the requirement for the new system is very important for
the successful development of a software product. Requirement Specification is the
foundation in the process of software development .All further developments like
system analysis; designing and coding will depend on how accurate and well
documented the Requirement Specification is.
Requirement specification appears to be a relatively simple task, but appearance is
often deceiving. There is always a chance of wrong specification because of
communication gap between the user and the Developer. Requirement Specification
begins with a clear statement of the problem and the task to be performed. Then the
requirement is described in a technical manner in precise statements. After the initial
specification reports are received, they are analyzed and redefined through customer
interaction.
It will be able to manage information about Employee in more user friendly way. This
system will manage Employees information at various field offices. User ID and
password has been given to all the field offices so that they can enter their employee’s
information into central database. Their access to the central database is restricted to
their information only. Various reports based on the data entered by employees at
field offices are generated at Head Quarter. These reports are helpful in Manpower
management decisions.
18
Buttons will be used to insert, retrieve or modify the
data.
An Internet Web Server, running IIS, in this case Windows 2000 advanced server is
used to host the application. The application software, Employee Management, is
developed in ASP, JavaScript, and HTML. The backend database is MS SQL Server
2000. The Client systems with internet facility equipped with web browser will be
able to access the system
It is advisable to have weekly data backups. The system administrator will do the data
recovery. Selection of panel is user-initiated operation, while indent handling is client
initiated
3.4 Constraints
19
2) Recovery of data after a system crash will be possible
only if backups are taken at regular intervals.
Constraints of the Internet & Intranet will be applicable to the system. The
performance of the system will be dependent on the network conditions like network
congestion, bandwidth etc. The primary memory (RAM) and the secondary memory
(Hard Disk Space) requirement of the system at the client end will be the same as that
required by the web browser and the operating system. At the server end memory
requirements will be that of the server software (Operating system, Database
Software, etc) and the space required to store the data. The space required to store the
data would increase as more and more records are added to the system.
User will be authenticated by the use of username and passwords. This does not
Provide complete security and the system could be hacked into. Use of secure Socket
Layer (SSL) is recommended. Use of SSL prevents any unauthorized access as all
communications are encrypted. Valid Digital Certificates are required for this at the
server end and the client web browser should have support for SSL.
20
1. It is assumed that the user is
familiar with the basic computer
fundamentals.
The main objective of the feasibility study is to treat the technical, Operational,
logical and economic feasibility of developing the computerized system. All systems
are feasible, given unlimited resources and infinite time. It is both necessary and
prudent to evaluate the feasibility of the project at System study phase itself. The
feasibility study to be conduced for this project Involves.
1. Technical Feasibility
21
2. Operational Feasibility
3. Economic Feasibility
4. Logical Feasibility
In the existing manual system it is very difficult to maintain and update huge amount
of information. The development of the system was started because of the
requirement put forward by the management of the concerned department. This
system, will handles the request in a better way and make the process easier thus, it is
sure that the system developed is operationally feasible.
In the economic feasibility the development cost of the system is evaluated weighing
it against the ultimate benefit derived from the new system. It is found that the
benefit, from the new system would be more than the cost and time involved in its
development.
In the legal feasibility it is necessary to check that the software we are going to
develop is legally correct which means that the ideas which we have taken for the
proposed system will be legally implemented or not. So, it is also an important step in
feasibility study.
22
We have taken an approach of gathering information with sensitivity and precautions.
During the analysis, we collected whole information from “Mr. Alok Roy”, Scientist
‘D’, NIC, and staff members of the DGLW, Labour ministry, New Delhi.
1. Reports
2. Personal staff
3. System Documentation
4. Trainees
5. Existing System
23
3.7 DFD
Login form
user usertable
userlevel
Username,pas
sword Allocating
particular
menu
Menuorder,
menugroup,
menutitle,
menulink,
userlevel itemorder
loginform
Verifying
user menutable
Username,pas
sword
24
DFD of Leave
form
Emp_name,
Emp_ID
Finding
Emp_name,Emp_ID particular Updating
entry entry
Emp_name,
Emp_ID
Listing Type,fro Type, From, To,
Leave m,to,Re Reason
Details marks,D
ate Employee
Adding new
entry
User
DFD of Transfer
25
Emp_ID
Region,prev_Regi
on,prev_statn,
Employee_ID Finding
particular Updating
entry entry
Prev_regn,
Prev_statn
Select 1
Region
Region
Employee Posting
Adding new
entry
User
1.Emp_name,Prev_Region,Prev_stat
Dfd of form Employee
ion,new_Region,new_designation,D
ate
26
Region,
Designation
Update
Find particular
Designation,
particular entry
Region
entry
1
Listing
Designatio
n GnrlCode Employee
1
Region,
Designation
Adding new
entry
User
1.
Emp_ID,name,seniority,dob,Desig,post,
basic.file_no,category,station,dt_posting,d
t_presentstn,dt_entry,postname,qualificati
on,description,remarks,increment,perm/te
mp,dt_comfirmation,dt_leaving,reason_le
aving
27
Region,
Station,
DFD of Vacancyposition Designation
Station VacancyPosition
Listing
Station 1
User
1.
Date,Sanction_perm,Sanctioned_temp,fillperm_R,fillperm_T
,fillperm_A, fillperm_C ,filltemp_C,filltemp_A,Remarks
28
DFD of EmployeeCR
Region,Station,
Emp_name,Emp_I
Region, D
Station, Update
Emp_name Find EmployeeCR
, particular entry
Emp_ID EmployeeC
R entry
Listing Emp_ID,Cry
Employee ear,Received,
s remarks
EmployeeCR
Emp_ID,E Employee
mp_name
Emp_ID,Cry
ear,Received,
remarks
Add new
entry of
EmployeeC
R
User
29
3.8 Processing Logic
The Employee Management System has been designed and developed for various
field offices of DGLW to capture the information about human resources. Various
details about the Employee is entered in the system with all details like Employee
name, Designation, Date of birth, Station, Region, seniority, etc. There are some
major activities which is taking care by the Employee Management System.
All of the Employee record such as his name, designation, Region of posting,
station of posting, his salary detail, seniority level, date of joining, qualification etc.,
is entered into the computerized system by the Employees at various Regional
Offices.
This file contains the information regarding Vacancy Position at various regional
offices. Such as station, sanctioned strength, number of permanent filled posts,
number of temporary filled posts etc,
This file stores multiple information of Employee. Each employee has a separate
record regarding his basic information such as his designation, region of posting
,basic salary, seniority level, DOB, date of joining, date of retirement, qualification
etc.,.
On giving these details, some reports and queries are generated by the system.
30
3.8.1 Reports Generated by the System
The Database DGLW contains the tables that contain the information related to
system and the data needed to run the software. The tables are discussed in detail:
5. Employee : contains all the information about employee regarding his date
of joining, seniority, posting region and all other
31
11. Leo : Table contains basic information about
Employee
Most of the user’s database system today is not present at user premises, but clients
connect to it through a network. We can therefore differentiate between client and
server machine. In our system the information about personnel and post exist in the
central database. But it need to be accessed from DGLW offices all over India so that
employees can view, enter or modifies their personal information through their user-id
and password. This can be done only through web based application architecture, as
shown in the next page.
32
User
Application
Client (Employees)
Application Server
Database System
33
34
Tables used:
35
Fig: 3.3 Table: Defaults
36
Fig: 3.5 Table: Employee
37
Fig: 3.7 Table: GnrlCode
38
Fig: 3.9 Table: Leave
39
Fig: 3.11 Table:LEO
40
Fig: 3.13 Table:Posting
41
Fig: 3.15 Table: SectionPosting
42
Fig: 3.17 Table: StatusLeave
43
Fig: 3.19 Table: VacancyPosition
44
45
46
3.11 Input / Output Specification
From the DGLW Portal the user will login by given userID and password in the login
dialogue box. After user validation the system will display the customized home page
and menu options depending upon user roles and access permissions.
Document has user manual to the user separately. On line User Manual has not been
planned yet.
3.11.5Error Messages
Suitable error messages should be flashed on error arising from Data inputs, which is
easily understood by the user.
Introduction
Technologies and tools are strongly related to the approach of software development.
What the tools can or cannot do significantly impact what principles that can be used,
as well as what objectives that can be fulfilled. While selection of a particular
methodology may imply use of certain tools, the tools themselves often leave
significant room for developers to choose how to use them. The selection has
47
therefore been based mainly on the objectives of the project, while the methodologies
were selected after the tools were selected, due to the fact that technologies and tools
poses certain restrictions of how development can be done.
3.12.1 ASP
ASP stands for Active Server Pages, and it is Microsoft's implementation of server-
side scripting. In short, this server-site scripting basically means that a script is parsed
and executed by the server. When a user requests a web-page containing ASP, the
web-server will parse code and send the result to the user, so the ASP code will never
reach the user's browser. This is the exact opposite of JavaScript.
You don't need to be a programmer to understand ASP, but you should have some
HTML knowledge, as the actual design of the web page will require it.
To use ASP scripts, you must have installed Microsoft's IIS (Internet Information
Services), which is a web-server included in Windows 2000 and Windows XP
Professional. It is also a part of the Windows NT 4.0 Option Pack, which can be
downloaded from Microsoft's web-site. If IIS is not already installed on your
computer, you can install it using the Add/Remove Programs section within the
Windows Control Panel. The ASP engine is included within IIS, so you won't have to
download it and install it separately. You must have Windows NT 4.0 or later to run
IIS, so if you use Windows 98 you should install PWS (Personal Web Server), which
is the smaller brother of IIS.
You can use ASP code to do a lot of things: dynamically edit, change or add any
content to a web-page, access and query databases, read or write files, connect to
remote computers, create images - the only limit is your imagination. The most
obvious difference from HTML files is that ASP files have the extension ".asp", but
this doesn't mean that you need to separate the ASP code from the HTML code in
different files; you can use one file which will include both HTML and ASP code.
The web-server won't mind at all, it will parse the ASP code and forget about the
HTML code. Depending on your ASP code, the web-server will output some HTML
instead of the ASP code, so the web-browser will only see HTML.
This provides a higher level of security, because nobody will be able to view your
ASP code, and copy it and use it on their own web-page. Furthermore, you don't need
48
any extra components for your web-browser, because the ASP files are returned in
plain HTML, so they can be viewed in any web-browser.
In case you don't have Windows, you should know that some companies also didn't
like the fact the ASP was only available for Windows platforms, so they decided to
adapt ASP to other operating systems. So they created technologies like Chili ASP
and iASP, which allow you to take advantage of the ASP technology while using
other web-servers, not just IIS. And because other web-servers run on many operating
systems - like Apache web-server - this extends the ASP technology too, so it can run
on other operating systems.
49
Windows NT4/95 -You can get hold of IIS by downloading the NT4 Option
Pack from Microsoft (don't be fooled by the name as it also runs on Windows
95).
Windows ME - IIS and PWS are not supported on this operating system.
Windows XP Home Edition - IIS and PWS are not supported on this
Active Server Pages (ASP) programming is writing code to facilitate ASP functionality
on websites. Such functionality includes the delivery of dynamic, database-driven
content to website viewers without taxing the server-side system. ASP programming
involves writing ASP files and HTML files. The ASP code is placed within the HTML
pages, enclosed in special tags. When you need to make changes in the ASP
programming code, you need change only the ASP files; the HTML files, which do
nothing but go and get the ASP files' coding, need not be changed.
ASP files have a file extension of .asp, much like HTML files have file extensions of
either .htm or .html. The HTML files that contain the ASP instructions enclose those
instructions within tags that look like this: Notice that unlike HTML, the ASP ending
tag does not include a slash. To send the results of an ASP instruction directly to a
browser, you add an equal’s sign: <%=.
ASP programming involves scripting in Visual Basic Script, Jscript, Perl, Python, or
other languages. Certain modifications are necessary, but the programmer who has
written code in these other languages will find ASP programming to be familiar
indeed. The two languages that work the best for ASP programming are VBScript and
Jscript.
One common use of ASP programming is to gather data from the user and display it
at another time. For example, you can use ASP programming to query the user to type
in his or her name and then display that name on subsequent pages during the user's
visit. Once the name is input, the ASP programming protocols transfer that data to the
requisite database, from which it can be accessed by other HTML pages that contain
the coding guiding such requests. Such data requests and displays can be as complex
as you want to make them.
50
Written data isn’t the only thing that can be uploaded to your website using ASP
programming. You can design forms that allow users to upload image files to your
site as well. Real estate websites are perfect examples of sites that can take advantage
of this functionality.
ASP programming also comes in handy when your HTML pages and what they
display involve accessing large databases containing tons of data. In this case, you
will really appreciate the benefits of not having to change HTML files when you
update the parameters of your databases. ASP programming makes this process
simple.
In order to correctly parse (process) a selection of ASP code, no matter how long and
complex, you need a HTTP web server.
Generally, ASP pages run under Microsoft’s Internet Information Server (IIS), which
comes as an optional installation from the Windows 2000 and XP Professional CD's.
Windows 98 includes a cut down version of IIS called Personal web server (PWS)
The ASP parsing is enabled via the ASP DLL. This enables any piece of code
encased within the ASP tags (<% and %>) to be parsed as ASP. The rest of the
HTML page will be untouched and processed by the web browser client side.
ASP can be embedded within HTML. The example below shows how you would
create a table and place a simple date function to return the current date and time.
<table cellspacing="2">
<tr>
<td>
</tr>
</table>
51
3.12.4 Connecting to a Database
One of the major features of ASP is database connectivity. ASP can be used to
connect primarily to Microsoft Access or SQL Server database. an ASP script can
contain Structured query language (SQL) statements to insert, delete and update
records within a database (to name just a few) For example:
A database connection is done via a connection string in the ASP source code. There
are two ways this is generally done, one is using a data source name (DSN) and the
other is using a DSN-Less connection string, which instead can use the
Server.MapPath method or physical pathname to locate the database.
<%
strConnection = "MyDSN"
'Open database
%>
DSN's are created using the ODBC data source administrator. This can be found in
your system32 folder or within control panel. When you set up a data source name
you are required to input the data source name, plus the database that it connects to
and the path of that database. A user ID and password are also necessary, which is
what will be within the two "", "" parameters in the dbase.Open line.
52
<%
dim dbasepath
dim provider
dbasepath = Server.MapPath("db\shoutdb.mdb")
provider = "Microsoft.Jet.OLEDB.4.0"
%>
If you wanted to enter a physical path, the Server.MapPath method could be removed
and in its place, something like "C:\somefolder\somedatabase.mdb". In order to create
a path to the database, Server.MapPath maps the path back to web server root that the
pages are running on, via the directory you have specified.
It's advantageous to keep a connectionstring in an external file and include it using the
<! -- #include file="file.asp" --> method.
53
CHAPTER 4
This section introduces the concept of testing and how important is, for the successful
implementation of the project. Different phases of testing are described along with the
level of testing incorporated in this particular project.
Testing is vital to the success of any system. Testing is done at different stages within
the phase. System testing makes a logical assumption that if all phases of the system
are correct, the goals will be achieved successfully. Inadequate testing at all leads to
errors that may come up after a long time when correction would be extremely
difficult. Another objective of testing is its utility as a user-oriented vehicle before
implementation. The testing of the system was done on both artificial and live data.
Typically, the project team includes a mix of testers and developers who work closely
together, with the overall QA processes being monitored by the project managers.
Also known as functional testing, this is a software testing technique whereby the
tester does not know the internal working of the item being tested. Black-box test
design treats the system as a “black-box”, so it does not explicitly use knowledge of
the internal structure. Black-box test design is usually described as focusing on testing
functional requirements. Synonyms for black-box includes: behavioral, functional,
opaque-box and closed-box.
54
4.2.2 White Box Testing
White box test design allows one to peek inside the “box”, and it focuses specifically
on using internal knowledge of the software to guide the selection of test data.
Synonyms for white-box include: structural, glass-box and clear-box.
An improvement over White-box testing, the process of condition testing ensures that
a controlling expression has been adequately exercised whist the software is under test
by constructing a constraint set for every expression and then ensuring that every
member on the constraint set is included in the values whish are presented to the
expression
It is based upon the consideration that in the software code, a variable is at some stage
created, and subsequently may have its value changed or used in a controlling
expression several times before being destroyed. If only locally declared Boolean
used in control conditions are considered then an examination of the sources code will
indicate the place in the source code where the variable is created, places where it is
given a value is used as a part of a control expression and the place where it is
destroyed.
This approach to testing requires all possible feasible lifecycles of the variable to be
covered whilst the module is under test.
The purpose of this phase is to test the individual units of the developing software
component. This phase is recursive and is to be repeated, as many as there are, levels
of testing. In the DGLW project, each individual form has been tested using
techniques of testing namely: Client side testing using JavaScript.
Each individual form has been validated so that user enters only valid data at every
time.
55
4.2.6 Functional Testing:
This is done for each module / sub module of the system. Functional testing serve as a
means of validating whether the functionality of the system Confers the original user
requirement i.e. does the module do what it was supposed to do? Separate schedules
were made for functional testing. It involves preparation of the test data, writing of
test cases, testing for conformance to test cases and preparation of bugs listing for
non-conformities.
System testing is done when the entire system has been fully integrated. The purpose
of the system testing is to test how the different modules interact with each other and
whether the entire system provides the functionality that was expected.
a) Program Testing
b) String Testing
c) System Testing
d) System Documentation
Level 1
Level 2
At this level a test data is prepared for testing. Project leaders test the system on this
test data keeping the following points into consideration:
56
● Exit Pints in code
● Exception handling
Here the testing is done on the live database. If errors are detected then it is sent back
to LEVEL 1 for modification otherwise it is passed on to LEVEL 3.
This is the level at which the system actually becomes live and implemented for the
use of END USERS.
A forced system failure is induced to test a backup recovery procedure for file
integrity. Inaccurate data are entered to see how the system responds in terms of error
detection and protection. Related to file integrity is a test to demonstrate that data and
programs are secure from unauthorized access.
The usability test verifies the user-friendly nature of the system. This relates to normal
operating and error-handling procedures.
Proper documentation is must for mainframe of any software. Apart from In-line
documentation while coding. Help coding, help files corresponding to each program
were prepared so as to tackle the person-dependency of the existing system.
57
4.5 System Implementation
1. The Hardware
3. Operating system
Too many packages should not be used, as very few systems may have all those
packages installed due to memory problem. Thus, the compatibility of the system
developed will get reduced.
Intel Pentium processor at 500 MHz or faster, minimum of 364 MB available disk
space for installation (including IBM SDK), minimum of 256 MB memory,512 MB
recommended, CD-ROM drive.
58
4.7 Installation
The Application installation scripts have to be generated from the current server
where the application source code is saved and installed in the main server from
where the application is to be run. This was done using a special code, which
generates all SQL-Statements to insert preliminary data (like menu entries, code in
code directories etc) at server and the operational modules of the application made
available to the end users successfully.
4.8 Implementation
The system is still under construction few reports are yet to me made after that this
system will be implanted at client side. Users will be given a training to use the
package and special workshops are conducted by the NIC for the purpose. And
according to their feedback the changes are implanted in the software.
59
CHAPTER 5
This section discuses the result of the work done in this project And also mentions the
future scope for improvement.
Conclusion
Today we are at the cross roads of innovation. The right direction to take will only
evolve with time, but effort has to be taken seriously by everyone involved in
education; the school/University, administration, faulty, students and parents.
By designing the “Directorate General of Labour Welfare” through ASP server side
technology, we are able to provide the basic functionality related to the submission
activities with great ease. The use of ASP technology has made it easier to design and
develop the n-tired architecture of this application. We were using the Microsoft
Software Development Platform for the development of this project, which had given
a complete, tight and integrated approach for the process of design and development
of this project.
Hence we may conclude that the application system being developed helps a great
deal in modifying the computerized DGLW.
The “Employee Management System for DGLW” is a big and ambitious project. I am
thankful for being provided this great opportunity to work on it. As already
mentioned, this project has gone through extensive research work. On the basis of the
research work, we have successfully designed and implemented Employee
Management System. This system is based upon 3-tier client server architecture. The
tools used for development were as follows.
60
Front-end-----ASP, JavaScript, VBScript, HTML, DHTML
Query Language----PL/SQL
61
Fig: 5.2 After login this form will be shown from where we will have to choose
from the menu.
62
Fig: 5.3 After login this form will be shown from where we will have to choose
from the menu.
63
Fig: 5.4 On clicking on Employee form these designation will be listed and on
choosing a particular designation all the employees at that designation on the region
through which a person has entered will be listed
64
Fig: 5.5 On choosing a designation a employee record at the designation will be
listed like this also mentioning the total number of person at that designtion
65
Fig: 5.6 On clicking the “New Information” on the top and bottom of the “State
Wise Employee Information” “Employee form” will be loaded
66
Fig: 5.7 While on clicking on the information in the Station Wise Employee
Information list then the “Employee form” will be loaded taking all the information
from the Table “Employee”
67
Fig: 5.8 On clicking on the Posting Button this list of Postings at various
station will appear if it already have, also on clicking on the “New Information” link
on the left side of for posting to the New Region can be assigned to the employee
through whose record we have entered
68
Fig: 5.9 This will make one select the particular Region for the Posting
69
Fig: 5.10 On selecting the Region the above form will be loaded, now the
station, designation, and duration of the position will be chosen through this form
70
Fig: 5.11 Now when the new posting has been assigned to the person that data
will be inserted and form will be closed
71
Fig: 5.12 The record inserted above is listed here in the posting information form
72
Fig: 5.13 On clicking on the Transfer Button in the Employee form this page
will be loaded giving information about his previous station and allowing the user to
assign him new Region and Station and the date for the Transfer
73
Fig: 5.14 After inserting the Region for the Transfer this form will be loaded
listing Employee’s previous Region, Station and Region selected through previous
form, then through this form Station for the Employee for the Transfer will be
selected
74
Fig: 5.15 On clicking the Leave Button on Employee form this form will be
loaded listing all the leaves taken by Employee their type and duration
75
Fig: 5.16 On clicking on New Information on the left of the Leave Information
form this form will be loaded where leave record can be entered
76
Fig: 5.17 On clicking on the Vacancy Position form this form will be loaded
listing particular station for the Region through which user has login
77
Fig: 5.18 Now allowing user to select the particular station
78
Fig: 5.19 On selection the Station all the designation on that station will be listed
from the table Vacancy Position
79
Fig: 5.19 Each designation has a link containing information about the
Employee at that designation
80
Fig: 5.20 On clicking the particular designation this form will be loaded bringing
all the information regarding Vacancy Position about the Employee at designation
81
Fig: 5.21 On clicking on the New Button this form will be loaded
82
Fig: 5.22
83
Fig: 5.23 On clicking the “New Information” link this page will be loaded with
Region and Station fixed
84
Fig: 5.24 New form allow user to insert a new information on the particular
Region and station
85
Fig: 5.25 On inserting the above information this form will be loaded like this
i.e., the designation inserted will be printed now and editing on the other field can be
performed
86
Fig: 5.26 This is a login form, if user is not from regional area but is from
Administration he will have User ID and Password other than that of user from
Regional areas
87
Fig: 5.27 After this login this page will be loaded here the user will have both
Region and Station to select, user can access any region and station
88
Fig: 5.28 Now again after entering the Region and Station this form will be
loaded
89
Fig: 5.29 User can access other Region and Station as well
90
Fig: 5.30 After selecting the Region and Station this page will be loaded listing
all the designation at that station
91
Fig: 5.31 On clicking the EmloyeeCR form from the menu this form will be
loaded listing all the station of the Region through which User has login
92
Fig: 5.32 On selecting the Station this page will be loaded bringing name and
designation of all the Employees at the station
93
Fig: 5.33 On clicking the Employee’s Name this page will be loaded listing
information about his CR year and whether it is received or not
94
Fig: 5.34 On clicking the “New Information” on the left this form will be loaded
with the Employee’s name
95
Fig: 5.35 On clicking the Employee’s name in the list above this form will be
loaded with the information about Employee’s CR year this info can be edited and
saved
96
Fig: 5.35 On clicking on the Leave on the Menu this form will be loaded letting
to choose the designation, for the designation entered here the leave information will
be listed
97
Fig: 5.36 On selecting designation through previous form this form will be
loaded listing Balance leaves of the employee
98
Annexure B: Reports
Fig: 5.37 On clicking on the List Region Repots in the menu this page will be
loaded, select the region through this list
99
Fig: 5.37 For the Region entered above report listing all the data in table
“VacancyPosition” will listed regarding sanctioned strength for various designation at
various Region and Station
100
Fig: 5.38 On selecting list Designation from the Menu this page will be loaded,
select the Designation through this list
101
Fig: 5.39 All the information as entered in the table Vacancy Position for the
selected designation will be listed
102
Fig: 5.40 On selecting list vacancy Region from the menu this page will be
loaded
103
Fig: 5.41 Then for the selected Region, list of all the vacancy position for the
various designation at the various station of the selected Region will be listed
104
Fig: 5.42 On selecting vacancy Region from the menu this page will be loaded
105
Fig: 5.43 This page will list vacancy position for the various designation at each
Region and Station
106
Fig: 5.44 On selecting list VacancyRegionDesign this page will be loaded
107
Fig: 5.45 This page asks the user to select the Region from the list
108
Fig: 5.46 For the selected Region, Designation record at the region will be listed
109
Fig: 5.47 On choosing particular Designation all the information regarding
vacancy position for that designation at selected Region will be listed
110
Annexure C- Sample code:
frmEmployee.asp
<--#include File="../Library/FunctionLibrary.asp"-->
<%
Dim rsFrm, TableName, RedirectURL, frmMode
Dim cID, cName, cSex, cDOB, cDesignation, cPerFileNo, cCategory, cDtGovt,
cDtService, cPlacePosting
Dim cQualification, cQualDesc, cDtLeaving, cTypeLeaving, cRemarks, cRegion,
cStation, cSeniority
Dim cBasicPay, cPostType, cDtPost, cUPSCDt, cUPSCNo1, UPSCNo2,
cEntryMode, cPresentStatus, cPost, cDtPostHeld, cHomeTown
Dim cIncrMonth, cIncrYear
TableName = "Employee"
cRegion=request("Region")
RedirectURL = "frmRegionDesig.asp"
Request.Form("SubmitAction")
111
Response.Write "New Form"
cRegion=Request.Form("Region")
case "Insert"
GetValuesFrom "Form"
frmInsert()
Case "Save"
GetValuesFrom "Form"
frmUpdate()
case "Delete"
GetValuesFrom "Form"
frmDelete()
case "Search"
GetValuesFrom "Form"
frmSearch()
case "Refresh"
GetValuesFrom "Form"
frmFind()
case "Close"
frmClose()
case else
select case cstr(Request.QueryString("frmAction"))
case "Find"
cID = Request("ID")
frmFind()
case else
frmMode="New"
GetValuesFrom "Default"
Response.Write "New Form"
cRegion=Request.QueryString("Region")
cDesignation=Request.QueryString("Designation")
end select
end select
sub frmInsert()
insert=True
112
if (Not checkdate(cDOB)) then
insert=False
if (len(trim(cSeniority))>0) then
strSql = strSql & " Seniority, "
end if
if (len(trim(cStation))>0) then
strSql = strSql & "Station, "
end if
if (isNumeric(cBasicPay)) then
strSql= strSql & " BasicPay, "
end if
if (len(trim(cDtGovt))>0) then
strSql= strSql & "DtGovt,"
end if
if (len(trim(cDtService))>0) then
strSql = strSql & " DtService,"
113
end if
if (len(trim(cDtPost))>0) then
strSql= strSql & " DtPost,"
end if
if (len(trim(cIncrYear))>0) then
strSql = strSql & " IncrYear, "
end if
if (len(trim(cIncrMonth))>0) then
strSql = strSql & " IncrMonth, "
end if
if (len(trim(cDtLeaving))>0) then
strSql=strSql & " DtLeaving, "
end if
if (len(trim(cDtPostHeld))>0) then
strSql = strSql & " DtPostHeld,"
end if
if (len(trim(cUPSCDt))>0) then
strSql = strSql & " UPSCDt,"
end if
114
if (len(trim(cSeniority))>0) then
strSql = strSql & cSeniority & ", "
end if
if (len(trim(cStation))>0) then
strSql = strSql & cStation & ", "
end if
strSql = strSql & "'" & cSex & "', "
if (len(trim(cDOB))>0) then
strSql = strSql & "'" & DateMMDDYYYY(cDOB) & "', "
end if
if (IsNumeric(cBasicPay)) then
strSql = strSql & "" & cBasicPay & ", "
end if
if (len(trim(cDtGovt))>0) then
strSql = strSql & "'" & DateMMDDYYYY(cDtGovt) & "', "
end if
if (len(trim(cDtService))>0) then
strSql = strSql & "'" & DateMMDDYYYY(cDtService) & "', "
end if
if (len(trim(cDtPost))>0) then
strSql = strSql & "'" & DateMMDDYYYY(cDtPost) & "', "
end if
115
if (len(trim(cIncrYear))>0) then
strSql = strSql & "'" & cIncrYear & "', "
end if
if (len(trim(cIncrMonth))>0) then
strSql = strSql & "'" & cIncrMonth & "', "
end if
if (len(trim(cDtLeaving))>0) then
strSql = strSql & "'" & DateMMDDYYYY(cDtLeaving) & "', "
end if
if (len(trim(cDtPostHeld))>0) then
strSql = strSql & "'" & DateMMDDYYYY(cDtPostHeld) & "', "
end if
if (len(trim(cUPSCDt))>0) then
strSql = strSql & "'" & DateMMDDYYYY(cUPSCDt) & "', "
end if
116
set rsFrm = Server.CreateObject("ADODB.Recordset")
Response.Write strSql
rsFrm.open strSql, EmployeeConn
sub frmUpdate()
strSql ="Update Employee set "
strSql = strSql & "Name = '" & cName & "', "
if (len(trim(cSeniority))>0) then
strSql = strSql & "Seniority =" & cSeniority & ", "
end if
strSql = strSql & "Region =" & cRegion & ", "
strsql = strSql & "Station =" & cStation & ", "
strSql = strSql & "Sex = '" & cSex & "', "
if (len(trim(cDOB))>0) then
strSql = strSql & "DOB = '" & DateMMDDYYYY(cDOB) & "', "
end if
strSql = strSql & "Designation = '" & cDesignation & "', "
if (isNumeric(cBasicPay)) then
strSql = strSql & "BasicPay = " & cBasicPay & ", "
end if
strSql = strSql & "PerFileNo = '" & cPerFileNo & "', "
strSql = strSql & "Category = '" & cCategory & "', "
if (len(trim(cDtGovt))>0) then
strSql = strSql & "DtGovt = '" & DateMMDDYYYY(cDtGovt) & "', "
end if
117
if (len(trim(cDtService))>0) then
strSql = strSql & "DtService = '" & DateMMDDYYYY(cDtService) & "', "
end if
if (len(trim(cDtPost))>0) then
strSql = strSql & "DtPost = '" & DateMMDDYYYY(cDtPost) & "', "
end if
if (len(trim(cIncrAmount))>0) then
strSql = strSql & "IncrYear = '" & cIncrYear & "', "
end if
if (len(trim(cIncrMonth))>0) then
strSql = strSql & "IncrMonth = '" & cIncrMonth & "', "
end if
if (len(trim(cIncrYear))>0) then
strSql = strSql & "IncrYear = '" & cIncrYear & "', "
else
strSql=strSql & "IncrYear='', "
end if
strSql = strSql & "PostType = '" & cPostType & "', "
strSql = strSql & "Qualification = '" & cQualification & "', "
strSql = strSql & "QualDesc = '" & cQualDesc & "', "
if (len(trim(cDtLeaving))>0) then
strSql = strSql & "DtLeaving = '" & DateMMDDYYYY(cDtLeaving) & "', "
end if
strSql = strSql & "TypeLeaving = '" & cTypeLeaving & "', "
strSql = strSql & "Remarks = '" & cRemarks & "', "
strSql = strSql & "Post = '" & cPost & "', "
118
if (len(trim(cDtPostHeld))>0) then
strSql = strSql & "DtPostHeld = '" & DateMMDDYYYY(cDtPostHeld) & "', "
end if
if (len(trim(cUPSCDt))>0) then
strSql = strSql & "UPSCDt= '" & DateMMDDYYYY(cUPSCDt) & "', "
end if
strSql = strSql & "UPSCNo1= '" & cUPSCNo1 & "', "
strSql = strSql & "UPSCNo2= '" & cUPSCNo2 & "', "
strSql = strSql & "EntryMode= '" & cEntryMode & "', "
strSql = strSql & "HomeTown= '" & cHomeTown & "', "
strSql = strSql & "PresentStatus= '" & cPresentStatus & "'"
strSql = strSql & " where Id = " & cID
set rsFrm = Server.CreateObject("ADODB.Recordset")
'Response.Write strSql
rsFrm.open strSql, EmployeeConn
Response.Redirect "frmEmployee.asp?frmAction=Find&ID=" & cID & "&Region="
& cRegion
end sub
sub frmDelete()
strSql = "Delete from Employee where ID =" & cID
set rsFrm = Server.CreateObject("ADODB.Recordset")
rsFrm.open strSql, EmployeeConn
'Response.Redirect "frmEmployee.asp?frmAction=New" & "&Region=" & cRegion
Response.Redirect "Region=" & cRegion & "&Designation=" & cDesignation
end sub
sub frmClose()
Response.Redirect RedirectURL & "?userName=" & session("gUserId")
end sub
119
sub frmTransfer()
Response.Redirect "frmRegion.asp?ID=" & cID & "&Region=" & cRegion &
"&Station=" & cStation & "&Designation=" & cDesignation
end sub
sub frmPosting()
Response.Redirect "../List/lstPosting.asp?ID=" & cID & "&Region=" & cRegion &
"&Station=" & cStation
end sub
sub frmLeave()
Response.Redirect "../List/lstLeave.asp?ID=" & cID & "&Region=" & cRegion &
"&Station=" & cStation
end sub
sub frmFind()
set rsFrm = Server.CreateObject("ADODB.Recordset")
strSql = "Select * from Employee where ID=" & cID
rsFrm.Open strsql, EmployeeConn
GetValuesFrom "Table"
rsFrm.close
end sub
120
cDtService = Request.Form("DtService")
cDtSection = Request.Form("DtPost")
cPost = Request.Form("Post")
cPostType = Request.Form("PostType")
cDtPostHeld=Request.Form("DtPostHeld")
cPlacePosting = Request.Form("PlacePosting")
cQualification = Request.Form("Qualification")
cQualDesc = Request.Form("QualDesc")
cHomeTown = Request.Form("HomeTown")
cDtLeaving = Request.Form("DtLeaving")
cTypeLeaving = Request.Form("TypeLeaving")
cRemarks = Request.Form("Remarks")
cRegion = Request.Form("Region")
cStation= Request.Form("Station")
cSeniority = Request.Form("Seniority")
cBasicPay=Request.Form("BasicPay")
cDtPost=Request.Form("DtPost")
cUPSCDt=Request.Form("UPSCDt")
cUPSCNo1=Request.Form("UPSCNo1")
cUPSCNo2=Request.Form("UPSCNo2")
cEntryMode=Request.Form("EntryMode")
cPresentStatus=Request.Form("PresentStatus")
cIncrMonth = Request.Form("IncrMonth")
cIncrYear=Request.Form("IncrYear")
case "Table"
cId = rsFrm("Id")
cName = rsFrm("Name")
cSex = rsFrm("Sex")
cDOB = rsFrm("DOB")
cDesignation = rsFrm("Designation")
cBasicPay = rsFrm("BasicPay")
cPerFileNo = Trim(rsFrm("PerFileNo"))
cCategory = rsFrm("Category")
cDtGovt = rsFrm("DtGovt")
cDtService = rsFrm("DtService")
121
cDtSection = rsFrm("DtPost")
cPost = rsFrm("Post")
cDtPostHeld=rsFrm("DtPostHeld")
cPostType = rsFrm("PostType")
cQualification = rsFrm("Qualification")
cQualificationDesc = rsFrm("QualificationDesc")
cHomeTown = rsFrm("HomeTown")
cDtLeaving = rsFrm("DtLeaving")
cTypeLeaving = rsFrm("TypeLeaving")
cRemarks = rsFrm("Remarks")
cRegion = rsFrm("Region")
cStation= rsFrm("Station")
cSeniority = rsFrm("Seniority")
cDtPost=rsFrm("DtPost")
cUPSCDt=rsFrm("UPSCDt")
cUPSCNo1=rsFrm("UPSCNo1")
cUPSCNo2=rsFrm("UPSCNo2")
cEntryMode=rsFrm("EntryMode")
cPresentStatus=rsFrm("PresentStatus")
cIncrMonth=rsFrm("IncrMonth")
cIncrYear= rsFrm("IncrYear")
case else
cName = ""
cSex = ""
cDOB = ""
cDesignation = ""
cPayScale = ""
cPerFileNo = ""
cCategory = ""
cDtGovt = ""
cDtService = ""
cDtSection = ""
cPost=""
cPlacePosting = ""
cPostType = ""
122
cQualification = ""
cQualDesc = ""
cHomeTown = ""
cDtLeaving = ""
cTypeLeaving = ""
cRemarks = ""
cRegion=Request.QueryString("Region")
cIncrMonth=""
cIncrYear=""
end select
end sub
%>
<HTML>
<Head>
<Title>Employee Details</Title>
<!--#include File="../Library/JavaLibrary.asp"-->
<SCRIPT language="JavaScript">
<!--
function checkDOB()
{
if (document.frmName.DOB.value == "") {
alert("Blank Date!, Date format is 'DD/MM/YYYY'");
//document.frmName.CGITReceivedDate.focus();
}
else {
if(!DateValid(document.frmName.DOB.value)) {
//document.frmName.CGITReceivedDate.focus();
}
}
}
function checkDtService()
{
if (document.frmName.DtService.value == "") {
123
alert("Blank Date!, Date format is 'DD/MM/YYYY'");
//document.frmName.CGITReceivedDate.focus();
}
else {
if(!DateValid(document.frmName.DtService.value)) {
//document.frmName.CGITReceivedDate.focus();
}
}
}
function checkDtGovt()
{
if (document.frmName.DtGovt.value == "") {
alert("Blank Date!, Date format is 'DD/MM/YYYY'");
//document.frmName.CGITReceivedDate.focus();
}
else {
if(!DateValid(document.frmName.DtGovt.value)) {
//document.frmName.CGITReceivedDate.focus();
}
}
}
function checkDtPost()
{
if (document.frmName.DtPost.value == "") {
alert("Blank Date!, Date format is 'DD/MM/YYYY'");
//document.frmName.CGITReceivedDate.focus();
}
else {
if(!DateValid(document.frmName.DtPost.value)) {
//document.frmName.CGITReceivedDate.focus();
}
}
}
function checkDtPostHeld()
{
124
if (document.frmName.DtPostHeld.value == "") {
alert("Blank Date!, Date format is 'DD/MM/YYYY'");
//document.frmName.CGITReceivedDate.focus();
}
else {
if(!DateValid(document.frmName.DtPostHeld.value)) {
//document.frmName.CGITReceivedDate.focus();
}
}
}
function checkUPSCDt()
{
if (document.frmName.UPSCDt.value == "") {
alert("Blank Date!, Date format is 'DD/MM/YYYY'");
//document.frmName.CGITReceivedDate.focus();
}
else {
if(!DateValid(document.frmName.UPSCDt.value)) {
//document.frmName.CGITReceivedDate.focus();
}
}
}
function checkDtLeaving()
{
if (document.frmName.DtLeaving.value == "") {
alert("Blank Date!, Date format is 'DD/MM/YYYY'");
//document.frmName.CGITReceivedDate.focus();
}
else {
if(!DateValid(document.frmName.DtLeaving.value)) {
//document.frmName.CGITReceivedDate.focus();
}
}
}
125
function checkBP()
{
if (document.frmName.BasicPay.value == "") {
alert("Blank Basic Pay!");
}
else {
if(!is_int(document.frmName.BasicPay)) {
alert("'" + document.frmName.BasicPay.value + "' is not a valid Basic
Pay!");
//alert(document.frmName.BasicPay.value);
document.frmName.BasicPay.value=""
}
}
}
//-->
</SCRIPT>
</Head>
126
<TD align=left width=5% ><Font color=red>*</Font><font face="Arial"
size="2">DoB</font></TD>
<TD width=30%><INPUT Name=DOB Value="" Size=10 MaxLength=10
onBlur="checkDOB()"></TD>
</TR>
<TR bgcolor=Bisque valign=top><TD align=left width=5%><font face="Arial"
size="2">Designation</font></TD>
<TD width=20%><INPUT Name=Designation Type=Hidden Value="<
%=Trim(cDesignation)%>" Size=5 MaxLength=5><B><Font
Face="Arial"></Font></B></TD>
<TD align=left width=5%><font face="Arial" size="2">Basic</font></TD>
<TD width=10%><INPUT Name=BasicPay Value="<%=cBasicPay%>" Size=10
MaxLength=5 onBlur="checkBP()"></TD>
<TD align=left width=3%><font face="Arial" size="2">File No.</font></TD><TD
width=30%></Font>
<INPUT Name=PerFileNo Value="<%=cPerFileNo%>" Size=13 MaxLength=25
></TD>
</TR>
<TR bgcolor=Bisque valign=top><TD align=left><font face="Arial"
size="2">Category</font></TD>
<TD><select name="Category">
<option value="">
<option value="G">General</option>
<option value="SC">Schedule Cast </option>
<option value="ST">Schedule Tribe </option>
<option value="OBC">OBC </option>
</select></TD>
<TD><font face="Arial" size="2">Station</font></TD>
<TD colspan=3><select name="Station"></Select></TD>
</TR>
<TR bgcolor=Bisque valign=top><TD align=Left ><Font color=red>*</Font><font
face="Arial" size="2">Dt.of Posting(Prsnt. Desg.)</font></TD>
<TD><INPUT Name=DtService Value="" Size=10 MaxLength=10
onblur="checkDtService()"></TD>
<TD align=left><font face="Arial" size="2">Dt. of Entry(Govt.)</font></TD>
<TD><INPUT Name=DtGovt Value="" Size=10 MaxLength=10
onBlur="checkDtGovt()"></TD>
<TD align=Left ><font face="Arial" size="2">Dt.Present Station </font></TD>
127
<TD><INPUT Name=DtPost Value="" Size=10 MaxLength=10
onBlur="checkDtPost()" ></TD>
</TR>
<TR bgcolor=Bisque valign=top><TD align=Left ><font face="Arial"
size="2">Increment Month</font></TD>
<TD ><select name="IncrMonth"></select></TD>
<TD align=left><font face="Arial" size="2"> Incr.added upto Year </font></TD>
<TD ColSpan=3><INPUT Name=IncrYear Value="<%=cIncrYear%>" Size=5
MaxLength=4></TD>
</TR>
<TR valign=top><TD align=Center colspan=6><Font face=sans-serif
color=Blue><B>Permanent / Temporary Employee Info.</B></Font></TD></TR>
<TR bgcolor=Bisque valign=top>
<TD><font face="Arial" size="2">Post Name</font></TD>
<TD><!--<select name="Post"></select>--><INPUT Name=Post Value="<%=cPost
%>" Size=22 MaxLength=30></TD>
<TD><font face="Arial" size="2">Perm./Temp.</font></TD>
<TD><select name="PostType"></select></TD>
<TD><font face="Arial" size="2">Dt. of Confirmation</font></TD>
<TD><INPUT Name=DtPostHeld Value="" Size=15 MaxLength=10
onBlur="checkDtPostHeld()"></TD>
</TR>
<!--<TR valign=top><TD align=Center colspan=6><Font face=sans-serif
color=Blue><B>Qualification Information</B></Font></TD></TR>-->
<TR bgcolor=Lavender><TD align=Left><font face="Arial"
size="2">Qualification</font></TD><TD colspan=2>
<select name="Qualification">
<option value="">
<option value="10">10th</option>
<option value="12">12th </option>
<option value="Gt">Graduate </option>
<option value="PG">Post Graduate </option>
</select>
</TD>
<TD align=Right><font face="Arial" size="2">Description</font></TD><TD
colspan=2><INPUT Name=QualDesc Value='<%=cQualDesc%>' Size=23
maxlength=50 ></TD>
</TR>
128
<%if (cDesignation="LEO") then %>
<!--<TR valign=top><TD align=Center colspan=6><Font face=sans-serif
color=Blue><B>U.P.S.C. Information (In case of L.E.O.)</B></Font></TD></TR>--
>
<TR bgcolor=Gold valign=top><TD align=Left><font face="Arial"
size="2">U.P.S.C. Date</font></TD>
<TD><INPUT Name=UPSCDt Value='<%=RetDate(cUPSCDt)%>' Size=10
maxlength=10 onBlur="checkUPSCDt()"></TD>
<TD align=Right><font face="Arial" size="2">U.P.S.C.
No.</font></TD><TD><INPUT Name=UPSCNo1 Value='<%=cUPSCNo1%>'
Size=12 maxlength=20 ></TD>
<TD colspan=2><INPUT Name=UPSCNo2 Value='<%=cUPSCNo2%>' Size=12
maxlength=20 ></TD>
</TR>
<TR bgcolor=Gold valign=top><TD align=Left><font face="Arial" size="2">Entry
Mode</font></TD><TD colspan=2>
<select name="EntryMode"><%fillEntryMode(trim(cEntryMode))%></select>
</TD>
<TD align=Right><font face="Arial" size="2">Present Status</font></TD><TD
colspan=2>
<select name="PresentStatus"><%fillPresentStatus(trim(cPresentStatus))%></select>
</TD>
</TR>
<%end if %>
<!--<TR valign=top><TD Colspan=6 align=center><Font face=sans-serif
color=Blue><B>Miscellaneous Information</B></Font></TD></TR>-->
<TR bgcolor=Lavender valign=top><TD align=Left><font face="Arial"
size="2">Home Town </font></TD><TD colspan=2><INPUT Name=HomeTown
Value='<%=cHomeTown%>' Size=15 maxlength=20 ></TD>
<TD align=Left><font face="Arial" size="2">Dt. of Leaving</font></TD><TD
colspan=2><INPUT Name=DtLeaving Value="" Size=15 MaxLength=10
onBlur="checkDtLeaving()"></TD>
</TR>
<TR bgcolor=Lavender valign=top><TD align=Left><font face="Arial"
size="2">Reason of Leaving</font></TD><TD colspan=5><select
name="TypeLeaving"></select></TD>
</TR>
<TR bgcolor=Lavender valign=top><TD><font face="Arial"
size="2">Remarks</font></TD><TD colspan=5><INPUT Name=Remarks Value='<
%=cRemarks%>' Size=80></TD></TR>
</TABLE>
129
<Center><I><Font color=red><Sup>*</Sup></Font> <Font
color=Blue>These fields are mandatory</Font></I></Center>
<P><INPUT name=SubmitAction type=hidden value="new"></P>
<P>
<%'=frmMode%>
<%' Response.Write frmMode
Response.Write "<Center>"
response.write "<INPUT name=btnNew type=button value=New>"
if frmMode="New" then
response.write "<INPUT name=btnInsert type=submit value=Insert>"
else
response.write "<INPUT name=btnSave type=button value=Save>"
response.write "<INPUT name=btnDelete type=button value=Delete>"
response.write "<INPUT name=btnRefresh type=button value=Refresh>"
Response.Write "<Table border=1 bordercolor=Blue><TR
bgColor='Aqua'><TD>"
response.write "<INPUT name=btnPosting type=button value='Postings'>"
Response.Write "</TD><TD>"
response.write "<INPUT name=btnTransfer type=button value='Transfer'>"
Response.Write "</TD><TD>"
response.write "<INPUT name=btnLeave type=button value='Leave'>"
Response.Write "</TD></TR></Table><BR>"
end if
' response.write "<INPUT name=btnSearch type=button value=Search>"
response.write "<INPUT name=btnClose type=button value=Close>"
Response.Write "</Center>"
%>
</p>
</form>
</body>
</html>
<!--#include File="../Library/LibraryFrm.asp"-->
<SCRIPT language=VBScript>
sub btnTransfer_OnClick()
frmName.SubmitAction.value="Transfer"
frmName.submit
130
end sub
sub btnPosting_OnClick()
frmName.SubmitAction.value="Posting"
frmName.submit
end sub
sub btnLeave_OnClick()
frmName.SubmitAction.value="Leave"
frmName.submit
end sub
sub btnInsert_OnClick()
frmName.SubmitAction.value="New"
frmName.submit
end sub
</Script>
131
Annexure D - List of Common Validations
6. In any form, only one option can be selected from the given number of options
132
Annexure E - Definition/Glossary
Data describe the numbers, text, graphics, image, and voice stored in this form that
can be used by a computer.
133
Annexure F – Bibliography
http://intranic.nic.in
http://labour.nic.in
Practitioner’s approach”
134