You are on page 1of 47

MILK SOCIETY AUTOMATION SYSTEM

Project Report Submitted in partial fulfilment of the requirement


for the award of the degree of

Bachelor of Computer Applications


To
Mahatma Gandhi University, Kottayam
Submitted by

JINCE MICHAEL 140021044809


NITHIN O JACOB 140021044827
Guided by
Ms Lumy Joseph

Department of Computer Applications (UG)


marian college kuttikkanam(autonomous)
2014-2017
1

DECLARATION
We, AHIN THOMAS JOHNEY (Reg No: 140021044775) and EMIL GEORGE
(140021044802) certify that the Mini Project titled MOBILE SHOP MANAGEMENT is
done by us and it is an authentic work carried by us at Marian College Kuttikkanam. The
matter embodied in this project work has not been submitted earlier for the award of any
degree or diploma to the best of our knowledge and belief.

Signature of the students: 1. AHIN THOMAS JOHNEY


2. EMIL GEORGE

Date:

CERTIFICATE
I hereby certify that the project report entitled MOBILE SHOP MANAGEMENT done
by AHIN THOMAS JOHNEY and EMIL GEORGE is completed under my guidance.
The matter embodied in this project work has not been submitted earlier for the award of
any degree or diploma to the best of my knowledge and belief.

Signature of the guide :


Name of the guide

: Ms BENYMOL JOSE

Signature of the HOD :


Name of the HOD

: Dr RAJIMOL A

Department Seal

Internal Exam Date:

Signature of the Internal


Examiner

External Exam Date:

Signature of the External


Examiner

ACKNOWLEDGEMENT
Gratitude is a feeling which is more eloquent than words, more silent than silence. In
undertaking this project work we need the direction, assistance and cooperation of various
individuals and organizations, which is received in abundance with the grace of God. Without
their unconstrained support, the project could not have been completed.
We express our sincere gratitude to our Manager, Rev. Fr. Ruban J Thannickal and Principal,
Rev. Dr Roy Abraham P, for permitting us to do the project. Next we express our heartiest
thanks to Dr Rajimol A, Head, Department of Computer Applications, Marian College,
Kuttikkanam for her valuable suggestions and guidance throughout the project. We express our
sincere gratitude to our Internal Guide Ms Benymol Jose. She has shown keen interest in
helping us to complete the project and provide valuable suggestions and guidance throughout
the project.
With great enthusiasm, we express our thanks to all the teachers in the Department of Computer
Applications for the support given throughout the project. We would also like to thank the nonteaching staff for their support. We express our thanks to all our friends who supported and
helped us in many ways.
Without the support of our family it was not possible for us to do anything. So we express our
sincere gratitude to our family for their support, encouragements and prayers for the completion
of our project successfully.

Ahin Thomas Johney


Emil George

ABSTRACT
This project will provide for computerization of a small enterprise whose main goals is to keep
track on their inventory and billing process and wants to change from paper based transaction to
computerised transaction. The mobile store management will make storing of the stock records,
sales records, and purchase information a lot easier. The sales information in the database 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.
Mobile store automation system is a fully automated system for mobile shop. It supports the
general requirements of mobile shop like purchase details, stock details, phone details. It has a
well define hard core database of Microsoft SQL server 2005 were the details of the specific
data are safely kept in that database and can also be retrieved as per need. No matter how
advanced the cellular phone, smart phone be upcoming in the near future the use of this
software will not be back dated. Moreover the mobile phones get advanced with the upcoming
technology but this software will remain as evergreen forever.
When this project is implemented there is no need to store information in books or accounts.
The data is directly stored in the database in the hard disk of the pc. Thus getting interested on
this matter we started thinking to develop software named MOBILE STORE
MANAGEMENT SYSTEM

Table of Contents
Title

Page No

AKNOWLEDGEMENT

ABSTRACT

1. Introduction......................................................................................................

1.1. About the Organization.........................................................................

1.2. About the Project..

2. System Study and Analysis.............................................................................

2.1. Existing System...................................................................................

2.2. Proposed System..................................................................................

10

2.3. System Requirements..........................................................................

11

2.3.1. Function to be provided............................................................

11

2.3.2. Product Definition....................................................................

12

2.3.3. Problem Statement....................................................................

12

2.3.4. Processing Environment

12

2.3.4.1. Hardware Requirements

12

2.3.4.2. Software Requirements

13

2.4. Feasibility Analysis...............................................................................

14

2.4.1. Economic Feasibility..

14

2.4.2. Technical Feasibility

15

2.4.3. Operational Feasibility...

16

2.5 Programming Languages and Development Tools...............................

17

2.6 System Analysis.....................................................................................

23

2.6.1 DFD..............................................................................................

24

2.6.2 Data Dictionary.............................................................................

28

3. System Design.................................................................................................

30

3.1 Database Design........................................................................................

31

3.1.2 Normalization.

34

3.2 User Interface Design.................................................................................

34

3.2.1 Input Design..................................................................................

34

3.2.2 Output Design................................................................................

35

4. System Design-Detailed .................................................................................

36

4.1 Introduction..

36

4.2 Exception Handling..

36

4.3 Security....

37

5. Coding Testing and Implementation................................................................

37

5.1 Coding

37

5.1.1 Naming Conventions

37

5.1.2 Comments.

37

5.2 Testing

38

5.2.1 Walkthroughs and Inspections.

38

5.2.2 Unit Testing..

38

5.2.3 Validation Testing

38

6. Implementation...

39

7. Summary ..........................................................................................

39

7.1 Conclusion....................................................................................................

39

7.2 Foreseeable Enhancement...........................................................................

40

8. Bibliography.........................................................................................................

40

9. Appendix D -

41

Sample Screens...

1. INTRODUCTION
To solve the problems of manual systems, there are two ways. One is to appoint more
employees and the other is computerization. By analysing these situations, it was identified that
the first is not cost effective. So we took second option - computerization of the existing system.
The main objective of the proposed system is to eliminate the limitations of the existing manual
system. Computers are fast tireless machines that provides computation of large amount of data
quickly and give the output in the required format effectively. Cost effectiveness is one of the
main objectives of the existing system.
The project aims at the computerized functioning of a mobile shop at Kumily. The advantages
of the computerization are reduction in the workload, avoidance of the errors in keeping
records. This system is expected to be easier for usage and other operational independency. The
following are the activities carried out in the concern.

Purchase mobile phones

Record keeping of sales, stock.

Search mobiles

Sales

Billing

Company details

1.1 ABOUT THE ORGANIZATION


The organization selected for the project is a mobile shop (The Mobile store Kumily). Through
this project MOBILE STORE MANAGEMENT we are planning to automate the different
aspects of a mobile shop where all works are currently done manually. In the mobile shop,
administrator is the head of mobile shop and he administrates all the operations of the mobile
shop.

1.2ABOUT THE PROJECT


The project aims at the computerized functioning of the Mobile Store Kumily. The advantages
of computerization are, it reduces the workload, avoid errors involved in keeping records like
stock details, sales details, sales return details, purchase return etc... The system is expected to
be easier for usage and other operational independency. It is an application to keep all record
related to mobile shop.
Visual basic 6.0 is used as the development tool and Microsoft SQL server Management Studio
as data base

2. SYSTEM STUDY AND ANALYSIS


2.1. Existing System
In order to elicit the requirements of the system and to identify the elements, inputs, outputs,
subsystems and procedures, the existing system was to be analysed and examined in details.
This constitutes the system study. The existing system is analysed by the complete co-operation
of the staff of the agency. In the existing system all the data processing are done manually.
What is done in the project is the computerization of the manual system, which is prevailing. In
the current system the retailers used to maintain the information such as Stock, Purchase, Sales
and Customer details. This system is not that efficient and it does not provide any service to the
customers. There is no provision to search a product according to the need of the customer.

Limitations of existing system

Time delay
Manual work is time consuming. Service details will not get update with respect to
time. As data entry process is done manually, a lot of time and effort is needed for proper
functioning of the system.

Inaccuracy
Since there is a large volume of data, and human does all the calculations stand alone,

they are prone to errors.


9

Storage
Each detail is entered in different records and large storage space is needed.

Data Retrieval
Data retrieval is a difficult task.

Data Redundancy
Since the datas are stored in different registers the same data is repeated.

Report Displays
Before making reports regarding the transactions the manager has to make searching with
former records.

Error Prone
Since the system is manual, the chances for mistakes are high.

Registers may be destroyed easily


The chances of registers getting destroyed due to fire or water, time etc. are high.
To solve the above issues we go for our new proposed system

2.2. Proposed System


The goal of the system is to bring down the work load with the increased efficiency and to
speed up the activities. The MOBILE SHOP MANAGEMENT is a software application
which avoids manual effort needed in record keeping and generating reports. Maintaining of
mobile details is complex in manual system. The proposed system is satisfying the users need
and it is very interactive. It is a system which keeps all the stock records, purchase information
and sales and purchase return information a lot easier. The supplier and sales information in the
database will automatically generate bills when the customer buys the product. The bill history
can be generated based on different criteria.

Easy search of mobiles in the mobile shop.

Avoid the manual work.

Advantages of proposed system-an overview

High Speed

The proposed system is very fast in processing the information. Since retrieving and storing of
information is fast, the speed is also high.

10

Accuracy

Since all the transactions are done by the software it is less error-prone, leading to high
accuracy

Timeliness
The proposed system takes less time so that more retrieval of information can be made
easier. The reports can be produced with less time consumption.

Easy to Operate
Insertion and updating of the records will become easier and the number of records can
also be reduced.

Interactive User Interface


The proposed system provides Graphical User Interface similar to that of windows. The
user friendly interface helps the admin to work with the environment more effectively.

Safe Data Storage


The data can be stored for long period of time and backup can be maintained to ensure
further security of data. It does not consume large physical storage space. Therefore data
storage becomes more efficient.

Data Redundancy
Data redundancy can be reduced

Further References Are Ease


Since the proposed system is automated, further references to the details are very easy. By
including search option it is even possible to get details of a particular transaction and
account details.

2.3 System Requirements


2.3.1 Function to be provided
The software developed must provide all the facilities for functioning of a Mobile shop. The
operations include purchase mobiles, sales details entry, search mobiles in mobile shop, sales
and purchase return details, Company details. This must happen without delay. Also all the
activities are managed by the Administrator of the Mobile shop.

11

2.3.2 Product Definition


This software is to automate the different aspects of the system .The package has a user
interface to enter all the data required for evaluating all records of Mobile shop operations. The
interface also includes giving overall operations done in a Mobile shop.

2.3.3 Problem Statement


Before starting to design software, we have to understand the problems faced by existing
system. This is the most crucial phase of the system development life cycle, because if one
doesnt comprehend the problem at hand, the end product will be a wastage.
The objective of the product is to develop software that is used to manage all the registers of the
mobile shop. This software has to overcome all the disadvantages of existing system listed
before.

2.3.4 Processing Environments


2.3.4.1 Hardware Requirement
Hardware is a set of physical components, which performs the functions of applying
appropriate, predefined instructions. In other words, one can say that electronic and mechanical
parts of computer constitute hardware
This package is designed on a powerful programming language Visual Basic. It is a Powerful
Graphical User Interface. The backend is Access, which is used to maintain database. It can run
on almost all the microcomputers.
HARDWARE
Processor

: Intel Pentium 3 or higher

Memory

: 512 MB or above

Cache Memory

: 512 KB or above

12

Hard Disk

10.2 GB or above

Keyboard

Standard keyboard with 104 keys

CD Drive

Any CD/DVD Drive

Monitor

: VGA

Mouse

: A PS2/USB mouse

Display Adaptor

: Super VGA

Printer

: Dot Matrix/Inkjet/Laser

2.3.4.2 Software Requirements


A major element in building systems in compatible software .The system analyst has to
determine what software package is best for the candidate system. It begins with requirements
analysis, followed by a request for proposal and vendor evaluation. There are several factors to
consider prior to the proposed system:

Cost reduction: It includes reduction of savings on space and improved ability.

Improved efficiency: It emphasizes quick availability of information and improved accuracy.

Cost avoidance: It includes early detection of problems and ability to extend operations.

Scope
The scope of the project is identified to end of initial investigation. Then the system benefits are
stated and are translated into measurable objectives, These objectives are effective in comparing
the performance of the candidate system with that if the current system. From the comparison it
is found that the candidate system which is designed by using visual basic 6.0 as frontend and
Microsoft SQL Server as backend is many times effective than the existing procedures manual
procedure.
Operating System
13

: Windows XP, Windows 7, Windows 8 , 8.1 and Windows 10

Front End

: Microsoft Visual Basic 6.0

Back End

: MS-SQL-Server

2.4 Feasibility Analysis


Feasibility analysis is a test of system proposed according to work ability, impact of the
organization and effective uses of resources. It also evaluates the resources. It evaluate the
existing systems and it procedures develop a candidate systems which are suitable to solve the
problem. A feasibility test finds answers to the following questions.

What are the needs of the user?

How the candidate systems meet the needs?

Whether the problem is worth solving?

What are the resources available?

How the system works in the proposed organization?

2.4.1 Economic Feasibility


Economic analysis is the most frequently used method for evaluating the effectiveness of a
candidate system. The procedure is to determine the benefits and savings that are accepted from
a candidate system and compare them with cost. If benefits outweigh costs then the decision is
made to design and implement the system. The proposed system is more economic than the
existing system, since it uses GUI that reduces the operating time of the system and also it is
interactive and user-friendly, so the chance of error is low and cost needed to correct the error is
reduced.
In the new system the expense is only at the time of initial installation and hence the
proposed system is considered to be economically feasible, it also reduces the amount spend on
buying papers and other stationary items and also it reduces the manual work. So the proposed
system is supposed to be economically feasible.

14

2.4.2 Technical Feasibility


This is a study of resource availability that may affect the ability to achieve an acceptable
system. This evaluation determines whether the technology needed for the proposed system is
available or not. This is concerned with specifying equipment and software that will
successfully satisfy the user requirement. The technical needs of the system may include:

Front-end and back-end selection


An important issue for the development of a project is the selection of suitable front-end and
back-end. When we decided to develop the project we went through an extensive study to
determine the most suitable platform that suits the needs of the organization as well as helps in
development of the project.
The aspects of our study included the following factors.

Front-end selection:
1. It must have a graphical user interface that assists users that are not from IT background.
2. Scalability and extensibility.
3. Flexibility.
4. Robustness.
5. Platform independent.
6. Easy to debug and maintain.
7. Event driven programming facility.
8. Front end must support some popular back end like SQL or MS Access
According to the above stated features we selected VB6.0 as the front-end for developing our
project.
15

Back-end Selection:
1. Multiple user support.
2. Efficient data handling.
3. Provide inherent features for security.
4. Efficient data retrieval and maintenance.
5. Stored procedures.
6. Operating system compatible.
7. Easy to install.
8. Easy to implant with the front-end.
According to above stated features we selected SQL as the backend. The technical feasibility is
frequently the most difficult area encountered at this stage. It is essential that the process of
analysis and definition be conducted in parallel with an assessment to technical feasibility.

2.4.3 Operational feasibility


The system must be operationally feasible so that end users can operate it easily. It only needs
basic information about Windows platform. The proposed system is user friendly and easy to
use, the workload is reduced and efficiency is improved. In this automation, owner is the
administrator and others can only use the system if he permits. We can enter a user id either by
just pressing a button. This improves the easiness of the system used .Since the software used is
so simple; chance of technical assistance is also rare. Proposed projects are beneficial only if
they can be turned into information systems that will meet the operating requirements of the
organization. The test of feasibility asks if the system will work when it is developed and
installed. Some of the important questions that are useful to test the operational feasibility of a
project are given below

16

I got sufficient support from the management of the agency for developing the system.

Since all the operations are done manually, need for a computerized system is very necessary.

Current manual methods are not acceptable for both admin and customers. Since it take

long time for storing the information of a transaction.

Only admin of the organization has access to the system, which makes the system simple

and easy to use.

Issues that appear to be quite minor at the early stage can grow into major problems after

implementation. Since the development is made very interactive with an experienced person,
there is no chance for such issues.

2.5 Programming Languages and Development Tools


Microsoft Visual Basic
As the name implies, programming with VB is accomplished virtually. While writing the
program you are able to see how your program will look during run time. This is the great
advantage over other programming language. You are able to change and experiment with your
design until you are satisfied with features like colour, size, images that are included in the
program. Visual Basic is an ideal programming language for developing sophisticated
professional application for Microsoft Windows. It makes use of graphical user interface for
creating robust and powerful application. Features such as easier comprehension, user
friendliness, and faster application development and may other aspects such as introducing
Active X technology and internal features make Visual Basic environment makes it easy to
perform the basic takes necessary to create Windows Application.
Its features include:

Event-driven programming language.

Power tools to create windows based applications.

Tools to create application with graphical user interface for creating


Robust and Powerful applications.

17

Supports procedural and event driven programming application.

Greater flexibility on accessing RDBMS.

Easier to comprehend things in a quicker and easier way.

Faster application development.

Provides Integrated Development Environment.

Programming control of cursor.

Ability to set multiple results set from a single query.1

Flexibility to work with existing database technology.

Excellent error trapping.

Visual Basic Edition


Visual basic is available in three versions each geared to meet a specific set of development
requirements. The visual basic learning edition allows programmers to easily create powerful
application. The professional edition provides computer professionals with a full-featured set of
tools for developing solution for other. The enterprise edition allows professional to create
robust distributed application in team setting it includes all the features of the professional
edition, plus the automation manager, component manager database.

Templates Available
1. Standard EXE:
Creates a stand-alone program that we can copy, give away, or sell to others. Examples of
stand-alone programs are MS Word, Netscape Navigator etc. Stand-alone programs have an
.exe extension
2. ActiveX DLL:
Create a file that has .DLL extension. ActiveX DLL files are not meant to be used by them.
Instead, these types of files contain subprograms designed to be used as building block when
creating a stand-alone program.

18

3. ActiveX EXE:
Create a file that has an .EXE file extension. Unlike a stand-alone EXE file, an ActiveX EXE
file is designed to work as an OLE server, which is nothing more than a program designed to
share information with another program.
4. ActiveX Control:
Create a file that has an .OCX file extension. Unlike an ActiveX DLL or ActiveX EXE file, an
ActiveX Control usually provides both subprograms and a user interface that we can reuse in
other programs.
5. ActiveX Document DLL:
Create a file with a .DLL file extension. An ActiveX Document DLL file is design to help us to
run programs on internet.
6. ActiveX Document EXE:
Create a file that has an .EXE file extension. An ActiveX Document EXE files can display a
VB form within an internet Web browser.
7. Add In:
Enable us to create an Add In program specially designed to work with the VB user interface.
8. VB Application Wizard:
The VB friendly guide to help us to create a skeleton. VB stand-alone exe program quickly and
easily.
9. IIS Application:
An IIS application is a VB application that lives on a Web Server and responds to request from
the browser. An IIS application uses HTML to present its user interface and uses complied VB
code to process requests and responds to event in the browser. IIS application can be used on the
19

internet or an intranet. End users of an IIS application do not need a specific operating system or
browser. IIS application uses the Active Server Pages (ASP) object model.
10. DHTML Application:
A DHTML application responds to events in an HTML page. DHTML applications are
intended for use on intranet, and are dependent on Internet Explorer 4.0 or later .DHTML
application use the dynamic HTML objects.

Integrated Development Environment


The working environment in Visual Basic is referred to as the integrated development or IDE
because it integrates much different function. Such as design, editing, compiling and debunking
within a Common environment. In most traditional development tools each of this function
would operate as separate programming, each with its own interface. The Visual Basic
integrated environment (IDE) consists of the following elements.
1. Menu bar:
Provide access to every available VB commands.
2. Toolbar:
Display icons that represent most commonly used VB commands.
3. Toolbox:
Display the type of object that can be drawn on a form.
4. Project Explorer:
List all the file that make up a single VB program.
5. Properties Window:
Display the properties of the currently selected form or object.

20

6. Form Layout Window:


Enable us to arrange the location where our forms appear on the screen
7. Form:
Provides a window where we can draw object to design our programs user interface.
8. Immediate Window:
Enable us to debug our VB programs.

Microsoft SQL Server:


The SQL language may be considered as one of the major reason for the commercial success of
relational database. It became a standard for relational database. SQL is a comprehensive
database language. It has statement for data definitions, queries, and update. Hence it is both
DDL and DML. In addition it has facilities for defining views on the database .for security and
authorization, for defining integrity constraints, and for specifying transaction controls.
SQL is an ANSI standard computer language for accessing and manipulating database system.
SQL statements are used to retrieve and update data in a database. SQL works with database
programs like MS ACCESS, DB2, Informix, MS SQL server, Oracle etc.
SQL Database Tables
Tables are in basic building block in any relational database management system. They contain
the rows and columns of your data. You can create modify and delete table using the data
definition language commands(DDL).The table consist of a row of columns heading together
with zero or more rows of data values. A database most often contains one or more tables. Each
table is identified by a name. Tables contain rows with data.

21

SQL Data Manipulation Language (DDL)


SQL is syntax for executing queries. But the SQL language also includes syntax to update,
insert and delete records. These queries and update commands together form the Data
Manipulation Language part of SQL:

SELECT

UPDATE -Update data in a database table.

DELETE -delete data from a database table.

INSERT INTO insert row data into a database table.

-extract data from a database table

SQL Data Definition Language (DML)


The Data Definition Language part of SQL permits database tables to be created or deleted. We
can also define indexes, specify links between tables, and impose constraints between database
tables. The most important DDL statements in SQL are:

CREATE TABLE create a new database table.

ALTER TABLE

-alter a database table.

DROP TABLE

delete a database table.

CREATE INDEX -create an index.

DROP INDEX

-drop an index.

Connection used
OLE DB
OLE an acronym for object linking and embedding, a somewhat older communications and
data-sharing protocol for Windows application. The term OLE has been largely replaced by
ActiveX, a Broad collection of communication methods for Windows applications.
OLE DB introduces a universal data access paradigm that is not restricted to jet, ISAM, or even
relational data sources. OLE DB is capable of dealing with any type of data regardless of its
22

storage method or format. This access even includes an ADO data provider into o ODBC so
that you can use it with your ODBC data sources. It is important to note that OLE DB doesnt
replace ODBC because they each feature completely independent APIs.

Report used
Crystal Report is used to produce reports from Visual Basic program, which is an integral
feature of Visual Basic. It is a powerful program for creating custom reports, lists, and labels
from the data in our application database. When Crystal Reports connect to the database, it
reads the values from the fields you selected and place them into a report, either as-is or as part
of a formula that generates more complex values.
Crystal Reports connects to almost any database system available today. Actually, there are two
unique methods used to connect a data base: Data Files and SQL/ODBC. The data file method
is designed for the smaller PC-based database, such as dBase and Microsoft Access. The
SQL/ODBC method uses an ODBC (Open Database Connectivity) Connection, Which
connects to any database that supports it. Some database in these groups is Microsoft Access,
Oracle, Sybase & Microsoft SQL server.

Operating system used


The Microsofts most popular operating system Windows XP is used in the development cycle.
Windows XP, released in October 2001, has several attractive features than the older version of
Windows. Most important one is its enhanced GUI and added security.

2.6 SYSTEM ANALYSIS


2.6.1 Data Flow Diagrams
Data flow diagram is a way of representing system requirements in a graphic form. A DFD is
also known as bubble chart has the purpose of clarifying system requirements and identify
major transformations that will become program in system design. So it is the starting point of
design phase that functionally decomposes the requirements specifications down to the lowest

23

level of details. A DFD consists of series of bubbles joined by lines. The bubbles represent data
transformation and the lines represent data flows in the system.

DFD Symbols
1. In a DFD, there are four symbols
2. A square defines a source or destination of system data.

3. An arrow identifies data flow or data in motion. It is a pipeline through which information
flows.

4. A circle or a bubble represents a process that transforms incoming data flows into
outgoing data flows.

5. An open rectangle is a data source or data at rest or a temporary storage of data


constructing the DFD.

Several rules used in drawing DFDs:

24

1. Process should be named and numbered for easy reference.


2. The direction of flow is from top to bottom and from left to right. Data traditionally flow
from source to destination, although they may flow back to source.
3. When a process is exploded into lower details, they are numbered.
4. The names of dta stores, sources and destination are written in capital letters. Process and
data flow names have the first letter of each word capital.

DFD

DFD Level 1

25

DFD Level 1 - Purchase

DFD Level 1 Purchase Return

26

DFD Level 2 - Sales

DFD Level 2 Sales Return

27

DFD LEVEL 2-SEARCH

2.6.2 Data Dictionary


Process

Description

1.Login

Administrator can login and can access


the data available

2.Purchase

New

mobiles

are

added

and

its

specifications
are stored
3.Sales

Soled mobile details are stored.

4.Purchase Return

Returned mobile details are stored

5.Sales Return

Returned mobile details are stored

5.Search

Administrator

can

search

for

the

availability of mobile by model name


provided by the mobile shop

6.Reports

Report

keeping

of

purchase,

sales,

purchase return, sales return are available

28

3. SYSTEM DESIGN
The most creative and challenging phase of the system life cycle is system design. The term
design, describes a final system and the process by which it is developed. It refers to the
technical specification that will be applied in implementing the candidate system. It also
includes the construction of programs and program testing. The key question here is: How
should the problem is solved? The first step is to determine how the output is to be produced
and in what format. Second, input data and master files have to be designed to meet the
requirements of the proposed output.
The final report prior to the implementation phase includes procedural flowchart, record layout,
and workable plan for implementing the candidate system.
The design phase focuses on the detailed implementing procedural flowchart of the system
recommended in the feasibility study. Emphasis is in translating performance specification into
design specification. The design phase is a translation from a user-oriented document to a
document oriented to the programmers or database personal.
System design goes through the phase of development: logical and physical design. When
analysis prepares the logical system design they specify the user needs at a level of details that
virtually determines the information flow into and out of system and the required data
resources.
The most creative and overwhelming part of system development lifecycle is system design.
The design phase focuses on the detailed implementation of the system recommended in the
feasibility study. System design is a transition from user-oriented document to a documentoriented to a programmer or database personal. It includes logical flow of the system. The
physical design draws out of the details of the physical plan and specifies to learn the software
requirements.
A well-designed system should provide for controls to eliminate errors and ensure systems
integrity. The design activity is often divided into system design and detailed design. System
design aims to identify the modules and how they interact with each other to produce desired
29

results. At the end of system design all the data structures, file formats, output formats as well
as the major modules in the system and their specifications are desired.

Basic design Approach


The basic phase focuses on the detailed implementation of the system recommended in the
feasibility study. Emphasis is on translating performance specifications into design
specifications. The design phase is a transition from a user-oriented to the programmers or
database personnel.
System design goes through two phases of development.

Logical

Physical

Logical design covers the following:


1.

Review the current physical system.

2.

Prepare output and input specifications.

3.

Prepare edit, security, and control specifications.

4.

Specifies the implementation plan.

5.

Review benefits, costs, target dates, and system constraints.

Physical design covers the following:


1.

Design the physical system.

[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[

[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[[[[[[[[[[[/ Specify input/output media.

Design the database and specify backup procedure.


30

2.

Plan system implementation

Prepare a conversion schedule and target date.

Determine training procedure, courses, and timetable.

3.

Devise a test and implementation plan and specify any new hardware and software.

4.

Update benefits, costs, and conversion date and system constraints.

3.1 Database Design


Personal computers provide an excellent tool for storing information in the database. It is
relational DB. Instead of relying on stops of papers, memory is used information in SQL server.
SQL server is the powerful management system and the user can create entire application that
requires programming. The SQL server can act as back end database for VB in our project.

3.1.1 Table design


Design of the file is very important factor in the system. While designing files we have to avoid
data redundancy but the same time all required data should be considered while the designing
database.

Use the singular forms of table and column name.

Select the proper data types for each column.

Use descriptive names for tables, columns and indexes.

Tables
A table is a collection of data about a specific topic. It makes data more efficient and reduces
data entry errors. There are several tables used in this project.
Table Name: PURCHASE
This table stores details of all purchased products
31

Field Name

Type

Length

Constraints

Pprice

Varchar

10

Not null

Pdate

Date

Pmodel

Varchar

Not null
20

Not null

Table Name: STOCK


This table is to store all the data of the mobiles available.
Primary Key: pid
Field Name

Type

Length

Constraints

Pid

Integer

10

Primary key

Pprice

Integer

10

Not Null

Pdate

Date

Pmodel

Varchar

50

Not Null

Bname

Varchar

20

Not Null

Pdis

Varchar

1000

Not Null

Pimage

Varchar

200

Not Null

Not Null

Table name: SALES


This table is to store all the data of mobiles sold.
Primary Key: billno
Field Name

Type

Length

Constraints

Billno

Integer

20

Primary Key

Pid

Integer

10

Foreign Key

Pmodel

Varchar

50

Not Null

Sprice

Integer

20

Not Null

32

Sdate

Date

Not Null

Table name: SALESRETURN


This table is to store the details of the sold products returned.
Field Name

Type

Length

Constraints

Billno

Integer

20

Foreign Key

Pmodel

Varchar

50

Not Null

Tprice

Integer

20

Not Null

Sdate

Date

cusname

Varchar

Not Null
50

Not Null

Table name: PURCHASERETURN


This table is to store details of the stock returned.
Primary key: pid
Field Name

Type

Length

Constraints

Pid

Integer

20

Foreign Key

Pmodel

Varchar

50

Not Null

Rtndate

Date

Not Null

Sdate

Date

Not Null

Pprice

Integer

20

Not Null

Table name: SBILL


This table is to store the bill details
Billno

Integer

20

Foreign Key

Tprice

integer

10

Not Null

Pmodel

Varchar

50

Not Null

Sdate

Date

33

Not Null

cusname

Varchar

50

Not Null

3.1.2 Normalization
BCNF was developed by Boyce and Codd. It was designed to overcome the drawback of Third
Normal Form. Numerous normal forms have been designed, First, Second and Third Normal
Forms. Some First Normal Form relations are also in Second Normal Form, and some Second
Normal Form relations are also in Third Normal Form.
Codds original definition of Third Normal Form suffered from certain problems.
A stronger definition due to Boyce and Codd was developed to overcome these problems and
was called the BCNF. Subsequently Fagin defined a new Fourth Normal Form and more
recently another Normal Form which is called Fifth Normal Form or Projection joint Normal
Form.
With the use of different normal forms in the database design, the problem of storing redundant
data in different tables is avoided. The use of normal forms permits storage of data only once in
the database, thereby saving space and avoiding the problem of redundant data storage.

3.2 User Interface Design


It involves input design and output design. Input design is the processing of converting the useroriented inputs into the computer based format. The input details are selected and processed in
the computer accessible from then entered. The goal of input design is to make data entry easy
and fast. The input forms are designed to enter the input data.
Output design involves preparing reports for producing a hardcopy output from a computer
based information system. Reports are also used for display information about different details.

3.2.1 Input Design


34

Input design converts user-oriented inputs to computer-based format, which requires Careful
attention. The collection of input data is the most expensive part of the system in terms of the
equipment used and the number of people involved. In input design, data is accepted for
computer processing and input to the system is done through mapping via some map supportor

links. Inaccurate input data is the most common cause of errors in data processing.The input
screens need to be designed very carefully and logically. A set of menus is provided which
help for better application navigation. While entering data in the input forms, proper
validation checks are done and messages will be generated by the system if incorrect
data has been entered.

3.2.2 Input pages


The software mobile shop management system consists of following inputs:

Welcome Form
This form is the entrance form

Login Form

This form is used for Admin .admin is allowed to sign in using his username and password for
the good running of the system.

Admin activities
This form is used by the Administrator perform different operations for the user.

Search

This form is used by the user for search whether mobiles are available or not, and details about
the books

3.2.3 Output Design


An output is the most important and direct source of information to the user. Efficient and
intelligent output design improves system relationship with the users and help in decision
making.

35

Once output required are identified the output device with system response requirements should
be considered while deciding the output device. They are designed in such a way that all required
informations are conveyed to the user in a very clear and efficient way.

3.2.4 Output Pages

Purchase details

Sales information

Available mobiles
Stock details
Purchase Return
Sales Return

4. SYSTEM DESIGN DETAILED


4.1 INTRODUCTION:
System design can be defined as the process of developing specifications for a system that
meets the criteria established in system analysis. A major step in system design is the
preparation of input and the design of output reports in a form acceptable to the user. Input
design is the process of converting user originated inputs to a computer- based format.

4.2 EXCEPTION HANDLING:


Almost all error handling routines in Visual Basic programs follow three steps
1. Trap the error and redirect program flow to the error handler
2. Handle the error
3. Direct the program flow out of the error handler back to the main body.

36

The VBA engine is constantly looking for problems and immediately notifies it and handles it
when something unexpected happens. Visual basic normally handles most errors. After an error
occurs, the VBA engines normal operation is suspended. Normal execution is directed to the
error handler and further error trapping within the error handler is inactive. After the error has
been managed by the code, the program flow is redirected to another location within the
procedure.

4.3 SECURITY:
For data to remain secure measures must be taken to prevent unauthorized access. Security
means that data are protected from various forms of destruction. The system security problem
can be divided into four related issues: security, integrity, privacy and confidentiality. Thus
security is critical in system development. The amount of protection depends on the sensitivity
of the data, the reliability of the user and the complexity of the system. The motives behind
security are to keep the organization running protect data as an asset and seek management
support for more installations.

5. CODING TESTING AND IMPLEMENTATION


5.1 CODING:
5.1.1 Naming Conventions:
In computer programming, a naming convention is a set of rules for choosing the character
sequence to be used for identifiers which denote variable types, functions and other entities in
source code and documentation.

5.1.2 Comments:
The symbol (') tells the Visual Basic compiler to ignore the text following it, or the comment.
Comments are brief explanatory notes added to code for the benefit of those reading it.
37

It is good programming practice to begin all procedures with a brief comment describing the
functional characteristics of the procedure (what it does). This is for your own benefit and the
benefit of anyone else who examines the code. You should separate the implementation details
(how the procedure does it) from comments that describe the functional characteristics. When
you include implementation details in the description, remember to update them when you
update the function

Start comment text with an uppercase letter, and end comment text with a period.
Insert one space between the comment delimiter (') and the comment text.

5.2 TESTING:
5.2.1 Walkthroughs and Inspections:
An approach that doesnt make use of a computer at all in trying to eradicate faults in a program
is called inspection or a walkthrough. A walk through is an evaluation process which is an
informal meeting, which does not require preparation. The product is described by the produced
and queries for the comments of participants. The results are the information to the participants
about the product instead of correcting it.
Inspection is deserving method with careful consideration of an organization, which concerns
about the quality of the product. The process is being done by the quality control department.
Inspection is a disciplined practice for correcting defects in software artefacts.

5.2.2 Unit Testing:


In computer programming, a unit test is a procedure used to validate that particular module of
source code is working properly. The procedure is to write test cases for all functions and
methods so that whenever a change causes a regression, it can be quickly identified and fixed.
Ideally, each test case is separated from the others; construct such a mock objects can assist in
separating unit tests. This type of testing is mostly done by the developers and not by end-users.
Unit testing is testing changes made in existing or new program. Unit test cases embody
characteristics that are critical to the success of the unit.
38

5.2.3. Validation Testing:


Validation is the process of determining if the system complies with the requirements and
performs functions for which it is intended and meets the organizations goals and user needs. It
is a high level activity. Validation is done at the end of the development process and takes place
after verifications are completed. Validation ensures that the product actually meets the client's

needs. It can also be defined as to demonstrate that the product fulfils its intended use when
deployed on appropriate environment

6. IMPLEMENTATION:
Proper implementation is necessary for reliable system to meet organization requirements. The
process of putting the developed system into actual use is called as system implementation. The
most crucial stage is achieving a new successful system and giving confidence to user that it

will work efficiently and effectively. It involves careful planning, investigation of needs and its
constraints on implementation and design of methods to achieve changeover.
Book shop automation system was implemented over Visual Basic and SQL. All the
applications were working well when run with dummy data. All the transactions were faster
than manual system and we overcame most of the constraints of existing system.

7. SUMMARY
7.1 CONCLUSION
In this project, first an attempt has been made to find the need for the system. To fulfil the
needs, a detailed study has been designed in such a way that the system is user friendly and easy
to use. This particular system has been designed in an attractive manner, so that even a user
with minimum knowledge can be able to operate the system easily.

39

The system is developed with scalability in mind. All modules in this have been tested
separately and put together to form the system. Finally the system is tested with real data and
everything work successfully. Thus the system has fulfilled all the objectives identified and is
able to replace the existing manual system.

The advantage of this system is that, the package can be easily being incorporated with any
other package. In future the package can be developed further to act as virtual manager caring
out all the operation.

7.2 FORESSEEABLE ENHANCEMENT


In future, this system can be implemented in web. The main advantage is that the administrator
of the system can easily purchase, sale and update mobiles.
The system has been developed as versatile and user friendly as possible keeping in mind the
advanced features in this technology. The System provides flexibility for incorporating new
features, which may be necessary in the future. The software now designed can be modified for
more complex applications using visual basic and SQL Server.

8. BIBILIOGRAPHY
1. Elements of System Analysis and Design, Marvin Gore, 4th edition, Tata McGraw-Hill
publication, 1993.
2. www.systemdesign.com
3. System Analysis and Design, Elias M.Awad

4. Guide to VisualBasic6.0, Peter Norton and Michael Groh, Techmedia Sams


1998
5. www.bogotobogo.com

40

publication,

6. technet.microsoft.com
7. www.onlineclassnotes.com
8. Murach's Visual Basic 2012
9. Simply Visual Basic 2008

9. APPENDIX SAMPLE SCREEN SHOTS


Login page

Home page

41

View Purchase

Purchase return
42

Adding Stock

Search

43

View Stock

44

Selling products

Printing Bill

Returning Sales
45

Daily Sales Report

Daily Purchase Report


46

Validation

47