Professional Documents
Culture Documents
com
Chapter 1 Introduction
1.1 Introduction of the system
The modern industrial world is very much advanced in technology and competition in the world is intense. The user of a computer is provided with the HARDWARE and SOFTWARE, the two source of the computer. Much of the software will be programs which facilities the fast automatic management of the computer system resource.
www.freestudentprojects.com 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: It can be applied to large databases with more information. To enables the software to work in a multi-user environment. To enable the software to develop the profit and loss accounts of the firm. Structure of the system:
Menu
Itemmaster
Sale
Purchase
Daily Expense
Employee Info
Reports
Stock
Purchase
Sales
Employee
Fig 1.1
lifecycle services to web applications, the NetBeans runtime container provides them to Swing applications. Application servers understand how to compose web modules, EJB modules, and so on, into a single web application, just as the NetBeans runtime container understands how to compose NetBeans modules into a single Swing application. 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
2 www.freestudentprojects.com
www.freestudentprojects.com
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 largescale, 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
Advantages of developing the SRS is as follows: An SRS establishes the basis for the agreement between the client and the developer
on what the software product will do.
SRS provides a reference for validation of the final product. A high-quality SRS is a prerequisite to high-quality software. A high-quality SRS reduces the development cost.
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.
www.freestudentprojects.com
Mobile shop collects and stores information about purchase, sales etc. and stores it in the database file which can be retrieved and used when ever needed and all the validations are 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.
2.2.2. Product Function:The different modules specified are used for the indentation purpose, to make transactions based on different criteria. This project includes graphical user interface with simple menus, which help the user to input, process and retrieve data with ease. This project is designed to do the functionalities of mobile Store where in they need to keep track of Sales log. it also describes stock record, sales record, employee information etc.
2.2.3. User Characteristics:The user of this product is supposed to be fairly educated about the usage of the computers. He should understand how to store products and he should have knowledge about various products so that they could be saved. A person who has no knowledge of computers will find it difficult to understand the system. But with a little knowledge it will be very easy to handle the project. Admin: Admin collects and stores information about purchase, sales etc. and stores it in the database file which can be retrieved and used when ever needed and all the validations are 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. User : The system allows the mobile shop user to maintain the records of employee, goods. The user can manage the records by adding, deleting and searching for information, which are necessary. The system provides the facility of viewing the report on the subject by the user.
2.2.4. General Constraints:2.2.4.1 Log on validation:Mobile store management system has Login Name and Password to enter into the system. If both are valid then only User/Admin is allowed to enter into system. Login Name and Password can also be changed.
2.4.5. Assumption
6 www.freestudentprojects.com
www.freestudentprojects.com
The application becomes slow when the number of simultaneous user exceeds certain limits. The code should be free with compilation errors or system errors.
The product must have an interface which is simple enough to understand.
2.3. Specific Requirements:2.3.1. External Interface Requirement:2.3.1.1. User Interface:JAVA and Microsoft access is used for user interface and for maintaining Database respectively. Java is used as a front-end application and Microsoft access is used as a backend application. Itemmaster Add Item Edit Item Delete Item Sale Add Sale Delete Sale
7 www.freestudentprojects.com
www.freestudentprojects.com
2.3.1.2. Hardware Interface:The Hardware Requirements specify, Pentium 3 processor or higher Hard disk of 4GB capacity or more
512 RAM
Standard output display Standard qwerty keyboard
2.3.1.3. Software Interface:The Software Requirements specify, JDK 1.6.0 Microsoft Access database Web server Tomcat 5.5/Tomcat 6.0 Any IDE like ECLIPSE 3.2/Netbeans 6.0.1
www.freestudentprojects.com
to update the stock.This page is used for enter the purchase information such as pdate, dname, , item group, item name, size, qty, price, total amount etc.,
www.freestudentprojects.com
on, into a single web application, just as the NetBeans runtime container understands how to compose NetBeans modules into a single Swing application. Modularity offers a solution to "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.
www.freestudentprojects.com
There will be no maintenance required for the software. The database is provided by the Administrator and therefore is maintained by this Administrator. Portability The system is not portable as it is a standalone application running on single system with no shared database
2.6
OTHER REQUIREMENTS
OTHER REQUIREMENTS ARE NONE
www.freestudentprojects.com
3.2 Overview:
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
12 www.freestudentprojects.com
www.freestudentprojects.com
must be able to run all the forms. Login and password is used for identification of user and there is no facility for 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
14 www.freestudentprojects.com
www.freestudentprojects.com
commons-pool.jar \ 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 /
15
www.freestudentprojects.com
3.8 Description of Programs Subsystem Specification 3.8.1 Context Flow Diagram (CFD)
Context Flow Diagram is a top level (also known as level 0) Data Flow Diagram. It is only contains one process node, that generalize the function of the entire system in relationship to external entities. In Context Flow Diagram the entire system is
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. A database is a holding place for information within the system. It is represented by a cylindrical notation. Data stores may be longterm files or may be short-term.
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
3.9 components:3.9.1
Functional description of
Functional component 1:Itemmaster
3.9.1.1 Input:- serial no, item name, itemgroup, code no,description,date, color, qty,price. 3.9.1.2 Output: serial no, item name, itemgroup, code no,description, date, color, qty,price will be stored in respective database and will be displayed in the grid. 3.9.1.3 File I/O interface:-This module is not related to other functional components.
3.9.2
3.9.2.1
3.9.2.3 File I/O interface:This module is not related to other functional components.
3.9.3 Functional component 3:Purchase 3.9.3.1 Input:- pdate, codeno.serialno,dealername, item group, item name, description,qty, price, Totalamount 3.9.3.2 Output :- All the entered data will be stored in respective database and will be displayed in the grid. 3.9.3.3 File I/O interface:This module is not related to other functional components.
www.freestudentprojects.com
3.9.4.3 File I/O interface:-This module is not related to other functional components.
4.2
Purpose
Database is a simply collection of information or data. The first step is designing a
database application is to understand what the data is to be stored in the database, what application must be built on it and what operators must frequent and subject to perform
24 www.freestudentprojects.com
www.freestudentprojects.com
requirements. The term database design can be used to describe many different parts of the desighn of an overall database system.It also be used to apply to the overall process of 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.
4.4
System Overview
We are creating the application for Technopulse company. System Title:Mobile store management. System category: RDBMS(Relational Database Management System) A short definition of an RDBMS may be a DBMS in which data is stored in the form of tables and the relationship among the data is also stored in the form of tables. Operational Status: Under Development status. Undergoing Major Modification:Data will be stored in the database after the development.
www.freestudentprojects.com
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.
www.freestudentprojects.com
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. The Purchase Table stores the information about purchase details. Fields:Serial_No,pdate,dealername,itemname,itemgroup,codeno,description,price,qty totalamount. The Sale Table stores the information about sales details. Fields:Serial_ no,sdate,cname,caddress,itemname,itemgroup,Price,Qty,TotalAmount. The Bill Table stores the bill information Fields:maxno,billno,sdate,cname,caddress,itemname,itemgroup,Price,Qty, TotalAmount The Employee info Table stores the employee information. Fields:EmpID,Name,Age,Address,Sex,Designation,DOB,Experience,DOJ,Salary The Expense table stores the information of daily expense. Fields:EDate,Detail,Amount The Dealer table contains names of dealers. Fields:Dealername
www.freestudentprojects.com
Pentium Dual- core CPU T4400 @ 2.20GHZ 2.20GHZ 2.00GB(1.87GB usable) 32-bit operating system
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
Bill Table SDate maxno billno Cname Caddress Itemgroup Itemname Price Qty TotalAmount
empid Name
Dealer table
Dealername
28 www.freestudentprojects.com
www.freestudentprojects.com
4.7.5 Description
The database used in our application namely 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
www.freestudentprojects.com
Designation DOB Experience DOJ Itemmaster Serial_no Codeno Itemname Itemgroup Description Itemdate color Qty Price Purchase Serial_no pDate Dealername Itemname Itemgroup Codeno Description Qty Sale Serial_no sDate Cname Caddress Itemgroup Itemname Price Qty Totalamount Price Totalamount Dealer Dealername Bill maxno sDate billno Cname Caddress Itemgroup Itemname Price Qty Totalamount Salary
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.
An Entity Relationship Model (ERM), in software engineering is an abstract and conceptual representation of data. Entity Relationship modeling is a relational schema database modeling method, used to produce a type of conceptual schema or semantic data model of a system, often a relation database, and its requirements in a top-down fashion
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. Boxes are commonly used to represent entities.
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. Diamonds are normally used to represent relationships.
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
It shows the key attribute of entity Which specifies the relationship between entity and relationship.
33 www.freestudentprojects.com
www.freestudentprojects.com
Amount Details
Expense Admin
Handles
Employee info Name Serial_no Qty Price Color Codeno itemname itemgroup Serialno Purchase Dname Qty Price Codeno pDate Totalamount
Bill DOB ex DOJ ress
Contain_ details
Address Salary
Age
me
Itemmaster
cname Caddress Qty Price itemgroup itemname Caddress Itemgroup Totalamount billno Itemname
Dname
34 www.freestudentprojects.com
www.freestudentprojects.com
4.9
Data Dictionary
Table Name: Admin Login Description: The table stores the User name and password. Table 4.1(Admin login table) Data Type Field Size Constraints Text 50
Description
Password
Text
20
Not null
Table Name: Itemmaster Table Description: The table store the information of items like mobile phones. Table 4.2(Itemmaster table) Data Type Field Size Constraints Number 10,0 Notnull, Primary key Itemgroup ItemName Codeno Description Text Text Number Text 50 50 8,2 70 Not null Not null Not null, Not null
Description Item number Company name ModelName Item Code Item Description Serial
Date Color
35 www.freestudentprojects.com
www.freestudentprojects.com
Table Name: Purchase Table Description: The table stores the information about purchase details Table 4.3(Purchase table) Data Type Field Size Number 10,2
pDate code_no
Not null
Table Name: Sale Table Description: The table stores the information about sales details. Table 4.4(Sale table) Data Type Field Size Number 10,2
Description Item number Sale Date Customer Name CustomerAddress Company name ModelName Serial
Not null Not null Not null Not null Not null
www.freestudentprojects.com
www.freestudentprojects.com
Qty TotalAmount
Number Number
10,2 8,2
Table Name: Bill Table Description: The table stores the bill information Table 4.5(Bill table) Data Type Field Size Number 10,2
maxno
Number
8,2
Not check>0
50 50 10,2 10,2
TotalAmount
Number
8,2
Not check>0
Table Name: Expense Table Description: The table store expense details information Table 4.6(Expense table) Data Type Field Size Date Text 20
37 www.freestudentprojects.com
www.freestudentprojects.com
Amount
Number
10,2
Notnull,check>0
Amount
Table Name: Employee info Table Description: The table stores the employee information. Table 4.7(Employee table) Data Type Field Size Constraints Number 8,2 Notnull,Primary key Name Text 50 Not null Employee Name Age Address Sex Number Text Text 8,2 50 50 Not null Not null Not null Age Address Employee gender Designation DOB Experience DOJ Salary Text Date Number Date Number 8,2 10,2 70 Not null Not null Designation Date of birth
Description Employee id
Table Name: Dealer Table Description: The table stores the Dealer names. Table 4.8(Dealer table) Data Type Field Size Text 20
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.
4.10
System Information
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.
Direct X9graphics processor with WDDM driver model Graphics Card 1.0 (Not absolutely necessary; only required for Aero) HDD free space Optical drive 16 GB of free disk space 20 GB of free disk space
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.
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.
www.freestudentprojects.com
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
Update
Delete
Daily Expense
Reports
Login
Stock
Employee details
www.freestudentprojects.com
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
Itemname, Price,qty
qty
Add item
Delete item
5.5.1.4 Data Structures shared among modules Table used is 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 sdate, customer name, company name, total amount. 5.5.2.2 Sales module Sub modules are:Add Sales, Delete sale. instance
46 www.freestudentprojects.com
www.freestudentprojects.com
Sale
Itemname, custname,
Price,qty
5.5.2.4 Data Structures shared among modules Table used is sale, Itemmaster.
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
Purchase details
www.freestudentprojects.com
5.5.4 Daily Expense 5.5.4.1 Design Assumptions In daily expense form we can view the details of item stock, sale & purchase details ,also can find stock level &expense detail.
DailyExpense
Edate,Detail,Am t
Expense details
Add Expense
Fig 5.2(d) Structured chart: Daily expense 5.5.4.4 Data Structures shared among modules Table used is Expense
5.5.5 Employee Details 5.5.5.1 Design Assumptions In employee details form we can store the details of employees. 5.5.5.2 Employee information module Sub modules are: Add employee details 5.5.5.3 Structured chart
48 www.freestudentprojects.com
www.freestudentprojects.com
Employee Details
Empid,name, salary,
age
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 Purchase details Purchase Sales Sale detail s Employe e
Stockdetail s
Stock
5.5.6.4 Data Structures shared among modules Table used is purchase,sales,employee,Itemmaster. 5.5.7 Login details 5.5.7.1 Design Assumptions
49 www.freestudentprojects.com
www.freestudentprojects.com
This module is used to change the password of existing user. 5.5.7.2 Login module Sub modules are: change password 5.5.7.3 Structured chart
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
serial no, item name, itemgroup, code no,description, date, color, qty,price.
www.freestudentprojects.com
Stop Fig 5.3(a) Itemmaster 5.6.1.4 File I/O interface:This module is not related to other functional components.
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.
serialno,sdate, cname, caddress, item group, item name, qty, price, total amount.
False Is Input=correct
www.freestudentprojects.com
5.6.2.3 File I/O interface:This module is not related to other functional components. 5.6.2.4 Output:- All the entered data will be stored in respective database and will be displayed in the grid.
5.6.3 Purchase:5.6.3.1 Input:- pdate, codeno.serialno,dealername, item group, item name, description,qty, price, totalamount.
Start
Is Input=correct
False
www.freestudentprojects.com
5.6.3.3 File I/O interface: This module is not related to other functional components. 5.6.3.4 Output :- All the entered data will be stored in respective database and will be displayed in the grid.
5.6.4 Daily Expense:5.6.4.1 Input:- edate, detail, amount. 5.6.4.2 Procedural Details (Flow Chart)
Start
Edate,expensedetail,Amount
Is Input=correct
False
Enter Correctly
53 www.freestudentprojects.com
Exit Stop
www.freestudentprojects.com
True
Fig 5.3(d) Expense 5.6.4.3 File I/O interface:This module is not related to other functional components. 5.6.4.4 Output : All the entered data will be stored in respective database and will be displayed in the grid.
5.6.5 Employee Information 5.6.5.1 Input:- empid, name.address,age,sex,designation,DOB,DOJ,experience,salary 5.6.5.2 Procedural Details (Flow Chart)
Start
54 www.freestudentprojects.com
www.freestudentprojects.com
True
Fig 5.3(e) Employee details 5.6.5.3 File I/O interface:This module is not related to other functional components. 5.6.5.4 Output:- Details of each and every employee.
5.6.6 Login : 5.6.6.1 Input:- User name and Password. 5.6.6.2 Procedural Details (Flow Chart)
Start
Input Username,Password
Is www.freestudentprojects.com Input=correct
55
www.freestudentprojects.com
False
5.6.6.3 File I/O interface: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.
www.freestudentprojects.com
Code for Login form: import java.awt.*; import javax.swing.*; import java.awt.event.*; import java.sql.*;
public class LoginForm extends JFrame implements ActionListener { JDialog myDialog; MobMain parent; JButton b1; Connection con; Statement s; ResultSet rs; JTextField t1; JPasswordField t2; JLabel L1,L2,L3; public LoginForm(MobMain parent1) { this.parent=parent1; myDialog = new JDialog(parent,"Login Form"); myDialog.setLayout(new FlowLayout()); JPanel mypanel = new JPanel(new GridLayout(4,1)); JPanel panelUser = new JPanel(new GridLayout(1,2));
www.freestudentprojects.com
JPanel panelButton = new JPanel(new FlowLayout(FlowLayout.CENTER)); b1=new JButton("login"); b1.addActionListener(this); panelButton.add(b1); mypanel.add(panelButton); mypanel.add(new JLabel()); myDialog.add(mypanel); pack(); myDialog.setSize(400,200); myDialog.setLocation(300,300); myDialog.setVisible(true); myDialog.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent we) { myDialog.dispose(); System.exit(0); } }); }
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.*;
public class MobMain extends JFrame implements ActionListener { private JDesktopPane desktop;
59 www.freestudentprojects.com
www.freestudentprojects.com
private Image img; private JMenuBar mb; private JMenu menu1; private JMenu menu2; private JMenu menu3; private JMenu menu4; private JMenu Cmenu1; private JMenuItem M5; private JMenu menu6; private JMenu menu7; private JMenu menu10; private JMenuItem Menu6; private JMenuItem M1; private JMenuItem M2; private JMenuItem M3; private JMenuItem M4; private JMenuItem Cmenu; private JMenuItem M6; private JMenuItem M7; private JMenuItem M8; private JMenuItem M9; private JMenuItem M10; private JMenuItem M11; private JMenuItem M12; private JMenuItem M13; private JMenuItem S1; private JMenuItem S2; private JMenuItem Se1; private JMenuItem Se2; private JMenuItem Se3; private JMenuItem Se4;
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");
M1= new JMenuItem("Add New Item"); M1.addActionListener(this); M2=new JMenuItem("Edit Item"); M2.addActionListener(this); M3=new JMenuItem("Delete Item"); M3.addActionListener(this); M7=new JMenuItem("Exit"); M7.addActionListener(this); M5=new JMenuItem("Delete Item"); M5.addActionListener(this); M4= new JMenuItem("Add Employee Details"); M4.addActionListener(this); menu6.add(Menu6=new JMenuItem("Add Expense"));
61 www.freestudentprojects.com
www.freestudentprojects.com
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
mainframe =new JFrame(); mainframe.setJMenuBar(mb); mainframe.setContentPane(desktop); mainframe.setSize(screen.width,screen.height-30); mainframe.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent we) { mainframe.dispose(); System.exit(0); } }); } public void initial() { mainframe.setVisible(true); } public void paint(Graphics g) { Image image= Toolkit.getDefaultToolkit().getImage("C:\\Documents and Settings\\mobilemgm\\src\\images\\slider-mobile-phones.jpg"); g.drawImage(image,0,0,getSize().width,getSize().height,this); super.paint(g); } public static void main(String args[]) { new MobMain(); }
63 www.freestudentprojects.com
www.freestudentprojects.com
public void actionPerformed(ActionEvent ae) { if (ae.getSource()==M1) { System.out.println(M1); AddItem ed=new AddItem(); ed.jScrollPane3.setVisible(false); ed.jButton5.setVisible(false);
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); }
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
purchaseR pr=new purchaseR(); desktop.add(pr); pr.setVisible(true); } if(ae.getSource()==M4) { Empinfo1 EI=new Empinfo1(); EI.jLabel13.setVisible(false); EI.jScrollPane2.setVisible(false); EI.jButton6.setVisible(false); desktop.add(EI); EI.setVisible(true); } if(ae.getSource()==Cmenu) { System.out.println(ae.getSource()); changeP cp=new changeP();
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;
public class AddItem extends JInternalFrame { Connection con; private JDesktopPane desktop; Statement st; ResultSet rs; public AddItem() { initComponents(); } private void jButton5MouseClicked(java.awt.event.MouseEvent evt) { jScrollPane3.setVisible(false);
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
String sql3="select max(Serial_no) from itemmaster"; rs=st.executeQuery(sql3); while(rs.next()) { max2=rs.getInt(1); System.out.println(max2); if(max2==0) { max2=101; jTextField1.setText(Integer.toString(max2)); }else { jTextField1.setText(Integer.toString(max2++)); } } }catch(Exception e){} } private void jTextField1MouseClicked(java.awt.event.MouseEvent 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(); 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();
String sql1="select serial_no,modelname,description,qty,Price from itemmaster "; rs=st.executeQuery(sql1); int li_row = 0; while (rs.next()) { System.out.println("hello"); jTable2.setValueAt(rs.getString(1), li_row, 0);
70 www.freestudentprojects.com
www.freestudentprojects.com
jTable2.setValueAt(rs.getString(2), li_row, 1); jTable2.setValueAt(rs.getString(3), li_row, 2); jTable2.setValueAt(rs.getString(4), li_row, 3); jTable2.setValueAt(rs.getString(5), li_row, 4); li_row++; } }catch(Exception e){} } private void jButton4MouseClicked(java.awt.event.MouseEvent evt) { jScrollPane3.setVisible(true); jTable2.setVisible(true); jButton5.setVisible(true); int row_count=0; Connection con=null; Statement st=null; ResultSet rs=null; String str=null; int count=0; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdbc:odbc:mob11"); st=con.createStatement(); String sql1="select serial_no,modelname,description,qty,Price from itemmaster "; rs=st.executeQuery(sql1); int li_row = 0; while (rs.next()) {
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
jTable2.setValueAt(rs.getString(4), li_row, 3); jTable2.setValueAt(rs.getString(5), li_row, 4); li_row++; } str="select count(*) from itemmaster1"; rs=st.executeQuery(str); while(rs.next()) { count=rs.getInt(1); System.out.println(count); } }catch(Exception e){} } private void jTextField1FocusGained(java.awt.event.FocusEvent evt) { Connection con=null; Statement st=null; ResultSet rs=null; int max2=0; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("odbc:odbc:mob11"); st=con.createStatement(); String sql3="select max(Serial_no) from itemmaster"; rs=st.executeQuery(sql3); while(rs.next()) { max2=rs.getInt(1); System.out.println(max2); if(max2==0) {
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
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"); } } } catch(Exception e) { e.printStackTrace(); e.getMessage();} } } private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
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();} } }
public static void main(String args[]) { java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new AddItem().setVisible(true);
77 www.freestudentprojects.com
www.freestudentprojects.com
} }); } }
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;
public class EditItem extends JInternalFrame { public EditItem() { initComponents(); } private void jComboBox1ActionPerformed(java.awt.event.ActionEvent 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();
78 www.freestudentprojects.com
www.freestudentprojects.com
String str="select distinct(modelname) from itemmaster"; rs=st.executeQuery(str); while(rs.next()) { jComboBox1.addItem(rs.getString(1)); } }catch(Exception e){} } private void jButton1MouseClicked(java.awt.event.MouseEvent evt) { Connection con=null; Statement st=null; ResultSet rs=null; int j=1; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdbc:odbc:mob11"); st=con.createStatement(); String sql1="update itemmaster set description='"+jTextField1.getText()+"', color='"+jTextField2.getText()+"',price='"+jTextField6.getText()+"', companyname='"+jTextField5.getText()+"',qty='"+jTextField3.getText()+"' where modelname='"+jComboBox1.getSelectedItem()+"'";
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){} }
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 EditItem().setVisible(true); } }); }} Delete form: 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.*;
81 www.freestudentprojects.com
www.freestudentprojects.com
public class DeleteItem extends JInternalFrame { Connection con; private JDesktopPane desktop; Statement st; ResultSet rs; public DeleteItem() { initComponents(); }
private void jButton1MouseClicked(java.awt.event.MouseEvent 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("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
String str="select cname,caddress,itemgroup,qty,totalamount from sale where sdate='"+jTextField1.getText()+"'"; rs=st.executeQuery(str); int li_row = 0; while(rs.next()){ jTable1.setValueAt(rs.getString(1), li_row, 0); jTable1.setValueAt(rs.getString(2), li_row, 1); jTable1.setValueAt(rs.getString(3), li_row, 2); jTable1.setValueAt(rs.getString(4), li_row, 3); jTable1.setValueAt(rs.getString(5), li_row, 4);
public static void main(String args[]) { java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new salesReport().setVisible(true); } }); } }
86 www.freestudentprojects.com
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.
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
Here customer can purchase a item, he can selects a modelname through combobox,When clicked on save buttonSale sucessfully dialog box will be displayed and details will be stored in database.On click of generate bill button bill will be generated to a particular person.
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:
98 www.freestudentprojects.com
www.freestudentprojects.com
Reports module has four sub modules, stock report, sales report, purchase report, employee report.
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:
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.
www.freestudentprojects.com
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. Integration testing is a systematic technique for constructing the program structure while at the same time conducting tests to uncover errors associated with interfacing. The objective is to take unit tested modules and build a program structure that has been dictated by the design. Validation Testing: At the culmination of integration testing software is completely assembled as a package, interfacing errors have been uncovered and corrected, and final series of software test validation test may begin. Validation can be defined in many ways, but a simple definition is that validation succeeds when the software functions a manner that can be reasonable and excepted by the customer.
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.
103 www.freestudentprojects.com
www.freestudentprojects.com
8.2Test Reports:
Form Name: Login Table 8.1 Login form SL.No User Action (Button) 1 Login The user need to enter The user is able to enter into Pass valid user name otherwise will and the main screen and to perform an operations. be Expected Result Observed Output Result
message
Form name: Add item form Table 8.2 Add item form SL.No User Action (Button) 1 Add The user can enter and When clicked on the add Pass store a new items. button all the details will be stored to the database and item added to stock dialog box will
104 www.freestudentprojects.com
Expected Result
Observed Output
Result
www.freestudentprojects.com
be displayed. 2 Refresh This is an option to clear When clicked on the refresh Pass all the fields. button the fields that were filled with the data gets deleted from all the fields but not from the database. 3 Show all This is an option to When clicked on the show all Pass display all the fields in button the user is visible to the table. view the stored data in the grid below. 4 Close This is an option to close When clicked on the close Pass the active table. 5 Exit button the active table closes.
This is an option to close When clicked on the exit Pass the active form. button the active form of add item closes.
Form name: Edit item form Table 8.3 Edit item form SL.No User Action (Button) 1 Update This is an option to After all the information is Pass
105 www.freestudentprojects.com
Expected Result
Observed Output
Result
www.freestudentprojects.com
update the item details entered when clicked on the which earlier. were stored update button, the entered value for Itemmaster gets stored in database. 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.
Form name: Delete item form Table 8.4 Delete item form SL.No User Action (Button) 1 Delete This is an option to Whe delete the item details n clicked on the delete button which earlier. were stored all the details were stored in the database will be deleted, item deleted successfully Pass Expected Result Observed Output Result
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.
Form name: Add sale form Table 8.5 Add sale form
106 www.freestudentprojects.com
www.freestudentprojects.com
SL.No
Expected Result
Observed Output
Result
Save
The user can enter and When clicked on the save Pass store a particular item button all the details will be details details. and customer stored to the database and item added to stock dialog box will be displayed.
Refresh
This is an option to clear When clicked on the refresh Pass all the fields. button the fields that were filled with the data gets deleted from all the fields but not from the database.
Show all
This is an option to When clicked on the show all Pass display all the fields in button the user is visible to the table. view the stored data in the grid below.
Close
This is an option to close When clicked on the close Pass the active table. button the active table closes.
Exit
This is an option to close When clicked on the exit Pass the active form. button the active form of add item closes.
107 www.freestudentprojects.com
www.freestudentprojects.com
Form name: Delete sale form Table 8.6 Delete sale form SL.No User Action (Button) 1 Delete This is an option to When clicked on the delete Pass delete the sale item button all the details were Expected Result Observed Output Result
details which were stored stored in the database will be earlier. deleted, item deleted
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.
108 www.freestudentprojects.com
www.freestudentprojects.com
Form name: Purchaseorder form Table 8.7 Purchase order form SL.No User Action (Button) 1 Save The user can purchase a When clicked on the save Pass particular item which is button all the details will be stored in database. stored to the database and sales entry completed dialog box will be displayed. 2 Refresh This is an option to clear When clicked on the refresh Pass all the fields. button the fields that were filled with the data gets deleted from all the fields but not from the database. 3 Show all This is an option to When clicked on the show all Pass display all the fields in button the user is visible to the table. view the stored data in the grid below. 4 Close This is an option to close When clicked on the close Pass the active table. 5 Exit button the active table closes. Expected Result Observed Output Result
This is an option to close When clicked on the exit Pass the active form. button the active form of add item closes.
109 www.freestudentprojects.com
www.freestudentprojects.com
Form name: Employee Details form Table 8.8 Employee details form SL.No 1 User Action Save Expected Result Observed Output Result
The user can enter and When clicked on the save button Pass store a employee details. all the details will be stored to the database and employee
information dialog box will be displayed. 2 Show all This is an option to When clicked on the show all Pass display all the fields in button the user is visible to view the table. 3 Update the stored data in the grid below.
This is an option to After all the information is Pass update the employee entered when clicked on the
details which were stored update button, the employee earlier. information updated dialog box will be displayed,the entered value for employee details gets stored in database. 4 Delete This is an option to When clicked on the delete Pass delete the employee button all the details were stored
details which were stored in the database will be deleted, earlier. employee information deleted dialog box will be displayed. and the information gets
invisible in the grid below. 5 Close This is an option to close When clicked on the close Pass the active table. button the active table closes.
110 www.freestudentprojects.com
www.freestudentprojects.com
Refresh
This is an option to clear When clicked on the refresh Pass all the fields. button the fields that were filled with the data gets deleted from all the fields but not from the database.
Form name: Daily Expense form Table 8.9 Add expense form SL.N o 1 User Action (Button) Save The user can enter and When clicked on the Pass save daily expense save button all the expense details will be stored to the database and expense for day dialog box will be displayed. 2 Refresh This is an option to clear When clicked on the Pass all the fields. refresh button the Expected Result Observed Output Result
information.
deleted from all the fields but not from the database. 3 Show all This is an option to display When clicked on the Pass all the fields in the table. show all button the user is visible to view the stored data in the grid below. 4 Close This is an option to close When clicked on the Pass
111 www.freestudentprojects.com
www.freestudentprojects.com
Exit
This is an option to close When clicked on the Pass the active form. exit button the active form closes. of add item
Form name: Change password form Table 8.10 change password form SL.N o 1 User Action (Button) Change Here user is able to change When clicked on the Pass the password where he change button if both needs to enter current and current and new Expected Result Observed Output Result
existing password,if and password matches then only if the username and the user will be able to existing matches. password use current password and this will be stored in the database 2 Refresh This is an option to clear When clicked on the Pass all the fields. refresh button the
deleted from all the fields but not from the database.
112 www.freestudentprojects.com
www.freestudentprojects.com
113 www.freestudentprojects.com
www.freestudentprojects.com
Purpose of the interface: This is start up screen that will appear on screen every time when user log on to the system. 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. LOGIN: The user is able to enter into the main screen and to perform operations.
Home page:
www.freestudentprojects.com
Item master module has three sub modules, add new item, edit item, delete item. Here the user can add, update and delete the item information as and when he needs.
Purpose of the interface: Here admin have to enter all the fields, if he fails Fields cannot be empty dialog box will be displayed.
115 www.freestudentprojects.com
www.freestudentprojects.com
Purpose of the interface: Here the user can add newly arrived items. The items will then appear in the grid and will be stored in database.
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
Purpose of the interface: 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. UPDATE: After all the information is entered when clicked on the update button, the entered value for Itemmaster gets stored in database. EXIT: When clicked on the exit button the active form of edit item closes.
118 www.freestudentprojects.com
www.freestudentprojects.com
Purpose of the interface: Here the admin can delete details of item that is stored in database. DELETE: Here the admin selects the item name from combo box and when he clicks delete button, item deleted successfully dialog box will be displayed.. EXIT: When clicked on the exit button the active form of delete item closes.
Sales master:
119 www.freestudentprojects.com
www.freestudentprojects.com
Purpose of the interface: Sales master module has two sub module, Add sales and delete item. Here the user can sale item . Add sales form:
Purpose of the interface: Here customer can shop a item, by selecting a modelname through combobox.
120 www.freestudentprojects.com
www.freestudentprojects.com
Bill form:
Purpose of the interface: When the sale process is completed, it automatically generates the bill.
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.
Purpose of the interface: Here the admin can delete details of sale item that is stored in database. Here the admin selects the date from combo box and when he clicks delete button, item deleted successfully dialog box will be displayed. DELETE: When clicked on the delete button all the details were stored in the database will be deleted, item deleted successfully dialog box will be displayed. and the information gets invisible in the grid below. EXIT: When clicked on the exit button the active form of delete sale closes.
122 www.freestudentprojects.com
www.freestudentprojects.com
Purchase form:
Purpose of the interface: Purchase master module has one sub module, purchase order. Here the user can purchase item.
123 www.freestudentprojects.com
www.freestudentprojects.com
Purpose of the interface: If there is not enough stock, user has to purchase it from dealer.User selects dealer name through combobox. 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.
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:
Purpose of the interface: Employee details module has one sub module, Add employee details.
125 www.freestudentprojects.com
www.freestudentprojects.com
Purpose of the interface: Here admin enter the personal details of new employee.
126 www.freestudentprojects.com
www.freestudentprojects.com
Purpose of the interface: When user clicked on show all button, all employee details will appear in the grid that is stored in database. Close button helps to close the table.
127 www.freestudentprojects.com
www.freestudentprojects.com
Purpose of the interface: Here the admin can update details of employee that is stored in database. Here the admin selects empid from table, and he can update employee details and updated details will be stored in database. On click of update button Employee Information is updated dialog box will be displayed.
128 www.freestudentprojects.com
www.freestudentprojects.com
Purpose of the interface: Here the admin can delete details of employee that is stored in database. Here the admin selects the empid from table and when he clicks delete button, employee information is deleted dialog box will be displayed.
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.
129 www.freestudentprojects.com
www.freestudentprojects.com
Daily Expense:
Purpose of the interface: Daily expense module has one sub module, Add expense.
Purpose of the interface: Here admin enter the details of daily expense.
130 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.
131 www.freestudentprojects.com
www.freestudentprojects.com
Reports form
Purpose of the interface: Reports module has four sub modules, stock report, sales report, purchase report, employee report. Stock report:
132 www.freestudentprojects.com
www.freestudentprojects.com
Purpose of the interface: When user clicked on stock report, all the stock details will be displayed in the grid.
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.
133 www.freestudentprojects.com
www.freestudentprojects.com
Purchase report:
Purpose of the interface: 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
134 www.freestudentprojects.com
www.freestudentprojects.com
Purpose of the interface: Here the admin selects the empid from combobox , the employee details of a particular employee will be displayed
Purpose of the interface: Login module has one sub module, change password.
135 www.freestudentprojects.com
www.freestudentprojects.com
Purpose of the interface: Here admin has to enter username, old password and new password . CHANGE: When clicked on the change button if both current and new password matches then the user will be able to use current password and this will be stored in the 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.
136 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.
137 www.freestudentprojects.com
www.freestudentprojects.com
Uname: User name Pword: Password Empid:Employee ID DOB: Date of Birth DOJ: Date of Join SDate:Sale Date Cname:Customer name Caddress:Customer address Qty:Quantity EDate:Expense date PDate:Purchase date
138 www.freestudentprojects.com
www.freestudentprojects.com
VII. BIBLIOGRAPHY
TITLE
Fundamentals of database systems The complete reference java II System Analysis and Design IVth Edition An Integrated Approach to Software Engineering The Java Hand book Tata McGraw Hill Edition
AUTHOR
Elmasri and B.Navathe Herbert schildt
PUBLISHER
Addison Wesley Longman TMH
YEAR
1997
1997
Igor Hawryszlsiewycz
TMH
1998
Pankaj Jalote.
1997
Patrick Naughton.
TMH
1997
139 www.freestudentprojects.com