Beruflich Dokumente
Kultur Dokumente
com
Chapter 1
Introduction
Undergoing Major Modification: Data will be stored in the database after the development.
.
In this project Java has been used as the Front-End tool and MS Access has been used as the
back-End tool.
The following are the Scope and area covered:
Menu
Reports
Fig 1.1
2
www.freestudentprojects.com
www.freestudentprojects.com
you to participate in this open development project. Apache Tomcat powers numerous large-
scale, mission-critical web applications across a diverse range of industries and organizations.
Some of these users and their stories are listed on the PoweredBy wiki page.
MS ACCESS is used to create simple database solutions. Access tables support a variety of
standard field types, indices, and referential integrity. Access also includes a query interface,
forms to display and enter data, and reports for printing. The underlying Jet database, which
contains these objects, is multiuser-aware and handles record-locking and referential integrity
including cascading updates and deletes. Data is locked at the record level which is
significantly different from Excel which locks the entire spreadsheet.
JAVA has evolved to be the most predominant and popular general purpose
programming language of the current age. Java is a simple, portable, distributed, robust, secure,
dynamic, architecture neutral, object oriented programming language.
3
www.freestudentprojects.com
www.freestudentprojects.com
Chapter 2
2.1 Introduction:
The Software Requirement Specification is a document that describes the external
requirement for any system. The Requirement analyst has to identify the Requirements by
taking to the clients and understanding their needs. The inputs are to be gathered from
different resources, these inputs may be inconsistent. The Requirement phase translates the
ideas in the minds of the clients into a formal document. Here the user needs are accurately
specified. Requirement must be actionable, measurable and testable related to business need
or opportunities and defined to a level of detail sufficient for system design.
4
www.freestudentprojects.com
www.freestudentprojects.com
2.1.1 Purpose
The mobile store management will make storing of the stock records, employee
records, purchase information, and customer information a lot easier. The supplier and sales
information in the database it will automatically generate bills when the customer buys the
mobile. The bill history can be retrieved promptly. And reports will be generated based on
different criteria
2.1.2 Scope
The project could be implemented in an average sized organization. An average
company will not be very keen on spending loads of money on ledgers. Whereas our project
will greatly reduce the costs which is using common and cheap office items like database and
desktop application. And also there is no requirement to store books or accounts. The data is
directly stored in the database in the hard disk of the PC.
2.1.3 Overview
This project Mobile store management system is software part of the Mobile
Billing management system; on improving this software we can easily track all the Employee
detail, sales item detail and purchase detail, stock detail ,bill detail and also we can able
generate report. The main goal of the software is build a good management tool. The Mobile
Billing management will make storing of the customer records, stock records, sales detail ,
employee information in the database it will automatically generate bills when the customer
purchase mobile. The customer purchase and item stock history can be retrieved very
promptly. And reports should be generated based on different criterias.
5
www.freestudentprojects.com
www.freestudentprojects.com
performed during the entry of the data by the user thus ensuring that the user can not enter
any wrong data which would cause problem later.
6
www.freestudentprojects.com
www.freestudentprojects.com
Purchase
Purchase Order
Employee Detail
Add Employee Detail
Daily Expense
Add Expense
Reports
Stock Report
Sale Report
Purchase Report
Employee Report
Login
Change Password
7
www.freestudentprojects.com
www.freestudentprojects.com
8
www.freestudentprojects.com
www.freestudentprojects.com
APACHE TOMCAT is an open source software implementation of the Java Servlet and
JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are
developed under the Java Community Process. Apache Tomcat is developed in an open and
participatory environment and released under the Apache License version 2. Apache Tomcat is
intended to be a collaboration of the best-of-breed developers from around the world. We invite
you to participate in this open development project. Apache Tomcat powers numerous large-
scale, mission-critical web applications across a diverse range of industries and organizations.
Some of these users and their stories are listed on the PoweredBy wiki page.
9
www.freestudentprojects.com
www.freestudentprojects.com
"JAR hell" by letting developers organize their code into strictly separated and versioned
modules. Only those that have explicitly declared dependencies on each other are able to use
code from each other's exposed packages. This strict organization is of particular relevance to
large applications developed by engineers in distributed environments, during the development as
well as the maintenance of their shared codebase. End users of the application benefit too
because they are able to install modules into their running applications, since modularity makes
them pluggable. In short, the NetBeans runtime container is an execution environment that
understands what a module is, handles its lifecycle, and enables it to interact with other modules
in the same application.
Security
This system is provided with authentication without which no user can pass. So only
the legitimate users are allowed to use the application. If the legitimate users share
the authentication information then the system is open to outsiders.
Reliability
Availability
This system will only available till the system on which it is installed is running.
Maintainability
There will be no maintenance required for the software. The database is provided by
the Administrator and therefore is maintained by this Administrator.
10
www.freestudentprojects.com
www.freestudentprojects.com
Portability
Chapter 3
System Design
3.1 Introduction:
The purpose of the Design Phase is to a solution of the problem specified in the
requirements document. This is the first step in moving from the problem domain to the
solution domain. The design of a system is perhaps the most critical factor affecting the
quality of the software; it has a major impact on the later phases is the Design Document.
This Document is similar to a blueprint or a plan for the solution and is used later during
implementation, testing and maintenance.
The goal of the design process is to produce a model of a system, which can be used
later to build that system. The produced model is called design of the system.
3.2 Overview:
11
www.freestudentprojects.com
www.freestudentprojects.com
The Design activity is often divided into separate phases System Design and
Detailed Design. System Design is sometimes also called Top-Level Design. This system
design aims to identify and modules that should be in the system, the specifications of these
modules, and how they interact with each other to produce the desired result. At the end of the
System Design all the major data structures, file formats, and the major modules in the system
and their specifications are decided.
3.3 Scope:
This Application works in Multiple PCs 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.
3.4 Background:
The background entity for the MSM is mainly on the paper work.
All the documents reports where prepared and maintained manually by the employers.
So primary scope of this MSM will reduce the paper work and to have system generated
bill with accurate calculations.
3.5.2 Constraints:
The constraints of this project are the system must support the runtime files of java and
must be able to run all the forms.
Login and password is used for identification of user and there is no facility for
12
www.freestudentprojects.com
www.freestudentprojects.com
Customers.
3.6.2 Risks
Image processing is more difficult in core java in order to overcome.We can also
use html coding, design is not userfriendly its very rigid. Microsoft access to store the
data unlimitedly
13
www.freestudentprojects.com
www.freestudentprojects.com
Since we are using Tomcat if there is any updates it will be automatically saved in c
drive,so the future system developers can refer to c drive.
Server Classloader
directory: Webapp Classloader(s)
lib/container directory:
default contents: WEB-INF/classes
crimson.jar WEB-INF/lib
facade22.jar |
jasper.jar
Apps Classloader
tomcat_modules.jar
tomcat_util.jar directory:
xalan.jar lib/apps
(if RPM)commons- default contents:
collections.jar
commons-dbcp.jar empty
commons-pool.jar
\ /
14
www.freestudentprojects.com
www.freestudentprojects.com
Common Classloader
directory:
lib/common
default contents:
connector_util.jar
core_util.jar
etomcat.jar
jasper-runtime.jar
servlet.jar
tomcat_core.jar
|
Application Classloader
the CLASSPATH classloader
default contents:
tomcat.jar
|
JDK Extensions Classloader
directory:
jdk/jre/lib/ext
Fig 3.1 System Software Architectur
Database Handling
using frames
Access and
responses
using java
PC
running
Tomcat 15
www.freestudentprojects.com
server
www.freestudentprojects.com
B. Details of interface
Admin login into the application user name & password.
After successful login enters the details of new items arrived for
instance serial no, code no, item name, price etc.
Customer can shop mobile phones admin sells to customer and generate
bill.
In expense form we can details details of daily expenses.
Finally the report form is to view stock, sales, purchase & employee
reports.
16
www.freestudentprojects.com
www.freestudentprojects.com
treated as single process and all its inputs, outputs, sinks and sources are identified and
shown below.
17
www.freestudentprojects.com
www.freestudentprojects.com
NOTATION DESCRIPTION
Processes or transform are represented by
circles in a DFD. This shows what systems
do. Each process has one or more data inputs
and produces one or more data outputs. Each
process has a unique name which appear
inside the circle that represent the process in a
DFD.
The rectangle is used to represent an external
entity, that is a system element or another
system that produces information for
transaction by the software or receives the
information produced by the software.
An arrow represent one or data items or data
objects. A data flow shows the flow of
information from its source to its destination.
18
www.freestudentprojects.com
www.freestudentprojects.com
19
www.freestudentprojects.com
www.freestudentprojects.com
20
www.freestudentprojects.com
www.freestudentprojects.com
21
www.freestudentprojects.com
www.freestudentprojects.com
22
www.freestudentprojects.com
www.freestudentprojects.com
23
www.freestudentprojects.com
www.freestudentprojects.com
Chapter 4
Database Design
4.1General Information
A database is a system intended to organize, store, and retrieve large amounts of data
easily. It consists of an organized collection of data for one or more uses, typically in
digital form.
Database design is the process of producing a detailed data model of a database. This
logical data model contains all the needed logical and physical design choices and physical
storage parameters needed to generate a design in a Data Definition Language, which can then
be used to create a database. A fully attributed data model contains detailed attributes for each
entity.
4.2 Purpose
designing ,not just the data structure,but also the forms and queries used as part of the over all
database applicationwith the database management system.
4.3 Scope
This application uses MS access database to store and retrieve information. All the
fields in the table are designed according to the values required in the project. If we have good
database then easy to locate the data or information in less time. Using database, admin can
update the data and user can access the information. It contain a short description of the data
using in the application.
25
www.freestudentprojects.com
www.freestudentprojects.com
PDate:Purchase date
4.6.2 Coordination
Database should be secure, Security is the degree of protection against danger, damage,
loss, and criminal activity. Security as a form of protection are structures and processes that
provide or improve security as a condition.
26
www.freestudentprojects.com
www.freestudentprojects.com
Itemmaster Table
Serial_No ModelName Companyname CodeNo Description ItemDate Color Qty Price
Purchase Table
Serial_no Codeno pDate Dealer_ Itemname Itemgroup Description Price Qty TotalAmount
Name
Sale Table
SDate Serial_no Cname Caddress Itemname Itemgroup Price Qty TotalAmount
Expense Table
EDate Detail Amount
Bill Table
SDate maxno billno Cname Caddress Itemgroup Itemname Price Qty TotalAmount
empid Name Age Address Sex Designation DOB Experience DOJ Salary
Dealer table
Dealername
4.7.5 Description
The database used in our application namely
28
www.freestudentprojects.com
www.freestudentprojects.com
Login Table
Bill Table
Employee info Table
Expense Table
ItemMaster Table
Purchase Table
Sale Table
Dealer table
The Itemmaster table stores the details of items like mobile phones and its accessories.
Fields:Serial_No,itemname,itemgroup,Codeno,Description,Itemdate,color, price,qty.
Primary key: Serial_No
The Purchase Table stores the information about purchase details.
Fields:Serial_No,pdate,dealername,itemname,itemgroup,codeno,description,price,qtytota
lamount.
Primary key: codeno
The Sale Table stores the information about sales details.
Fields:Serial_ no,sdate,cname,caddress,itemname,itemgroup,Price,Qty,TotalAmount.
Primary key :Serial_ no
The Bill Table stores the bill information
Fields:maxno,billno,sdate,cname,caddress,itemname,itemgroup,Price,Qty,
TotalAmount
Primary key:Bill_no
The Employee info Table stores the employee information.
Fields:EmpID,Name,Age,Address,Sex,Designation,DOB,Experience,DOJ,Salary.
Primary key:EmpID
The Expense table stores the information of daily expense.
Fields:EDate,Detail,Amount
The Dealer table contains names of dealers.
Fields:Dealername
29
www.freestudentprojects.com
www.freestudentprojects.com
DOJ
Salary
Itemmaster
Serial_no
Purchase
Codeno
Serial_no
Itemname
pDate
Itemgroup
Dealername
Description
Itemname
Itemdate
Itemgroup
color
Codeno Dealer
Qty
Description Dealername
Price
Qty
Sale Price Bill
Serial_no Totalamount maxno
sDate sDate
Cname billno
Caddress Cname
Itemgroup Caddress
Itemname Itemgroup
Price Itemname
Qty Price
Totalamount Qty
Totalamount
31
www.freestudentprojects.com
www.freestudentprojects.com
4.8 ER Diagram
An Entity Relation(ER) Diagram is a specialized graphics that illustrates the
interrelationship between entities in a database. ER diagrams often use symbols to represent 3
different types of information. Boxes are commonly used to represent entities. Diamonds are
normally used to represent relationships and ovals are used to represent attributes.
Entity:
The thing which we want to store information. It is an elementary basic building block
of storing information about business process. An entity represents an object defined within
the information system about which you want to store information. Entities are distinct things
in the enterprise.
Relationships:
A relationship is a named collection or association between entities or used to
relate two or more entities with some common attributes or meaningful interaction between
the objects.
Attributes:
Attributes are the properties of the entities and relationship, Descriptor of the
entity. Attributes are elementary pieces of information attached to an entity.
32
www.freestudentprojects.com
www.freestudentprojects.com
33
www.freestudentprojects.com
www.freestudentprojects.com
Amount
Password
Details
EDate
Username
Expense
Admin Handles
Employee info
Name DOB
ex
Serial_no Contain_
Address DOJ
details ress
Qty
Salary Age
Price
me
Experience
Color Itemmaster
Sex
Designation lary
Codeno
Itemdate Empid
itemname Description
Totalamount
itemgroup
Serialno
Serialno Qty
Qty
Price Produces Price
Codeno
Totalamount itemgroup
pDate
itemname
Bill
maxno
Caddress
SDate
Purchase
_from Cname Itemgroup
Totalamount
Price
billno
Dealer Qty
Itemname
Dname
34
www.freestudentprojects.com
www.freestudentprojects.com
Description: The table store the information of items like mobile phones.
35
www.freestudentprojects.com
www.freestudentprojects.com
37
www.freestudentprojects.com
www.freestudentprojects.com
38
www.freestudentprojects.com
www.freestudentprojects.com
4.10.1 Responsibility
Essentially, the main role of a database administrator has to do with overseeing the
installation and ongoing function of software on a system designed for use by a number of
users. There are several specific responsibilities that the typical database administrator will
perform in just about any corporate environment.
A basic responsibility for just about every database administrator involves the
installation of new databases. As part of the database installation, the database administrator
will set up login credentials to authorized persons, define the privileges associated with each
authorized user, and ensure that every work station attached to the network is set up to access
the new database. This process usually involves a period of
troubleshooting, in which the database administrator will address and resolve any problems
that users experience with the new product.
There are four different types of database administrator jobs: installation, maintenance,
data modeling, and user management. A database administrator is responsible for
managing the database(s) that are used to hold the data for large database-driven
software.
Computers often play an integral role with sales team activities and documentation
tracking. Sales administrator jobs may therefore manage information technology to
minimize electronic data problems.
39
www.freestudentprojects.com
www.freestudentprojects.com
40
www.freestudentprojects.com
www.freestudentprojects.com
Microsoft has worked under the code name Windows 7 on the successor of Windows
Vista since approximately August 2007. The new operating system is based on Windows
Vista and comes with new programme functions and improvements in detail. Steve Ballmer
talked with a keynote onto the Gartner Symposium IT 2008 on October 16th, 2008, that
Windows 7 one Windows Vista is but with numerous improvements. It shall be release after
2.5 years development time as a new Windows major release. The version number is not
increased to 7.0 but to 6.1 for compatibility reasons. Through this Microsoft wants to prevent
problems with programmes which checks the version number. Microsoft introduced the first
Windows 7 test release with the build 6801 on the Professional Developer Conference in Los
Angeles onOctober 28th, 2008.
Memory (RAM) 1 GB 2 GB
4.11.5 Security
Microsoft Access offers several ways to secure the application while allowing users to
remain productive. The most basic is a database password. Once entered, the user has full
control of all the database objects. This is a relatively weak form of protection which can be
easily cracked.
A higher level of protection is the use of workgroup security requiring a user name and
password. Users and groups can be specified along with their rights at the object type or
individual object level. This can be used to specify people with readonly or data entry rights
but may be challenging to specify. A separate workgroup security file contains the settings
41
www.freestudentprojects.com
www.freestudentprojects.com
which can be used to manage multiple databases. Workgroup security is not supported in the
Access 2007 ACCDB database format, although Access 2007 still supports it for MDB
databases.
Databases can also be encrypted. The ACCDB format offers significantly advanced
encryption from previous versions.
Additionally, if the database design needs to be secured to prevent changes, Access
databases can be locked/protected (and the source code compiled) by converting the database
to a .MDE file. All changes to the VBA project (modules, forms, or reports) need to be made
to the original MDB and then reconverted to MDE. In Access 2007, the ACCDB database is
converted to an ACCDE file. Some tools are available for unlocking and "decompiling",
although certain elements including original VBA comments and formatting are normally
irretrievable.
All Devices:
Name Type
Generic Flash Disk USB Drive Disk Drives
Hitachi S545016139A3000 Disk Drives
MATSHITA DVD RAM UJ890ASATA DVD/CD
Fig 4.4 Storage Requirements
4.13 Recovery
Numerous occurrences could lead to data loss: data or database elements could be
accidentally deleted; data could become corrupted by the addition of bad data; hardware, such
as a disk or server, could fail; or disasters, such as flooding, could destroy your server and
storage media. Since we are using access data in database is automatically stored in c drive.
42
www.freestudentprojects.com
www.freestudentprojects.com
Backup
The simplest backup technique is the Dump.You need to store the data in the database twice.
as dumping is expensive, it probably cannot be performed as often as one would like.Another
backup technique is we can store our information in Hard Disk,Tape drive,DVD.
A hard disk drive (HDD) is a non-volatile, random access device for digital data. It features
rotating rigid platters on a motor-driven spindle within a protective enclosure. Data is
magnetically read from and written to the platter by read/write heads that float on a film of air
above the platters.Hard disk manufacturers quote disk capacity in multiples of SI-standard
powers of 1000, where a terabyte is 1000 gigabytes and a gigabyte is 1000 megabytes. With file
systems that report capacity in powers of 1024, available space appears somewhat less than
advertised capacity.
Chapter 5
Detailed Design
5.1 Introduction
This section describes which are the modules required for implementing the system.
This is done in informal design. Formal design describes the internal of each modules, it
describes the logic implemented in that module to perform the desired function, it shows what
inputs are given and what outputs are coming from that module and how operations are
performed on inputs to get outputs.
The design document is the developers blueprint. It provides precious directions to
software programmers about how basic control and data structures will be organized. The
Design document is written before programming starts. It describes how the software will be
structured and what functionality will be included. This document forms the basis for all
future design and coding.
As the project is user friendly, it can be applied to large database with more
information. This software can use by any sanitary administrators to make their work simple.
The can get information quickly as possible. It can handle large volume of data and present
report whenever required.
44
www.freestudentprojects.com
www.freestudentprojects.com
Itemmaster Employee
Sale
Purchase details
Purchase Add
Add item Add sale employee
Order
details
Save Save
Add Save
Show all Show
Show all Show all all
Generate
Edit item bill Update
Update
Delete Sale Delete
Delete item e
Delete
Delete
Daily Expense
Reports Login
Add expense
Stock Change
password
save
Sales
Show all Change
Purchase
Employee
details
5.5.1 Itemmaster
5.5.1.1 Design Assumptions
After successful login enters the details of new items arrived for instance serial no, code
no, item name, price,qty etc.,
5.5.1.2 Itemmaster module
Sub modules are:Add item,Edit,Delete.
5.5.1.3 Structured chart
Itemmaster
5.5.2 Sale
5.5.2.1 Design Assumptions
If there is any sales on the particular date details of the sale are added for instance
sdate, customer name, company name, total amount.
5.5.2.2 Sales module
Sub modules are:Add Sales, Delete sale.
46
www.freestudentprojects.com
www.freestudentprojects.com
Sale
Itemname,
custname, Delete
Price,qty Sale details selected sale
item
5.5.3 Purchase
5.5.3.1 Design Assumptions
If there is not enough stock, then the admin purchase the items from dealer.
5.5.3.2 Purchase module
Sub modules are:Purchase Order
Purchase
Pdate,Itemname,cust
name,Price,qty Purchase
details
Purchase
Order
47
www.freestudentprojects.com
www.freestudentprojects.com
DailyExpense
Edate,Detail,Am
t Expense
details
Add Expense
48
www.freestudentprojects.com
www.freestudentprojects.com
Employee
Details
Empid,name,
salary, Employee details
age
Add Employee
details
5.5.6 .Reports
5.5.6.1 Design Assumptions
Finally the report form is to view stock, sales, purchase & employee reports.
5.5.6.2 Reports module
Sub modules are: stock, sales, purchase & employee reports
5.5.6.3 Structured chart
Reports
Employee
details
Stockdetail
s
Purchase Sale
details detail
s
Stock Purchase Sales Employe
e
Login
Username, Password
Change password
5.6.Detailed Design
5.6.1.Itemmaster:
5.6.1.2 Input:- serial no, item name, itemgroup, code no,description, date, color, qty,price.
5.6.1.3 Procedural Details (Flow chart)
Start
False
Is
Input=correct
Enter Correctly
True
Exit
50
www.freestudentprojects.com
www.freestudentprojects.com
Stop
5.6.1.5 Output: All the entered data will be stored in respective database and will be
displayed in the grid.
5.6.2 Sale:-
5.6.2.1 Input:- serialno,sdate, cname, caddress, item group, item name, qty, price, total
amount.
Start
False
Is
Input=correct
Enter Correctly
True
Exit
Stop
5.6.3 Purchase:-
5.6.3.1 Input:- pdate, codeno.serialno,dealername, item group, item name, description,qty,
price, totalamount.
Start
pdate, codeno.serialno,dealername,
item group, item name,
description,qty, price, totalamount.
Is False
Input=correct
Enter Correctly
True
Exit
Stop
52
www.freestudentprojects.com
www.freestudentprojects.com
Start
Edate,expensedetail,Amount
Is False
Input=correct
Enter Correctly
53
www.freestudentprojects.com
Exit
Stop
www.freestudentprojects.com
True
Start
empid,name.address,age,sex,de
signation,DOB,DOJ,experience
salary
54
www.freestudentprojects.com
www.freestudentprojects.com
False
Is
Input=correct
5.6.6 Login :
Start
Input Username,Password
55
Is
www.freestudentprojects.com
Input=correct
www.freestudentprojects.com
False
Invalid ID
True
Login
Stop
Functional components login when clicked after giving the username and password
correctly it takes us to a new page which is the home page, with other functional
components.
5.6.6.4 Output:
Allows administrator to enter into a new page.
Chapter 6
Program Code
6.1 Introduction:
The goal of coding or programming activity is to implement the design in the best possible
manner. The coding activity affects both testing and maintenance profoundly. The goal of
coding should be to reduce the testing and maintenance effort. Hence,during coding the focus
should be on developing programs that are easy to read and understand, and simply on
developing programs that are easy to write.
56
www.freestudentprojects.com
www.freestudentprojects.com
panelPass.add(L2);
t2=new JPasswordField(10);
panelPass.add(t2);
mypanel.add(panelPass);
if(ae.getSource()==b1)
{
try
58
www.freestudentprojects.com
www.freestudentprojects.com
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:mob11");
s = con.createStatement();
rs=s.executeQuery("select * from userlog where name='" + t1.getText() + "' and
password='" + t2.getText() + "'");
while(rs.next())
{
System.out.println("hsfhfsdkfhjksdhfksdf");
parent.initial();
myDialog.dispose();
dispose();
}
}catch(Exception ea){}
}
}
}
Main form:
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.JDesktopPane;
import javax.swing.JComponent;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.ImageIcon;
import java.sql.*;
59
www.freestudentprojects.com
www.freestudentprojects.com
Dimension screen;
public MobMain()
{
super("Mobile Management");
desktop = new JDesktopPane();
screen = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
setSize(screen.width,screen.height-30);
Container c = new Container();
c.setBackground(Color.GREEN);
mb=new JMenuBar();
menu1=new JMenu("ITEM MASTER");
menu2=new JMenu("SALES MASTER");
menu3=new JMenu("PURCHASE MASTER");
menu6=new JMenu("DAILY EXPENSE");
menu4=new JMenu("EMPLOYEE DETAILS");
menu7=new JMenu("VIEW DETAILS");
menu10=new JMenu("REPORTS");
Cmenu1=new JMenu("LOGIN");
Menu6.addActionListener(this);
menu2.add(Se1=new JMenuItem("Add Sales"));
Se1.addActionListener(this);
Cmenu = new JMenuItem("Change Password");
Cmenu.addActionListener(this);
M6=new JMenuItem("Purchase Order");
M6.addActionListener(this);
M10=new JMenuItem("Stock report");
M10.addActionListener(this);
M11=new JMenuItem("Sales report");
M11.addActionListener(this);
M12=new JMenuItem("Purchase report");
M12.addActionListener(this);
M13=new JMenuItem("Employee report");
M13.addActionListener(this);
menu1.add(M1);
menu1.add(M2);
menu1.add(M5);
menu4.add(M4);
menu1.add(M7);
menu10.add(M10);
menu10.add(M11);
menu10.add(M12);
menu10.add(M13);
Cmenu1.add(Cmenu);
menu2.add(M3);
menu6.add(Menu6);
menu3.add(M6);
mb.add(menu1);
mb.add(menu2);
mb.add(menu3);
mb.add(menu4);
62
www.freestudentprojects.com
www.freestudentprojects.com
mb.add(menu6);
mb.add(menu10);
mb.add(Cmenu1);
add(mb);
new LoginForm(this);
desktop.add(ed);
ed.setVisible(true);
}
if(ae.getSource()==M13)
{
System.out.println(M2);
Empinfor empf=new Empinfor();
desktop.add(empf);
empf.setVisible(true);
}
if(ae.getSource()==M7){
System.exit(1);
}
if(ae.getSource()==M6)
{
purchase p=new purchase();
desktop.add(p);
p.setVisible(true);
p.jScrollPane2.setVisible(false);
p.jButton5.setVisible(false);
}
if(ae.getSource()==Menu6)
{
DialyExpense DE=new DialyExpense();
64
www.freestudentprojects.com
www.freestudentprojects.com
DE.jScrollPane2.setVisible(false);
DE.jButton5.setVisible(false);
desktop.add(DE);
DE.setVisible(true);
}
if(ae.getSource()==M10)
{
stockreport sr=new stockreport();
desktop.add(sr);
Connection con=null;
Statement st=null;
ResultSet rs=null;
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:mob11");
st=con.createStatement();
rs=st.executeQuery("select modelname,qty,companyname,price from itemmaster ");
int li_row = 0;
while (rs.next())
{
System.out.println("hello");
sr.jTable1.setValueAt(rs.getString(1), li_row, 0);
sr.jTable1.setValueAt(rs.getInt(2), li_row, 1);
sr.jTable1.setValueAt(rs.getString(3), li_row, 2);
sr.jTable1.setValueAt(rs.getInt(4), li_row, 3);
li_row++;
}
}catch(Exception e){}
sr.jTable1.setVisible(true);
sr.setVisible(true);
}
if(ae.getSource()==M5)
65
www.freestudentprojects.com
www.freestudentprojects.com
{
DeleteItem Eitem=new DeleteItem();
desktop.add(Eitem);
Eitem.setVisible(true);
}
if(ae.getSource()==M2)
{
EditItem aitem=new EditItem();
desktop.add(aitem);
aitem.setVisible(true);
}
if(ae.getSource()==Se1)
{
sale sitem=new sale();
desktop.add(sitem);
sitem.setVisible(true);
sitem.jScrollPane2.setVisible(false);
sitem.jButton5.setVisible(false);
}
if(ae.getSource()==M3)
{
DelSale DS=new DelSale();
desktop.add(DS);
DS.setVisible(true);
}
if(ae.getSource()==M11)
{
salesReport sr=new salesReport();
desktop.add(sr);
sr.setVisible(true);
}
if(ae.getSource()==M12)
{
66
www.freestudentprojects.com
www.freestudentprojects.com
desktop.add(cp);
cp.setVisible(true);
}
}
}
import java.awt.Color;
import javax.swing.JInternalFrame;
import java.sql.*;
import java.text.SimpleDateFormat;
import java.util.*;
import java.text.*;
import javax.swing.*;
import javax.swing.JOptionPane.*;
67
www.freestudentprojects.com
www.freestudentprojects.com
import javax.swing.JDesktopPane;
import java.util.Date.*;
import java.util.Calendar;
import javax.swing.*;
import java.awt.*;
import javax.swing.table.AbstractTableModel;
jButton5.setVisible(false);
}
private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt)
{
Connection con=null;
Statement st=null;
ResultSet rs=null;
int max2=0;
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:mob11");
st=con.createStatement();
68
www.freestudentprojects.com
www.freestudentprojects.com
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:mob11");
st=con.createStatement();
String sql3="select max(Serial_no) from itemmaster";
rs=st.executeQuery(sql3);
while(rs.next())
{
max2=rs.getInt(1);
69
www.freestudentprojects.com
www.freestudentprojects.com
System.out.println(max2);
if(max2==0)
{
max2=101;
jTextField1.setText(Integer.toString(max2));
}
else
{
max2=max2+1;
jTextField1.setText(Integer.toString(max2));
}
}
}catch(Exception e){}
}
private void jButton4ActionPerformed(java.awt.event.ActionEvent evt)
{
System.out.println("hello");
int row_count=0;
Connection con=null;
Statement st=null;
ResultSet rs=null;
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:mob11");
st=con.createStatement();
System.out.println("hello");
jTable2.setValueAt(rs.getString(1), li_row, 0);
jTable2.setValueAt(rs.getString(2), li_row, 1);
jTable2.setValueAt(rs.getString(3), li_row, 2);
71
www.freestudentprojects.com
www.freestudentprojects.com
max2=101;
72
www.freestudentprojects.com
www.freestudentprojects.com
jTextField1.setText(Integer.toString(max2));
}
else
{
max2=max2+1;
jTextField1.setText(Integer.toString(max2));
}
}
}catch(Exception e){}
}
private void jTextField4FocusGained(java.awt.event.FocusEvent evt)
{
java.util.Date d=new java.util.Date();
SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
jTextField4.setText(dateFormat.format(d));
}
private void jButton2MouseClicked(java.awt.event.MouseEvent evt)
{
jTextField9.setText("");
jTextField1.setText("");
jTextField2.setText("");
jTextField3.setText("");
jTextField4.setText("");
jTextField5.setText("");
jTextField6.setText("");
jTextField7.setText("");
jTextField8.setText("");
}
private void jButton3MouseClicked(java.awt.event.MouseEvent evt)
{
this.dispose();
}
private void jButton1MouseClicked(java.awt.event.MouseEvent evt)
{
73
www.freestudentprojects.com
www.freestudentprojects.com
if (jTextField9.getText().equals("") || jTextField1.getText().equals("") ||
jTextField2.getText().equals("") || jTextField3.getText().equals("") ||
jTextField4.getText().equals("") || jTextField5.getText().equals("") ||
jTextField6.getText().equals("") || jTextField7.getText().equals("") ||
jTextField8.getText().equals(""))
{
JOptionPane.showMessageDialog(null,"Feilds Cannot be Empty");
}
else
{
try
{
int i=1,count=0;
String s1=null,s2=null;
Connection con=null;
Statement st=null;
String str=null;
ResultSet rs=null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:mob11");
st = con.createStatement();
str="select modelname,companyname from itemmaster where
modelname='"+jTextField9.getText()+"' and
companyname='"+jTextField5.getText()+"' ";
System.out.println(str);
rs=st.executeQuery(str);
while(rs.next())
{
s1=rs.getString(1);
s2=rs.getString(2);
}
if((jTextField9.getText().equalsIgnoreCase(s1)) &&
(jTextField5.getText().equalsIgnoreCase(s2)))
{
74
www.freestudentprojects.com
www.freestudentprojects.com
if (jTextField9.getText().equals("") || jTextField1.getText().equals("") ||
jTextField2.getText().equals("") || jTextField3.getText().equals("") ||
jTextField4.getText().equals("") || jTextField5.getText().equals("") ||
75
www.freestudentprojects.com
www.freestudentprojects.com
jTextField6.getText().equals("") || jTextField7.getText().equals("") ||
jTextField8.getText().equals(""))
{
JOptionPane.showMessageDialog(null,"Feilds Cannot be Empty");
}
else
{
try
{
int i=1,count=0;
Connection con=null;
Statement st=null;
String str=null;
ResultSet rs=null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:mob11");
st = con.createStatement();
str="select modelname,companyname from itemmaster where modelname=
'"+jTextField9.getText()+"' and companyname='"+jTextField5.getText()+"' ";
rs=st.executeQuery(str);
while(rs.next())
{
if((rs.getString(1).equalsIgnoreCase(jTextField9.getText())) &&
(rs.getString(2).equalsIgnoreCase(jTextField5.getText())))
{
JOptionPane.showMessageDialog(null,"Item already present.....");
}
else
{
str="insert into itemmaster(Serial_no,ModelName,Companyname,CodeNo,
Description,Stdno,Color,Qty,Price) values('"+jTextField1.getText()+"',
'"+jTextField9.getText()+"','"+jTextField5.getText()+"','"+jTextField8.getText()+"',
'"+jTextField7.getText()+"','"+jTextField4.getText()+"','"+jTextField6.getText()+"',
"+jTextField2.getText()+","+jTextField3.getText()+")";
76
www.freestudentprojects.com
www.freestudentprojects.com
System.out.println(str);
i=st.executeUpdate(str);
if(i==1)
{
JOptionPane.showMessageDialog(null,"Item Added to Stock");
jTextField1.setText("");
jTextField9.setText("");
jTextField8.setText("");
jTextField7.setText("");
jTextField6.setText("");
jTextField5.setText("");
jTextField4.setText("");
jTextField3.setText("");
jTextField2.setText("");
}
else
{
JOptionPane.showMessageDialog(null,"Unsuccessful Attempt");
}
}}}
catch(Exception e)
{
e.printStackTrace();
e.getMessage();}
}
}
}
});
}
}
import javax.swing.JInternalFrame;
import com.sun.media.sound.Toolkit;
import com.sun.org.apache.bcel.internal.classfile.JavaClass;
import java.sql.*;
import java.text.SimpleDateFormat;
import java.util.*;
import java.text.*;
import javax.swing.*;
import javax.swing.JOptionPane.*;
import javax.swing.JDesktopPane;
j=st.executeUpdate(sql1);
System.out.println("j="+j);
if(j==1)
{
JOptionPane.showMessageDialog(null,"Record Updated Successfully");
}
else
{
JOptionPane.showMessageDialog(null,"Record Update Failure");
}
79
www.freestudentprojects.com
www.freestudentprojects.com
}catch(Exception e){e.printStackTrace();e.getMessage();}
}
private void jComboBox1ItemStateChanged(java.awt.event.ItemEvent evt)
{
String val=jComboBox1.getSelectedItem().toString();
Connection con=null;
Statement st=null;
ResultSet rs=null;
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:mob11");
st=con.createStatement();
rs=st.executeQuery("Select description,color,price,companyname,stdno,qty from
itemmaster where modelname='"+val+"'");
while(rs.next())
{
jTextField1.setText(rs.getString(1));
jTextField2.setText(rs.getString(2));
jTextField6.setText(rs.getString(3));
jTextField5.setText(rs.getString(4));
jTextField4.setText(rs.getString(5));
jTextField3.setText(rs.getString(6));
}
}catch(Exception e){}
}
private void jComboBox1MouseClicked(java.awt.event.MouseEvent evt)
{
Connection con=null;
Statement st=null;
ResultSet rs=null;
try
{
80
www.freestudentprojects.com
www.freestudentprojects.com
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:mob11");
st=con.createStatement();
String str="select distinct(modelname) from itemmaster";
rs=st.executeQuery(str);
while(rs.next())
{
jComboBox1.addItem(rs.getString(1));
}
}catch(Exception e){}
}
import javax.swing.*;
import javax.swing.JOptionPane.*;
import javax.swing.JDesktopPane;
rs=st.executeQuery("delete description,color,price,companyname,
stdno,qty from itemmaster where modelname='"+val+"'");
while(rs.next())
{
jTextField1.setText("");
jTextField2.setText("");
82
www.freestudentprojects.com
www.freestudentprojects.com
jTextField6.setText("");
jTextField5.setText("");
jTextField4.setText("");
jTextField3.setText("");
}
}catch(Exception e){}
}
private void jComboBox1ItemStateChanged(java.awt.event.ItemEvent evt)
{
String val=jComboBox1.getSelectedItem().toString();
Connection con=null;
Statement st=null;
ResultSet rs=null;
int count=0;
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:mob11");
st=con.createStatement();
rs=st.executeQuery("Select description,color,price,companyname,
stdno,qty from itemmaster where modelname='"+val+"'");
while(rs.next())
{
jTextField1.setText(rs.getString(1));
jTextField2.setText(rs.getString(2));
jTextField6.setText(rs.getString(3));
jTextField5.setText(rs.getString(4));
jTextField4.setText(rs.getString(5));
jTextField3.setText(rs.getString(6));
}
}catch(Exception e){}
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt)
83
www.freestudentprojects.com
www.freestudentprojects.com
{
String val=jComboBox1.getSelectedItem().toString();
Connection con=null;
Statement st=null;
ResultSet rs=null;
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:mob11");
st=con.createStatement();
st.executeUpdate("delete description,color,price,companyname,
stdno,qty from itemmaster where modelname='"+val+"'");
JOptionPane.showMessageDialog(null,"Item deleted successfully");
jTextField1.setText(rs.getString(1));
jTextField2.setText(rs.getString(2));
jTextField6.setText(rs.getString(3));
jTextField5.setText(rs.getString(4));
jTextField4.setText(rs.getString(5));
jTextField3.setText(rs.getString(6));
}catch(Exception e){}
}
private void jComboBox1MouseClicked(java.awt.event.MouseEvent evt)
{
Connection con=null;
Statement st=null;
ResultSet rs=null;
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:mob11");
st=con.createStatement();
String str="select distinct(modelname) from itemmaster";
rs=st.executeQuery(str);
while(rs.next())
84
www.freestudentprojects.com
www.freestudentprojects.com
{
jComboBox1.addItem(rs.getString(1));
}
}catch(Exception e){}
}
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt)
{
this.dispose();
}
public static void main(String args[])
{
java.awt.EventQueue.invokeLater(new Runnable()
{
public void run()
{
new DeleteItem().setVisible(true);
}
});
}
}
Report:
import javax.swing.JInternalFrame;
import java.sql.*;
public class salesReport extends JInternalFrame
{
/** Creates new form salesReport */
public salesReport() {
initComponents();
}
private void jTextField1KeyPressed(java.awt.event.KeyEvent evt)
{
jLabel6.setText(jTextField1.getText());
System.out.println("hello");
int row_count=0;
85
www.freestudentprojects.com
www.freestudentprojects.com
Connection con=null;
Statement st=null;
ResultSet rs=null;
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:mob11");
st=con.createStatement();
li_row++;
}
}catch(Exception e){}
}
86
www.freestudentprojects.com
www.freestudentprojects.com
}
if((jTextField9.getText().equalsIgnoreCase(s1)) &&
(jTextField5.getText().equalsIgnoreCase(s2)))
{
JOptionPane.showMessageDialog(null,"Item already present.....");
}
else
{
str="insert into itemmaster(Serial_no,ModelName,Companyname,CodeNo,
Description,Stdno,Color,Qty,Price) values('"+jTextField1.getText()+"',
"+jTextField9.getText()+"','"+jTextField5.getText()+"',
'"+jTextField8.getText()+"','"+jTextField7.getText()+"',
'"+jTextField4.getText()+"','"+jTextField6.getText()+"',
"+jTextField2.getText()+","+jTextField3.getText()+")";
System.out.println(str);
i=st.executeUpdate(str);
if(i==1)
{
JOptionPane.showMessageDialog(null,"Item Added to Stock");
}
else
{
JOptionPane.showMessageDialog(null,"Unsuccessful Attempt");
}
}
}
6.3 Recovery
Numerous occurrences could lead to data loss: data or database elements could be accidentally
deleted; data could become corrupted by the addition of bad data; hardware, such as a disk or
server, could fail; or disasters, such as flooding, could destroy your server and storage media.
Since we are using access data in database is automatically stored in c drive.
Backup
88
www.freestudentprojects.com
www.freestudentprojects.com
The simplest backup technique is the Dump. You need to store the data in the database
twice. as dumping is expensive, it probably cannot be performed as often as one would
like.Another backup technique is we can store our information in Hard Disk,Tape drive,DVD.
Chapter 7
User Interface
7.1 Interfaces
Login Screen:
89
www.freestudentprojects.com
www.freestudentprojects.com
The user need to enter the valid user name and password if both are valid then the login
is success and the user is allowed to enter into the mobile store management system. When the
user enters the wrong username or password login is failed.
Itemmaster module:
Here the user can add, update and delete the item as when he needs.
90
www.freestudentprojects.com
www.freestudentprojects.com
Here the user can add newly arrived items. The items will then appear in the grid and
will be stored in database.
91
www.freestudentprojects.com
www.freestudentprojects.com
Here the admin can update details of item that is stored in database. Here the admin
selects item name from combo box, and he can update item details and updated details will be
stored in database.
Here the admin can delete details of item that is stored in database. Here the admin
selects the item name from combo box and when he clicks delete button, item deleted
successfully dialog box will be displayed.
92
www.freestudentprojects.com
www.freestudentprojects.com
Sales master module has two sub module, Add sales and delete item. Here the user can
sale item .
93
www.freestudentprojects.com
www.freestudentprojects.com
Bill Form:
Purchase master module has one sub module, purchase order. Here the user can
purchase item
94
www.freestudentprojects.com
www.freestudentprojects.com
If there is not enough stock user purchases item from a dealer and items will be stored
in database.
95
www.freestudentprojects.com
www.freestudentprojects.com
Employee details module has one sub module, Add employee details.
Here admin enter the details of new employee , when save button is clicked Employee
details inserted dialog box will be displayed and data entered will be stored in the database .
96
www.freestudentprojects.com
www.freestudentprojects.com
97
www.freestudentprojects.com
www.freestudentprojects.com
Here admin enter the details of daily expense , when save button is clicked Expense
for the day is added dialog box will be displayed and data entered will be stored in the
database .
Reports:
Reports module has four sub modules, stock report, sales report, purchase report,
employee report.
98
www.freestudentprojects.com
www.freestudentprojects.com
Stock report:
When user clicked on stock report,all the stock details will be displayed in the grid.
Sales report:
Here admin has to enter the date (dd/mm/yy)in the textbox,when enter key is pressed,all
the sale details will be displayed in the grid.
99
www.freestudentprojects.com
www.freestudentprojects.com
Purchase report:
Here admin has to enter the date (dd/mm/yy)in the textbox,when enter key is pressed,all
the purchase details will be displayed in the grid.
Employee report:
100
www.freestudentprojects.com
www.freestudentprojects.com
Here the admin selects the empid from combobox ,the employee details of a particular
employee will be displayed
Login module:
101
www.freestudentprojects.com
www.freestudentprojects.com
Here admin has to enter username,old password and new password and when he clicks
change button Password has been change dialog box will be displayed,the changed password
will store in the database.
Chapter 8
Test Cases
8.1 Introduction
Systems should not be tested as a single, monolithic unit. The testing process should
therefore proceed in the stages where testing is carried out incrementally in conjunction with
system implementation. Errors in program components may come to light at a later stage of
the testing process. The process is therefore an iterative one with information being fed back
from later stage to earlier parts of the process.
Following are the main testing levels:
Unit Testing.
Integration Testing.
Validation.
System Testing.
Unit Testing:
Unit testing focuses verification efforts on the smaller unit of software design. Using the
detailed design description as a guide, important control paths are tested to uncover errors
within the boundary of the module. The relative complexity of the test and the error detected
as a result is limited by the constraint scope established for unit testing. The unit test is always
while box oriented, and the step can be conducted in parallel for multiple modules.
Integration Testing:
With unit testing the modules may function properly, but at times they may have
inadvertent affect on another, sub function, when combined, may not produce the desired
major functions; individually acceptable impression may be signed to unacceptable levels then
global data structure may present problems.
102
www.freestudentprojects.com
www.freestudentprojects.com
System Testing:
In system testing the software engineer should anticipate potential interfacing
problems such as:
Design error-handling paths that all information coming from other elements of
the system.
Conduct a series of tests that simulate bad data or potential errors at the software
interfaces.
Record the results of the test to use as a proof for future reference.
Participate into planning and design of the system test to ensure that the software
is adequately tested.
8.2Test Reports:
Form Name: Login
Table 8.1 Login form
103
www.freestudentprojects.com
www.freestudentprojects.com
104
www.freestudentprojects.com
www.freestudentprojects.com
105
www.freestudentprojects.com
www.freestudentprojects.com
(Button)
1 Delete This is an option to Whe Pass
delete the item details n clicked on the delete button
which were stored all the details were stored in
earlier. the database will be deleted,
item deleted successfully
dialog box will be displayed.
and the information gets
invisible in the grid below.
2 Exit This is an option to close When clicked on the exit Pass
the active form. button the active form of add
item closes.
106
www.freestudentprojects.com
www.freestudentprojects.com
107
www.freestudentprojects.com
www.freestudentprojects.com
108
www.freestudentprojects.com
www.freestudentprojects.com
109
www.freestudentprojects.com
www.freestudentprojects.com
110
www.freestudentprojects.com
www.freestudentprojects.com
111
www.freestudentprojects.com
www.freestudentprojects.com
112
www.freestudentprojects.com
www.freestudentprojects.com
Chapter 9
User Manual
Introduction:
A good user interface design is one of the most crucial aspects of any system. The goal
of the interface design is to provide an easy and simple way for users to interact with the
system by hiding all the complexities of the system. A good interface certainly helps to
achieve these goals.
The system front end is designed with the following objectives keeping in mind.
1.Capture information for storage and later use by system users.
2.Retrieve information often called system output.
3.Support of regular operation such as calculating bill and generating reports.
Another objective of the system is user friendliness. That the interface should be
helpful, tolerant and adaptable and the user should be happy and confident to use it.
The system follows the interactive interface strategy in that a set of forms is presented
to the screen and the user is requested fill in the forms. Several labeled field are provided and
the user enters data into the blank spaces.
Login screen:
113
www.freestudentprojects.com
www.freestudentprojects.com
Home page:
114
www.freestudentprojects.com
www.freestudentprojects.com
115
www.freestudentprojects.com
www.freestudentprojects.com
116
www.freestudentprojects.com
www.freestudentprojects.com
ADD: When clicked on the add button all the details will be stored to the database and item
added to stock dialog box will be displayed.
REFRESH: When clicked on the refresh button the fields that were filled with the data
gets deleted from all the fields but not from the database.
SHOW ALL: When clicked on the show all button the user is visible to view the stored
data in the grid below.
EXIT: When clicked on the exit button the active form of add item closes.
CLOSE: When clicked on the close button the active table closes.
117
www.freestudentprojects.com
www.freestudentprojects.com
118
www.freestudentprojects.com
www.freestudentprojects.com
Sales master:
119
www.freestudentprojects.com
www.freestudentprojects.com
120
www.freestudentprojects.com
www.freestudentprojects.com
Bill form:
SAVE: When clicked on the save button all the details will be stored to the database and item
added to stock dialog box will be displayed.
REFRESH: When clicked on the refresh button the fields that were filled with the data gets
deleted from all the fields but not from the database.
121
www.freestudentprojects.com
www.freestudentprojects.com
SHOW ALL: When clicked on the show all button the user is visible to view the stored data
in the grid below.
GENERATE BILL: When clicked on the generate bill button the bill is generated for
customer and details is stored in the database.
EXIT: When clicked on the exit button the active form of add sale closes.
CLOSE: When clicked on the close button the active table closes.
122
www.freestudentprojects.com
www.freestudentprojects.com
Purchase form:
123
www.freestudentprojects.com
www.freestudentprojects.com
SAVE: When clicked on the save button all the details will be stored to the database and sales
entry completed dialog box will be displayed.
REFRESH: When clicked on the refresh button the fields that were filled with the data gets
deleted from all the fields but not from the database.
SHOW ALL: When clicked on the show all button the user is visible to view the stored data
in the grid below.
EXIT: When clicked on the exit button the active form of purchase order close.
124
www.freestudentprojects.com
www.freestudentprojects.com
CLOSE: When clicked on the close button the active table closes.
Employee Details:
125
www.freestudentprojects.com
www.freestudentprojects.com
126
www.freestudentprojects.com
www.freestudentprojects.com
127
www.freestudentprojects.com
www.freestudentprojects.com
SAVE: when save button is clicked Employee details inserted dialog box will be displayed
and data entered will be stored in the database .
SHOW ALL: When clicked on the save button all the details will be stored to the database
and employee information dialog box will be displayed
DELETE: When clicked on the show all button the user is visible to view the stored data in
the grid below.
UPDATE: After all the information is entered when clicked on the update button, the
employee information updated dialog box will be displayed,the entered value for employee
details gets stored in database
REFRESH: When clicked on the refresh button the fields that were filled with the data gets
deleted from all the fields but not from the database.
CLOSE: When clicked on the close button the active table closes.
128
www.freestudentprojects.com
www.freestudentprojects.com
Daily Expense:
129
www.freestudentprojects.com
www.freestudentprojects.com
SAVE: When clicked on the save button all the details will be stored to the database and sales
entry completed dialog box will be displayed.
REFRESH: When clicked on the refresh button the fields that were filled with the data gets
deleted from all the fields but not from the database.
SHOW ALL: When clicked on the show all button the user is visible to view the stored data
in the grid below.
CLOSE: When clicked on the close button the active table closes.
EXIT: When clicked on the exit button the active form of add expense close.
130
www.freestudentprojects.com
www.freestudentprojects.com
Reports form
131
www.freestudentprojects.com
www.freestudentprojects.com
Sale report:
Here admin has to enter the date (dd/mm/yy) in the textbox, when enter key is pressed, all the
sale details will be displayed in the grid.
132
www.freestudentprojects.com
www.freestudentprojects.com
Purchase report:
Employee report
133
www.freestudentprojects.com
www.freestudentprojects.com
134
www.freestudentprojects.com
www.freestudentprojects.com
135
www.freestudentprojects.com
www.freestudentprojects.com
VI. CONCLUSION
The project Mobile Store Management has been created with the intention of
providing an user with application which will suffice all needs for the details of mobile phones
and other updates.
All the requirements specifications was followed as for as possible and few additional
features were added that can make the application more user friendly and less complicated.
The project Mobile Store Management has been developed with the proper
guidance from the client.
A fully fledged user manual for this system is provided to the user for future working
and functional references.
We hope that Mobile Store Management fulfils all the needs in possible manner.
Limitations:
Employee has to go through many records to find any particular transaction, which can
take up a lot of time and effort.
In case casher forgot any items code it is difficult to calculate the amount, it can create
some other problem.
End user should have the basic knowledge of the computers.
Future enhancement:
This involves provided new future such as
More number item details can be inserted into the database.
It can be integrated with the web for universal access.
E-payment
Upgrading the performance.
136
www.freestudentprojects.com
www.freestudentprojects.com
137
www.freestudentprojects.com
www.freestudentprojects.com
VII. BIBLIOGRAPHY
138
www.freestudentprojects.com