You are on page 1of 18

PAYROLL SYSTEM

Payroll System

Submitted To: Submitted By:


Lect. Sheena Pahuja Priyanka
Roll No. RTb805A07
Reg. No. 10804798
MCA V

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

Acknowledgement

It is not until you under take a project like this one that you realize how massive the effort it
really is, or how much you must rely upon the self less effort and good will of other . There
are many who helped in this project, and I want to thanks them all .It is my pleasure to thank
all those who helped me directly or indirectly in presentation of this project .The
development of a project of this nature would not have possible without the help of different
persons .I am intended to all of them.
I express my deep gratitude to Ms. Sheena Pahuja Lecturer of lovely
professional university) for helping me and for their continuing support at the every stage
of the development of this project by providing sufficient time in the study center lab.

At the last but not least I am most thankful to all friends and family members for all
the encouragement and facilities provided by them which has helped me the most to
complete this project work.

Priyanka

Contents
1.Introduction Payroll System 4
2. Existing system 4
3. Drawbacks of Existing System 4-5
3.1 Time Consuming 4

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

3.2 Service and Working Conditions 4


3.3 Difficulties in Retrieving Information 4
3.4Difficulties in Debugging 4
3.5 Difficult for the Top Management to analyze data 5
3.6 Not Easy to understandable by new user 5
3.7 Need more space to store 5
3.8 Very Expensive 5
3.9 Data sharing 5
3.10 Security 5
4. Hardware and Software Requirements 5-6
5. Data types in Sql server 6-7
6. Features of Payroll System 7
7. Advantages of making Payroll system 7-8
7.1Speed 7
7.2Flexibility 7
7.3Storage capacity 7
7.4Analysis cost reduction 7
7.5Facilitates report preparation 7
7.6 Reduces the manpower requirement 8
8. Master Tables Are 8
8.1LogInTable 8
8.2EmployeesDetailsTable 8
8.3OfiiceDetailsTable 8
8.4AttendenceTable 8
8.5SalaryTable 8
9. Snapshots of Tables used for this project 8-9
10. Data Base Diagram 9
11. DFD 9-10
11.1 Zero Level DFD 10
11.2 Complete DFD 10
12. ER Diagram 11
13. ER Relationship 12
14. Some Queries 12-14
15.Conclusion 15
16.References 16

Payroll System
Introduction Payroll System:

A manual payroll system is performed entirely by hand. A computerized payroll system


allows a company to process its payroll via dedicated payroll software. A manual system can

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

result in payroll errors and is usually a slow, laborious process; a computerized system helps
to reduce errors and speeds up the process. Computerized payroll systems boast a number of
other advantages as well.

Existing system:-
This Organization is maintaining most of their day-to-day transactions data in the registers
(i.e. manually).All the work is done manually (i.e. maintained in registers) so different
employees are appointed for the maintenance of registers containing all the information
related to the organization. It is very time consuming and is also not error free in some
situations. In existing manual system databases calculations are difficult to perform so report
generation as very much difficult.

Drawbacks of Existing System:-


Generally whenever we implement a new system it is developed to eliminate the
shortcomings of an existing system. The computerized system has more edge over the
manual system. It is because of accuracy, high speed, quick result, diligence etc. The existing
system is totally based on manual system. Existing system has many drawbacks in
comparison of computerized system.
Some of the main drawbacks of existing system are: -

• Time Consuming: High time consumption is the main weakness of the existing
system. A lot of time is wasted in searching records from different files, which
resulted in loss of
time, and moreover workload also increases. Also a lot of time is wasted in duplicating the
same entries in different registers. The overall checking of the records and modifications if
necessary has to be made at several places which is time consuming and error prone.

• Service and Working Conditions: With the unusual delay due to various reasons
(such as non-availability of record or n absence of an employee etc) the customer
suffers a lot. Without any firm reason he has to wait which disfigures the working
conditions.

• Difficulties in Retrieving Information: Sometimes, to get any of any type of instant


information more than one document needs to be searched. This requires the opening
of both files and then combining the information to get the required information.
Further the files may not be indexed according to the need, which causes difficulty in
retrieving information.

• Difficulties in Debugging: If an error is detected in recorded information the manual


system requires many files or registers to be searched to correct the information.

• Difficult for the Top Management to analyze data: Top management faces lots of
problems to know about the details of the Current Transactions, Current Bookings,
Current Cancellation and Employee as all is maintained at the lower level. Except for
the media and their reliable resources they have nobody to ask about the current
outputs and the overall results to be generated along with the reports at the end of the
year.

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

• Not Easy to understandable by new user: To understand the manual system the
user have to get more practice and have a grape all fields that help by other employee
and have to be in contact with that person. If the person was in leave the user can get
the information from him.

• Need more space to store: Here by using the paperwork system the user need to
maintain all the documents in proper way to avoid the difficulty in action and need
more space to store these documents because they can’t destroy the old documents.

• Very Expensive: The existing manual system is very expensive method as lot of
paper work has to be done and lot of wastage of manpower, which increase the
expanses of existing system.

• Data sharing: The different user in the different department cannot share data
simultaneously.

• Security: Security feature are not prominent in the existing system.

Hardware and Software Requirements: I need some hardware like

Component Requirement
Framework SQL Server Setup installs the following software components required by
the product:

• .NET Framework 3.5 SP1


• SQL Server Native Client

• SQL Server Setup support files


Software SQL Server Setup requires Microsoft Windows Installer 3.5 or a later
version.

Network Network software requirements for the 64-bit versions of SQL Server
Software 2008 are the same as the requirements for the 32-bit versions.
Stand-alone named and default instances support the following network
protocols:

• Shared memory
• Named Pipes
• TCP/IP

• VIA

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

Hard Disk Disk space requirements will vary with the SQL Server 2008 components
you install. Minimum 4 GB memory required for SQL 2008.

RAM And 512 MB RAM and processor with 733MHz Processor


Processors

Data types in Sql server :

 BOOLEAN - A Boolean value either true, false or null.

 CHAR (size) or CHARACTER(size) - A string of fixed length. The maximum


size of a CHAR string is 1 billion characters.

 VARCHAR(size), LONGVARCHAR(size), CHARACTER VARYING(size),


LONG CHARACTER VARYING(size), TEXT(size) or STRING(size) - A string
of variable length. The maximum size of these string types is 1 billion characters.

 TINYINT - An 8-bit signed integer value. The range of TINYINT is -128 to 127.

 SMALLINT - A 16-bit signed integer value. The range of SMALLINT is -32768


to 32767.

 INTEGER or INT - A 32-bit signed integer value. The range of INTEGER is


-2147483648 to 2147483647.

 FLOAT or DOUBLE - A 64-bit precision floating point value.

 REAL, NUMERIC or DECIMAL - A higher precision numeric value.

 Date Time Datatypes :


1) Datetime: Datetime can hold values from January 1, 1753,
through December 31, 9999, and it can be accurate to 3.33
milliseconds. For storage Datetime requires 8 bytes.
2) Smalldatetime: smalldatetime can store dates only from
January 01, 1900, through June 6, 2079, and is accurate only to 1
minute. For
3) Datetime2: The format is YYYY-MM-DD
hh:mm:ss:nnnnnnnm

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

4) Datetimeoffset: This is a standard date and time data type.


Datetimeoffset can store a plus or minus 14-hour offset. The format is
YYYY-MM-DD hh:mm:ss [.nnnnnnn] [+|-]hh:mm. The storage
requirement for Datetimeoffset is 10 bytes.

 Spatial data is defined as data that is represented by 2D or 3D images. SQL


Server 2008 supports 2D images, and 3D may be added in a future release.
Spatial data can be further subdivided into geometric data and geographic data.

Features of Payroll System:

• Preparation of salary.
• Printing of Windows Based user friendly software.
• Maintenance of rich electronic records of employees available at station.
• Pay bills/Pay slips.
• Attendance record.
• Tax calculation.
• Various security features with the help of passwords.
• Standard report generation.

Advantages of making Payroll system: They are as follows:


 Speed: In manually our speed of processing the data due to it placed in several
data files takes much time. But by using database management system this
problem can be overridden, with the help of high speed of computers for
processing data and CPU of the computer works at the speed of electricity.

 Flexibility: The modern digital computers can be used for a variety of purposes.
E.g. online processing, multiprogramming etc.

 Storage capacity: by manually it is very difficult to manage huge amount of


paper file. But by using these system large volumes of data can be conveniently
stored, accessed and altered.

 Analysis cost reduction: by used SQL server Analysis services we can Analysis
a huge amount of data in a very less time.

 Facilitates report preparation: while making a report manually, very tough


because we have to use many files to make reports. But with the help of
Computer preparation of various types of reports required by organizational
executives for the purpose of decision making and control.

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

 Reduces the manpower requirement: The number of persons required for


performing various organizational activities will be reduced by using a computer
system.

Tables of the Project are as below , so far may be some other table I Introduce in
completereport:

Master Tables Are:


 LogIn Table

 EmployeesDetails Table

 OfiiceDetails Table

 Attendence Table

 Salary Table

Snapshots of Tables used for this project:-

o Table: Login

o Table:PersonalInfo

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

o Table: OfficeDetail

o Table: DepartmentDetail:

o Table: Attendence:

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

Data Base Diagram:

DFD:

• Zero Level DFD

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

o Complete DFD:

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

ER Diagram:-

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

ER Relationship:-

Some Queries:

• Select Command:
Select AEmployee_Id,Attendence_Status,Perticuler_Day, TimeIn,Timeout from
Attendence;

Select AEmployee_Id,Attendence_Status,Perticuler_Day, TimeIn,Timeout from


Attendence where Attendence_Status ='Present'

• Alter Command:
ALTER TABLE dbo.Department

ADD FOREIGN KEY (Employee_Id) REFERENCES


dbo.EmployeeOfficialInfo(Employee_Id);

• Create Command:

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

CREATE TABLE [dbo].[EmployeeOfficialInfo](


[Employee_Id] [int] NOT NULL,
[Employee_DepartmentId] [int] NULL,
[Employee_Designation] [char](50) NULL,
[Employee_Salary] [float] NULL,
[Employee_DOJ] [datetime] NULL,
CONSTRAINT [PK_EmployeeOfficialInfo] PRIMARY KEY CLUSTERED

• Order By Command:
SELECT Employee_Salary
FROM dbo.EmployeeOfficialInfo

order by Employee_Id desc;

• Select with Max Function:


SELECT MAX(Employee_Salary) FROM dbo.EmployeeOfficialInfo;

• Like Command:
SELECT * from Employee_PersonalInfo
WHERE Employee_Name LIKE '%an%';

• AND:
select emp.Employee_Id,
emp.Employee_Name,emp.Employee_Gender,emp.Employee_MStatus,emp.Employee_Co
ntactno,emp.Employee_EmailId,
emp.Employee_Fathername,emp.Employee_DOB,emp.Employee_Country,emp.Employee
_State,emp.Employee_Address, oemp.Employee_Designation,oemp.Employee_DOJ,
dept.Department_Name from Employee_PersonalInfo emp,EmployeeOfficialInfo
oemp, Department dept where (emp.Employee_Id = oemp.Employee_Id ) and
(oemp.Employee_DepartmentId = dept.Department_Id)

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

• Select with Avg Function:


SELECT AVG(Employee_Salary) As Average FROM
dbo.EmployeeOfficialInfo;

• Select Update Command:


UPDATE Employee_PersonalInfo
set Employee_Name='Nannu'
WHERE Employee_Id=802 ;
select Employee_Name from Employee_PersonalInfo;

• Delete Command:
delete from Employee_PersonalInfo
where Employee_Name = 'Raman' ;
select Employee_Name from Employee_PersonalInfo;

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

Conclusion
The computerized version of the existing system of the company will be able to serve its
client and prospective clients in a more efficient manner, as this would save tremendous time
energy and effort of doing such tedious tiring and repetitive paperwork. It is designed to
offer easy accessible to all records to provide better maintainability and to enable the user to
make the required modification as and when necessary. Execution of this project would
enable the user to seek use and manipulation the records pertaining to nay and every client.
This project would, in short, increment the efficiency and the quality and quantity of
productivity of the organization as well as decrement the work effort, energy and duration of
time required by user staff. In the old system there were problems of data redundancy and
information retrieval. So the final reports are always accurate. We can retrieve a particular
data or any related data in less than a second, without going through the big files to retrieve
the data as in the case of manual or old system.

Lovely INSTITUTE OF MANAGEMENT


Page 6
PAYROLL SYSTEM

References:
http://www.comptechdoc.org/independent/database/begin/sqlstructure.html

www.wisegeek.com/what-is-payroll.htm

www.citehr.com/29179-payroll-system.html

**************************************************************************
*******************************************************************
********************************************************
********************************************
*

Lovely INSTITUTE OF MANAGEMENT


Page 6

You might also like