Professional Documents
Culture Documents
DEPARTMENTAL STORE
MANAGEMENT SYSTEM
SESSION 2017-2019
BACHELOR OF SCIENCE
IN
COMPUTER SCIENCE
By
Ahmad Sheraz
Muhammad Awais
Projected submitted to
Faculty of Information Technology,
University of Central Punjab,
Lahore, Pakistan.
in partial fulfillment of the requirements for the degree of
BACHELOR OF SCIENCE
IN
COMPUTER SCIENCE
___________________ __________________
Project Advisor Dean
Acknowledgement
The Satisfaction That Accompanies the Successful Completion of Any Task Would Be
Incomplete Without the Mention of People WHOSE Continual Cooperation Made It
Possible, Whose Constant Guidance and Encouragement Crown All Efforts with
Success.
We Are Gratefully to Allah Almighty who give us strength to do this. and then We
Are Grateful to Our Project Supervisor “Prof. Ehtasham ul Haq” For the Guidance,
Inspiration and Constructive Suggestions That Helpful Us in the Preparation of This
Project. We Also Thank Our University Fellows and Other teachers and People Who
Have Helped Us in Successful Completion of The Project.
i
Dedication
We Would Like to Dedicate This Work to Our Parents who work hard for us, who gave
all their happiness to us and our Teachers, Family and Friends for Their Love and
Support Throughout Our Life who taught us how to learn. Especially Thanks to
University of Central Punjab For Giving Us Such A Wonderful, Energetic Moments of
Our Lives.
ii
Abstract
In this “Store Management System” the user can record, refill stock items with the
dealer, customers, and keep employees record. After logging in to dealers account
the user can add the items, display remaining stocks also refill them and delete it
from the record. Dealer’s login- In this part, the user has to give the correct or
valid password to enter into dealer menu.
iii
Table of Contents
Acknowledgement .......................................................................................................... i
Dedication ......................................................................................................................ii
Abstract .........................................................................................................................iii
1. Introduction ............................................................................................................... 1
1.1 Product ................................................................................................................ 1
1.2 Scope ................................................................................................................... 1
1.3 Business Goals .................................................................................................... 1
1.4 Document Conventions ....................................................................................... 1
2. Overall Description ................................................................................................... 1
2.1 Product Features .................................................................................................. 1
2.2 User Classes and Characteristics ......................................................................... 2
2.3 Operating Environment ....................................................................................... 2
2.4 Design and Implementation Constraints ............................................................. 2
2.5 Assumptions and Dependencies .......................................................................... 2
3. Functional Requirements .......................................................................................... 3
4. Non-Functional Requirements .................................................................................. 3
4.1 Performance Requirements ................................................................................. 3
4.2 Safety Requirements............................................................................................ 3
4.3 Security Requirements ........................................................................................ 3
4.4 Other Requirements ............................................................................................. 3
5. Software Development Model (SDM) ...................................................................... 3
6. System Development Diagrams ................................................................................ 4
6.1 Use Case Diagram ............................................................................................... 4
6.2 DFD Level-0........................................................................................................ 6
6.3 Flow Chart ........................................................................................................... 7
6.4 Activity Diagrams ............................................................................................... 7
6.4.1 Login ............................................................................................................. 7
6.4.2 Add Employee .............................................................................................. 8
6.4.3 Update Employee .......................................................................................... 9
6.4.4 Quit Employee ............................................................................................ 10
6.4.5 Mark Attendance ......................................................................................... 11
6.4.6 Add Allowance ........................................................................................... 12
6.4.7 Add Deduction ............................................................................................ 13
6.4.8 Update Salary .............................................................................................. 14
6.4.9 Generate Pay ............................................................................................... 15
6.4.10 Get Pay Details ......................................................................................... 16
6.5 DFD Level-1...................................................................................................... 18
6.6 DFD Level-2...................................................................................................... 18
6.6.1 Employee Module ....................................................................................... 18
6.6.2 Allowance & Deduction Module ................................................................ 19
6.7 Entity Relationship Diagram ............................................................................. 20
6.8 Class Diagram ................................................................................................... 20
7. Tools and Technologies .......................................................................................... 21
7.1 Java SE .............................................................................................................. 21
7.2 Java FX .............................................................................................................. 21
7.3 MySQL .............................................................................................................. 21
7.4 InteliJ IDE ......................................................................................................... 21
7.5 Xamp ................................................................................................................. 22
7.6 SQLyog ............................................................................................................. 22
8. Screens .................................................................................................................... 22
8.1 Login Screen...................................................................................................... 22
8.2 Reset Password .................................................................................................. 23
8.3 Reset Password 2nd Stage ................................................................................. 24
8.4 Dashboard.......................................................................................................... 25
8.5 Add Employee ................................................................................................... 26
8.6 Manage Employee ............................................................................................. 27
8.7 List Employee.................................................................................................... 28
8.8 Attendance ......................................................................................................... 29
8.9 Allowance.......................................................................................................... 30
8.10 Deduction ........................................................................................................ 31
8.11 Payroll ............................................................................................................. 32
8.12 Reports ............................................................................................................ 33
8.13 Reports 2nd stage ............................................................................................ 34
9. References ............................................................................................................... 35
1. Introduction
1.1 Product
EMPSAL BANK is a payroll system for all types of employees, with additional
feature of calculation of employee’s expenses in organization. In this system all
employees are managed for calculation of salary and expenses (within organization).
1.2 Scope
As EMPSAL BANK is for calculating salary of employees so it can be use
anywhere, where the salary and expenses of employees, have to be managed within an
organization. And as it will be developed in java so it will also platform independent, it
means EMPSAL BANK can be run and operate on any computer system and operating
system.
2. Overall Description
2.1 Product Features
Features of EMPSAL BANK are as follows:
• It is platform independent.
• Salaries of all type of employees can be calculated by this.
• It keeps record of attendance of all employees.
• All type of increments and deductions in salaries of employees can be
handle by this.
• It can manage the expenses of employees in organization.
• Security is kept in view at each level of its design and development.
1
2.2 User Classes and Characteristics
• HR Manager can view, add, delete and update employee records as per changes in
organization’s employees.
• Cashier can check calculated salary of any employee of organization to pay salary.
• Employee can mark his attendance in system by the help of Data Entry Operator.
2
3. Functional Requirements
• All users will have their login to access the system, user can be HR Manager,
Cashier, Data Entry Operator, Guest Account User.
• HR Manager can Add Employee, Update Employee, Quit Employee, Update
Employee Salary, Add Allowances and Add Deductions.
• Data Entry Operator can Mark Attendance and Update Attendance of employees.
• Cashier can Generate Pay and Get Pay Details of employees.
• Guest Account User can Mark Attendance, Update Attendance, Generate Pay and
Get Pay Details of employees.
4. Non-Functional Requirements
4.1 Performance Requirements
System should perform all its functionality smoothly and correctly even if it has
huge amount of employee records, salary records, attendance records etc.
3
6. System Development Diagrams
6.1 Use Case Diagram
4
Use Case Figure 6.1
5
6.2 DFD Level-0
6
6.3 Flow Chart
7
Login Activity Figure 6.4.1
8
Add Employee Activity Figure 6.4.2
6.4.3 Update Employee
9
Update Employee Activity Figure 6.4.3
6.4.4 Quit Employee
10
Quit Employee Activity Figure 6.4.4
6.4.5 Mark Attendance
11
Mark Attendance Activity Figure 6.4.5
6.4.6 Add Allowance
12
Add Allow ance Activity Figure 6.4.6
6.4.7 Add Deduction
13
Add Deduction Activity Figure 6.4.7
6.4.8 Update Salary
14
Update Salary Activity Figure 6.4.8
6.4.9 Generate Pay
15
Generate Pay Activity Figure 6.4.9
6.4.10 Get Pay Details
16
Get Pay Details Activity Figure 6.4.10
17
6.5 DFD Level-1
18
DFD Level 2 Figure 6.6.1
6.6.2 Allowance & Deduction Module
19
6.7 Entity Relationship Diagram
20
Class Diagram Figure 6.8
7.2 Java FX
We use Java FX for development of frontend (screens) of EMPSAL Bank. We
design screens with Java FX by using Sean Builder 9.0. Sean Builder has graphical
user interface, we can generate screens by drag and drop components in it.
7.3 MySQL
We use MySQL database for storing all data of employees, departments, salary,
allowance and deduction.
21
InteliJ IDE provides many facilities and shortcuts while coding.
7.5 Xamp
We use Xamp for server hosting and managing ports of system.
7.6 SQLyog
We use SQLyog for creating, altering and testing queries for database.
8. Screens
8.1 Login Screen
This is the first screen of software. In this screen we can where the authenticate
organization user like (HR department, cashier, data entry operator) can login and use
the software according to their designation, like HR department has high designation
than cashier and data entry operator.
22
Illustration I
23
Illustration II
8.3 Reset Password 2nd Stage
After validating backup email address from the database. The following window
occurs for new password and confirm new password. The new password saves in the
database and now the user can use this software.
24
Illustration III
8.4 Dashboard
This is first screen for the users of this software. In this screen you can All tabs
are left side in navbar. A graph shows the result of company’s result. This screen is
fully use by some high priority users like HR department. And when a cashier or data
entry employee login some are buttons will be disable to work because they don’t have
25
the authority to add or delete employee or mark attendance. He can only generate
payroll.
Illustration IV
26
Illustration V
8.6 Manage Employee
In this window there are 2 things on the top right. One is employee id search
box. In which we enter employee id his save record fills in the form. 2nd is combo box
which have different departments like finance, sales. In this screen we can update
employee information or if he is resigned we can quit him.
27
Illustration VI
28
Illustration VII
8.8 Attendance
This module is used by data entry operator. In this module we have employee
id name, department and its status. if he or she is available then present and if not appear
then absent. If he is on leave like health leave marriage leave or some other than his
status is considered leave. We have combo box for selecting different departments. We
have start attendance button for staring attendance and submit button for submitting it.
29
Illustration VIII
8.9 Allowance
In this section we select department from combo box or search employee id in
search bar and then we add detail for the employee for what type of allowance he or she
is getting like medical allowance performance bonus or etc. After entering all the
allowances, we click the calculate button for adding it in the basic salary and. Then we
click load button for save it in the database.
30
Illustration IX
8.10 Deduction
In this section we select department from combo box or search employee id in
search bar and then we add detail for the employee for what type of deduction he or she
is getting like task not achieving. We can enter deduction by percentage or by writing
the total amount of it. After entering all the deductions, we click the calculate button
for subtracting it in the basic salary and. Then we click load button for save it in the
database.
31
Illustration X
8.11 Payroll
This module is used by cashier. In this module we have employee id his name,
basic salary and his allowances and his deductions. Salary is the collection of debit
allowances and credit deductions. We have a generate pay button for generating the pay
of an employee.
32
Illustration XI
8.12 Reports
In this window we have 5 different buttons for 5 different type of reports like
employee button show the total no of employee, and salary button show the total
number of employee and attendance button show the attendance of employee.
33
Illustration XII
34
range button to select your desire from and to. then click the save report button for
saving it.
Illustration XIII
9. References
1. John O'Conner. (March 2006). Using Java DB in Desktop Applications.
Retrieved from
https://www.oracle.com/technetwork/articles/javase/javadb141163.html
2. Oracle. (September 2013). Getting Started with JavaFX. Release 2.2.40.
35
Retrieved from
https://www.oracle.com/technetwork/articles/javase/javadb141163.html
3. Roger S. Pressman. (January 2009). Software Engineering: A Practitioner's
Approach.
4. Herbert Schildt. (April 2014). Java: The Complete Reference, Ninth Edition.
5. Eric Freeman, Elisabeth Robson. (April 2014). Head First JavaScript
Programming: A Brain-Friendly Guide.
6. Cay S. Horstmann. (December 2012). Core Java Volume I--Fundamentals (9th
Edition) (Core Series).
36