Download as pdf or txt
Download as pdf or txt
You are on page 1of 50

ACKNOWLEDGEMENT

ACKNOWLEDGEMENT

I express my sincere thanks to concerned authorities at Kerala State Rural Women's

Electronics Industrial Co-Operative Federation Limited (RUTRONIX) who

has given me the opportunity to pursue my Diploma in Computer Application. I also

express my thanks to Managing Director of the training centre.

I take this opportunity to express my deeply embedded feeling of thanks and

gratefulness to all, contribution in this project work can never been forgotten. Above all, I

owe my gratitude to god almighty, for showering abundant blessing upon me.

I would like to thank my guide Ms. ANAGHA K S for his encouragement and

guidance, which helped me in completing the project. I also thank staff of CAREER HUB

KODUNGALLUR for extending their support as & when required for completing the

project.

I endow my sincere gratitude to my family and to my friends for their moral support and

prayers. Once again I thank all those who have helped me directly and indirectly for this

project work. Finally I would like to thank my colleagues who helped me in completing the

project successfully.

Signature,
ABSTRACT
OVERVIEW OF THE PROJECT

The project entitled GAS AGENCY MANAGEMENT SYSTEM provides

the user with all the facilities of courier. The system was developed by dividing it into

modules

Namely,

1. CUSTOMER
2. BOOKING
3. STOCK

CUSTOMER
The customer information having such information like customer name, customer
address, phone number or the other connection number and also give one id as a customer
id.

BOOKING
In the booking module we collect the information of booking statement, that customer
name, when it order, status etc…

STOCK
The stock module is deals with the information of available stock, price and type of

cylinder.
CONTENTS
TABLE OF CONTENTS

1. Introduction

2. Aims

3. Problem Study

4. Development Tools & Facilities used

5. Source Code

6. Outputs

7. Future Enhancement

8. Conclusion

9. Annexure

10.Bibliography
INTRODUCTION
INTRODUCTION

The system shows us the work of the gas agency. It provides all major activities carried

out in a Gas agency system. For that it have the customers all information. It can also provide

different Functions related to the gas department. Like customer details, stock details and book

details. For that it have to provides some information. The existing system is work like that.

It provides some information as a written data.

The software covers all major activities carried out in gas agency system. The system manages

all day to day gas agency functions like customer details, stock details and booking details.

The customer information having such information like customer name, customer address, phone

number or the other connection number and also give one id as a customer id. The stock module

deals with the information of available stock, price and type of cylinder. In the booking module

we collect the information of the booking statements, that customer name, when it order, status etc.
OBJECTIVES
OBJECTIVES

The aim of this project to develop a software system to manage the administration
of a gas agency management system. This is achieved by studying the existing, analyzing
the problem faced by the comment system and devising various solution. This system aim at
Achieving system aims at achieving the following objectives.

• Centralized control of the system

• Improve system efficiency.

• More users friendly.

• Reduces the total man-hour required.

• Immediate information access.

• Multi-user operations

• Prevents data discrepancy.

• Increases Throughput
PROBLEM STUDY
DESCRIPTION OF THE PROBLEM

Existing System
The existing system consist of new students, office staff, updating. New students and
staffcould create new registrations from for creating a new registration. These function are
done manually by the staff and cause many difficulties such as:

► Wastage of time: A lot of time is wasted making duplicate copies


andentering data manually.

► Discrepancy: - Making multiple copies manually can lead to data.

Discrepancy inconsistency.

► Delay:- A lot of time is wasted maintain the record that the librarian is
unable todischarge his duties efficiently.
PROPOSED SYSTEM

Module Description
The proposed system consists of booking of new cylinder and login form, main

form, booking details, stock details, consumer details, new stock, new consumer. The

main operation in this module is. New booking of a new cylinder or consumer submits

details .After the submission of details or without that the new consumer can visit the

booking details . After login the proposed system, User can create new registration.

Advantages :

1) More users friendly.

2) Reduces the total man-hour required.

3) Immediate information access.

4) Multi-user operations

5) Prevents data discrepancy.

. 6) Increases Throughput.
SYSTEM ANALYSIS
SYSTEM DESCRIPTION

Now the time is to change the computer is become not so costly. So for doing and
performing the right system we have reducing the current system and we have to make to
new system. As we have decided to display a new system now it is a time to determine the
new requirement for new system. As the user is the most important part of any system it is
required to find the users requirement to develop a user friendly system rather than having
develop a developer friendly system.

Gas Agency Management System will help user to do his work very fast and user
Friendly design makes it easy to understand and operate.

The gas Agency System is menu driven system and all module system can be accessed
by clicking the corresponding menu item. The system is protected by user name and password
in order to restrict unauthorized access .
DATA FLOW DIAGRAM

A Data Flow Diagram is used to define the now of the Data and the

resources such as information and the process acting on the data. Dain Flow

Diagrarn arc a way of expressing system in a graphical manner. It has the purpose

or clarifying system requirement and identifying major transformations that will

become program in the system design. So it is the starting point of desi1:,111

phase that functionally decomposes the requirement specification down into the

lowest level of details. The data flow in the banking system is depicted using data

flow diagram show below.

Level 0

Gas Agency
Management Data
User System Base
Level 1
LOGIN Password details

Consumer details

USER CONSUMER

Booking details

BOOKING Delivery details

STOCK Stock details

Level 2
ADD
CONSUMER
Consumer details

UPDATE Consumer details


CONSUMER CONSUMER

DELETE
CONSUMER Consumer details
Level 3

Booking details
CYLINDER
BOOKING

BOOKING

CYLINDER
DELIVERY Deliverey details

Level 4

ADD
Stock details

STOCK UPDATE
Stock details

DELETE Stock details


DEVELOPMENT TOOLS AND FACILITIES
FRONT END

This system is developed using VB6 as the front end. The systems interfaces

are developed using VB6 as it is a convenient, efficient and user friendly language and

provide with the feature of disc01mected data architecture. Visual Base is more than

just a computer language. It is a project building environment. Within this one

environment, we can begin and build our project, run and test our project, eliminate

error (if any) in our project, and save our project for future use.

BACK END

Microsoft Access is a powerful program to create and manage your databases. It

has many built in features to assist you in constructing and viewing your information.

Microsoft Access is the default database of Microsoft Visual Basic.

Hardware Specification:-

Microprocessor Pentium 111 800 MHz

Main memory 128 MB.

Cache Memory 512 KB.

Floppy Drive 1.44 MB, 3.5"

Hard disk Capacity 20GB

Keyboard 108 Standard keyboards

Mouse Logitech

Software Specification:-

Platform Windows 7
Languages VB
Backend Microsoft Access
SOURCE CODE
LOGIN FORM
Private Sub Command2_Click()
Unload Me
End Sub

Private Sub loginbut_Click()


If txt_username.Text = Adodc1.Recordset.Fields("user name") And txt_pass.Text =
Adodc1.Recordset.Fields("password") Then
Unload Me
main_form.Show
Else
MsgBox "invalid user name or password"
End If
End Sub

MAINFORM
Private Sub Command1_Click()
login_form.Show
End Sub

Private Sub Command2_Click()


new_consumer.Show
End Sub

Private Sub Command3_Click()


new_stock.Show
End Sub

Private Sub Command4_Click()


new_booking.Show
End Sub

Private Sub Command5_Click()


consumer_details.Show
End Sub

Private Sub Command6_Click()


stock_details.Show
End Sub

Private Sub Coomand7_Click()


booking_details.Show
End Sub
NEW BOOKING
Private Sub Command1_Click()
Adodc1.Recordset.Fields(0) = txt_bookid.Text
Adodc1.Recordset.Fields(1) = txt_consnum.Text
Adodc1.Recordset.Fields(2) = txt_doofbooking.Text
Adodc1.Recordset.Fields(3) = txt_noofcylin.Text
Adodc1.Recordset.Fields(4) = "not delivered"
MsgBox "Cylinder booked successfully", vbInformation
new_consumer.Show
Adodc1.Recordset.Update
End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub txt_doofbooking_Change()


txt_doofbooking.Text = Format(Now(), "dd/mm/yyyy")
End Sub

BOOKING DETAILS
Private Sub Command1_Click()
Adodc1.Recordset.MovePrevious
If Adodc1.Recordset.BOF Then
Adodc1.Recordset.MoveFirst
End If
End Sub

Private Sub Command2_Click()


Adodc1.Recordset.MoveNext
If Adodc1.Recordset.EOF Then
Adodc1.Recordset.MoveLast
End If

End Sub

Private Sub Command3_Click()


If Adodc1.Recordset.Fields("status") = "delivered" Then
MsgBox "cylinder already delivered"
Else
Adodc1.Recordset.Fields(0) = txt_bookid.Text
Adodc1.Recordset.Fields(1) = txt_consnumber.Text
Adodc1.Recordset.Fields(2) = txt_dofbooking.Text
Adodc1.Recordset.Fields(3) = txt_noofcylinder.Text
Adodc1.Recordset.Fields(4) = txt_status.Text
Adodc1.Recordset.Update
MsgBox "successfully delivered"
End If
End Sub

Private Sub Command4_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub
NEW CONSUMER
Private Sub Command1_Click()
If txt_fname.Text = "" Or txt_lname.Text = "" Or txt_street.Text = "" Or txt_city.Text = "" Or txt_pin.Text
= "" Or txt_phone.Text = "" Or txt_doc.Text = "" Or commercial.Value = False And domestic.Value = False
Then
MsgBox "enter all fields"
Else
Adodc1.Recordset.Fields(0) = txt_fname.Text
Adodc1.Recordset.Fields(1) = txt_lname.Text
Adodc1.Recordset.Fields(2) = txt_street.Text
Adodc1.Recordset.Fields(3) = txt_city.Text
Adodc1.Recordset.Fields(4) = txt_pin.Text
Adodc1.Recordset.Fields(5) = txt_phone.Text
Adodc1.Recordset.Fields(6) = txt_doc.Text
If domestic.Value = True Then
Adodc1.Recordset.Fields(7) = "domestic"
End If
If commercial.Value = True Then
Adodc1.Recordset.Fields(7) = "commercial"
End If
MsgBox "new record added to the table"
new_stock.Show
End If
End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub
CONSUMER DETAILS

Private Sub Command1_Click()


Adodc1.Recordset.MoveFirst

End Sub

Private Sub Command2_Click()


Adodc1.Recordset.MovePrevious

End Sub

Private Sub Command3_Click()


Adodc1.Recordset.MoveNext
End Sub

Private Sub Command4_Click()


Adodc1.Recordset.MoveLast
End Sub

Private Sub Command5_Click()


If txt_firstname.Text = "" Or txt_lastname.Text = "" Or txt_street.Text = "" Or txt_city.Text = "" Or
txt_pincode.Text = "" Or txt_phone.Text = "" Or txt_dateofconnection.Text = "" Or txt_lasbooking.Text = ""
Or txt_cylindtype.Text = "" Then
MsgBox "enter all field(s)"
Else
Adodc1.Recordset.Fields(0) = txt_firstname.Text
Adodc1.Recordset.Fields(1) = txt_lastname.Text
Adodc1.Recordset.Fields(2) = txt_street.Text
Adodc1.Recordset.Fields(3) = txt_city.Text
Adodc1.Recordset.Fields(4) = txt_pincode.Text
Adodc1.Recordset.Fields(5) = txt_phone.Text
Adodc1.Recordset.Fields(6) = txt_dateofconnection.Text
Adodc1.Recordset.Fields(7) = txt_lasbooking.Text
Adodc1.Recordset.Fields(8) = txt_cylindtype.Text
Adodc1.Recordset.Update
MsgBox "Record updated successfully"
Adodc1.Recordset.MoveFirst
End If
End Sub

Private Sub Command6_Click()


Dim confirm As String
confirm = MsgBox("are you sure want to delete this record?", vbYesNo, "deletion confirmation")
If confirm = vbYes Then
Adodc1.Recordset.Delete
Adodc1.Recordset.MoveFirst
MsgBox "recorded deleted!"
Else
MsgBox "recorded not deleted"
End If

End Sub

Private Sub Command7_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub
NEW STOCK

Private Sub Command1_Click()


If txt_toc.Text = "" Or txt_roc.Text = "" Or txt_noc.Text = "" Then
MsgBox "enter all fields"
Else
Adodc1.Recordset.Fields(0) = txt_toc.Text
Adodc1.Recordset.Fields(1) = txt_roc.Text
Adodc1.Recordset.Fields(2) = txt_noc.Text
MsgBox "stock added successfully"
End If
End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub
STOCK DETAILS
Private Sub Command1_Click()
Adodc1.Recordset.Fields(0) = txt_toc.Text
Adodc1.Recordset.Fields(1) = txt_roc.Text
Adodc1.Recordset.Fields(2) = txt_noc.Text
MsgBox "updated sucessfully"
End Sub

Private Sub Command2_Click()


Dim confirm As String
confirm = MsgBox("are you sure you want to delete this form list?", vbYesNo, "deletion confirmation")
If confirm = vbYes Then
Adodc1.Recordset.Delete
Adodc1.Recordset.MoveFirst
MsgBox "Record deleted!"
Else
MsgBox "record not deleted"
Adodc1.Recordset.Update
End If
End Sub

Private Sub Command3_Click()


Adodc1.Recordset.MovePrevious
End Sub

Private Sub Command4_Click()


Adodc1.Recordset.MoveNext
End Sub

Private Sub Command5_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub
OUTPUT
DESIGN
LOGIN FORM

MAIN FORM
NEW CONSUMER
NEW BOOKING

NEW STOCK
CONSUMER DETAILS

STOCK DETAILS
BOOKING DETAILS
TESTING AND MAINTENANCE
Testing Procedures

Software testing is a process of executing a program with the interest of finding an error. A
good test is one that has high probability of finding the yet undiscovered error. Testing
should systematically uncover different classes of error in a minimum amount of time with
minimum amount efforts. Two classes of inputs are provided to test the process
► A software configuration that includes a software requirement specification, a
design specification and source code.

► A software configuration that includes a test plan and procedure, any testing tool and
test cases and their expected results.

System testing can be grouped as follows:

► Unit testing
► Integration Testing
► Validation Testing
► Recovery Testing
► Security Testing
► Stress Testing
► Black Box Testing
► Test Data Output

Unit Testing
Unit test comprises of a set tests performed by an individual program prior to the
-
integration of the unit into large system. A program unit is usually the smallest free
functioning part of the whole system. Module unit testing should be has exhaustive as
possible to ensure that each representation handled by each module has been tested. All
the units that makeup the system must be tested independently to ensure that they work
as required. During unit testing some errors were raised and all of them were rectified
and handled well. The result was quiet satisfactory and it worked well.
Integration Testing

Integration testing is a system technique for constructing the program structure


while at the same time conducting tests to uncover errors associated with interfacing. The
objective is to take unit tested modules and build a program structure that has been
dictated by design. Bottom-up integration whole. Bottom-up integration consists of unit
test followed by testing of the entire system. A sub-system consists of several modules that
communicate with other defined interface. This system was done the integration testing. All
the modules were tested for their compatibility with other modules. They test was almost
successful. All the modules coexisted very well, with almost no bugs. All the modules
were encapsulated very well so as to not hamper the execution of other modules.

Validation Testing

After validation testing, software is completely assembled as a package,


interfacing errors that have been uncovered and corrected and the final series of software
test; the validation test begins. Steps taken during software design and testing can greatly
improve the probability of successful integration in the larger system. System testing is
actually a series ofdifferent tests whose primary purpose is to fully exercise the compute-
based system.

Recovery Testing

It is a system that forces the software to fail in a variety of ways and verifies
thatthe recovery is properly perfom1ed.

Security Testing

It attempts to verify that production mechanisms build into a system will in fact
protect it from improper penetration. The system's security must of course be tested from in
vulnerability from frontal attack.
Stress Testing

The stress tools are designed to confront programs with abnonnal situations. Stress testing

executes a system in a manner that demands resources abnormal quantity and volume.

Block Box Testing


Black box testing is done to find out the following information as shown in below:

► Incorrect or missing function.


► Interface error.
► Error of database access.
► Performance error.
► Termination error.

The mentioned testing is carried out successfully for this application according to the
user's requirement specification.

Test Data Output

After preparing test data, the system under study is tested using the test data.While
testing the system using test data, error are again uncovered and corrected by using above
testing and corrections are also noted for future use.

Maintenance

The system maintenance is a crucial stage in the development of the software. The

maintenance part includes the release of patches to sort out the bugs and vulnerabilities if

any and the future enhancement of the system through providing updates for the current

system.
SYSTEM IMPLEMENTAION
Implementation
System implementation is the stage of the project where the theoretical design is

turned in to a working system. If the implementation stage is not properly planned and

controlled it can chaos .An important aspect of system analyst's job is to make sure that new

design is implemented to establish standards Implementation means process of converting a

new received system design in to an operational one.

Implementation methods

For the successful implementation and co-operation of new system the user must be

selected, educated and trained. Unless the users are not trained, the system will become

complex and it will feel as a burden for them. The selection of staff must take place at an

early stage. The estimate of the numbers and the types of the people required has been

submitted to the management for the approval. The people who will be affected are given a

high priority in training and they will be affected. This communication was taken place

through their respective mangers.

Implementation Plan
An implementation co-ordination committed based on polices of individual

organization has been appointed. The implementation process begins with preparing a plan

for implementaion of system. According to this plan, activities are to be carried out

discussion made regarding the equipment and resources and additional equipment has to be

acquired to implement the new system. Implementation is final and important phase. The most

critical stage in achieving a successful new system and in giving the users confidence that the

system will work and be effective.


The system can be implemented only after through testing is done and if it found to

working according to specification. This method also offers the greatest security since the

old system can take over if the errors are found or inability to handle certain type of

transactions while using the new system. At the beginning of the development phase is

updated throughout the development phase, culminating in changeover for the operation

phase. The major elements of implementation plan are test plan, equipment installation plan

and aconversation plan.

Post Implementation Review

Provision must be made for environmental changes, which may affect the computer or

other parts of the computer based systems. Maintenance includes the improvements of the

system. Maintenance activities may require the continuing involvement of a large

proportion of the computer department resources. For computer installations, which have

already, develop basic application of the organizations, the maintenance may be to adapt

existing system in changing environment. Perhaps the better tenn to describe the activity is

system evaluation. All system are dynamic an subject to constantly changing

requirements.
FUTURE ENHANCEMENT
FUTURE ENHANCEMENT

 We think that not a single project is ever considered as complete forever because

our mind is always thinking new and over necessities is also are growing

 As system is flexible you can generate more report and screen as and When required

 We can update this system as online application

 The main advantages of online application is that , a person can book their
cylinder

 A system is modified in future as per the owner requirement


CONCLUSION
CONCLUSION
This software has been developed for the normal functioning of GAS AGENCY

MANAGEMENT SYSTEM. The above project aims at the reduction of a power and great

convenience to its user. I had completed the project within the stipulated time as per the rules

and regulations. I am very glad to express my gratitude to God for this work. I think once

again all those who directed and encouraged me.


ANNEXURE
DATABASE DESIGN
Microsoft SQL Server 2005 is used as backend for the Courier System. SQL

Server 2005 relational database management for the creation of data tables and

performing insert update delete and select operation.

CONSUMER DETAILS

SL

NO FIELD NAME DATA TYPE VALIDATION

1 Con _id AutoNumber Consumer id as


Primary Key
2 Fname Text First Name

3 Lname Text Last name

4 Street Text street

5 city Text city

6 pin Number pin

7 phone Text phone

8 DOC Date/time DOC

9 Date/time Last booking


Last booking

10 Cylinder type Text Cylinder type


STOCK DETAILS
SL

NO FIELD NAME DATA TYPE DESCRIPTION

1 Type Text Type

Number Rate
2 Rate

3 Stock Number Stock

BOOKING DETAILS

SL

NO FIELD NAME DATA TYPE VALIDATION


I Bookid Booking id as primary
Number key
2 Con no Number Consumer no as foreign
key
3 DOB Date/time Date of booking

4 NOC Number Number of cylinder

5 Status Text Status

PASSWORD DETAILS

SL

NO FIELD NAME DATA TYPE VALIDATION

1 User name Text User name

2 Password Text Password


SCOPE OF THE SYSTEM
The project entitled "SCHOOL MANAGEMENT SYSYTEM" has been
successfully developed for Software Technology Group. It is a web-based project that
will help the agents and other peoples to support up their prospects and public image and
will be of immense help in retaining their client base by providing services even when
physical accessibility is poor.

VB6 is a set of technologies designed to allow applications to work together


whether they reside on the user's hard drive ,the local network, a remote computer ,or the
internet C# is a new language for windows applications, intended as an alternative to the
main previous languages C++ and VB. It give access to many of the facilities previously
available only in C++,while retaining some of the simplicity to learn of VB. It has been
designed specifically with the VB6 framework in mind and hence is very well structured
for writing code that will be compiled for VB6.

The database was developed using Microsoft Access. The system has been
tested successfully and its correctness, quality and result are found to satisfactory. The
less processing time increase the efficiency and productivity. The system is portable and
flexible for future enhancement. Adequate security and validation has been provided to
prevent unauthorized d improper use of the system. It has also been provided with user
friendly screens to make it more efficient and flexible. We tried our best to make the
project as perfect as possible
BIBLIOGRAPHY
REFERENCE

i. Database Management System

ii. System Analysis And Design

iii. Advanced Programming using Visual Basic: Version 6.0

iv. Access 2003 Power Programming with VBA

You might also like