Académique Documents
Professionnel Documents
Culture Documents
CONTENTS
1. INTRODUCTION
1.1 PROJECT OVERVIEW
1.2 PROJECT DESCRIPTION
2. SYSTEM CONFIGURATION
2.1 HARDWARE SPECIFICATION
2.2 SOFTWARE SPECIFICATION
3. SYSTEM ANALYSIS
3.1
PRELIMINARY INVESTIGATION
3.2
EXISTING SYSTEM
3.3
PROPOSED SYSTEM
3.4
FEASIBILITY ANALYSIS
REQUIREMENT SPECIFICATION
4. SYSTEM DESIGN
4.1 INTRODUCTION
4.2 DATA FLOW DIAGRAM
4.3 INPUT DESIGN
4.4 OUTPUT DESIGN
4.5 DATABASE DESIGN
5. SYSTEM TESTING
5.1 TESTING METHODS
5.2 TEST PLAN ACTIVITIES
5.3 TESTING OBJECTIVE
5.4
CODING
5.5
SCREEN LAYOUTS
6. SYSTEM IMPLEMENTATION
7. CONCLUSION AND SCOPE FOR FUTURE ENHANCEMENT
8. BIBLIOGRAPHY
The project entitled Gas Agency is done to make the manual process easier
by making it a computerized system for billing and maintaining stock.
The Gas Agencies get the order request through phone calls or by personal
from their customers and deliver the gas cylinders to their address based on their
demand and previous delivery date. This process is made computerized and the
customers name, address and stock details are stored in a database. Based on this the
billing for a customer is made simple and easier, since a customer order for gas can be
accepted only after completing a certain period from the previous delivery. This can
be calculated and billed easily through this.
There are two types of delivery like domestic purpose use delivery and
commercial purpose use delivery. The bill rate and capacity differs for both. This can
be easily maintained and charged accordingly.
The following are involved in this project
Customer Details
Delivery Details
Billing Details
Booking Details
Price Details
Stock Details
Processor
Intel Pentium R
RAM
1 GB
40 GB
OPERATING SYSTEM
Windows 7 Ultimate
ENVIRONMENT
.NET FRAMEWORK
Version 3.5
LANGUAGE
Visual Basic.NET
BACKEND
3.1Preliminary Investigation
3.2Existing System
The existing system is a manual system. In the present Gas Agency system, all
the activities are done manually. All data entry is performed by writing data into the
book, paper documents. The bills are prepared manually, so there is a chance for
occurring errors and the calculations are not so accurate. Various informations such
as customer details, product details, supplier details stock and customer requirements
are handled manually. When there is need for retrieving details searching is
unavoidable this is a difficult task searching the records manually .This is also too
much time consuming when we want to retrieve details according to some specific
conditions. There are many disadvantages in manual system. They are:
1. Book keeping charge:
We have to keep the record in the large amount of books which may
incur much cost. We have to spend lot of money to buy a new book when one
book gets completed.
2. Inaccuracies:
Since all the data entry is done manually in book of records,
inaccuracies can occur. Cause of error is more in manual system.
3. Expensive:
Large number of personal hours is required for each and every part of
the manual system. We have to buy lot of books, paper for keeping the information.
So the existing system is very expensive.
4. Inefficiency:
Large volume of data and unformatted outputs lead to inefficient
decision making. Inefficiency in the existing system is also caused by the lack of
proper communication between the people of the organization.
5. Time and effort
Large amount of time and efforts may require. For searching a
particular data, we have to search all the paper documents, its corresponding book and
find the data.
6. All the searching are done manually:
In the existing system, all the work like entering the details of a
Customer, Booking details are done manually. This is really time consuming.
computer based which can be very effective. Many advantages are there in this type of
gas agency system. The main advantages of this proposed system are:
1. Security:
The software used for this gas agency system includes the password, so the
security is provided. When anyone opens the software it has the provision for entering
password. We have to enter the correct password; otherwise we cannot enter into the
system. Password is saved in system registry for more security.
2. User Friendly:
This package is very user friendly because it is easy to maintain and
operate. All data entry operations are simple, administrator wants only enter data
and all other operations are performed by the computer.
3. Speed and Accuracy:
Computerization process increases the speed of all the operations. The
manpower is reduced. Instead of doing all operation manually, computer will do
it automatically. It also increases the accuracy of all the operations performed.
4. Efficiency and flexibility:
The flexibility and the efficiency of all the operation in this gas agency
system is increased because of the computerization. No errors are occurred
compared to the manual system. Instead of searching lot of data, we can produce
report in a few seconds.
5. Formatted Output:
Each output of the proposed system is formatted in such a way so as to allow
easy decision making. We can print the profile easily using data reports.
FEASIBILTY CONSTRAINTS
1. ECONOMIC FEASIBILITY
Economic analysis is most frequently used method for
evaluating the effectiveness of a candidate system. More commonly known as
cost/benefit analysis, the procedure is to determine the benefits and savings
that are expected from a candidate system and compare them with costs.
The proposed system is economically feasible
one. We do not want to keep lot of books for storing the data. By manipulating
data using computer reduces cost. We do not want lot of employees; we
simply want one to operate it, Administrator.
2. TECHNICAL FEASIBILTY
Technical feasibility centers on the existing computer system and to
what extend it can support the proposed system. It involves financial
considerations to accommodate technical enhancements. If the budget is a
serious constraint, then the project is judged not feasible.
3. BEHAVIOUR FEASIBILTY
People inherently resist change and computers have been known to
facilitate change. An estimate should be made of how strong a reaction the
user staff is likely to have toward the development computerized system. The
computer installations have something to do with turnover, retraining and
changes to employee status.
In the proposed system, it behaves very feasibly. It is very easy to train
the people in the proposed system. We simply want to tell the purpose of each
button and about a little data to enter.
Visual Basic. NET, the latest version of visual basic, includes many new
features. The Visual Basic supports interfaces but not implementation inheritance.
Visual basic.net supports implementation inheritance, interfaces and overloading. In
addition, Visual Basic .NET supports multithreading concept.
Visual Basic.NET is also compliant with CLS (Common Language
Specification) and supports structured exception handling. CLS is set of rules and
constructs that are supported by the CLR (Common Language Runtime). CLR is the
runtime environment provided by the .NET Framework; it manages the execution of
the code and also makes the development process easier by providing services.
The .NET Framework is a new computing platform that simplifies application
development in the highly distributed environment of the Internet.
Visual Studio .NET is a complete set of development tools for building ASP
Web applications, XML Web services, desktop applications, and mobile applications
In addition to building high-performing desktop applications, you can use Visual
Studio's powerful component-based development tools and other technologies to
simplify team-based design, development, and deployment of Enterprise solutions.
Visual Basic .NET, Visual C++ .NET, and Visual C# .NET all use the same
integrated development environment (IDE), which allows them to share tools and
facilitates in the creation of mixed-language solutions. In addition, these languages
leverage the functionality of the .NET Framework and simplify the development of
ASP Web applications and XML Web services.
Visual Studio supports the .NET Framework, which provides a common language
runtime and unified programming classes; ASP.NET uses these components to create
ASP Web applications and XML Web services. Also it includes MSDN Library, which
contains all the documentation for these development tools.
4.1 INTRODUCTION
the proposed system. Each module is designed for a specific application and they are
operated independently.
A data flow diagram is the best and easiest tool to represent the flow of the
data in the project. It is otherwise known as bubble chart. It has the purpose of
clarifying system requirements and identifying major transformations that will
become programs in the system design. It is the major starting point in the design
phase that functionally decomposes the requirements specifications down to the
lowest level of detail. A DFD consists of a series of bubbles joined by lines. The
bubble represents data flow in the system. In the normal convention a DFD has four
major symbols.
ID
Purchase Order
Cylinder
Cylinder
Verification
Validation
1.0
STAFF
1.0 LOGIN
LOGIN
Return
Day End
Success
New Customer
1.1
Register
Customer
1.1 Consumer
Registration
2.0
3.0 booking
View Delivered
and Non Delivered List
Refill Booking
Customer
Checking Quantity
1.2
Booking
1.2 Stock
Quantity enough
Cylinder booked
Received
Bill
1.2
booking
Bill Print
Cylinder Bill
3.0
Bill
Bill Print
Extra Cylinder Bill
ER DIAGRAM
Entity Relationship Diagram is conceptual model. The Major elements are
Entity (with attributes and identifier) and Relationship.
Entity
Entity class (entity set) is a structural description of things that share common
attributes. Entity instance is the occurrence of a particular entity
Attribute
Attribute describes an entity class. All entity instances of a given entity class
have the same attributes, but vary in the values of those attributes
Identifier
Identifier identifies an entity instance. The value of the identifier attribute is
unique for each entity instance
Relationship
Relationship describes how entities are related. Cardinality describes how many
entity instances can be in the relationship.
Type of Relationship
One One Relationship
A single entity instance in one entity class is related to a single entity
instance in another entity class.
passbookno
uname
pass
ctype
Cons_no
Login
Cons_name
Consumer
login
Extra cylinder
New cylinder
Booking
Bill_no
Bill_no
C_date
doc2
tol_amount
nc_charge
status
total
del_date
Extra Cylinder
New Connection
Booking
Use easy tolerant and consistent term such as add, Delete and
close.
It is a process of designing the database file, which is the key source of the
information in the system. The objective of database is to design is to provide storage
and it contributes to the overall efficiency of the system. The file should properly
design and planned for collection, accumulation, editing and retrieving the required
information.
The primary objective of a database design are fast response time to inquiries
,more information at low cost, control of redundancy ,clarity and ease of use,
accuracy and integrity of the system ,fast recovery and availability of powerful enduser languages. The theme behind a database is to handle information as an integrated
whole thus the main objective is to make information as access easy, quick,
inexpensive and flexible for the users.
Table Design
Table Name : Consumer Details
Field
cons_no
Data Type
int
Description
Consumer Number
(Primary Key)
passbookno
int
PassBook Number
cons_name
nvarchar(MAX)
Consumer Name
Voteid
nvarchar(50)
Voter Id
adhar_no
nvarchar(50)
Adhar Number
ration_no
nvarchar(50)
gender
nchar(10)
Gender
Addrs
nvarchar(50)
Address
Pin
int
Pincode
Phone
numeric(10, 0)
Phone Number
Doc
datetime
Date Of Connection
Ctype
nchar(10)
Cylinder Type
no_cyli
int
Number Of Cylinder
Data Type
Description
domestic
numeric(3,0)
Domestic Stock
commercial
numeric(3,0)
Commercial Stock
Data Type
Description
cons_no
int
Consumer Number
(Foreign Key)
bill_no
int
Bill Number
(Primary Key)
c_date
datetime
Booking Date
Ctype
nchar(10)
Cylinder Type
cy_qty
int
Cylinder Quantity
tol_amont
numeric(8, 2)
Total Amount
Status
nchar(10)
Status
del_date
datetime
Delivery Date
Reason
nvarchar(50)
Reason
Data Type
Description
cons_no
int
Consumer Number
(Foreign Key)
cons_name
nvarchar(MAX)
Consumer Name
no_cycl
int
Number of Cylinder
doc2
datetime
Date Of Connection
Ctype
nchar(10)
Cylinder Type
tol_amont
numeric(10, 2)
Total Amount
Data Type
Description
Billno
int
Bill Number
(Primary Key)
cons_no
int
Consumer Number
(Foreign Key)
book_date
datetime
Booking Date
no_cycl
int
Number Of Cylinder
nc_charge
decimal(7, 2)
New Connection
Charge
Total
decimal(7, 2)
Total
Data Type
Description
cy_deposit_d
numeric(7, 2)
Domestic Cylinder
Deposit
cy_deposit_c
numeric(7, 2)
Commercial Cylinder
Deposit
Deprec
numeric(7, 2)
Depreciation
Hotepl
numeric(7, 2)
Hoteplate
wo_hotepl
numeric(7, 2)
Without Hoteplate
Instoll
numeric(7, 2)
Installation Charge
Stamp
numeric(5, 2)
Stamp Charge
passbook
numeric(5, 2)
Passbook Charge
Lighter
numeric(5, 2)
Lighter Charge
Tube
numeric(5, 2)
Tube Charge
admin_char
numeric(6, 2)
Admin Charge
Lpg
numeric(6, 2)
LPG Rate
comm_lpg
numeric(6, 2)
Field
Data Type
Description
Uname
nchar(10)
UserName
Pass
nvarchar(50)
Password
error is not usually decided by testing. Testing forms the first step in
determining the errors in the program. Clearly the success of testing in
revealing errors in programs depends critically on the test cases.
Testing is usually relied upon to detect the faults that occur during
any phase of the software development cycle, in addition to the faults that
introduced during the coding phase itself. For this, different levels of
testing are used which perform different tasks and aim to test different
aspects of the system. The basic levels of testing are unit testing,
integration testing, system and acceptance testing. he different levels of
testing attempt to detect different types of faults.
The main objective of testing is to uncover errors from the system.
For the uncovering process we have to give proper input data to the
system. So we should have more conscious to give input data. It is
important to give correct inputs to efficient testing.
tested. Then unit testing was done for every module in the software for
various inputs, such that each line of code is at least once executed.
After all modules were coded, the integration test was carried out.
Some minor errors were found in the output at the earlier stage and each
of them was corrected. In the implementation of user interface part no
major errors were found. After the software was completely developed,
the testing was done. The output of the system is correct and accurate
during the time of demonstration. We proceed the testing process in this
way
Each and every program units are tested which is known as unit
testing Then, we check the logic of the program, were the input of one
would affect the output of the order, which is called as series testing
The security level of the system is tested which prevents
unauthorized access to the system and records the user names that
performed any change to the records. This kind of test is known as
security testing.
5.4
CODING
Admin Master Page
<%@ Master Language="VB" CodeFile="Admin.master.vb" Inherits="Admin" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Veera Gas Agency</title>
<link href="CSS/StyleSheet1.css" rel="stylesheet" type="text/css" />
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body background="iconImages/images_9.jpeg">
<form id="form1" runat="server">
<div class="header"><h1 class="header"> Veera Gas Agency System</h1></div>
<asp:Menu ID="Menu1" runat="server" Font-Bold="True" Font-Italic="True"
Font-Names="Times New Roman" Font-Size="15pt" Font-Underline="True"
ForeColor="Maroon" Height="54px" Orientation="Horizontal"
Width="1269px"
BackColor="#999966" BorderColor="#000066" BorderStyle="Double">
<Items>
<asp:MenuItem Text="Consumer" Value="Consumer"
NavigateUrl="~/HomeConsumer.aspx">
</asp:MenuItem>
<asp:MenuItem Text="RateDetails" Value="RateDetails"
NavigateUrl="~/NewConCharges.aspx">
</asp:MenuItem>
<asp:MenuItem Text="Stock Update" Value="Stock Update"
NavigateUrl="~/stock.aspx">
</asp:MenuItem>
</Items>
</asp:Menu>
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</form>
</body>
</html>
Consumer Registration
Imports System.Data
Imports System.Data.SqlClient
Imports System.Configuration
Imports System.Web.Configuration
Partial Class consumer
Inherits System.Web.UI.Page
Private con As New
SqlConnection(ConfigurationManager.ConnectionStrings("dbconnection").ToString()
)
Private cmd As New SqlCommand()
Dim dr As SqlDataReader
Dim ad As SqlDataAdapter
Dim no As String
cmd.Parameters.Add("@cons_no", SqlDbType.Int).Direction =
ParameterDirection.Output
cmd.Parameters.Add("@passbookno", SqlDbType.Int).Value =
passbookno.Text.Trim()
cmd.Parameters.Add("@cons_name", SqlDbType.VarChar).Value =
cons_name.Text.Trim()
cmd.Parameters.Add("@adhar_no", SqlDbType.VarChar).Value =
adhar_no.Text.Trim()
cmd.Parameters.Add("@voteid", SqlDbType.VarChar).Value =
voteid.Text.Trim()
cmd.Parameters.Add("@ration_no", SqlDbType.VarChar).Value =
ration_no.Text.Trim()
cmd.Parameters.Add("@gender", SqlDbType.VarChar).Value =
rdgen.SelectedItem.Text.Trim()
cmd.Parameters.Add("@addrs", SqlDbType.VarChar).Value = addrs.Text.Trim()
cmd.Parameters.Add("@pin", SqlDbType.Int).Value = pinc.Text.Trim()
cmd.Parameters.Add("@phone", SqlDbType.VarChar).Value = phno.Text.Trim()
cmd.Parameters.Add("@doc", SqlDbType.DateTime).Value = no
cmd.Parameters.Add("@ctype", SqlDbType.VarChar).Value =
rdctype.SelectedItem.Text.Trim()
cmd.Parameters.Add("@no_cyli", SqlDbType.Int).Value = no_cyl.Text.Trim()
cmd.Connection = con
Try
con.Open()
cmd.ExecuteNonQuery()
Dim id As String = cmd.Parameters("@cons_no").Value.ToString()
Dim s2 As String = cmd.Parameters("@passbookno").Value.ToString()
lblmsg.Text = "Record inserted successfully.id= "
lblmsg2.Text = id
cons_name.Text = ""
ration_no.Text = ""
rdgen.SelectedItem.Selected = False
addrs.Text = ""
pinc.Text = ""
phno.Text = ""
rdctype.SelectedItem.Selected = False
cons_no.Text = id + 1
passbookno.Text = s2 + 1
Catch ex As Exception
Throw ex
Finally
con.Close()
con.Dispose()
End Try
End Sub
NewConnection Bill
Imports System.Data
Imports System.Data.SqlClient
Imports System.Configuration
Imports System.Web.Configuration
Partial Class NewConBill
Inherits System.Web.UI.Page
Private con As New
SqlConnection(ConfigurationManager.ConnectionStrings("dbconnection").ToString()
)
Private cmd As New SqlCommand()
Dim dr As SqlDataReader
Dim ad As SqlDataAdapter
Dim no As String
Dim total As Double
Dim tot1 As Double
Dim tot2 As Double
con.Open()
cmd.CommandType = CommandType.Text
Dim c As String = "select * from hoteplate"
cmd = New SqlCommand(c, con)
dr = cmd.ExecuteReader
While dr.Read()
total = dr.GetValue(2) + dr.GetValue(5) + dr.GetValue(6) + dr.GetValue(7) +
dr.GetValue(8) + dr.GetValue(9) + dr.GetValue(10)
tot1 = total + dr.GetValue(1) + dr.GetValue(3) + dr.GetValue(12)
tot2 = total + dr.GetValue(1) + dr.GetValue(4) + dr.GetValue(12)
tot3 = total + dr.GetValue(0) + dr.GetValue(3) + dr.GetValue(11)
tot4 = total + dr.GetValue(0) + dr.GetValue(4) + dr.GetValue(11)
End While
If DropDownList1.SelectedValue = "Comm_hote" Then
new_con_charg.Text = tot1
End If
If DropDownList1.SelectedValue = "Comm_whote" Then
new_con_charg.Text = tot2
End If
If DropDownList1.SelectedValue = "Domes_hote" Then
new_con_charg.Text = tot3
End If
If DropDownList1.SelectedValue = "Domes_whote" Then
new_con_charg.Text = tot4
End If
tax.Text = Val(new_con_charg.Text) * 4 / 100
tot.Text = Math.Round(Val(tax.Text) + Val(new_con_charg.Text))
End Sub
Response.Redirect("HomeConsumer.aspx?")
End Sub
Protected Sub Button3_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button3.Click
Response.Redirect("NewConBillPrint.aspx?&billno=" & lblmsg2.Text)
End Sub
End Class
ExtraCylinder
Imports System.Data
Imports System.Data.SqlClient
Imports System.Configuration
Imports System.Web.Configuration
Partial Class extra_cylinder
Inherits System.Web.UI.Page
Private con As New
SqlConnection(ConfigurationManager.ConnectionStrings("dbconnection").ToString()
)
Private cmd As New SqlCommand()
Dim dr As SqlDataReader
Dim ad As SqlDataAdapter
Dim no As String
Dim tot1 As String
Dim tot2 As String
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
no = DateAndTime.Today
docon.Text = no
con.Open()
If Not Page.IsPostBack Then
cmd.CommandType = CommandType.Text
Dim c As String = "select distinct(cons_no) from consumer where no_cyli=1"
cmd = New SqlCommand(c, con)
dr = cmd.ExecuteReader
While dr.Read
DropDownList1.Items.Add(dr.Item("cons_no"))
End While
End If
con.Close()
End Sub
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button1.Click
Panel2.Visible = True
con.Open()
cmd.CommandType = CommandType.Text
5.5
SCREEN LAYOUTS
1. Login
Main Form
1.1
Consumer Details
1.2
1.3
Cylinder Booking
1.4 Billing
1.5
Bill Report
6 SYSTEM IMPLEMENTATION
7.1 ENHANCEMENT
This system is designed in such a way that addition of new modules
can be done in a very simple and efficient manner. The future holds a lot
to offer to the development and refinement of this project. As proper
documentation exists the whole system flow is traceable. Some likely
enhancements could be added in the future to enhance the capability of
this system.
8 BIBLIOGRAPHY