Вы находитесь на странице: 1из 6

PAYROLL SYSTEM

Manage EMP
Information

Data Entry Employee Employee

Fig 3.1 Use Case for Manage EMP


Information

Calculate
Payroll

Manage
Salary History

Generate Pay
Slip

Account Officer Generate Employee


Reports

Fig 3.2 Use Case Payroll Calculation & Payslip


Generation
Review Salary
History

Upload Pay
slip to portal

Generate
Reports
Senior Account Officer Employee

Fig 3.3 Use Case for Salary History & Reports


Generation

Assign/ Update Role

Maintain System

Review Log File

Controller Of Finance
Review the Reports

Fig 3.4 Use Case for the Controller of


Finance
4.2.1 Context Diagram
Employee’s Personal
Reports
Details

Payroll System

Employee’s Personal
Pay Slip
Details

Fig 4.1 Context diagram

4.2.2 Information Flow ( Data Flow Diagram)

Employee Detail 1.0 Pay-Slip


System User Employee
Payroll System

Reports
Accounting
Department

Fig 4.2 Level – 0 (DFD)


EMP PAY_MASTER
EMP
P il
inf ayr o Deta
orm ll
ati Emp
on

1.1
Calculate salary
p _no

Salary
Em

Net
Pay-slip
System User Emp_no 1.2
Pay-slip
Generate Pay-slip
Net Salary Detail

Emp
_no
1.3
Generate Reports

Payroll Reports

Fig 4.3 Level – 1 (DFD)

1.1.1
Calculate Gross Earning
To
ta
Am l Gro
ID o u ss
P_ nt
EM
System
User
EMP_PayMaster Calculate
net salary
EM
P_
ID
ion
d uct
De nt
Net S

ta l o u
1.1.2 To Am
ala ry

Calculate Deduction

Pay Slip

Fig 4.4 Level – 2 (DFD)


1.1.1.1
Calculate Allowances

To
ID

ta
P_

lA
EM

llo
w
an
System

ce
User
EMP_PayMaster
Calculate Gross
EM Amount
P_
ID
tal
To

Net
1.1.1.2

Sala
Calculate Basic
(Salary+ DP)

ry
Pay Slip

Fig 4.5 Level – 3 (DFD)

Loan_Bank

1.1.2.1
Calculate Loan Lo
an
Installment I ns
_I D t al
E MP lm
en
t Am
ou
System n t
User EMP_ID 1.1.2.2. Othe
Other Deduction r De
d
Amo ucti on Calculate Overall
unt
Deduction
EM
P_
ID x
Ta
o me nt
c
In mo u
1.1.2.3 A
Deducted
Amount

Calculate Income Tax

Pay Slip

IT_Annual

Fig 4.6 Level – 3 (DFD)


4.3.3 ER Diagram

USER_NAME
COMPANY/
ORGANIZATION

EMP_CODE PASSWORD
(P)
HAVE
EMPCOMPANY
User Role

ACC_NO DEPT_NO(P)
USERINFO

PANNO
DEPT_NAME
EMPPERSONAL DEPARTMENT
M
EMPLOYEE M HAS
STATUS
EFFECTIVE

1
SALARY DATE
EMPCONTACT M
RECIEVES GIVENDATE
M
M

1
INCTYPE
M
PAYSLIP
HAVE
M

WORKS
ON
DESIGNATION
NET SALARY

M
1

GROSS
1

SALARY
HAS DESIGNATION
BANK ACCOUNT
HELD
NO
DEDUCTION
1

EMPPAYMASTER
DESIGNATION
SALARYGRADE
DESIG_NO(P)
1
1

EMP_CODE
BASICPAY
CONTAINS
LOAN
DEDUCTIONS
INCOME
INCREMENT ENDING
STARTING

OT_MASTER
LOANDATE
LOAN
INSTALLMENT

BALANCE LOANAMOUNT
LOANTYPE

OT_CODE OT_RATE

Fig 4.7 ER Diagram