0% found this document useful (1 vote)
394 views50 pages

Human Resource Management System

The document discusses developing a human resource management system (HRMS) to better manage employee information and processes. Key points: 1) The proposed system would replace a manual HR process with a computerized system to track employee data, payroll, attendance and performance reviews more efficiently. 2) Benefits of the new system include improved data security, faster access to information, reduced paperwork and more user-friendly experience for employees and management. 3) A feasibility study found the system was technically feasible using current technology and economically feasible as development costs would be low since it is a student project.

Uploaded by

Aravind260
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
394 views50 pages

Human Resource Management System

The document discusses developing a human resource management system (HRMS) to better manage employee information and processes. Key points: 1) The proposed system would replace a manual HR process with a computerized system to track employee data, payroll, attendance and performance reviews more efficiently. 2) Benefits of the new system include improved data security, faster access to information, reduced paperwork and more user-friendly experience for employees and management. 3) A feasibility study found the system was technically feasible using current technology and economically feasible as development costs would be low since it is a student project.

Uploaded by

Aravind260
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 50

HUMAN RESOURCE MANAGEMENT SYSTEM

1. INTRODUCTION

1.1 PROJECT PROFILE


A Human Resources Management System (HRMS) or Human Resources
Information System (HRIS), refers to the systems and processes at the intersection
between human resource management (HRM) and information technology. It
merges HRM as a discipline and, in particular, its basic HR activities and processes
with the information technology field, whereas the programming of data
processing systems evolved into standardized routines and packages of enterprise
resource planning (ERP) software. On the whole, these ERP systems have their
origin from software that integrates information from different applications into
one universal database. The linkage of its financial and human resource modules
through one database is the most important distinction to the individually- and
proprietarily-developed predecessors, which makes this software application both
rigid and flexible.

Employees are the backbone of any company therefore their management


plays a major role in deciding the success of an organization. Employees
Management Software makes it easy for the employer to keep track of all records.
This software allows the administrator to edit employees, add new employees,
transfer/promote/terminate employees. Each employee in the database is associated
with a position can be added and edited when need arises. Employees can be
transferred between positions easily without having to retype back their
information in the database. You can check to see if there are duplicate
positions/employees in the database. Most of all, the employer can assign tasks to

1
HUMAN RESOURCE MANAGEMENT SYSTEM

employees and assess their progress in order to keep track of employee


performance.

To develop a software application that supports the application specific to


the HR automation in an intranet specific to a company there by allowing the
integration of all the employees pertaining to that organization. To keep track of
all the other departments related to that organization such as marketing,
development etc.

To allow the HR of an organization to update the employee details whenever


there is a change in the employee profile pertaining to that organization. To bring
onto a string the employees specific suggestions and make them free to post their
requirements to the HR thus bringing the organization more specific regarding the
maintenance of the organization.

Objectives of the project


The function of the human resources department involves tracking employee
histories, skills, abilities, salary and their accomplishments. When an organization
takes care to reduce the manual workload of an organization performs, they choose
to replace those processes with various levels of HRMS systems. Executives
within a HR department either rely on internal IT experts or third-party vendors to
develop and implement an integrated system. It comes standard with employee
self-service access allowing employees to update their personal information,
request time off or input their daily timesheet entries. It also has role –based access
level control that is functionally based on whether a user is an employee, a
manager, or an HR administrator. Each module performs a separate function within
the HRMS. The functions current HRMS systems can perform include:

2
HUMAN RESOURCE MANAGEMENT SYSTEM

• Payroll
• Database for employee information
• Attendance records
• Performance evaluation
• Benefits administration
• Employee self-service
• Employee scheduling
• Tracking of employee absenteeism
• Analytics

3
HUMAN RESOURCE MANAGEMENT SYSTEM

2. SYSTEM STUDY

2.1 EXISTING SYSTEM

In the existing system we don’t have any systematic manner in


the details management if the administrator wants any employee’ data in the
database they need to find out data in manual system. Presently salary calculation
is done manually, it take so much of time to compose salary of all employees. It
also takes very long time to make salary slip ready. Due to manual process some
time it takes very long time, in turn it delays the salary distribution. This is a big
problem to manage when salary is not generated in time. The other main problem
is errors, even with double cross check here or there some errors will happen, this
again create large problem. To solve all these organizations require very good
software to take care of all these. In this method we have several problems like loss
of data, searching old records of employees manually and lots of paper work for
managing works, employee’s salary details.

Disadvantages

• Lack of security of data.


• Time consuming.
• Consumes large volume of paper work.
• Manual work

2.2 PROPOSED SYSTEM


The basic idea is that the manager of the company maintains the details
about the employees, the designation and salary. It consists of employee details,
payroll system, status and exit. The manager can enter the name and employee ID

4
HUMAN RESOURCE MANAGEMENT SYSTEM

and get the salary details of that particular employee. In payroll system we can
calculate the net salary of the employee based on input. In this system the
administrator will issue a specific ID to the employee. The employee duty is to get
registered in the system and submit his particulars.

In the Employee details module various details like employee ID, Name,
Designation, Basic pay are obtained from the user. In the Display module the total
database is displayed. In the salary Details module, the individual database is
displayed which shows the PF, DA, HRA and Net salary of the particular
employee. By using the Modify module we can modify and update the employee
personal details on the database stored

Advantages of Proposed System

• To improve the efficiency.

• Quickly find out information of an employee details.

• To provide easy and faster access information.

• To provide user friendly environment.

• It is fast, efficient and reliable

• Avoids data redundancy and inconsistency

• Very user-friendly

• Provides more security and integrity to data

2.3 FEASIBILITY STUDY


Feasibility study is the test of a system proposal according to its workability,
impact on the organization, ability to meet user needs, and effective use of
recourses. It focuses on the evaluation of existing system and procedures analysis

5
HUMAN RESOURCE MANAGEMENT SYSTEM

of alternative candidate system cost estimates. Feasibility analysis was done to


determine whether the system would be feasible.

Once the analysis of the user requirement is complete, the system has to
check for the compatibility and feasibility of the software package that is aimed at.
An important outcome of the preliminary investigation is the determination that the
system request is feasible.

The primary areas of feasibility analysis are:

• Technical Feasibility

• Economic Feasibility

Technical Feasibility

The technology used can be developed with the current equipment and has
the technical capacity to hold the data required by the new system.

• This technology supports the modern trends in technology.

• Easily accessible, more secure technology.

Technical feasibility on the existing system and to what extend it can


support the proposed addition. We can add new modules easily without affecting
the Core Program. Most of parts are running in the server using the concept of
stored procedures.

The project should be developed such that the necessary functions and
performance are achieved within the constraints. The project is developed within
latest technology. Through the technology may become obsolete after some period
of time, due to the fact that never version of same software supports older versions,
the system may still be used. So there are minimal constraints involved with this

6
HUMAN RESOURCE MANAGEMENT SYSTEM

project. The system has been developed using VB.NET the project is technically
feasible for development.

Economic Feasibility

Economic analysis is the most frequently used method for evaluating the
effectiveness of a new system. More commonly known cost/benefit analysis, the
procedure is to determine the benefits and savings that are elected from a candidate
system and compare them with costs. If benefits outweigh costs, then the decision
is made to design and implement the system. An entrepreneur must accurately
weigh the cost versus benefits before taking an action. This system is more
economically feasible which assess the brain capacity with quick. So it is
economically a good project.

The developing system must be justified by cost and benefit. Criteria to


ensure that effort is concentrated on project, which will give best, return at the
earliest. One of the factors, which affect the development of a new system, is the
cost it would require.

The following are some of the important financial questions asked during
preliminary investigation:

• The costs conduct a full system investigation.

• The cost of the hardware and software.

• The benefits in the form of reduced costs or fewer costly errors.

Since the system is developed as part of project work, there is no manual


cost to spend for the proposed system. Also all the resources are already available,
it give an indication of the system is economically possible for development.

7
HUMAN RESOURCE MANAGEMENT SYSTEM

Front-end and back-end selection

An important issue for the development of a project is the selection of


suitable front end and back end. When we decide to develop the project we went
through an extensive study to determine the most suitable platform that suits the
needs of the organization as well as helps in development of the project.

The aspects of our study included the following factors.

Front-end selection

1. It must have a graphical user interface that assists employees that are not
from IT background.

2. Robustness.

3. According to the organization requirement and the culture.

4. Must provide excellent reporting features with good printing support.

5. Platform independent.

6. Easy to debug and maintain.

7. Event driven programming facility.

8. Front end must support some popular back end like Ms Access.

According to the above stated features we selected Asp.Net as the front-end


for developing our project.

Back-end Selection

1. Multiple user support.

2. Efficient data handling.

3. Provide inherent features for security.

8
HUMAN RESOURCE MANAGEMENT SYSTEM

4. Efficient data retrieval and maintenance.

5. Stored procedures.

6. Popularity.

7. Operating System compatible.

8. Easy to install.

9. Various drivers must be available.

10. Easy to implant with the Front-end.

According to above stated features we selected Ms Access as the backend.

9
HUMAN RESOURCE MANAGEMENT SYSTEM

3. SYSTEM DESCRIPTION

3.1 HARDWARE DESCRIPTION

Processor : Intel Pentium D

Mother Board : Intel 945G Express Chipset

Bus Speed : 2.80 GHZ

RAM : 2 GB

Hard disk : 20 GB or more

Monitor : 17 “inch LED (IBM)

Keyboard : 104 Keys

Mouse : Lenovo PS/2 3 buttons

Floppy Drive : Nil

3.2 SOFTWARE DESCRIPTION

Operating System : Windows 8

Front End : VB.Net

Back End : MS-Access2007

10
HUMAN RESOURCE MANAGEMENT SYSTEM

3.3 PROJECT DESCRIPTION


This project is used to maintain efficiently the HR department schedule of
any type of company. In larger organization, employees are large. At that time this
project is useful and helpful. HR Management system is not only becomes a desire
of the company but it becomes the need of the company. The Administrator gets
into the system using admin name and a password.

The main objective of this project is to reduce the effort of administrator to


keep the daily events such as payroll, employee performance, and employees’
details. It consists of 8 modules.

MODULES

• Security Module
• Employee Details
• Loan Information
• Leave Management

• Payroll

• Resignation

• Resume tracking

• Report Details

Employee Details

Employee Details module is used to maintain the employees’ details such as


adding new employee, modifying the existing employee and deleting the existing
employee. When a new employee is selected from the resume tracking, all the
details are to be entered and maintained in the database.

The employee details contain three kind of information.

11
HUMAN RESOURCE MANAGEMENT SYSTEM

1. Personal Information

2. Contact Information

3. Employee Status

In the personal information, it consists of the information about the


employee name, employee id, nationality, etc. In the contact information, it
consists of the information about the employee address, phone numbers, etc, in the
employee status; it consists of the information about the status of the employee,
supervisor name, department, etc.

Loan Information

If the employee want loan, then he/she has get loan .This module includes
details of id of employee, employee name, gender, qualification, loan amount, Date
etc.

Leave Management

This module contains the information about the employees leave details.
There are three kinds of leave which are sick leave, vacation, and holiday. There
are fixed amount of days that are allocated for each type of leave and the database
of leave details are maintained by the organization. The details includes number of
days, period, and total number of leave taken by that employee up to that date and
number of days that are remaining.

Payroll

In the payroll module, it consists of the information about the employee


salary details such as basic pay, allowances, deductions and calculate the gross pay
and net pay from the given allowances and deductions. All the employees’ pay

12
HUMAN RESOURCE MANAGEMENT SYSTEM

details are maintained by the HR manager. The main function of this payroll
module is to maintain the employee pay information.

Resume tracking

This module contains the information about the ex-employees who have
worked for the organization. The information are such as department, position,
their supervisor, current contact information, joining date and resigning date. This
information is used to contact the ex-employees in case of emergency in which
project they have already involved.

Report Details

This module helps to generate the administrative reports like the Salary
Report; the Employee Report which is in can be exported in table. If the
Employee wants to see his salary report then he can see it in view salary form.

13
HUMAN RESOURCE MANAGEMENT SYSTEM

4. SYSTEM ANALYSIS AND SYSTEM DESIGN

4.1 SYSTEM ANALYSIS

System analysis is a process of gathering and interpreting facts, diagnosing


problems and the information to recommend improvements on the system. It is
a problem solving activity that requires intensive communication between the
system users and system developers. System analysis or study is an important
phase of any system development process. The system is studied to the minutest
detail and analysed. The system analyst plays the role of the interrogator and
dwells deep into the working of the present system. The system is viewed as a
whole and the input to the system are identified. The outputs from the
organizations are traced to the various processes. System analysis is concerned
with becoming aware of the problem, identifying the relevant and decisional
variables, analysing and synthesizing the various factors and determining an
optimal or at least a satisfactory solution or program of action.

4.2 SYSTEM DESIGN

Design is the first step into the development phase for any engineered
product or system. Design is a creative process. A good design is the key to
effective system. The term “design” is defined as “the process of applying
various techniques and principles for the purpose of defining a process or a
system in sufficient detail to permit its physical realization”. It may be defined
as a process of applying various techniques and principles for the purpose of
14
HUMAN RESOURCE MANAGEMENT SYSTEM

defining a device, a process or a system in sufficient detail to permit its physical


realization. The design phase is a transition from a user oriented document to a
document to the programmers or database personnel. System design goes
through two phases of development: Logical and Physical Design.

Logical Design

The logical flow of a system and define the boundaries of a system. It includes

the following steps:

• Reviews the current physical system – its data flows, file content, volumes,
frequencies etc.

• Prepares output specifications – that is, determines the format, content and
frequency of reports.

• Prepares input specifications – format, content and most of the input


functions.

• Prepares edit, security and control specifications.

• Specifies the implementation plan.

• Reviews benefits, costs, target dates and system constraints.

Physical Design

Physical system produces the working systems by define the design


specifications that tell the programmers exactly what the candidate system must
do. It includes the following steps.

• Design the physical system.

• Specify input and output media.

15
HUMAN RESOURCE MANAGEMENT SYSTEM

• Design the database and specify backup procedures.

• Design physical information flow through the system and a physical design
Walk through.

• Plan system implementation.

• Devise a test and implementation plan and specify any new


hardware/software.

Design/Specification activities

• Concept formulation.

• Problem understanding.

• High level requirements proposals.

• Feasibility study.

• Requirements engineering.

• Architectural design.

Input Design

The input design is the process of entering data to the system. The input
design goal is to enter to the computer as accurate as possible. Here inputs are
designed effectively so that errors made by the operations are minimized. The
inputs to the system have been designed in such a way that manual forms and the
inputs are coordinated where the data elements are common to the source
document and to the input. The input is acceptable and understandable by the users
who are using it. The quality of the system input determines the quality for system
output. Input specification describes the manner in which data entered the system
processing. Input design is the process of converting user-originated inputs to a
computer-based format input data are collected and organized into group of similar

16
HUMAN RESOURCE MANAGEMENT SYSTEM

data. Once identified, appropriate input media are selected for processing. The
input design also determines the user to interact efficiently with the system. Input
design is a part of overall system design that requires special attention because it is
the common source for data processing error.

Output Design

The output design was done so that results of processing could be


communicated to the users. The various outputs have been designed in such a way
that they represent the same format that the office and management used to.
Computer output is the most important and direct source of information to the user.
Efficient, intelligible output design should improve the systems relationships with
the user and help in decision making. A major form of output is the hardcopy from
the printer. Output requirements are designed during system analysis. A good
starting point for the output design is the Data Flow Diagram (DFD). Human
factors educe issues for design involves addressing internal controls to ensure
readability.

4.2.1 SYSTEM ARCHITECTURE

Attendance and
Leave Report

User HR Management Payroll


System Management

Employee Info
and Tracking
17
HUMAN RESOURCE MANAGEMENT SYSTEM

4.2.2 DATAFLOW DIAGRAM

The Data Flow Diagram shows the flow of data or information. It can be
partitioned into single processes or functions. Data Flow Diagrams can be grouped
together or decomposed into multiple processes.

The DFD is an excellent communication tool for analysts to model processes


and functional requirements. Used effectively, it is a useful and easy to understand
modelling tool. It has broad application and usability across most software
development projects. It is easily integrated with data modelling, workflow
modelling tools, and textual specs. Together with these, it provides analysts and
developers with solid models and specs. Alone, however, it has limited usability. It
is simple and easy to understand by users

The symbols used to prepare DFD do not imply a physical implementation, a


DFD can be considered to an abstract of the logic of an information-oriented or a
process-oriented system flow-chart. For these reasons DFDs are often referred to
as logical data flow diagrams. The four basic symbols used to construct data flow
diagrams are shown below:

A rectangle represents a data source or destination.

A directed line represents the flow of data that is data stream.

An enclosed figure, usually a circle or an oval bubble,

Represent a process that transforms data streams.

An open-ended rectangle represents data storage.

These are symbols that represent data flows, data sources, data
transformations and data storage. The points at which data are transformed are
represented by enclosed figures, usually circles, which are called nodes.
18
HUMAN RESOURCE MANAGEMENT SYSTEM

Level0

Details Details
Administrator/ HR Management
User System
Database
Report Report

Level 1
Add/modify

Add
Employee Emp_Reg

Employee
Vali Employee
Registration
d
Add/modify
Vali
d
Loan Loan
Information
Add/modify

Vali
d Add/modify

Admin Login Payroll Pay1


Information

Vali
d
Add/modify
Login
Attendance Attend
Information
19

View
Leave
HUMAN RESOURCE MANAGEMENT SYSTEM

4.2.3 DATABASE DESIGN

The database design is a two level process. In the first step, user
requirements are gathered together and a database is designed which will meet
these requirements as clearly as possible. This step is called Information Level
Design and it is taken independent of any individual DBMS.

In the second step, this Information level design is transferred into a design
for the specific DBMS that will be used to implement the system in question. This
step is called Physical Level Design, concerned with the characteristics of the
specific DBMS that will be used. A database design runs parallel with the system
design. The organization of the data in the database is aimed to achieve the
following two major objectives.

❖ Data Integrity.

❖ Data independence.

Normalization is the process of decomposing the attributes in an application,


which results in a set of tables with very simple structure. The purpose of
normalization is to make tables as simple as possible. Normalization is carried out
in this system for the following reasons.

• To structure the data so that there is no repetition of data, this helps in


saving.

• To permit simple retrieval of data in response to query and report request.

• To simplify the maintenance of the data through updates, insertions,


deletions.

20
HUMAN RESOURCE MANAGEMENT SYSTEM

• To reduce the need to restructure or reorganize data which new application


requirements arise.

Login

This table is used to save the security information in which it can be retrieved
for future reference.

Field Name Data Type Description


Uname Text Username
pass1 Text Password

Employee

This table is used to save the employee information in which it can be


retrieved for future reference and also update whenever required.

Field Name Data Type Description


Empid Number Employee ID
Ename Text Employee Name
Password Text Password

Ephone Text Phone number

Eemail Text Email ID

Qualify Text Qualification

Salary Text Salary

21
HUMAN RESOURCE MANAGEMENT SYSTEM

Gender Text Gender

Edate Date/time Join Date


Desg Text Designation

Status Text Work Status

Address Text Address

Accno Text Account Number

Loan

This table is used to save the loan information in which it can be retrieved for
future reference and also update whenever required.

Field Name Data Type Description


Empid Number Employee ID
Empname Text Employee Name

Gender Text Gender

Degree Text Degree

Lamount Text Loan Amount

22
HUMAN RESOURCE MANAGEMENT SYSTEM

Drec Text Recovery Amount

jdate1 Date/Time Join Date

Attendance

This table is used to save the attendance information in which it can be


retrieved for future reference and also update whenever required.

Field Name Data Type Description


Empid Number Employee ID
Empname Text Employee Name

Desg Text Designation

Gender Text Gender

Attend Text Attendance

jdate1 Date/Time Join Date

23
HUMAN RESOURCE MANAGEMENT SYSTEM

5. SYSTEM TESTING

System Testing is the process of executing software in a controlled manner.


Software testing is often used in association with the terms verification and
validation. Validation is the checking or testing of items, includes software, for
conformance and consistency with an associated specification. Software testing is
just one kind of verification, which also uses techniques such as reviews, analysis,
inspections, and walkthroughs. Validation is the process of checking that what has
been specified is what the user actually wanted.

Testing is a process of executing a program with the intend of finding an


error. A good test case is one that has high possibility of finding an undiscovered
error. A successful test is one that uncovers an undiscovered error.

There are three ways to test program.

• For correctness

• For implementation efficiency

• For computational complexity

Test for correctness are supposed to verify that a program does exactly what it
was designed to do. This is much more difficult than it may at first appear,
especially for large programs.

Unconventional Testing

Unconventional Testingis done by Quality Assurance team with the


reference of each and every documents starting from initialstage of SDLC.
This process involves verification through walkthrough and inspections to check
whether the development happenedas per the company process guidelines or not.

24
HUMAN RESOURCE MANAGEMENT SYSTEM

Conventional Testing

Unit Testing

Tests of data flow across a module interface are required before any other
test is initiated. If data do not enter and exit properly, all other tests are moot.
Selective testing of execution paths is an essential task during the unit test. Good
design dictates that error conditions be anticipated and error handling paths set up
to reroute or cleanly terminate processing when an error does occur. Boundary
testing is the last task of unit testing step. Software often fails at its boundaries.

Unit testing was done in Sell-Soft System by treating each module as


separate entity and testing each one of them with a wide spectrum of test inputs.
Some flaws in the internal logic of the modules were found and were rectified.

Test Module: Admin Login

Sl. No Test Case Expected Result Test Result

1 Enter valid name and Software should Successful


password & click on display main
login button window

2 Enter invalid Software should Successful


not display main
window

25
HUMAN RESOURCE MANAGEMENT SYSTEM

Test Module: Employee Registration

Sl. No Test Case Expected Result Test Result

1 On the click of At first user have to fill Successful


ADD button all fields with proper
data , if any Error like
entering text data
instead of number or
entering number instead
of text..is found then it
gives proper message
otherwise Adds Record
To the Database

2 On the Click of Modified records are Successful


UPDATE Button Updated in database by
clicking UPDATE
button.

3 On the Click of Clears all fields Successful


CLEAR Button

26
HUMAN RESOURCE MANAGEMENT SYSTEM

Test Module: Leave Information

Sl. No Test Case Expected Result Test Result

1 On the click of At first user have to fill Successful


ADD button all fields with proper
data , if any Error like
entering text data
instead of number or
entering number instead
of text..is found then it
gives proper message
otherwise Adds Record
To the Database

2 On the Click of Modified records are Successful


UPDATE Button Updated in database by
clicking UPDATE
button.

3 On the Click of Clears all fields Successful


CLEAR Button

Integration Testing

Integration testing is systematic technique for constructing the program


structure while at the same time conducting tests to uncover errors associated with
interfacing. The objective is to take unit tested components and build a program
structure that has been dictated by design. The entire program is tested as whole.

27
HUMAN RESOURCE MANAGEMENT SYSTEM

Correction is difficult because isolation of causes is complicated by vast expanse


of entire program. Once these errors are corrected, new ones appear and the
process continues in a seemingly endless loop.

After unit testing in Sell-Soft System all the modules were integrated to test
for any inconsistencies in the interfaces. Moreover differences in program
structures were removed and a unique program structure was evolved.

Validation Testing

This is the final step in testing. In this the entire system was tested as a
whole with all forms, code, modules and class modules. This form of testing is
popularly known as Black Box testing or System testing.

Black Box testing method focuses on the functional requirements of the


software. That is, Black Box testing enables the software engineer to derive sets of
input conditions that will fully exercise all functional requirements for a program.

Black Box testing attempts to find errors in the following categories;


incorrect or missing functions, interface errors, errors in data structures or external
data access, performance errors and initialization errors and termination errors.

Test Case: Validation Testing

Test Module: Admin Login

SL.No Test Data Expected Output Real


Output

1 User Name and Password Check for Blank Entry Invalid


inBlank Field Input

28
HUMAN RESOURCE MANAGEMENT SYSTEM

Test Module: Employee Registration

Test Data Expected Output Real


SL.No
Output

Check for Blank Invalid


1 All Fields in Blank
Entry Input

Invalid
2 Mobile : 9940A Enter Number Only
Input

Invalid
3. Mobile: 99445248 Enter 10 Digits
Input

4. Mobile: 9944524810 Allow to Register Valid Input

Test Module: Loan Entry

SL.No Test Data Expected Output Real Output

1 All Fields in Blank Check for Blank Invalid Input


Entry

2 Loan Amount : 2000A Enter Number Only Invalid Input

3. Loan Amount: 800000 Access Allow Valid Input

29
HUMAN RESOURCE MANAGEMENT SYSTEM

6. SOURCE CODE

Login Form

Imports System
Imports System.Data
Imports System.Data.OleDb
Public Class Form1
Dim objcon As New Connection
Private Sub Button1_Click (ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
If TextBox1.Text = "" Then
MsgBox("Enter UserName", MsgBoxStyle.Critical, "Login")
ElseIf TextBox2.Text = "" Then
MsgBox("Enter Password", MsgBoxStyle.Critical, "Login")
Else
Dim uname As String = TextBox1.Text
Dim pass1 As String = TextBox2.Text

Dim flag As Boolean = username (uname, pass1)


If flag = True Then
Me.Hide()
Dim frm As New frmhome
frm.ShowDialog()
Else
MsgBox("Invalid UserName or Password", MsgBoxStyle.Critical,
"Login")
objcon.Destroyconnecttion()
30
HUMAN RESOURCE MANAGEMENT SYSTEM

End IfEnd If
End Sub
Private Function username(ByVal uname As String, ByVal pass1 As String) As
Boolean
Dim bflag As Boolean = False
Dim query As String = "select uname,pass1 from login where uname='" &
uname & "' and pass1='" & pass1 & "'"
Dim userDS As New DataSet()
Dim op As OleDbConnection
Dim m_Command As OleDbCommand
Dim m_dataAdapter As OleDbDataAdapter
op = objcon.Getconnection()
m_Command = New OleDbCommand(query, op)
m_dataAdapter = New OleDbDataAdapter(m_Command)
m_dataAdapter.Fill(userDS)
If userDS IsNot Nothing Then
If userDS.Tables(0).Rows.Count > 0 Then
bflag = True
End If
End If
Return bflag
End Function
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Application.Exit()
End Sub
End Class
31
HUMAN RESOURCE MANAGEMENT SYSTEM

Payroll Generation

Imports System
Imports System.Data
Imports System.Data.OleDb
Public Class frmsalary
Dim objcon As New Connection
Private Sub frmsalary_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim con As New OleDbConnection
con = objcon.Getconnection()
Dim cmd As New OleDbCommand
cmd = New OleDbCommand("select empid from Employee where
status='Working' and status2='0'", con)
Dim dr As OleDbDataReader
dr = cmd.ExecuteReader()
While (dr.Read())
ComboBox2.Items.Add(dr("empid").ToString())
End While
dr.Close()
con.Close()
End Sub
Private Sub txtfill()
Dim con As New OleDbConnection
con = objcon.Getconnection()
Dim cmd As New OleDbCommand

32
HUMAN RESOURCE MANAGEMENT SYSTEM

cmd = New OleDbCommand("select sum(drec) as drec from Loan where


empid='" + ComboBox2.Text + "'", con)
Dim dr As OleDbDataReader
dr = cmd.ExecuteReader()
If (dr.Read()) Then
TextBox5.Text = dr("drec").ToString()
End If
dr.Close()
con.Close()
End Sub

Private Sub ComboBox2_SelectedIndexChanged(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
ComboBox2.SelectedIndexChanged
Dim cn As OleDbConnection
cn = objcon.Getconnection()
Dim cmd As New OleDbCommand
cmd = New OleDbCommand("select
empname,gender,qual,depart1,desg,salary,accno,bname from employee where
empid='" + ComboBox2.Text + "'", cn)
Dim dr As OleDbDataReader = cmd.ExecuteReader()
If dr.Read() Then
TextBox1.Text = dr("empname").ToString()
TextBox16.Text = dr("gender").ToString()
TextBox18.Text = dr("qual").ToString()
TextBox21.Text = dr("depart1").ToString()
TextBox20.Text = dr("desg").ToString()
33
HUMAN RESOURCE MANAGEMENT SYSTEM

TextBox2.Text = dr("salary").ToString()
TextBox4.Text = dr("accno").ToString()
TextBox3.Text = dr("bname").ToString()
End If
cn.Close()
cmd.Dispose()
dr.Close()
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim a As Double
Dim b As Object
Dim c As Double
Dim dd As Double
If (ComboBox2.Text = "") Then
MsgBox("Select Employee ID", "Salary Entry", MessageBoxButtons.OK)
ElseIf (TextBox6.Text = "") Then
MessageBox.Show("Enter Loss of pay", "Salary Entry",
MessageBoxButtons.OK)
ElseIf Not IsNumeric(TextBox6.Text) Then
MsgBox("Enter Number Only in Loss of pay", "Salary Entry",
MessageBoxButtons.OK)
Else
ddata()
dd = Val(TextBox2.Text) / 28
TextBox7.Text = System.Math.Round(Val(TextBox2.Text) - (dd *
Val(TextBox6.Text)))
34
HUMAN RESOURCE MANAGEMENT SYSTEM

TextBox8.Text = CStr(System.Math.Round(Val(TextBox7.Text) * (30 /


100)))
TextBox9.Text = CStr(System.Math.Round(Val(TextBox7.Text) * (15 /
100)))
TextBox11.Text = CStr(System.Math.Round(Val(TextBox7.Text) * (10 /
100)))
TextBox13.Text = CStr(System.Math.Round(Val(TextBox7.Text) * (5 /
100)))
a = Val(TextBox7.Text) / 30
TextBox12.Text = CStr(System.Math.Round(Val(TextBox6.Text) * a))
b = Val(TextBox7.Text) + Val(TextBox8.Text) + Val(TextBox9.Text) +
Val(TextBox10.Text)
c = Val(TextBox13.Text) + Val(TextBox12.Text) + Val(TextBox11.Text)
+ Val(TextBox5.Text)
TextBox14.Text = CStr(System.Math.Round(b - c))
End If
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button3.Click
If (TextBox7.Text = "") Then
MsgBox("Select View Button", "Salary Entry", MessageBoxButtons.OK)
Else
Dim cn As OleDbConnection
cn = objcon.Getconnection()
Dim cmd As New OleDbCommand
Dim cmd1 As New OleDbCommand

35
HUMAN RESOURCE MANAGEMENT SYSTEM

cmd = New OleDbCommand("insert into


pay1(empid,empname,desg,bpay,dra,hra,spay,itax,lpay,pf1,lamount,tsalary,jdate)v
alues('" & ComboBox2.Text & "','" & TextBox1.Text & "','" & TextBox20.Text &
"','" & TextBox7.Text & "','" & TextBox8.Text & "','" & TextBox9.Text & "','" &
TextBox10.Text & "','" & TextBox11.Text & "','" & TextBox12.Text & "','" &
TextBox13.Text & "','" & TextBox5.Text & "','" & TextBox14.Text & "','" &
DateTimePicker1.Value.Date & "')", cn)
cmd1 = New OleDbCommand("update Employee set status2='1' where
empid='" + ComboBox2.SelectedItem + "'", cn)
cmd.ExecuteNonQuery()
cmd1.ExecuteNonQuery()
MessageBox.Show("Salary Information Added", "Salary Entry",
MessageBoxButtons.OK)
Hide()
Dim frm As New frmsalary()
frm.Show()
cn.Close()
End If

End Sub

36
HUMAN RESOURCE MANAGEMENT SYSTEM

7. SCREENSHOTS

Login Form

37
HUMAN RESOURCE MANAGEMENT SYSTEM

Home page

38
HUMAN RESOURCE MANAGEMENT SYSTEM

New Employee Entry

39
HUMAN RESOURCE MANAGEMENT SYSTEM

Employee Information

40
HUMAN RESOURCE MANAGEMENT SYSTEM

Loan Information

41
HUMAN RESOURCE MANAGEMENT SYSTEM

Attendance Entry

42
HUMAN RESOURCE MANAGEMENT SYSTEM

Payroll Generation

43
HUMAN RESOURCE MANAGEMENT SYSTEM

Resignation Entry

44
HUMAN RESOURCE MANAGEMENT SYSTEM

Resume Tracking

45
HUMAN RESOURCE MANAGEMENT SYSTEM

Salary Report

46
HUMAN RESOURCE MANAGEMENT SYSTEM

Leave Report

47
HUMAN RESOURCE MANAGEMENT SYSTEM

8. CONCLUSION

Human Resource Management Systems has achieved its purpose. It has taken a
huge task for this project to be completed. It has given a huge lift to the company’s
operations. Whatever that has done manually has been completely shifted to the
computerized process and this has enabled the company to carry out its operation
more quickly. This has also given a wider spectrum of’ communication to the
users. Since whatever that has so far been done manually has been changed to a
computerized. It has resulted in more efficient processing of data.

The new system has resulted in giving numeric advantages to the company in
many ways. Some of them are given below State of negligible paper work is
almost reduced. Accessing and getting data can be done at a single click. Data
manipulation has become simpler and the cost factor has been reduced. It is faster
and more efficient processing of data. It is less time consuming. Operations are
more transparency. Communications between the users is more efficient.

48
HUMAN RESOURCE MANAGEMENT SYSTEM

9. FUTURE ENHANCEMENT

This Application works in Multiple PC’s installed on multiple computers but


sharing same database by which users of different department can use it sitting at
different locations simultaneously.

But in future we can make the Application where the database will be hosted in
order to manage the all departments which will be located in different places and
by keeping domain of Application as Online.

49
HUMAN RESOURCE MANAGEMENT SYSTEM

10. REFERENCES

Books

1. Herbert Schildt (2000) ‘Visual Basic.NET’ Tata McGraw Hill

2. John Zukowski (2000) ‘Visual Basic.NET’ ‘BPB Publications

3. Jamie Jaworsky ‘Visual Basic.NET’ Techmedia

4. Ian Somerville ‘Software engineering’

5. Rajeev mall ‘Software engineering’

6. Elmasri Navathe ‘Fundamentals of database systems’

Online References

• www.w3schools.com

• www.theserverside.com

• www.visual.com

50

You might also like