Supermarket Project Docmentation
Supermarket Project Docmentation
1.2 Objectives:
1. The objective of the“Supermarket Management System “is to produce software which manages
the sales activity done in a supermarket, maintaining the stock details, maintaining therecords of
the sales done for a particular month/year.
2. The users will consume less time in calculationand the sales activity will be completed within a
fraction of seconds whereas manual system will make the user to write it down which is a long
procedure and it also consumes a lot of time.
3. The data will be stored in the database.
4. Because of this software, paper work will be reduced and the user can spend more time on the
monitoring the supermarket.
5. To store large amoun tof data in the datbase which will reduce clumsiness.
6. The project will be user friendly and easy to use.
One kind of retail business is supermarket. Supermarket is also a market that has the characteristic of
intense competition with high trunover rates and poor margins, every transaction counts. The
supermarket management system provide easy to access to increase the storees effectiveness.
1
Saket College of Arts, Commerce and Science
lOMoARcPSD|40183296
‘Supermarket Management system’ is for managing reguler work in a supermarket. This system is
developed by using java language as front end and mysql as back end(database).
The Application starts with a nice looking splash form which leads to a login form. The login form
will be connected to a database, if the user id and password match the database entries, the user will
login to the main form.this is multiple user system .There is two user’s type Admin and Cashier.
Admin’s account is created by themseleve while Cashier’s account is created by Admin.In creating
any account user should enter their name username password and also select security question and
add answer for validation part. If any user forget their password, they can update their password by
security question and answer. The Admin can go to the supermarket system’s main form . He can
add, edit, delete and view product’s stock in table which is also available in system. The Admin can
purchase new products. If product is new , then he have to enter Product category product name,
brand, cost price, retail price in product page. If product is out of stockdamage then admin can change
availability status of the product.This all stock management work is done only by the person who’s
account was created by admin.
Cashier can only sale products and view product details. Cashier sale product with receipt.If stock of
product is finished then cashier get a message like ‘stock is not available’.Purchase and sales all
details is store in database also calculation part is done smoothley with this system.
The purpose of the project is to build an application program to reduce the manual work for managin
a supermarket’s work. It helps admin to managing all the product’s stock. This system helps to store
all data of product, purchase of the product, sale and also store all details of user’s it help in login
system in supermarket management system. Cashier’s sales part will also became easy with this
system. All the calculation part also will being easy.
The proposed system provides an oppertunity to the small business of supermarket to increase thier
business strenth.
1.6 Scope :
This project is helpful to computerise the item transaction, sles activity record keeping which is a
very huge task and maintaining the stock of any supermarket “Supermarket Management System”
software developed for a company has been designed toreduce the time taken to handle the sales
activity. It is designed to replace an existing manual recordsystem for reducing time taken for
calculations and for storing data
2
lOMoARcPSD|40183296
1.8 Requiremnt:
v Software requirement :
Ø Netbeans ide-8.0
Ø Jdk-8.0_windows
Ø Mysql commond prompt
v Hardware requirement:
3
lOMoARcPSD|40183296
Spiral Model:
The model followed in this project of Car Rental System is Spiral Model.
Spiral model is one of the most important Software Development Life Cycle models, which provides
support for Risk Handling. In its diagrammatic representation, it looks like a spiral with many loops.
The exact number of loops of the spiral is unknown and can vary from project to project. Each loop
of the spiral is called a Phase of the software development process. The exact number of phases
needed to develop the product can be varied by the project manager depending upon the project risks.
As the project manager dynamically determines the number of phases, so the project manager has an
important role to develop a product using the spiral model.
The Radius of the spiral at any point represents the expenses(cost) of the project so far, and the angular
dimension represents the progress made so far in the current phase.
4
lOMoARcPSD|40183296
5
lOMoARcPSD|40183296
Chapter 2
Requirement Specification
I. Netbeans ide-8.0
II. Jdk-8.0_windows
III. Mysql commond prompt line
6
Saket College of Arts, Commerce and Science
Chapter 3
Tool Description
An important issue for the development of a project is the selection of suitable front-end and
back-end. When we decided to develop the project we went through an extensive study to
determine the most suitable platform that suits the needs of the organization as wellas helps in
development of the project.
3.1 Front End:
About Java:
7
Saket College of Arts, Commerce and Science
About MySQL:
MySQL is a fast, easy-to-use RDBMS being used for many small and big businesses.
MySQL is developed, marketed and supported by MySQL AB, which is a Swedish
company. MySQL is becoming so popular because of many good reasons.[1]
MySQL is released under an open-source license. So you have nothing to pay to use it.
MySQL is a very powerful program in its own right. It handles a large subset of the
functionality of the most expensive and powerful database packages. MySQL uses a
standard form of the well-known SQL data language. MySQL works on many operating
systems and with many languages including PHP, PERL, C, C++, JAVA, etc.
MySQL works very quickly and works well even with large data sets. MySQL is very
friendly to PHP, the most appreciated language for web development. MySQL supports
large databases, up to 50 million rows or more in a table. The default file size limit for a
table is 4GB, but you can increase this (if your operating system can handle it)to a theoretical
limit of 8 million terabytes (TB).
8
Saket College of Arts, Commerce and Science
Chapter 4
System Design
ER Diagram:
ER diagrams are used to model and design relational databases, in terms of logic and business rules (in a
logical data model) and in terms of the specific technology to be implemented (in a physical data model.)
In software engineering, an ER diagram is often an initial step in determining requirements for an
information systems project. It’s also later used to model a particular database or databases. A relational
database has an equivalent relational table and can potentially be expressed that way as needed.
ER diagrams are used to analyze existing databases to find and resolve problems in logic or deployment.
9
Saket College of Arts, Commerce and Science
10
Saket College of Arts, Commerce and Science
Zero level DFD diagram are diagrams where the whole system is represented as a single process
.It’s a basic overview of the whole system or process being analyzed ormodeled. It’s designed to
be an at-a-glance view, showing the system as a single high-level process, with its relationship to
external entities.
A data flow diagram shows the way information flows through a process or system. It includes data inputs
and outputs, data stores, and the various subprocesses the data moves through. DFDs are built using
standardized symbols and notation to describe various entities and their relationship
11
Saket College of Arts, Commerce and Science
12
Saket College of Arts, Commerce and Science
13
Saket College of Arts, Commerce and Science
A use case diagram is a graphical depiction of a user's possible interactions with a system. A use case
diagram shows various use cases and different types of users the system has and will often be
accompanied by other types of diagrams as well. The use cases are represented by either circles or
ellipses.
Actor: -An actor represents a user or another system will interact with the system that you are
modeling.
Use Case: -A use case is an external view of the system that represents some action that might
perform in order to complete a task.
System Boundary: - A System boundary defines a scope of what system will be. A system
cannot have infinite functionality a system boundary defines the limitation of system.
4.4.1. use case diagram for Admin
14
Saket College of Arts, Commerce and Science
Represents objects
activation.
15
Saket College of Arts, Commerce and Science
A Schema diagram is the skeleton structure that represents the Logical view of the database.
It contains a descriptive details of the database.
A database schema defines how the data is organised using the schema diagram. A schema
diagram is a diagram which contains entities and the attributes that will define that schema.
A schema diagram only shows us the database design. It does not show the actual data of
the database.
16
Saket College of Arts, Commerce and Science
A class diagram is a diagram used in designing and modeling software to describe classes
and their relationships. Class diagrams enable us to model software in a high level of
abstraction and without having to look at the source code.
Classes in a class diagram correspond with classes in the source code. The diagram shows
the names and attributes of the classes, connections between the classes, and sometimes also
the methods of the classes.
17
Saket College of Arts, Commerce and Science
18
Saket College of Arts, Commerce and Science
Account table consist of 6 attributes which are name, username, password, security question,
answer and type(Admin/ Cashier) etc.
desc Account;
2. Product table:
Products table consist of 10 attributes which are id(auto_incremented), category, barcode, cost,
retail, qty, name, unit, statu, brand etc.
desc Products;
3. Purchase table:
purchase table consist of 5 attributes which are id(auto_incremented), date, subtotatal, pay,
bal etc.
desc purchase;
19
Saket College of Arts, Commerce and Science
PurchaseItem table consist of6 attributes which are id(auto_incremented), purid, rprice, qty,
total, pid etc.
desc PurchaseItem;
5. Sales table:
sales table consist of 5 attributes which are id(auto_incremented), date, subtotatal, pay, bal etc.
desc sales;
20
Saket College of Arts, Commerce and Science
SalesItem table consist of 6 attributes which are id(auto_incremented), saleid, price, qty, total,
pid etc.
desc SalesItem;
21
Saket College of Arts, Commerce and Science
Chapter 7
Conclusion and Future Scope
7.1 Conclusion:
The Supermarket Management System is a system which admin can easily use for his/her
to stop the rising problem to all manual supermarket operation in order to enhance the
operation of suchsupermarket. In this project, the software or system that can be used to
aid all supermarkets that is still operating manually have been successfully developed.
With business opportunities increasing as never before, companies are in dire need of
efficient management. One uch key area is to maintain a methodical way of managing large
DBMs is a vital tool for future growth of business organiztions. It offers a simple, efficient
and reliable way of storing, managing and accessing data.the feature offered by DBMS
are:Backup, Security and Computation which are the need of a fast-paced corporate system.
The project is helpful to computerised the item transaction, sales activity ,record keeping
105
Saket College of Arts, Commerce and Science
Chapter 8
Reference
www.javatpoint.com
www.wikipedia.com
www.w3school.com
106
Saket College of Arts, Commerce and Science