Sie sind auf Seite 1von 64

PROCUREMENT OF INFORMATION AND AUTOMATION SYSTEM

A project report submitted in partial fulfillment for the award of the requirements of

BACHELOR OF COMPUTER APPLICATIONS

Submitted By

A.R.ASMATH NISA
(Reg.No.28136004)

N.RUBIYA FATHIMA
(Reg.No.281360033)

T.DURGA
(Reg.No.281360012)

VAISHNAVI.R
(Reg.No.280360038)

Under the guidance of

Ms.Elammathi. M.Sc, M.Phil.,


(Lecturer in Computer Science, Applications & Technology,
Saradha Gangadharan College)

DEPARTMENT OF COMPUTER SCIENCE, APPLICATIONS, AND TECHNOLOGY


SARADHA GANGADHARAN COLLEGE
VELRAMPET, PUDUCHERRY-605004

APRIL – 2010

1
DEPARTMENT OF COMPUTER SCIENCE, APPLICATIONS, AND TECHNOLOGY

SARADHA GANGADHARAN COLLEGE


VELRAMPET, PUDUCHERRY-605004

BONAFIED CERTIFICATE

This is to certify the project entitled “PROCUREMENT OF INFORMATION AND


AUTOMATION SYSTEM” is a bonafied record or work being jointly submitted by
A.R.ASMATH NISA, N.RUBIYANA FATHIMA, T.DURGA, and VAISHNAVI.R in partial
fulfillment for the Bachelor Degree in Computer Applications in Saradha Gangadharan
College.

This project work has not been submitted for the award of any other degree.

Internal guide External guide

Head of the department

Submitted for the examination held on

Internal Examiner External Examiner

2
ACKNOWLEDGEMENT

The successful completion of any would be incomplete without mentioning the people who made
it possible. We take privilege to express a few word of gratitude and respect to all those who
helped us in completion of the project. First, we thank the almighty who had given us the
strength to develop and complete this project successfully.

We are privileged to spell our thanks to our honorable principal Dr.P.Balakrishnan Ph.D. for
having given the opportunity to express our ability by allowing us to undertake the project and
complete it successfully.

We also take immense pleasure in conveying our sincere heart full gratitude to the Head
of the Department-Head of the Department of Computer Science, Applications & Information
Technology, Saradha Gangadaran College, for having permitted to undertake this project work.

We express our thanks to Mr. R. Shanmugam, EDP of Pondicherry Agro Service, and
Industries Corporation Limited (PASIC) for offered us to do the project and having supported us
to complete our project successfully. We express our heartfelt thanks to him for providing us an
opportunity to work in the esteemed organization. .

We are deeply indebted to our internal guide Miss. Elammathi, M.Sc., M.Phil, Lecturer,
Department of Computer Science, Applications & Information Technology, Saradha
Gangadharan College, for his continuous support and timely help during the project work.

With immense pleasure, we thank our family members and friends for their
encouragement, guidance, and suggestions, which enabled us in providing a good shape to our
project.

3
4
Chapters Description Page no
1

Introduction

1.1 Organizational profile


1.2 Software Specification
1.2.1 Project overview
1.2.2 Problem Definition
1.2.3 Scope of the project
1.2.4 Objectives of the project
1.3 Documentation overview

System Study & Analysis

2.1 Existing System


2.1.1 Limitations of existing System
2.2 Proposed System
2.2.1 Advantages of proposed System
2.3 Feasibility Analysis
2.3.1 Technical Feasibility
2.3.2 Economical Feasibility
2.3.4 Operational Feasibility

Software Requirements Specification

3.1 Introduction
3.2 System Requirements

System Design

4.1 System chart


4.2 Module Description
4.3 Data flow Diagram
4.4 Detailed Design
4.4.1 Design of module
4.5 Database Design

Implementation

5.1 Implementation details


5
6

Testing
6.1 Test class
SYNOPSIS

Our project is entitled by “Procurement of information and automation system” which is


developed for the employees working in the mineral water division in PASIC. This work is based
on the work carried out during the processing of mineral water.

In this process there are mainly three people who can control the database they are the
headoffice, factory, Distributors. The head office can have a look and control all the data in the
database.

The process begins by the supplier who can enter his details and store the data about the
materials after receiving the supply order. The goods are carried to the factory and the goods
details are stored separately then the production process occurs this includes activities before
production after production and the calculation of wastage. After this the finished goods are
taken to the headoffice for the sales, which is divided into two types one is through the
distributors, and next is direct sales that can be bought by anyone doing the sales.

The calculation is done for the purchase order, invoice, payment and in sales that would be
helpful for the people working with the project.

The project is developed with Visual Basic.NET as front-end and SQL as back-end for providing
an effective, innovative and reliable work for the organization.

6
DOCUMENTATION OVERVIEW

This project entitled as “Procurement of information and automation system” is developed front
end as VB.Net and SQL as the back end tool.

Chapter 1

This chapter “Introduction” deals with the Problem definition, scope, objectives and
organization profile.

Chapter 2

This chapter “Requirement Analysis” deals with Requirement Analysis and the feasibility
analysis.

Chapter 3

This chapter “Requirement Specification” gives a detailed explanation of Software


requirements specification such as Hardware and Software Requirements, Functional
requirements and Non-Functional requirements.

Chapter 4

This chapter “System Design” deals with System design that gives a detailed overview of
various design activities such as overall system architectural diagram, module description,
database design, data flow diagram, object oriented design diagrams.

Chapter 5

This chapter “Implementation” deals with Implementation details and screen shots.

7
Chapter 6

This chapter “Testing” deals with test cases and test strategies.

INTRODUCTION

1.1 COMPANY PROFILE

Pondicherry Agro Service and Industries Corporation Limited, popularly known as PASIC was
incorporated in the year 1986. The Corporation is playing a major role in the distribution of all
agricultural inputs like quality seeds, organic and inorganic manure, plant protection chemicals,
plant protection equipments, horticultural plants, implements, tools, bio-fertilizers, etc., at right
time and at reasonable price.

The agricultural inputs are distributed through the network of 39 Agro Depots and 3
VASANTHAM Horticultural showrooms in Pondicherry, Karaikal, Mahe and Yanam.
Vegetables are also sold through five outlets in Pondicherry.

PASIC has recorded sales of Rs. 52.50 crores during 2006 - 07. Its market share on fertilizer is
35 to 40%, plant protection chemicals 40 to 45% and seeds around 70 to 80%. In close
association with the Department of Agriculture, the entire certified seeds produced are
distributed to the farmers apart from sizeable quantity of truthfully labeled seeds. The percentage
of certified seeds distributed over the total seeds sold by PASIC has increased from 19.6% to
39%.

The Corporation has its own Horticultural Farms for the production of coconut seedlings and
multiplication of horticultural plants. The plants are multiplied in the Green House on large
scale. It undertakes lying of ornamental gardens and maintenance. To meet the future demands,
mother plants of different fruits are planted in the farm and the multiplication will commence

8
shortly. It also has a Fertilizer Mixing Unit at Arasur for the production of different grades of
fertilizer mixtures.

The Corporation has Groundwater Consultancy Wing, which undertakes turnkey jobs of
construction of tube wells, and installation of motor pump sets for non-agricultural purposes. It
also maintains 81 community tube wells to hire water to farmers in Pondicherry and Karaikal
regions. The Corporation executes civil works entrusted by Government Department /Agencies.

PONDICHÉRY water unit, which was established in 1989, is bottled and marketed throughout
India through the network of dealers. The mineral water plant has been modernized to improve
the quality and to meet the increasing demand. A small quantity was exported to Singapore
during this year.The Corporation also sells cement through its outlets and to different
GovernmentDepartments/Agencies.

Foreseeing the future requirements, the Corporation has started another prestigious project of
producing organic manure from urban waste with the latest expertise on composting and production
of bio-fertilizers. A Joint Venture has been entered into between PASIC and Pondicherry Co-
operative Sugar Mills for production of enriched pressmud compost by utilization of the press mud
(PCSM) sugar mill effluent and Fly ash.

Business activities

The Pondicherry Agro Service and Industries Corporation Limited, Commonly known as "PASIC"
was incorporated in the year 1986 under the Companies Act 1956 as No.399 of 1986.

The main objective of the Corporation is to organize supply of all Agricultural Inputs like
Fertilizers, Seeds, Organic Manures, Plant Protection chemicals and Equipments Horticultural
Planting Materials, Agricultural Implements & Tools,

Bio-Fertilizers, Soil amendments etc., to the farming community at a reasonable price under one
roof at the right time.

To cater to the needs of the farming community there is a network of 49 Agro Depots in all the four

9
regions apart from 3 Horticultural show rooms called "Vasantham" and 5 Vegetable Outlets in
Pondicherry and Karaikal including the two vegetable sale outlets in "Uzhavar Sandhai.”

Because of the establishment of network of Agro Depots in urban, semi urban and rural areas, the
requirement of Agricultural Inputs of the farmers are met within a radius of 3-5Kms.

PASIC serves to the Farmers and the Public Viz.

Production and Marketing :

a. Production of different grade of Fertilizer Mixtures and Special Mixtures required for specific
crops for basal and top dressing,
b. Production of Horticultural Planting Materials and Ornamental Plants including Coconut
Seedlings.

Pondicherry mineral water


The Pondicherry Agro Service and Industries Corporation Limited (PASIC), a Government of
Pondicherry Undertaking is bottling and marketing Natural Mineral Water under the brand name
“Pondicherry" since 1989. It is the only Government Undertaking in the country to market Mineral
Water.
'Pondicherry Water' is the oldest serving brand of Mineral Water in India. This water is directly
bottled from a single deep source that knows nothing of pollution and overwhelms your thirst with
the natural taste and purity of water you can trust.

The Pondicherry Water has the following special features:

a. It is free from Chemical treatment processes like Demineralization, Reverse Osmosis etc. that is
being done by most of the other brands in order to meet the specifications stipulated by the Bureau
of Indian Standards.

b. It is bottled directly from a single source and has no franchise, unlike the other leading brands
who have franchised for bottling their brands in cities and leading towns for marketing in the local

10
area to save the transport cost.

c. As it is bottled only from a single source, the taste of the water is the same, irrespective of the
region it is sold, comparing to other leading brands.

d. Possesses extra features of safety.

The Pondicherry water enjoys the special status of being the official supplier to the Rashtrapathi
Bhavan, New Delhi from 1989 onwards. Certain Embassies and Consulates are now patronizing the
Pondichéry water for serving to their dignitaries in Delhi and in Chennai and in leading Star Hotels
in Chennai and other major cities in India.

Unique feature of Pondicherry Water

• Is free from pathogenic bacteria and is obtained from deep aquifer - natural source.

• Is pure and tasty in its form and nothing has been added to or removed from this water.
• Compares itself on part with those of the established international brands.
• Is ideally suitable for our children and aged patients and improves the taste of any drink when
mixed.
• Leaves no residue or scale formations-even if kept for a long period unhampered.
• Has been thoroughly tested in leading Laboratories like M/s. Shriram Institute for Industrial
Research, Bangalore, Bhaba Atomic Research Centre, Kalpakkam, and SGS Laboratory, Chennai.
• Meets the parameters set by Bureau of Indian Standards as per IS: 14543
• Is packed in PET food grade bottles of convenient sizes - fitting to the needs of the consumers:
2.0 litre - Family Pack
1.5 litre - Economy Pack
1.0 litre - Ideal Pack and
0.5 litre - Handy Pack

Also have launched in bulk containers of 12 litres PET jar and 20 litres Bubble Top

11
1.2 ABOUT SOFTWARE PRODUCT:

1.2.1 PROJECT OVERVIEW

This project entitled as “Procurement of information and automation system” is developed


front end as VB.NET and SQL as the back end tool. The objective of the proposed system is aimed
to ease the mineral water processing activities of PASIC

This system involves organizing and manipulating resources for maintaining the records.The
objective of the system is to ease the work structure of the employees.

1.2.2. PROBLEM DEFINITION

The aim of the project is to provide an intuitive, affordable, comprehensive expandable system
designed for the processes followed in the mineral water processing. There are three main modules
they are the purchase, production, and sales.

1.2.3. SCOPE OF THE PROJECT

 This project is to overcome the drawbacks of the existing system that is the data
maintenance through excel sheets.
 This project maintains information about Mineral Water Department.
 In order to maintain the organization in a more sophisticated and sufficient way, it is desired
that the whole system be computerized.

1.2.4. OBJECTIVES

The main objective of this project is aimed to ease the entire structure of management system
activities. An organization evaluates its management functions to assess the strengths and
weaknesses of the organizations current key programs policies procedures, and practices.

12
SYSTEM STUDY AND ANALYSIS

System study and analysis is the phase to analyze the user requirement and to identify the goals
and requirements of the software we are going to develop. In order to develop a system it is
important to know the user requirements and study the existing system and to analyze the persisting
problem faced by the users of the system. After the analysis of the existing system and its
shortcomings, new system should be proposed which satisfies the requirements of the user and
should be better than the existing system. The existing system is analyzed and the requirements
specification of the proposed system is identified.

2.1.PROBLEM DEFINITION

The primary goal of our project is to replace the existing system of mineral water division
The aim of the project is to provide an intuitive, affordable, comprehensive expandable system
designed for the processes followed in the mineral water department. There are three main modules
they are the purchase, production, and sales.

2.2. EXISTING SYSTEM

The existing system in the department is the data, manipulation calculation and the other activity is
in the form of worksheets. The existing process serves only as the data entry process it just stores
the information for the future reference. The technical calculation is to be done manually and the
comparative study report analysis cannot be performed

13
2.2.1 DRAWBACKS OF EXISTING SYSTEM

o The manual system had no control over entry of documents and was liable of
losing documents
o The data entry in the form of worksheets would be more confusing and
would not give the data in a comparative way
o Maintaining the records in worksheets requires a lot of time and it is a
tedious process and requires patience to maintain large volume of data.
o It is not very user friendly
o Technical calculations must be made manually and data are entered into
system that led to typographical human errors.
o Retrieval of any information requires a long search process. The whole
worksheet has to be verified to retrieve the needed record.

2.3. PROPOSED SYSTEM

The proposed system provides password verification and a better way of organizing the database.
The system proposed for recording, manipulating and checking the process and related data for the
production of the mineral water comprises of a central database containing every single detail of the
suppliers, employees and the distributors.

The head office can store all the data about the supplier of the raw materials. The project also
provides a facility for the stockholders at the factory to enter the stock details and to enter about
their work everyday. The purchase order application is first received from the suppliers then the
headquarters provides the supply order after examining the rates after this the supplier supplies the
chemicals and raw materials and then comes the payment for the items.

14
The next is the production process carried on in the factory the stockholder here in this module the
stock keepers enter about their daily production based on raw materials shift and date. The data can
be retrieved from the date, shift and based on the different code numbers. The next process is the
sales of the mineral water that is done directly and by the distributors. The distributors are provided
with the distributor’s code with which data can be retrieved.

FEATURES OF PROPOSED SYSTEM

The computerized form of the database is desired to fulfill all the requirements of the organization.
The design process specifies that the new change to the existing system, designing of inputs,
outputs, and user procedures. The proposed system provides password verification and a better way
of organizing the database. The system proposed for recording, manipulating and checking the
process and related data for the production of the mineral water comprises of a central database
containing every single detail of the suppliers, employees and the distributors.
The head office can store all the data about the supplier of the raw materials. The project also
provides a facility for the stockholders at the factory to enter the stock details and to report to the
head office in the case of any problem. The purchase order application is first received from the
suppliers then the headquarters provides the supply order after examining the rates after this the
supplier supplies the chemicals and raw materials and then comes the payment for the items. The
next is the production process carried on in the factory the stockholder here should report to the
head office in case of any problem. The next process is the sales of the mineral water that is done
directly and by the distributors. It also provides a unique id for the distributors at various points
around the city for reporting their sales.

2.2.1. ADVANTAGE OF PROPOSED SYSTEM

• Simplicity:

15
The graphical user interface makes the job easy. it is easy to select an option from a list
than to type.

• Timeliness:

Producing relevant reports at any time required by management.

• Security:

Providing high security to data that is stored. Denies access to unauthorized users.

• Efficiency:

Maintaining all relevant information in an organized and in efficient way.

• User-Friendly:

To be easy to handle.

2.3. FEASIBILITY ANALYSIS:

The feasibility study is an important factor in analyzing the capability of the project. The key
objective of the feasibility study is to weigh up the three types of feasibility. It is a study of the
following facts from which one can conclude that the system is feasible or not.

2.3.1. TECHNICAL FEASIBILITY:

Technical feasibility checks whether the proposed system can be built with the existing
technologies. It includes the study of function, performance and constraints that may affect to
achieve an acceptable system. This deals with hardware and software requirements.

16
2.3.2. ECONOMICAL FEASIBILITY:

This is the most crucial part of the venture as the terms and conditions for implementing the project
have to economically feasible. the hardware and software in the college have been well
utilized.hence the risk of financial feasibility does not exit. Thus it is found that benefits would
definitely or override cost, so we believe the system is economical. care must be taken that the cost
incurred in development should not exceed income from the system.

2.3.3. OPERATIONAL FEASIBILITY:

Operational feasibility study is the necessities as it ensure that the project to be developed will be
successfully implemented in the organization. The operational feasibility is very high as it is user
friendly and the need for such application for maintaining the groups of individuals is more
essential for every organization. The operational scope of the system is verified under this
feasibility

17
CHAPTER 3

SOFTWARE REQUIREMENT SPECIFICATION

3.1 INTRODUCTION

Software requirement specification is a medium through which the client and the user needs are
accurately specified. It forms the basis of software development. Here the system is fully analyzed
on all basis and the exterior entities correlation to the system is also taken into consideration. This
system is analyzed using procedural techniques which are used to design the system.

3.2 SYSTEM REQUIREMENTS

The system configuration needed for developing the proposed system has been listed below:

3.2.1. PRODUCT REQUIREMENTS

DEVELOPMENT ENVIRONMENT

HARDWARE:

 Processor : celeron,pentium-x

18
 RAM capacity : 64 MB

 Hard Disc Capacity : 20GB

SOFTWARE

 Operating system : Windows xp

 Front end tool : vb.net 2005

 Back end tool : MYSQL

CHAPTER 4

SYSTEM DESIGN

4.1 SYSTEM CHART

Procurement of information and automation


system

Purchase Production Sales

Supplier’s Production
registration Distributor
details
sales

Supplier’s Production
invoice issue Direct sales

Purchase
After
order 19
Production
Factory

Wastage
Calculation
Settlement

Balance
payment

4.2. MODULE DESCRIPTION

T he program design phase of the software development deals with the depth design of
the modules in the system. The algorithms and varies pressure procedures and techniques needed
for the development of the system are elaborately specified. The data representation and validation
techniques, security and integrity mechanism are identified in this section.

The main modules in this project are:

 Purchase
 Production
 Sales

4.2.1. PURCHASE:

The main objective of this module is to specify the details about purchase of raw materials for
mineral water production. It should store the supplier’s sales and company details.
It also gives details about the settlement that is made by the headoffice to the suppliers. The
20
purchase process is the first process in this work. Purchase process includes the purchase of the raw
materials such as the chemicals, plastic for preparation of bottles,papers etc.There would me many
suppliers who would be supplying many raw materials. The process starts with the suppliers
sending an initial invoice mentioning about the rate of the materials, unit price, total amount,Vat
amount ,freight amount for the transport etc.Then the purchase order is provided byh the headoffice
in order to buy the rawmaterials.The suppliers after receiving the purchase order sends the goods to
the headoffice

It consists of the following sub-modules,

 Registration
 Supplier’s invoice
 Purchase order
 Factory
 Settlement
 Balance payment

Registration
In this module mainly 3 types if persons can register one is the headoffice, next the suppliers and
then the distributors. The headoffice can see all the details in the system. Whereas the distributor
and the suppliers are restricted to see all the details, they can view only the details that are related to
them.
This table consists of the username and the password the authorized suppliers or distributors can
enter the site after the approval of the headoffice.The registration form consists of the name,
address and phone number of the distributor for the registration form this form can be viewed by
the head office and the if headoffice accepts it then the suppliers can log in.
After the log in if it is the supplier he can see only the supplier’s details and the raw materials that
he had supplied to the headoffice i.e. he can see the supply order details and the payment details. If
the distributor log in he can view the amount of goods delivered to them, price of goods, unit price,

21
total value, discount allowed by the headoffice to them.

Supplier’s invoice

The invoice is given by the supplier in order to sell their raw materials to the customers. It contains
various details such as their number, raw material to be sold, unit price, amount of raw material
needed, cost, VAT, discount etc.The supplier gives the invoice order in order to get his order from
the head office. The supplier quotes the actual amount,disount allowed for the raw materials VAT,
freight charged and other charges by the supplier. This suppliers invoice is viewed by the head
office there may be more than one suppliers giving the supply invoice the head office is provided
with the permission to choose the best supplier among them.

Purchase order

Purchase order is given by the head office after receiving the invoice the headoffice after receiving
the supply order sees them and choose the best from the available suppliers after a brief study of the
rates and tarrifs that are specified by the suppliers. After this the purchase order is given by the
head office to the headoffice.This order serves as an permission letter for the suppliers to supply
their raw materials. This purchase order is further is to be submitted in the factory in order to send
their materials into the factory for the purpose of production. the purchase order holds the data
about the raw materials needed from the supplier

Factory

Here after obtaining the purchase order the suppliers supply the goods or the raw materials to the
factory.At the factory end the stockholder checks the supply order and the raw materials and then
takes the raw materials inside the factory.They are provided with the unique number called the
22
GRA number for accession the date is given in order to find the period in which the raw material
has entered the factory.They are also provided with the docket number in order to idenitify their
goods.The purchase order reference number is kept as the purchase order reference number in order
to identify the supplier for future reference.

Settlement

In this, the details of the settlement of the amount to the suppliers are maintained the cost given to
the supplier, if the amount is given in the cheque then it store the details of the cheque number
amount paid in cheque,and account number are stored.

Balance payment

Sometimes, amount is paid in installments so this table stores the details of the balance payments.
The suppliers allow this facility for the headoffice.This option is provided to the head office only
by some of the suppliers based on the trust. This installments may be paid in weeks,monthy or in
quarterly time payments.The amount paid in installments are stored in the data grid and the
suppliers can manipulate these data by using their log in details.The

4.2.2. PRODUCTION:

The main objective of this module is to specify the details of production of goods for mineral water
there are many process involved in this section the purification of water, preparation of plastic
bottles, caps labels and cartons are done here. In this table various variables such as shift,GRA
number are set in order to retrieve the required data

It consists of the following sub modules:-

23
 Production details
 Production issue
 After production
 Wastage calculation

Production details

The process begins by the supplier who can enter his details and store the data about the materials
after receiving the supply order. At first, the stockholder signs in using an username and password.
Only the stockholder can sign into it and add the details such as the code number with this number
serves as the basic key, which matches the purchase order number of the suppliers. Here the
stockholders checks for the goods specified in the purchase order and the goods received in the
factory. Then there are shifts in the factory in which people work the shift changes within particular
period. During this process, many bottles are produced in one day and the batch number that is a
code used to identify the specific production point, for a product or an assembly, in a
manufacturing or assembly process, differentiates them. It also holds the data of item that is to be
from the raw materials.

Production issue

After getting the production details from the headoffice and from the supplier the next process is to
go into the actual production process In this module the issue to production is given, issue is a type
of permission given by the the issue given by the headoffice to the factory to produce the
product.Issue is an important step in this procedure because it is the order that is to br given without
these order the production process cannot take place this order also serves as a future reference for
the auditing and other official purposes.The issue consist of the date consists of the date of the
production issue there is also the issue number that serves as the reference number for the purpose
of searching of a specific issue. There may be different issue on the same date and hence in order to
avoid the confusion the issue number is used. The raw material that is used on the particular date is
obtained because on the particular issue only some amount of raw material is used.The raw
materials produced is measured in terms of quantity this value is also stored in the database.

24
After Production

After the production process, the pro production activities are carried out. Here the date is
mentioned in order to find out what material is produced on the particular date the shift is also
mentioned.Inorder to identify the finished goods the finished goods number is mentioned and this
number is unique for all the finished goods. This further stores the batch number, which specifies
the goods production number, produced over a particular period. It finally stores the quantity of
goods produced on the particular period for example if they produce 250 bottles per shift. Then that
quantity is mentioned in the column.

Wastage Calculation

The process of production does not end with the production or the completion of finished goods.
The process ends up with the calculation of wastage. This calculation helps in the future reference
for auditing purpose, deciding the quality of the raw materials from the suppliers ie if the quality of
the raw materials is good then it has minimal wastage in contrary if the quality of the raw material
is not up to the mark then the wastage will be maximum. By noting the wastage, the head office
will be able to choose the correct supplier for the required raw material. It also helps in judging the
machineries in the factory if the quality of the plastic is not good then they can change the
machines in the factory. This calculation in(%) also helps in calculating the percentage of the
wastage that helps in deciding the profit of the company.

4.2.3.SALES:

A sale is the pinnacle activity involved in selling products or services in return for money or other
compensation. It is an act of completion of a commercial activity. The final activity of any
company will be sales.This module is used for selling the finished goods that have been
manufactured from the factory. The manufactured bottles are sent to the factory from the head

25
office by various means of transport and the process of sale commences only from the
headoffice.The bottles are packet in cartons that may contain 10, 25, 50, or 100 bottles of varying
requirements. The size of the bottles vary they are available in various quantities such as 500 ml, 1
litre, 1.5 litre, and in 2 litre bottles they are also available in jars and in pet bottles that is in 12 and
20 litres.Sale is an important feature in the organization, the sales here is based on two types direct
and through distributors.

The main sub modules are:

 Direct
 Distributor

Distributor sales.

Distributors, are authorized people to whom the company sells the bottles by allowing advance and
credit payment After this the finished goods are taken to the head office for the sales, the company
cannot depend solely on the direct sales that is the sale occurring only at the head office because the
office has several other functions to perform. Therefore, the distributors are given the goods and
they sell the goods at various points in the city. The distributor sales has many advantages since
they sell goods at various points the rate of sales is more thereby increasing the profit.In this
module distributor’s name, address and other account related data and next is direct sales that can
be bought by anyone doing the sales. This module uses the distributor’s code number as the unique
identifier it also stores the date of the buying of goods the distributors code number the total value
of goods taken from the headoofice.This further calculates the discount,VAT,freight charges from
the allowed by the headoofice to the distributors they are also provided with the facilities of
providing advance and in installments

Direct sales

Direct sales that can be bought by anyone buying the bottles from the factory outlet from the office.

26
The direct sales are done to the common people in the city the bottles are provided in different
quantities required by the customer.It stores the date, item number, amount per unit, number of
units, and total amount.This sales is under the direct control of the headoffice and the report can be
also obtained from the module.

4.3. DATABASE DESIGN

A database management system is essentially a collection of interrelated data and a set of programs
to access this data. This collection of data is called database. The primary object of a DBMS is to
provide a convenient environment to receive and store database information. Database system
support single user and multi-user environment. Database application is the program that let us
view, retrieve and update information stored in database.The database SQL which includes the
table such as

Table:1

Table name:register Primary key: supp_code

Purpose: it is used to add the user’s and helps to login

S.NO NAME TYPE DESCRIPTION

1 compname text Company Name

27
2 compaddress text Company’s address
3 phno text Company’s phone number

4 username text Item supplied


5 password text Company’s password

6 confpass text Company’s confirmed password

Table 2:

Table name: purchase Primary key: supp_code

Purpose: it is used to add the new supplier’s details

S.NO NAME TYPE DESCRIPTION

1 Supp_code Number Supplier’s code

2 Suppname text Supplier’s company name


3 Supp_addr text Supplier’s address

4 Item number Item supplied


5 Unit number Unit measurement of the item

6 Suppamt number Amount of items purchased

Table 3:

Table name: buying Primary key: Po_no

Purpose: It is used to store the invoice of the supplier

28
S.NO NAME TYPE DESCRIPTION
1 Po_No Number Purchase order number
2 Date Number Date
3 Supp_Code Number Supplier Code
4 Tot_value Number Total expenses
5 Discount Number Discount amount for bulk order
6 VAT Number Value Added Tax
7 Freight Number Freight charges
8 Net_Value Number Total amount

Table 4:

Table name: Factory Primary key: GRA

Purpose: In the factory it is used to store

S.NO NAME TYPE DESCRIPTION


1 GRA number Accession number
2 Date number date
4 Dc_No number Docket number
5 Po_ref number Purchase order reference number

Table 5:

Table name: Invoice Primary key: Invoice_no

Purpose: It is used to store the invoice given by the headoffice

S.NO NAME TYPE DESCRIPTION


1 Invoice_no number Invoice number
2 Supplier_Code number Supplier code

29
3 date date Invoice date
4 Tot_value number Total value
5 Discount number Discount amount
6 ED number discount
7 Cst number Total cost
8 Val number Value
9 Tot_amt number Amount to be paid

Table 6:

Table name: sett. Primary key:vouch_no

Purpose: It is used to store the settlement details of the headoffice

S.NO NAME TYPE DESCRIPTION


1 Vouch_no number Voucher number
2 Date number Date
3 Invoice_no number Invoice number
4 Tot_amt number Total amount
5 cheq_no number Cheque number
6 Cheq_dat number Cheque date
7 Acc_no number Account number

Table 7:

Table name: payment Primary key: bill_no

Pupose: it is used to store the balance amount details of the headoffice

S.NO NAME TYPE DESCRIPTION


1 Bill_no number Bill number
2 Vouch_no number Voucher number
3 Amt_left number Amount left

30
4 Adv_paid number Advance paid
5 Bal amt left number Balance amount left

Table 8:

Table name: produce Primary Key: code

Purpose: it is used to store and calculate the production details

S.NO NAME TYPE DESCRIPTION


1 Code Number Code number
2 Name Text Name
3 Stock_in_hand Number Goods available at present
4 Rate Number Rate of bottle
5 No_of_Bottle Number Number of bottles produced

Table 9:

Table name: issue Primary key:shift

Purpose: it is used to store and calculate the production details

S.NO NAME TYPE DESCRIPTION


1 Date Date Date
2 Shift Number Specifies the shift
3 Batch_No Number Batch Number
4 Raw_mat Text Name of Raw material they produce
5 Qty Number Number of raw materials

Table 10:

31
Table Name: afterprod Primary Key: fg_code

Purpose: it is used to store and calculate the production details

S.NO NAME TYPE DESCRIPTION


1 Date date Date
2 Shift Number Specifies the shift
3 Batch_No Number Batch Number
4 FG_Code Number Finished Good Code Number
5 Qty Number Number of raw materials

Table 11:

Table Name: wastage Primary Key:Batch_no

Purpose: it is used to store and calculate the wastage

S.NO NAME TYPE DESCRIPTION


1 Date date Date
2 Shift Number Specifies the shift
3 Batch_No Number Batch Number
4 Raw_mat Text Name of Raw material they produce
5 Qty Number Number of raw materials
6 Wastage Number Number of wastage

32
Table 12:

Table name: sales Primary key:s_no

Purpose: it is used to store and manipulate the sales through distributor

S.NO NAME TYPE DESCRIPTION


1 S_no Number distributor’s order number
2 Date date Date
3 Cus_Code Number Distributor’s Code
4 Tot_val Number Total expenses
5 Disc Number Discount amount for bulk order
6 VAT Number Value Added Tax
7 Fr Number Freight charges
8 Net_Val Number Total amount
9 adv Number Advance paid
10 bal Number balance

Table 12

Table name: Direct Primary key:It_no

Purpose: it is used to store and manipulate the sales through factory outlet

S.NO NAME TYPE DESCRIPTION


1 It_no Number Item number
2 date date Date of sale
3 amt Number Cost of each unit
4 No_un Number Number of units
5 Tot_amt number Total amount

33
DATA FLOW DIAGRAM

PRODUCTION PROCESS

CHECK FOR
VALID USER VALID
ADMIN THE USER
SUPPLIER
LOGIN NAME OR
SUPPLIER
VALID PASSWORD

PURCHASE SUPPLIER LOGIN ADMIN LOGIN

SUPPLIER INVOIC HEADOFFICE


E 34
SUPPLIER’S INVOICE

ISSUE OF
PURCHASE SUPPLY ORDER
RAW
MATERIAL
SUPPLY
ORDER

VERIFICATION
FACTORYOF RAW MATERIALS BUYING

FACTORY

PRODUCTION PROCESS:

PRODUCTION ISSUE

PRODUCTION DETAILS
FACT SUPPLIER
ORY

PRODUC-
TION PROCESS
ISSUE TO
PRODUCTIO PRODUCTIO
N N
COMMENCE
PRODUCTION
S

PRO PRODUCTION

35
AFTER
PRODUCTION
ACTIVITIES
ISSUE TO

AFTERPROD PRODUCTION

WASTAGE CALCULATION

WASTAG
E

HEAD OFFICE

WASTAGE

SALES PROCESS

FACTORY

FINISHED GOODS

SALES HEADOFFICE
DIRECT
SALES

SALES

36
DIRECT DETAILS

DIRECT
DISTRIBUTOR

DITRIBUTOR
DETAILS

DISTIBUTOR

CHAPTER 5

IMPLEMENTATION

5.1 IMPLEMENTATION DETAILS:

It has been decided to use VB.NET and SQL as the back end tool for the implementation of the
proposed system. The facilities provided in the development software improve the quality as well

37
as the user-friendliness of the system we are intended to develop. In this stage plan is converted
module by module into the program code

The database developed in SQL includes tables such as Purchase,buying,Factory,Invoice,sett,


payment ,produce, issue, afterprod ,wastage, sales ,Direct. The type and width of the fields are set
properly.

CHAPTER 6

TESTING

6.1 TEST CASES

It is an important concept of an software development life cycle (SDLC) this is the stage where we
confirm whether the project has achieved the ultimate goal. Testing encompasses a set of activities
that are conducted systematically. This begins at the module level and works ”outward” towards the

38
integration of the entire system. The purpose of testing a system can be verified. Different testing
techniques are followed at different points.

6.2 TEST STRATEGY

Testing is the major quality control measure employed during the software development. Its basic
function is to detect error in the software. It performs a very critical role for ensuring the reliability
of the software. during the testing the program to be tested is executed with various sets of test
cases and the output of the program for the test case is evaluated to determine if the execution of
the program is smooth without any error or not. in order to delete the error various test plans are
followed like unit testing, functional testing,integeration testing and system testing

6.2.1 UNIT TESTING

Unit testing focuses verifications effort on the smallest unit of software design-the software
component or module. The unit test focuses on the internal processing logic and data structures
within the boundaries of a component. This type of testing can be conducted in parallel for multiple
components.

6.2.2 INTEGRATION TESTING

In this testing, the integration of various modules are tested for there inter navigational ease of use
and their compatibility with each other. The major emphasis lies on the effect of modification if any
are made to any one of the module are there any change in the performance of the remaining
modules and the study of their effects and rectifying them.

6.2.3 FUNCTIONAL TESTING

Functional testing involves the excising the code with nominal input values for which the expected
values are known. This is, the function of specified module is verified with these by using the result
of which are known then result are obtained and compared with the result expected.

39
6.2.4 PERFORMANCE TESTING

Performance testing is designed to test the run time performance of software within the context of
an integrated system. It occurs throughout all steps in the testing process .it is often coupled with
stress testing and usually requires both hardware and software instrumentations.

CHAPTER 7

CONCLUSION AND FURURE ENHANCEMENTS

This chapter deals with the ending note along with the enhancements that would be forseeable in
the system

40
7.1 CONCLUSION

As the previous manual set up of maintaining the record was inefficient and time consuming we
proposed to use the RDBMS technique to solve the problem.It has achieved the primary goals such
as speed, accuracy and generation of proper results to help the organization on time. This system
saves a large quantity of data. The visual basic tools are used.

7.2 FUTURE ENHANCEMENTS

There is always a room for improvement in any software package, however good and efficient it
may be. But the important thing is the system should be flexible enough for future
modifications.The current system is de

APPENDIX:

VB.NET

Visual Basic .NET is Microsoft's Visual Basic on their .NET framework. Visual Basic is an object
oriented programming language. Any programmer can develop applications quickly with Visual
Basic. It is a very user-friendly language. All you have to do is arrange components using visual
tools and then write code for the components. Most programmers of Visual Basic use Visual Studio
for their development needs. Moving forward, Microsoft's .NET framework is composed of
preprogrammed code that users can access anytime. This preprogrammed code is referred to as the
class library. The programs in the class library can be combined or modified in order to suit the
needs of programmers. Programs in .NET run on the CLR or the Common Language Runtime
environment. Regardless of computer, as long as this environment is present, programs developed

41
in a .NET language will run.

.NET framework

.NET is a framework made by Microsoft so that developers can take advantage of code on the
internet. Many developers through the years have developed code for their specific programming
languages like C#, C++, Visual Basic, etcetera... Instead of making code repeatedly, the .NET
framework allows programmers and developers to use code on the .NET framework to aid in the
development of their software programs. Imagine the .NET framework as sort of a file sharing
program that benefits all the programmers across all the programming languages that use the .NET
framework. When you program in Visual Basic .NET, you are taking advantage of a rich source of
programming code that has been accumulated through the years.

Advantages:

• Code execution and deployment is made much simpler for developers.


• Code execution and deployment is assured to be safe and free from viruses.
• Programming models are now similar across different languages. Choosing a programming
language is already up to you.
• Programming models adhere consistently with object-oriented styles.

Features of vb.net

Powerful Windows-based Applications

Visual Basic .NET comes with features such as a powerful new forms designer, an in-place menu
editor, and automatic control anchoring and docking. Visual Basic .NET delivers new productivity
features for building more robust applications easily and quickly. With an improved integrated
development environment (IDE) and a significantly reduced startup time, Visual Basic .NET offers
fast, automatic formatting of code as you type, improved IntelliSense, an enhanced object browser

42
and XML designer, and much more.

Building Web-based Applications

With Visual Basic .NET we can create Web applications using the shared Web Forms Designer and
the familiar "drag and drop" feature. You can double-click and write code to respond to events.
Visual Basic .NET comes with an enhanced HTML Editor for working with complex Web pages.
We can also use IntelliSense technology and tag completion, or choose the WYSIWYG editor for
visual authoring of interactive Web applications.

Powerful, Flexible, Simplified Data Access

You can tackle any data access scenario easily with ADO.NET and ADO data access. The
flexibility of ADO.NET enables data binding to any database, as well as classes, collections, and
arrays, and provides true XML representation of data. Seamless access to ADO enables simple data
access for connected data binding scenarios. Using ADO.NET, Visual Basic .NET can gain high-
speed access to MS SQL Server, Oracle, DB2, Microsoft Access, and more.

Improved Coding

You can code faster and more effectively. A multitude of enhancements to the code editor,
including enhanced IntelliSense, smart listing of code for greater readability and a background
compiler for real-time notification of syntax errors transforms into a rapid application development
(RAD) coding machine.

Direct Access to the Platform

Visual Basic developers can have full access to the capabilities available in .NET Framework 1.1.
Developers can easily program system services including the event log, performance counters and
file system. The new Windows Service project template enables to build real Microsoft Windows
NT Services. Programming against Windows Services and creating new Windows Services is not

43
available in Visual Basic .NET Standard, it requires Visual Studio 2003 Professional, or higher.

Full Object-Oriented Constructs

You can create reusable, enterprise-class code using full object-oriented constructs. Language
features include full implementation inheritance, encapsulation, and polymorphism. Structured
exception handling provides a global error handler and eliminates spaghetti code.

XML Web Services

XML Web services enable you to call components running on any platform using open Internet
protocols. Working with XML Web services is easier where enhancements simplify the discovery
and consumption of XML Web services that are located within any firewall. XML Web services
can be built as easily as you would build any class in Visual Basic 6.0. The XML Web service
project template builds all underlying Web service infrastructure.

COM Interoperability

You can maintain your existing code without the need to recode. COM interoperability enables you
to leverage your existing code assets and offers seamless bi-directional communication between
Visual Basic 6.0 and Visual Basic .NET applications.

Reuse Existing Investments

You can reuse all your existing ActiveX Controls. Windows Forms in Visual Basic .NET 2003
provide a robust container for existing ActiveX controls. In addition, full support for existing ADO
code and data binding enable a smooth transition to Visual Basic .NET 2003.

Upgrade Wizard

You upgrade your code to receive all of the benefits of Visual Basic .NET 2003. The Visual
Basic .NET Upgrade Wizard, available in Visual Basic .NET 2003 Standard Edition, and higher,
upgrades up to 95 percent of existing Visual Basic code and forms to Visual Basic .NET with new

44
support for Web classes and User Controls.

Windows controls:

A control is an object that can be drawn on to the Form to enable or enhance user interaction with
the applications. Examples of these control, Textboxes, Buttons, Labels, Radio Buttons, etc. All
these Windows Controls are based on the Control class, the base class for all controls. Visual Basic
allows us to work with controls in two ways: at design time and at runtime.

Some common controls used in VB.NET are:

Button Control

One of the most popular control in Visual Basic is the Button Control (previously Command
Control). They are the controls which we click and release to perform some action. Buttons are
used mostly for handling events in code, say, for sending data entered in the form to the database
and so on. The default event of the Button is the Click event and the Button class is based on the
ButtonBase class which is based on the Control class.

TextBox Control

Windows users should be familiar with textboxes. This control looks like a box and accepts input
from the user. The TextBox is based on the TextBoxBase class which is based on the Control class.
TextBoxes are used to accept input from the user or used to display text. By default we can enter up
to 2048 characters in a TextBox but if the Multiline property is set to True we can enter up to 32KB
of text. The image below displays a Textbox.

Label

Labels are those controls that are used to display text in other parts of the application. They are
based on the Control class.

LinkLabel

45
LinkLabel is similar to a Label but they display a hyperlink. Even multiple hyperlinks can be
specified in the text of the control and each hyperlink can perform a different task within the
application. They are based on the Label class which is based on the Control class.

CheckBox

CheckBoxes are those controls which gives us an option to select, say, Yes/No or True/False. A
checkbox is clicked to select and clicked again to deselect some option. When a checkbox is
selected a check (a tick mark) appears indicating a selection. The CheckBox control is based on the
TextBoxBase class which is based on the Control class. Below is the image of a Checkbox.

RadioButton

RadioButtons are similar to CheckBoxes but RadioButtons are displayed as rounded instead of
boxed as with a checkbox. Like CheckBoxes, RadioButtons are used to select and deselect options
but they allow us to choose from mutually exclusive options. The RadioButton control is based on
the ButtonBase class which is based on the Control class. A major difference between CheckBoxes
and RadioButtons is, RadioButtons are mostly used together in a group. Below is the image of a
RadioButton.

ListBox

The ListBox control displays a list of items from which we can make a selection. We can select one
or more than one of the items from the list. The ListBox control is based on the ListControl class,
which is based on the Control class. The image below displays a ListBox.

ComboBox

ComboBox is a combination of a TextBox and a ListBox. The ComboBox displays an editing field
(TextBox) combined with a ListBox allowing us to select from the list or to enter new text.
ComboBox displays data in a drop-down style format. The ComboBox class is derived from the
ListBox class. Below is the Image of a ComboBox.

46
PictureBox Control

PictureBoxes are used to display images on them. The images displayed can be anything varying
from Bitmap, JPEG, GIF, PNG or any other image format files. The PictureBox control is based on
the Control class. Notable property of the PictureBox Control in the Appearance section of the
properties window is the Image property which allows to add the image to be displayed on the
PictureBox.

Date TimePicker :

Date TimePicker allows us to select date and time. Date TimePicker is based on the control class.
When we click on the drop-down arrow on this control it displays a month calendar from which we
can make selections. When we make a selection that selection appears in the textbox part of the
Date TimePicker. The image below displays the Date TimePicker.

Splitter

The Splitter control is used to resize other controls. The main purpose of Splitter control is to save
space on the form. Once when we finish working with a particular control we can move it away
from it's position or resize them with Splitter control. The Splitter control is invisible when we run
the application but when the mouse is over it, the mouse cursor changes indicating that it's a Splitter
control and it can be resized. This control can be very useful when we are working with controls
both at design time and run time (which are not visible at design time). The Splitter control is based
on the Control class

SQL:

SQL (pronounced "ess-que-el") stands for Structured Query Language. SQL is used to
communicate with a database. According to ANSI (American National Standards Institute), it is the
standard language for relational database management systems. SQL statements are used to
perform tasks such as update data on a database, or retrieve data from a database. Some common
relational database management systems that use SQL are Oracle, Sybase, Microsoft SQL Server,
47
Access, Ingres, etc. Although most database systems use SQL, most of them also have their own
additional proprietary extensions that are usually only used on their system. However, the standard
SQL commands such as "Select”, "Insert", "Update”, "Delete", "Create", and "Drop" can be used
to accomplish almost everything that one needs to do with a database. This tutorial will provide you
with the instruction on the basics of each of these commands as well as allow you to put them to
practice using the SQL Interpreter.

A relational database system contains one or more objects called tables. The data or information for
the database are stored in these tables. Tables are uniquely identified by their names and are
comprised of columns and rows. Columns contain the column name, data type, and any other
attributes for the column. Rows contain the records or data for the columns.

To create a table:

To create a new table, enter the keywords create table followed by the table name, followed by an
open parenthesis, followed by the first column name, followed by the data type for that column,
followed by any optional constraints, and followed by a closing parenthesis. It is important to make
sure you use an open parenthesis before the beginning table, and a closing parenthesis after the end
of the last column definition. Make sure you seperate each column definition with a comma. All
SQL statements should end with a ";".

SYNTAX:

create table "tablename"


("column1" "data type",
"column2" "data type",
"column3" "data type");

To insert a value:

To insert records into a table, enter the key words insert into followed by the table name, followed
by an open parenthesis, followed by a list of column names separated by commas, followed by a

48
closing parenthesis, followed by the keyword values, followed by the list of values enclosed in
parenthesis. The values that you enter will be held in the rows and they will match up with the
column names that you specify. Strings should be enclosed in single quotes, and numbers should
not.

SYNTAX:

insert into "tablename"


(first_column,...last_column)
values (first_value,...last_value);

To update a record:

The update statement is used to update or change records that match a specified criteria. This is
accomplished by carefully constructing a where clause.

SYNTAX:

update "tablename"
set "columnname" = "newvalue"
[,"nextcolumn" = "newvalue2"...]
where "columnname"
OPERATOR "value"
[and|or "column"
OPERATOR "value"];
[] = optional

To delete a record:

The delete statement is used to delete records or rows from the table.

SYNTAX:

49
delete from "tablename"
where "columnname"
OPERATOR "value"
[and|or "column"
OPERATOR "value"];
[ ] = optional

Drop a Table

The drop table command is used to delete a table and all rows in the table.To delete an entire table
including all of its rows, issue the drop table command followed by the tablename. drop table is
different from deleting all of the records in the table. Deleting all of the records in the table leaves
the table including column and constraint information. Dropping the table removes the table
definition as well as all of its rows.

SYNTAX:

drop table "tablename"

SELECT Statement

The SELECT statement is used to query the database and retrieve selected data that match the
criteria that you specify. The SELECT statement has five main clauses to choose from, although,
FROM is the only required clause.

SYNTAX:

SELECT [ALL | DISTINCT] column1[,column2]


FROM table1[,table2]
[WHERE "conditions"]
[GROUP BY "column-list"]

50
[HAVING "conditions]
[ORDER BY "column-list" [ASC | DESC] ]

BOOKS REFERENCE:

51
1. Software engineering concepts –Richard fairley,TATA McGraw hill
publications,16 edition 2002

2. Complete reference to VB.NET - Jeffrey R. Shapiro

WEB SITES REFERENCE:

1.www.w3schools.com
2.www.startvbdotnet.com
3.www.dotnetwatch.com

52
53
54
55
56
57
58
LOGIN FOR THE STOCK HOLDER

STOCKHOLDER’S DETAILS

59
60
61
62
63
64

Das könnte Ihnen auch gefallen