Académique Documents
Professionnel Documents
Culture Documents
1. INTRODUCTION
OBJECTIVE
The main objective of the application is to automate the existing system of manual
entry maintain the records of the Customer details, Supplier details, product details, purchase
details, sales details, stock details, employee details.
Vegetable Market Maintenance System provides stylish interface for evaluating the
vegetable market management, the ratings will be stored securely and it’s archived in a
central location for the future.
PROBLEM DEFINITION
The application should provide quick access to the records maintained and must reveal
the important reviews about the business so that the growth can be easily compared and
should provide with the various reports showing the related details so that the important
decisions could be taken easily.
1
CHAPTER II
2. SYSTEM STUDY
2.1. EXISTING SYSTEM
It consists of keeping all the details about purchase details and product sales bill
details. There is a lot of reason for the introduction of this project. In this System old version
of FoxPro, there are number of inefficiencies that a management faces of report generator.
The information retrieval is one of the foremost problems. It is very difficult to gather the
overall performance reports of the transaction. In this system delay to retrieving record with
in second.
• Slow process
• No crystal report access.
• Time consuming
• No direct role for the higher officials
Technical feasibility
Operational feasibility
Economic feasibility
The proposed system should feasible in all these three aspects.
2
2.2.2 OPERATIONAL FEASIBILITY
To determine operational feasibility of system should take into awareness of user. The
system should be user friendly and east to use. This essentially means that the system should
be simple and easy to operate and the performance produced should be high. So the system is
operationally feasible. All basic tables have been indexed on their primary keys, thereby
increasing the speed of retrieval. Operation feasibility is the measure of people feel about the
system.
Economic feasibility deals with the cost and benefit the information system. Technical
feasibility is computer oriented. Operational feasibility is people oriented. To decide whether a
project economically feasible, we have to take into consideration various factors such as
3
2.3. PROPOSED SYSTEM
In this system using visual basic .net application for crystal report method and it’s easy
for the user to meet the challenges of managing their records and retrieval of useful
information. The application covers the area of client information, invoice, product etc and
product in hand and delivered information. The system revolves around the menu of the
product available. The user can browse through the menu to get the desired information. The
project is very flexible because it allows the user to get information in various possible
categories. Everything is done dynamically. All the details are stored into appropriate
database. The functionality of the proposed system includes the following: Customer
information , Product information Quantity in hand Delivered stock The admin can find
relevant data in each module itself. admin can modify, delete, update, view, or inset new data
as when required. Performing these tasks is a very simple task in the product and the user can
do it quite easily. The database is connected dynamically to front-end so that any changes
made to database are immediately reflected to the user
4
CHAPTER III
3.SYSTEM SPECIFICATIONS
Memory : 1 GB RAM
Storage : 80 GB HDD
5
SOFTWARE FEATURES
Visual Basic was originally designed to be easy to use and learn, while making the
development of simple graphical programs easy, visual basic also offers many powerful
features for the development of large and complex applications.
The .NET framework is a large library of code created to reduce the amount of
common programming problems. The framework uses an application virtual machine created
by the (CLR). The CLR (Common Language Runtime) allows developers to produce code
without worrying about capabilities of the CPU; this is all handled by the CLR. The CLR
manages code that was written directly for the .NET framework.
One of Visual Basic’s biggest downfalls and the very reason it was avoided by some
developers was its limitations to only run under Windows.
Visual Basic can now be run on other platforms such as Linux; this is made possible
by Mono. Mono is an open-source development platform which has created a Visual Basic
compiler, written in Visual Basic which will allow compiling and running off VB scripts on
any operating system that supports mono.
Some downsides to using the .NET framework are that older versions of windows do
not have .NET installed and developers feel that the size of the package is sometimes big
enough to put the end user off installing the framework.
6
Menu Bar
Displays the commands you use to work with Visual Basic.Net Besides the standard
File, Edit, View, Window and Help menus, menus are provided to access functions specific to
programming such as Project, Format or Debug.
Context Menus
To open a context menu, click the right mouse button on the object you are using. The
specific list of shortcuts available from context menus depends on the part of the environment
where you click the right mouse button.
Toolbar
Tool Box
Provide a set of tools that you use at design time to place controls on a form. In
addition to the default toolbox layout, you can create your own custom layouts by selecting
Add tab from the context menu and adding controls to the resulting tab.
List the forms and module in your current project. A project is the collection of files
you use to build an application.
Properties Window
List the property setting for the selected forms or control. A property is a
characteristic of an object, such as size, caption or color.
7
Object Browser
List objects available for use in your use in your project and gives you a quick way to
navigate through your code. You can use the Object Browser to explore objects in Visual
Basic and properties are available for those objects, and paste code procedures into your
application.
Forms Designer
Serves is a window that you customize to design the interface of your application.
You add controls, graphics and pictures to a form to create the look you want. Each form in
your application has its forms designer window.
Serves is an editor for entering application code. A separate code editor windows
Are created for each form or module in your application.
Multiple Document Interface (MDI)
MDI stands for multiple document interfaces. A multiple document interface is used
for opening many windows as the same time. All the document windows are contained in a
parent window, which provides a workspace in the application. Visual Basic applications can
have only one MDI forms, which contains all the child forms.
ActiveX Control
An ActiveX control is an extension to the Visual Basic Tool box. You can use ActiveX
controls just as you would use any of the standard built-in controls. When you add an
ActiveX control, it becomes part of the development and run-time environment and provides
new functionality for your application.
For our first VB IDE post on the VB team blog, I’d like to give you my list of the top
10 new features in the Visual Studio 2005 IDE. Now that the product has been released, you
can take advantage of these today!
8
BACK END: MS-ACCESS
This database lets us to store and organize information in sets of tables. After creating
a database we can look in information as a list (in columns and rows) or we can look at the
information in a form as though it were recorded on an index card. Microsoft Access provides
two ways to create a table. It can create a blank (empty) table for entering own data, or It can
create a table using existing data from another source. A table is a collection of data about a
specific topic.
Field
Cell
Record
A collection of all fields relating to one person, place, or thing occupying a single row
of a table.
Table
A collection of records with one record occupying a single row with one or many
fields per Row. A database can consist of multiple tables.
Query
Forms
A method of entering, displaying, and searching data in other than the Spreadsheet-like
environment of tables and queries (a graphical user interface).
Reports
Summarizes and formats data in the "look" that want for either table or query data.
Object
Components that make up a database (i.e., tables, forms, queries, reports, macros &
modules).
9
Primary Key
Primary key and foreign keys are using the table. Primary keys determine every
record in a table.
Foreign Key
Foreign key is a field used to use to set the relationship with another tables.
This database lets us to store and organize information in sets of tables. After creating
a database we can look in information as a list (in columns and rows) or we can look at the
information in a form as though it were recorded on an index card. Microsoft Access provides
two ways to create a table. It can create a blank (empty) table for entering own data, or It can
create a table using existing data from another source. A table is a collection of data about a
specific topic.
10
CHAPTER IV
4. SYSTEM DESIGN
Once the analysis and design of the system has been done, it would be necessary to
identify the data that are required to be processed to produce the outputs. Input is one of the
most expensive phases of the operation of a computerized system and creates sometimes a
major problem. Different type of problem with a system can usually be traced back to faulty
input design method needless to say, therefore, that the input data are the lifeblood of a
system and have to be analyzed and designed with utmost care and consideration. Input
design features can ensure the reliability of the system and generate correct reports form the
accurate data.
Input design is the process of converting To ensure that the input is understood by the
user Input design is one of the most expensive phases of the operation of computerized
system and is often the major problem of a system. A larger number of problem with a system
can usually be traced back to fault input design and method. Needless to say, therefore that
the input data is the life block of a system and has to be analyzed and designed with the most
consideration.
Input design is a part of overall system design, requires the very careful analysis of the
input data product. The goal of the input design is to make the data entry easier, logical and
free from errors. The user controls input data. The commonly used input, output devices are
mouse, keyboard and the visual display unit. The well designed, well organized screen
formats are used to acquire the inputs. The data accepted is stored on database file. Our
system is classified into subsystem such as
Customer
purchase
purchase return
sales
stock
11
4.2 OUTPUT DESIGN
Output design generally refers to the results and information that are generated by the system.
For many end users, output is the main reason for developing the system and the basis on
which they evaluate the usefulness of application.
The objective of a system finds its shape in terms of the output. The analysis of the
objective of a system leads determination of outputs. Outputs of a system can take various
forms. The most common are reports, screen displays, and printed form, graphical drawing
etc. the outputs also vary in terms of their contents, frequency, timing and format. The users
of the output, its purpose and sequence of details to be printed are all considered. The output
from a system is the justification for its existence. It the outputs are inadequate in any way,
the system itself is inadequate. The basic requirements of output are it should be accurate,
timely and appropriate in terms of content, medium and layouts for its intended purpose.
Hence it is necessary to design output so that the objectives of the system are met in the best
possible manner. The outputs are in the form of reports.
Normalization
12
First Normal Form:
In this normal form, repeating attributes are removed and the attributes are placed in
corresponding entities.
In this normal form, the attributes that are not dependent on the unique identifier are
removed, i.e. every non-key attributes should be fully dependent on primary key. In the
project, to identify the product uniquely, an attributes product product id is created as the
primary key. In the project, to identify the product uniquely, an attribute product id is created
with constraint unique and not null.
In this form, every non-key attributes are non-transitively dependent on the primary
key. In technical support module, the non-key attributes problem, solution, date requested is
not dependent on the reports.
Login Details
The Login Module deals with the information about Admin (i.e.) User Name, Password
Customer Details
The customer Module deals with the information about customer (i.e.)
customer_code, Name , Address, Phone etc. the customer orders are recorded and maintained
and the delivery is done according to the priority. This module also includes the details about
the bills produced for the customer during sales.
Product Details
The Product Module deals with the information about Product Codes, Product Name,
Type, Units, Purchase Rate, Sales rate and their description. The stock level has to be
monitored regularly in product module and the purchase price and sales price are also
maintained by the module.
13
Supplier Details
The Supplier Module deals with the information about Product Supplier (i.e.)
Supplier code, Supplier Name , Address, Phone, Email id etc. the supplier are recorded and
maintained and the purchase is done according to the priority.
Purchase Details
Purchase Invoice no, Invoice Date, Supplier code, Supplier name, Product code,
product name, Unit, Purchase qty, Rate, Amount and Net Amount, It deals with the
generation of purchase invoice for the required stock during purchase.
This purchase return details deals with information about Purchase Return no, Return
Date, Supplier code, Supplier name, Product code, product name, unit,Return qty.
Sale Invoice no, Sale Date, Customer name, address, product code, product name,
unit, Sale qty, Rate, Amount, Bill Amount, The Sales Invoice Module deals with the sales of
final product to the customer. It deals with the generation of sales invoice for the required
stock during sales. It also deals with the generation of sales bill and the payment details of the
customer.
Stock Details
This stock details deals with information about of stock date, product code, product
name, unit, purchase Quantity, Sale Quantity, Stock Quantity. The stock Module checks the
stock level continuously.
Employee Details
This stock details deals with information about of Employee code, Employee name,
address, contact no, date of joining and salary.
14
TABLE NAME:LOGIN
15
TABLE NAME: SUPPLIER DETAILS
FOREIGN KEY:PCODE
16
TABLE NAME: PURCHASE RETURN DETAILS
FOREIGN KEY:PCODE
FOREIGN KEY:PCODE
17
TABLE NAME: STOCK DETAILS
FOREIGN KEY:PCODE
PRIMARY KEY:EMPCODE
18
4.4 DATA FLOW DIAGRAM
1
Username, password Process to
Login Login Details
Login
Process
Supplier code,
3
name
Supplier Entry Process to
Supplier Details
Supplier
Process data
4
Purchase no, Process to data
Purchase Entry Date,P Code, Purchase Details
Purchase
name Process
Reports B
Reports C
19
A
ccode,cname
7 Process to
address
Customer Entry Customer Details
Customer
Process
sale date,
Process to data
8
Sales Entry sale qty Sales Details
Sales
process
Report
B
Stock date, C
pqty, sqty, 9
Stock Entry Process to
Stock Details
Stock data
Process
Report
Process to
Emp code,salary data
10
Employee Entry Employee details
Employee
Process
20
CHAPTER V
System testing ensures that the entire integrated software system meets requirements.
It tests a configuration to ensure known and predictable results. An example of system testing
is the configuration oriented system integration test. System testing is based on process
descriptions and flows, emphasizing pre-driven process links and integrated points.
Testing Objectives:
The main objective of testing is to uncover a host of errors, systematically and with minimum
effort and time. Stating formally, we can say,
The primary goal of unit testing is to take the smallest piece of testable software in the
application, isolate it from the remainder of the code, and determine whether it behaves
exactly as you expect. Each unit is tested separately before integrating them into modules to
test the interfaces between modules. Unit testing has proven its value in that a large
percentage of defects are identified during its use.
Unit testing is a software verification and validation method where the programmer
gains confidence that individual units of source code are fit for use. A unit is the smallest
testable part of an application. In procedural programming a unit may be an individual
program, function, procedure, etc., while in object-oriented programming, the smallest unit is
a class, which may belong to a base/super class, abstract class or derived/child class.
21
Ideally, each test case is independent from the others: substitutes like method stubs,
mock objects, fakes and test harnesses can be used to assist testing a module in isolation. Unit
tests are typically written and run by software developers to ensure that code meets its design
and behaves as intended. Its implementation can vary from being very manual (pencil and
paper) to being formalized as part of build automation.
There are two major ways of carrying out an integration test, called the bottom-up
method and the top-down method. Bottom-up integration testing begins with unit testing,
followed by tests of progressively higher-level combinations of units called modules or
builds. In top-down integration testing, the highest-level modules are tested first and
progressively lower-level modules are tested after that. In a comprehensive software
development environment, bottom-up testing is usually done first, followed by top-down
testing.
22
5.1.3. USER ACCEPTANCE TESTING
User acceptance of a system is the key factor of the success of any system. The
system under study is tested for the user acceptance by constantly keeping in touch with the
prospective system users at the time of developing and making changes wherever required.
After performing the validation testing, the next step is output testing of the proposed
system since no system could be useful if it does not produce the required output in the
specific format. The output generated or displayed by the system under consideration is tested
by asking the user about the format is considered in two ways, one is on the screen and
another is printed format.
23
5.2. SYSTEM IMPLEMENTAION
The implementation plan includes a description of all the activities that must occur to
implement the new system and to put into operation. It identifies the personnel responsible
for the activities and prepares a time chart for implementation the system.
The problems encountered are converting files, training users, creating accurate are
converting files and verifying printouts for integrity.
24
CHAPTER VI
6.CONCLUSION
After we have completed the project we are sure the problems in the existing system
would overcome. The “vegetable market maintenance system” process made computerized to
reduce human errors and to increase the efficiency. The main focus of this project is to lessen
human efforts. The maintenance of the vegetable market maintenance system is made
efficient, as all the records are stored in the access database, through which data can be
retrieved easily. The product order and delivery are given a particular unique id no. So that
they can be accessed correctly and without errors. Our main aim of the project is to get the
correct information about a particular customers and sales details available in the vegetable
market.
The problems, which existed in the earlier system, have been removed to a large extent.
And it is expected that this project will go a long way in satisfying users requirements. The
computerization of the vegetable market will not only improves the efficiency but will also
reduce human stress thereby indirectly improving human recourses.
25
CHAPTER VII
7. BIBLIOGRAPHY
Mastering Visual Basic .Net : Stven Holzner dream, First Edition 2002
MS-Access : Joycox
Websites Referred
1.www.vbdotnetheaven.com
2.www.w3school.com
3.www.wikipedia.com
www.vbtutorial.com
5.www.vbsourcecode.com
26
CHAPTER VIII
8.APPENDIXES
8.1. Screens Shots
27
Fig 2:MASTER FORM.
28
Fig 3: PRODUCT DETAILS FORM
29
Fig 4: CUSTOMER DETAILS FORM
30
Fig 5: EMPLOYEE DETAILS FORM
31
Fig 6: SUPPIER DETAILS FORM
32
Fig 7: TRANSACTION MASTER FORM
33
Fig 8: PURCHASE DETAILS FORM
34
Fig 9: PURCHASE RETURN DETAILS FORM
35
Fig 10: SALES BILL DETAILS FORM
36
Fig 11: STOCK DETAILS FORM
37
8.2. Reports
38
Fig 13: PURCHASE REPORT FORM
39
Fig 14: PURCHASE RETURN REPORT FORM
40
Fig 15: SALES REPORT FORM
41
Fig 16: STOCK REPORT FORM
42
8.3.Sample coding
Imports System.Data
Imports System.Data.OleDb
Public Class customer
Dim con As New ADODB.Connection
Dim crs As New ADODB.Recordset
Dim opt As String
Else
crs(0).Value = TextBox1.Text
crs(1).Value = TextBox2.Text
crs(2).Value = TextBox3.Text
crs(3).Value = TextBox4.Text
crs.Update()
MsgBox("Records Update Successfuly")
End If
End Sub
43
Dim s As String
s = MsgBox("Do U want to Delete", vbYesNo, "Delete")
If s = vbYes Then
crs.Delete()
MsgBox("One Record Deleted")
crs.MoveFirst()
Fillrecords()
End If
End Sub
End Sub
44