Professional Documents
Culture Documents
Rajiv Gandhi Proudyogiki Vishwavidhyalaya Bhopal (M.P.)
Rajiv Gandhi Proudyogiki Vishwavidhyalaya Bhopal (M.P.)
A Minor Project
On
Employee Management and Payroll System
Submitted to
Submitted By:
CERTIFICATE
This is to certify that the work embodied in this report entitled Topic has been
satisfactorily completed by Student name. It is a bonafide piece of work, carried
out under our/my guidance in the Department of Computer Science & Engineering,
Sagar Institute of Research & Technology, and Bhopal for the partial fulfillment of
the Bachelor of Engineering during the academic year 2011-2012.
SELF CERTIFICATE
This to certify that the project report entitled “Employee Management System” is
done by us is an authentic work carried out for the partial fulfillment of the
requirements for the award of the degree Bachelor of Engineering, under the
guidance of Prof. Brijkishore Gupta.
ACKNOWLEDGEMENT
The austerity and satisfaction that one gets on completing a project cannot be
fulfilled without mentioning the people who made it possible, with gratitude, we
are very much thankful to the Almighty God who helped us all the way throughout
the project and who has molded us into what we are today.
We are privileged to express our sincere gratitude to honorable Dr. S.C. Bhageria,
Director, SIRT, and Bhopal for all encouragement he gave us.
We express our sincere thanks and gratitude to Prof. Megha Kamble (H.O.D.) of
Computer Science for all his valuable suggestions and guidance throughout our
project.
We wish to express our hearty gratitude to our internal project guide, Pro.
Brijkishore Gupta for his valuable suggestions and guidance throughout the tenure
of our project.
We extend our sincere thanks to all the college staff members who helped us to
complete this project successfully.
TABLE OF CONTENTS
S.No. HEADING PAGE No.
1. Introduction 6
2. Analysis 9
3. Designing 10
4 Coding 16
6 Testing 48
8 Conclusion 52
CHAPTER - 1
INTRODUCTION
Employee management and payroll system is the modern computer based record
management system of employees of any firm. Since it would be very difficult for
any firm to maintain the records of employee on the papers and keep their
attendance records also, we tried to convert this manpower to computer power. It is
found that this is very efficient way to manage records as well as attendance record
through this system.
The main goal of this project is to make the record of employee’s easier & quicker.
Software Justification:
The configuration given below is the Hardware handled for the system
development.
These above hardware requirements are now a days very common and can be
found on any computer system. It is kept in mind while designing that no extra
hardware support which can be needed to run the software should be there so that it
can be afforded by any firm or industry.
CHAPTER - 2
ANALYSIS
This system consists of different table which contains the record of employees & it
is commented through VB which is the front end. In VB we have seen the
information about the employee. You can also provide the different buttons like,
add, delete, edit, exit etc. which helps you to edit any data & make your work
easier.
In the old system the main task of editing is not done easily& it will also take time.
But in the proposed system the main assumptions are, the system should already
contains all the hardware’s & software’s as well as the person who use this product
should familiar with window XP or any operating system.
Project estimation and scheduling were carried out together by the project leader as
per the norms of the company. Some cost estimation was done at the early stage
before the schedules were drawn up. Once the project was underway, estimates
were updated. The factors involved in computing the total cost of a software
project were Hardware & software cost, Maintenance cost, Travel and training cost
and Effort cost. Scheduling as well as estimating the effort required to develop the
software system was done by the project leader in discussion with the Company
officials.
CHAPTER – 3
DESIGNING
3.1 Data Flow Diagram:
Report 1
Login
Employee Details
Report 2
Report 3
User ID Password
Login
2) Personal Details:
EMP Name
Personal Details
Address
Date of Birth
City
3) Professional Details:
EMP ID Department
Profession Details
4) Salary details:
GIS
PF CCA
Salary Details
Inc. TAX DA
NET GROSS
5) Attendance Details:
Sick Leaves
Casual Leaves
Year
Other Leaves
For Month
Attendance Details
Add EMP
Modify EMP
Emp Information
Manager
Delete EMP
Display EMP
Enter Att
Attendance
Processing
Display Att
Salary
Statement of
EMP
Reporting
EMP
Department
wise List
CHAPTER – 4
CODING
Me.WindowState = vbMaximized
End Sub
Load disAtt
disAtt.Show
End Sub
Load frmAddAtt
frmAddAtt.Show
End Sub
Load addemp
addemp.Show
End Sub
Load delemp
delemp.Show
End Sub
Load disemp
disemp.Show
End Sub
Load modemp
modemp.Show
End Sub
If (MsgBox("Are You Sure You Want to Exit EMS?", vbYesNo + vbQuestion, "Quit") = vbYes)
Then
End
End If
End Sub
Load help
help.Show
End Sub
DataReport1.Show
End Sub
DataReport1.PrintReport
End Sub
Load saldis
saldis.Show
End Sub
adoRSaddemp.Update
adoRSaddemp.Fields("cca") = 1000
adoRSaddemp.Fields("hra") = 3500
Else
adoRSaddemp.Fields("hra") = 3750
Else
adoRSaddemp.Fields("hra") = 4200
Else
adoRSaddemp.Fields("hra") = 4700
Else
adoRSaddemp.Fields("hra") = 5000
End If
End If
End If
End If
adoRSaddemp.Fields("da") = 1500
Else
adoRSaddemp.Fields("da") = 3000
Else
adoRSaddemp.Fields("da") = 4000
End If
End If
Else
Else
Else: adoRSaddemp.Fields("it") = 0
End If
End If
End If
adoRSaddemp.Update
End Sub
Me.Hide
Unload addemp
End Sub
welcome.Show
Unload addemp
End Sub
Combo1.AddItem "CS"
Combo1.AddItem "Mechanical"
Combo1.AddItem "EC"
Combo1.AddItem "Civil"
Combo1.AddItem "Electrical"
Combo1.AddItem "IT"
adoConn.CursorLocation = adUseClient
adoConn.Open
adoRSaddemp.CursorType = adOpenDynamic
adoRSaddemp.LockType = adLockOptimistic
empno.DataField = "empno"
ename.DataField = "ename"
sex.DataField = "sex"
address.DataField = "address"
city.DataField = "city"
dob.DataField = "dob"
doj.DataField = "doj"
desig.DataField = "designation"
Combo1.DataField = "deaprtment"
basic.DataField = "basic"
pf.DataField = "pf"
gis.DataField = "gis"
cca.DataField = "cca"
hra.DataField = "hra"
da.DataField = "da"
gross.DataField = "gross"
it.DataField = "it"
net.DataField = "net"
End Sub
adoRSaddemp.AddNew
End Sub
Me.Hide
Unload modemp
End Sub
Combo1.AddItem "CS"
Combo1.AddItem "Mechanical"
Combo1.AddItem "EC"
Combo1.AddItem "Civil"
Combo1.AddItem "Electrical"
Combo1.AddItem "IT"
adoConn.CursorLocation = adUseClient
adoConn.Open
adoRSaddemp.CursorType = adOpenDynamic
adoRSaddemp.LockType = adLockOptimistic
empno.DataField = "empno"
ename.DataField = "ename"
sex.DataField = "sex"
address.DataField = "address"
city.DataField = "city"
dob.DataField = "dob"
doj.DataField = "doj"
desig.DataField = "designation"
Combo1.DataField = "deaprtment"
basic.DataField = "basic"
pf.DataField = "pf"
gis.DataField = "gis"
cca.DataField = "cca"
hra.DataField = "hra"
da.DataField = "da"
gross.DataField = "gross"
it.DataField = "it"
net.DataField = "net"
flag = 0
adoRSaddemp.MoveFirst
adoRSaddemp.MoveNext
Else
flag = 1
Exit Do
End If
Loop
If flag = 0 Then
End If
End Sub
adoRSaddemp.Update
adoRSaddemp.Fields("cca") = 1000
adoRSaddemp.Fields("hra") = 3500
Else
adoRSaddemp.Fields("hra") = 3750
Else
adoRSaddemp.Fields("hra") = 4200
Else
adoRSaddemp.Fields("hra") = 4700
Else
adoRSaddemp.Fields("hra") = 5000
End If
End If
End If
End If
adoRSaddemp.Fields("da") = 1500
Else
adoRSaddemp.Fields("da") = 3000
Else
adoRSaddemp.Fields("da") = 4000
End If
End If
Else
Else
Else: adoRSaddemp.Fields("it") = 0
End If
End If
End If
adoRSaddemp.Update
End Sub
If (MsgBox(" Are you sure you want to delete this record?", vbYesNo) = vbYes) Then
adoRSaddemp.delete
adoRSaddemp.Update
End If
End Sub
Me.Hide
Unload delemp
End Sub
adoConn.CursorLocation = adUseClient
adoConn.Open
adoRSaddemp.CursorType = adOpenDynamic
adoRSaddemp.LockType = adLockOptimistic
empno.DataField = "empno"
ename.DataField = "ename"
sex.DataField = "sex"
address.DataField = "address"
city.DataField = "city"
dob.DataField = "dob"
doj.DataField = "doj"
desig.DataField = "designation"
dep.DataField = "deaprtment"
basic.DataField = "basic"
pf.DataField = "pf"
gis.DataField = "gis"
cca.DataField = "cca"
hra.DataField = "hra"
da.DataField = "da"
gross.DataField = "gross"
it.DataField = "it"
net.DataField = "net"
End Sub
flag = 0
adoRSaddemp.MoveFirst
adoRSaddemp.MoveNext
Else
flag = 1
Exit Do
End If
Loop
If flag = 0 Then
End If
End Sub
Me.Hide
Unload disemp
End Sub
adoConn.CursorLocation = adUseClient
adoConn.Open
adoRSaddemp.CursorType = adOpenDynamic
adoRSaddemp.LockType = adLockOptimistic
empno.DataField = "empno"
ename.DataField = "ename"
sex.DataField = "sex"
address.DataField = "address"
city.DataField = "city"
dob.DataField = "dob"
doj.DataField = "doj"
desig.DataField = "designation"
dep.DataField = "deaprtment"
basic.DataField = "basic"
pf.DataField = "pf"
gis.DataField = "gis"
cca.DataField = "cca"
hra.DataField = "hra"
da.DataField = "da"
gross.DataField = "gross"
it.DataField = "it"
net.DataField = "net"
flag = 0
adoRSaddemp.MoveFirst
adoRSaddemp.MoveNext
Else
flag = 1
Exit Do
End If
Loop
If flag = 0 Then
End If
End Sub
Case 1, 3, 5, 7, 8, 10, 12
DM = 31
Case 4, 6, 9, 11
DM = 30
Case 2
DM = 28
Case Else
Exit Sub
End Select
MsgBox ("Number of leaves greater then number of days in a month. Record Not saved.")
Exit Sub
End If
adoRSattendence.Update
End Sub
Me.Hide
Unload frmAddAtt
End Sub
adoConn.CursorLocation = adUseClient
adoConn.Open
adoRSattendence.CursorType = adOpenDynamic
adoRSattendence.LockType = adLockOptimistic
empno.DataField = "Empno"
formonth.DataField = "for_month"
year.DataField = "year"
pls.DataField = "pls"
mls.DataField = "mls"
lwp.DataField = "lwp"
total.DataField = "cls"
End Sub
adoRSattendence.AddNew
End Sub
flag = 0
adoRSattendence.MoveFirst
adoRSattendence.MoveNext
Else
flag = 1
Exit Do
End If
Loop
If flag = 0 Then
End If
End Sub
Me.Hide
Unload disAtt
End Sub
adoConn.CursorLocation = adUseClient
adoConn.Open
adoRSattendence.CursorType = adOpenDynamic
adoRSattendence.LockType = adLockOptimistic
empno.DataField = "Empno"
formonth.DataField = "for_month"
year.DataField = "year"
pls.DataField = "pls"
mls.DataField = "mls"
lwp.DataField = "lwp"
total.DataField = "cls"
End Sub
adoRSattendence.MoveFirst
Else
adoRSattendence.MoveNext
End If
End Sub
adoRSattendence.MoveLast
Else
adoRSattendence.MovePrevious
End If
End Sub
Dim yr As Integer
Me.Hide
Unload saldis
End Sub
flag = 0
flag1 = 0
eno = InputBox("Enter 'Employee Number' whose salary slip to be show", "Employee Number",
0)
EMPDE.rsaddemp.MoveFirst
EMPDE.rsaddemp.MoveNext
Else
flag = 1
Exit Do
End If
Loop
If flag = 0 Then
Else
mon = InputBox("Enter the 'MONTH' for which salary slip has to be generated", "MONTH", 0)
yr = InputBox("Enter the 'YEAR' for which salary slip has to be generated", "YEAR", 0)
EMPDE.rsattendence.MoveFirst
flag1 = 1
Exit Do
Else
EMPDE.rsattendence.MoveNext
End If
Loop
If flag1 = 0 Then
End If
End If
nol.Text = EMPDE.rsattendence.Fields("cls")
End If
End Sub
PrintForm
End Sub
CHAPTER – 5
CHAPTER – 6
TESTING
6.1 SYSTEM TESTING
Software testing is a crucial element of software quality assurance and represents the ultimate
review of specification, design and coding. The increasing visibility of software as a system
element and the attendant "cost" associated with a software failure are motivating forces for
well-planned, thorough testing. Testing is a set of activities that can be planned in advance and
conducted systematically. Testing begins at the module level and work towards the integration of
entire computers based system. Nothing is complete without testing, as it is vital success of the
system.
Unit Testing
Unit testing focuses on the verification of smallest unit of software design of the module. To
check whether each module in the software works properly so that it gives desired outputs to the
given inputs. All validations and conditions are tested in the module level in unit test. Control
paths are tested to ensure the information properly flows into and out of the program unit under
test. Boundary condition are tested to ensure that the modules operates at boundary establishes to
restrict processing. All independent paths through control structure are exercised to ensure that
all statements in a module have been executed at least once. And finally all errors handling paths
are tested. In our system, Unit testing has been successfully handled. The test data was given to
each module in all respects and have got desired output. Each module has been found working
properly.
Corrective Maintenance
The first maintenance activity occurs since it is unreasonable to assume that software testing will
uncover all errors in a large software system. The process of including the diagnosis and
correction of one or more errors is called corrective maintenance.
Adaptive Maintenance
This activity that contributes to the definition of maintenance occurs since rapid change is
encountered in every aspect of computing. Therefore, adaptive maintenance modifies software to
properly interface with the changing environment.
Perfective Maintenance
This activity involves recommendations for new capabilities, modifications to the existing
functions and general enhancements when the software is used. To satisfy these requests,
perfective maintenance is performed.
Preventive Maintenance
This activity occurs when software is changed to improve further maintainability or reliability. If
the only available element of a Software Configuration is the source code, maintenance activity
begins with the evaluation of the code, often complicated by poor internal documentation. The
subtle characteristics such as program structure, global data structure, system interfaces and
performance & design constraints are difficult to hand lead are often misinterpreted. The
amounts of changes that are made to the code are difficult to access.
Result : On testing username and password system was properly taking input.
2) Test Case 2:
Result : On testing Welcome screen the proper results were obtained. The module was going
at proper place on clicking.
3) Test Case 3:
Result : The employee was properly added and the fields in the database were properly
saved.
4) Test Case 4:
Result : The employee was properly modified and the fields in the database were properly
saved after modification.
5) Test Case 5:
Result : The employee was properly deleted and the fields in the database were properly
deleted.
6) Test Case 6:
Result : On entering the emp number, month and year the system was properly giving the
salary sheet of the entered employee number and also giving proper deductions.
7) Test Case 7:
Result : The data report was properly shown with the list of all the employees department
wise with their basic, gross, net salary description.
CHAPTER – 7
Limitations:
Skyworld Tech Employee Management System is limited to our control. Any change or
modification can be done by us only.
It is not an online application or system.
We have not provided any backup system for this.
The system need to run oracle on background.
Further Enhancements:
Search details can be enhanced by detailed identification of searching problems and
rectification steps by company.
This system is entirely designed for STAND ALONE usage, according to the need of the
customer if needed the same system can be designed with Network facility to handle the
branch activities also.
To make this system Online and creating data backups.
Integrated Password management facility can be created.
CHAPTER - 8
CONCLUSION
The Employee Management System didn’t automate 100% of their work, but it is
really a good start to computerize everything and entire Detail can be 100%
computerized.
As far as the work done so far much care was given about the user friendliness and
a very good interaction with the end users. The interface are so designed and
channeled the users can never make any mistake while using the application, for an
example while adding new record, user can’t go out without either saving or
canceling the operation, till the time either they save or cancel the current
operation all other operations are blocked. There is no chance of making any
mistake in the application.
CHAPTER – 9