aquarium shop management system
DESCRIPTION
AQUARIUM SHOP MANAGEMENT SYSTEMTRANSCRIPT
1. INTRODUCTION
1.1 COMPANY PROFILE
M/s RETHIN software is an information technology consulting company located
in Gobichettipalayam. The company specializes in software development, website
designing, network installation. Onsite technical support, computer peripherals sales and
services and medical transcription.
SERVICES
SOFTWARE DEVELOPMENT, WEB DESIGN AND HOSTING
The company provides solutions to all the software related needs of the company
in the form of customized products. The company works with many different industries
including, property management, distribution, exports, depart mental stores, hospitals,
schools and colleges. The company specializes in placing packaged company applications
that handle distribution, payroll, inventory, general ledger, manufacturing, order
processing and health domain and more in place at company locations and then customize
that package to their needs.
The company provides assistance in web design and hosting sites in addition to
designing of logos. They also provide extremely effective logo designs that show the
customers that are credible and care about the way the company is marketed. Whether
one uses the logo for a web site, letterhead and envelopes or any other advertising
medium, the logo design will establish one identity, reinforce branding, increase goodwill
and increase credibility to the customers.
No matter how large or small the company is RETHIN software is ready to meet
the customer needs.
1
PC SUPPORT
The Company offers full services PC support on both hardware and software
issues. It works on both on-site and off-site issues.
PC DESIGN AND SALES
The company designs a custom system to meet the customer needs and budget. It
then builds the system to those specifications, test it, and then set it up at their site if
needed
PC SETUP
If one has ordered new computer system from another vendor but still need to get
it setup then the company can do it for the customer.
NETWORK MAINTANCE
Maintance support for windows based networks
HARDWARE UPGRADES
Installation and support for upgrade components for most all computers.
2
1.2 ABOUT THE PROJECT
The scope of the software is to computerize the activities concerned with
data of the aquarium shop. This project contains the following modules:
Stock Maintenance
Purchase Details
Sales Details
Report
STOCK MAINTENANCE:
The new items are purchased for the shop is maintained in the stock master table.
The stock details table provides the existing stock that is updated automatically because
of the purchase and sales . It is concerned with the livestock and accessories that are
related with the aquarium shop.
PURCHASE DETAILS:
It consists of purchase details of the shop. The available stock level is updated
when a purchase is made. The stock that are to be purchased whenever the quantity of
stock goes down, below reorder level.
SALES DETAILS:
It consists of sales details of the shop. The stock level is deducted when a sales is
made. The items that are sold to customer are entered and bill is provided.
REPORT:
The following reports are possible in this proposed system. There are Purchase
and Sales Report of whole, Date wise Purchase and Sales Report, Stock Report.
1.3 HARDWARE SPECIFICATION
3
Monitor : 15” Microtek (color monitor)
Processor : Intel Pentium IV
Processor speed : 2.66 GHZ
Hard Disk : 40 GB
Main Memory : 256 MB
Cache Memory : 256 KB
Key Board : 104 keys (Acer)
Mouse : A4 Tech Scroll Mouse
1.4 SOFTWARE SPECIFICATION
Operating System : Windows 2000 professional
Front -End : Visual Basic 6.0
Back-End : Oracle 9i
ABOUT THE FRONT END:
4
Visual Basic creates an event driven application. Its code is executed in response
to events. It takes care of most of the details of programming in windows, leaving
the programmers to concentrate on the application. It also full range of capabilities and
features needed for good application development.
FEATURES OF VISUAL BASIC:
Visual Basic is a powerful, windows based professional client/server application
development too, which allows creating quickly and easily sophisticated windows
application for PC without being an expert in c++ or other programming language.
It is more users friendly and easy to learn commands.
It has easily interfaced with other software system such as word processor,
spreadsheet.
Visual Basic is user friendly and it is very powerful language with features of
ADO and OLE, Visual Basic 6.0 has powerful report generating features.
ORACLE 9i Features
It supports the largest of database potentially terabytes in size. To make
efficient use of expensive hardware devices; it allows the full of space usage.
It supports large number of concurrent users executing a variety of database
applications operating on the same data. It minimize the data convention and
guarantees the data concurrency.
It can selectively control the availability of data, at the database level and sub
database level. For example an administrator can dis-allow use of a specific
application so that the application’s data can be reloaded without affecting the
other applications.
To protect against unauthorized database access and use ,it provides fail-safe
security features to limit and monitor data access. These features make it easy
to manage even most complex design for access.
5
2. SYSTEM ANALYSIS
2.1 EXISTING SYSTEM
In the existing system , the statistical data of the shop could not be calculated
easily and also leads to erroneous by the work of manual . The existing system can not
provide accurate reports to the firm.
Drawbacks of the Existing System
The primary drawbacks in the existing system are listed below:
The process is time consuming and sometimes erroneous also leading to
invalid stock details.
Maintenance of record is not easy, because all process should maintained
manually
Less data security.
Updating the data is not quit simple.
Much delay in information searching and retrieving .
There is lot of human intervention that is needed in the manual process where
the error is common.
There is possibility of error occurrences when handled a data manually
2.2 NEED FOR PROPOSED SYSTEM
The proposed system is a GUI based application which takes care of the firm
management. The proposed system includes the process of maintaining the stock
information,
The drawback of the existing system provides the requirement for the
development of new system. Our proposed system solves this drawback and works
satisfactorily. The proposed system is good management information system. The
proposed system is based on computerizing the existing manual system.
6
2.3 OBJECTIVES OF PROPOSED SYSTEM
The proposed system has the following objectives that satisfy the user
willing.
Completely menu-driven & user-friendly.
. Reports are quickly available to the management.
Adding, selecting, updating, editing can be easily done.
It reduce cost and saves time
Providing more security than existing system
7
3. SYSTEM DESIGN
3.1 DATA FLOW DIAGRAM
Stock_master
Purchase_details
Stock_details
Sales_details
8
1. Stock
included
Admin
2. Purchas
e
3. Stock added
4. Sales
5.Billing
3.2 DATA BASE STURUCTURE
Table Name : Stock_master
Purpose : To store the stock details .
FIELD NAME DATA TYPE SIZE CONSTRIANTS DESCRIPTION
Stock_code number 5 Primary Key Stock code
Stock_name varchar 20 Not null Stock name
Type varchar 20 Not null Type of the
stock
Category varchar 20 Not null Category of the
stock
Table Name: Stock_details
Purpose : To store the stock details.
FIELD NAME DATA TYPE SIZE CONSTRIANTS DESCRIPTION
Stock_code number 5 Foreign Key Stock code
Quantity number 6 Notnull Quantity
Cost number 6 Not null Cost of the stock
Sale_price number 6 Not null Sale price of the
stock
9
Table Name: Purchase_details
Purpose : To store the purchase details.
FIELD NAME DATA TYPE SIZE CONSTRIANTS DESCRIPTION
P_date Date 10 Notnull Date of purchase
Stock_Code number 5 Foreign key Stock Code
Cost number 6 Not null Cost of the stock
Quantity number 6 Notnull Quantity
Vendor Varchar 25 Not null Name of the vendor
Table Name: Sales_details
Purpose : To store the sales details.
FIELD NAME DATA TYPE SIZE CONSTRIANTS DESCRIPTION
Bill_no Number 5 Primary key Bill number
S_date Date 10 Not null Date of sale
Cus_name Varchar 20 Not null Customer name
Stock_code Number 5 Foreign key Stock code
Quantity Number 6 Not null Quantity
10
3.3 INPUT DESIGN
User Interface Design specifies the details about the uses of all the modules. The
project contains the following modules,
Stock Maintenance
Purchase Module
Sales Module
Billing Module
Stock Maintenance Module
This module is used to store the new arrival of the stock and all the stocks
involved in the aquarium shop. All the stock details can be given through this module.
Purchase Module
This module is used to store the purchase of livestock and the accessories of the
aquarium shop with the supplier who supplies. It helps to identify from which supplier
the stock has been purchased.
Sales Module
This module is used to maintain the Sales details. This module contains the details
of the items with stock code, name, quantity, price along with the customer name.
Billing Module
The billing module is used to provide the bill to the customer with date and bill
number . Billing is done through the well efficient system, so that there is no possibility
of occurring any mistakes and the numbers in the bill is a reliable.
11
3.4 OUTPUT DESIGN
Reports specify the details about the output of all the modules. The project
contains the following Reports,
Stock Report
Purchase Report
Sales Report
Stock Report
This report is used to display all the stocks with the corresponding code,
quantity, cost of purchase and sale price of the item .
Purchase Report
Purchase report is taken by date wise and the entire purchase. Using this report the firm
knows about the purchase level of day by day . This report has the values of the stock
code, quantity, vendor, and cost of purchase with the date of purchase.
Sales Report
The Sales report represents the sold items. This report is taken by date wise and
the entire sales with the information about customer name, date of sale, stock code, sale
price and quantity. By using this report the firm can know the sales level.
12
4. TESTING & IMPLEMENTATION
4.1 SYSTEM TESTING
All the modules of this system were successfully implemented and testing of the
project completed using test data as well as real data collected from the firm. All the
reports and the screens are tested for their validity and values in the data tables are
checked for their correctness and consistency. After successful testing of the system, it is
ready for implementation.
Types of testing
Unit testing
Integration testing
User Acceptance testing
White box testing
Black box testing
UNIT TESTING:
In this testing, the modules in the project are tested independently with each and
every forms associated with their functions and sub routines and then it gives the valid
accurate data. This concentrates or focuses on individual modules independently, to
locate for the errors. No errors found.
INTEGRATION TESTING:
The individual modules namely purchase module, sales module, stock module were
linked together, at last the entire forms got together. Initially low volume of data is given
to all the modules and the outcome is taken to consideration with the old one. Stock
module is affected when the transactions were made. The data retrieval from the table
was slightly changed due to the order of parameters in the subroutine. It was observed and
resolved. The candidate system has passed the test .
13
USER ACCEPTANCE TESTING
User acceptance of the system is a key factor for the success of any system. The
system is tested for user acceptance by constantly keeping touch with prospective system
and user at the time of developing and making changes whenever required. This is done
regarding to the following points.
Input Screen Design
Output Screen Design
Format of the report and other output
User accepted the system satisfactorily.
WHITE BOX TESTING:
In this test, all the logical decisions involved in the project is tested by giving the
true and false sides of data and all the loops are executed. When anywhere in the project ,
the data of the procedure call went beyond the limit, it was caught and produce the alert
signal to user.
BLACK BOX TESTING:
It is not an alternative to white box techniques. It attempts to find errors in the
following categories.
Incorrect or missing functions => No errors were detected.
Interface errors => a recordset error occurred as recordset was not closed while
navigating user interface screen and it was corrected.
Errors in data as structures => Validation check was placed where the system
required input from the user. So that the occurrence of error in data was avoided .
.
4.2 IMPLEMENTATION
14
Implementation is one of the most important tasks in project is the phase in which
one has to be cautions because all the efforts undertaken during the project will be very
interactive. Implementation is the most crucial stage in achieving successful system and
giving the users confidence that the new system is workable and effective. Each program
is tested individually at the time of development using the sample data and has verified
that these programs link together in the way specified in the program specification. The
computer system and its environment are tested to the satisfaction of the user.
15
5. CONCLUSION & SUGGESTIONS
5.1. CONCLUSION
The candidate system is carried out to overcome the problems that are
faced in the manual system. The objectives of the candidate system have been designed
successfully. The computerization of aquarium shop activities reduces work load of
administrator, maintainer or owner as well as more user friendly.
The salient features of this project are:
High speed of transaction.
Avoids data redundancy.
Provides speed data retrieval with accuracy
5.2. SUGGESTIONS
The scope for further enhancement in the project is by making this into
online, so that the management can know the activities of other branches if the shop has
branches in somewhere.
16
BIBLIOGRAPHY
Elias M.Awad, “System Analysis and Design”, Galgotia Publications (P) Ltd.,
2nd Edition, 1996.
Gary Cornel, “Visual Basic 6.0 from Ground Up”, Tata McGraw-Hill
Publications, 4th Edition, 1999.
Ivan Bayross, “Oracle Developer 2000”, BPB publications, 1st Edition, 1997.
Roger S.Pressman, “Software Engineering”, Tata McGraw- Hill Book Company,
4th Edition, 1996.
17
APPENDICES
APPENDIX-A (CODING)
MDI Form Coding
Private Sub about_Click()Form19.ShowEnd SubPrivate Sub Accessories_Click()Form6.ShowEnd Sub
Private Sub accessrymaster_Click()Form4.ShowEnd Sub
Private Sub acclist_Click()Form14.ShowForm14.Label2.Visible = TrueForm14.MSFlexGrid2.Visible = TrueEnd Sub
Private Sub Exit_Click()'Unload MeEndEnd Sub
Private Sub fishlist_Click()Form14.ShowForm14.Label1.Visible = TrueForm14.MSFlexGrid1.Visible = TrueEnd Sub
Private Sub guideline_Click()Form17.ShowEnd Sub
Private Sub LiveStock_Click()Form5.ShowEnd Sub
Private Sub PurchaseAccessory_Click()Form8.ShowEnd Sub
Private Sub PurchaseLive_Click()Form7.ShowEnd Sub
18
Private Sub purchasreport_Click()Form15.ShowEnd Sub
Private Sub reportinterval_Click()Form18.ShowEnd Sub
Private Sub salereport_Click()Form12.ShowEnd Sub
Private Sub Sales_Click()Form9.ShowEnd Sub
Private Sub stockmaster_Click()Form3.ShowEnd Sub
Private Sub Stockreport_Click()DataReport2.ShowEnd Sub
Stock master codeDim db As New ADODB.ConnectionDim rs As New ADODB.RecordsetDim cmd As New ADODB.CommandDim scode As IntegerDim dbtype As New ADODB.ConnectionDim rstype As New ADODB.RecordsetDim rs2 As New ADODB.Recordset
Private Sub cmdsave_Click()If rs.BOF = True And rs.EOF = True Then adddElsers.MoveLastadddEnd IfEnd SubSub addd()rs.AddNewrs(0) = Combo1.Textrs(1) = Combo2.Textrs(2) = Text1.Textrs.UpdateMsgBox "Saved", vbOKOnly, "Confirmation"
19
cmdsave.Visible = FalseCommand1.Visible = TrueCombo1.Text = ""Combo2.Text = ""Text1.Text = ""Label5.Caption = ""End Sub
Private Sub Combo2_Click()If (Combo2.Text = "others") ThenText2.Visible = TrueEnd IfEnd Sub
Private Sub Combo2_GotFocus()Combo2.ClearCombo2.AddItem ("Tropical")Combo2.AddItem ("Cichlids")Combo2.AddItem ("Vasthu")Combo2.AddItem ("Tetra")Combo2.AddItem ("others")rstype.MoveFirstWhile Not rstype.EOF Combo2.AddItem (rstype(0)) rstype.MoveNextWendEnd Sub
Private Sub Command1_Click()If rs.EOF = True And rs.BOF = True Then scode = 101 Label5.Caption = "New Code is:" & scode Combo1.AddItem Val(scode) 'cmdsave.Visible = TrueElse rs2.Open "select * from stock_master where stock_code=(select max(stock_code) from stock_master)", db, adOpenDynamic, adLockOptimistic scode = rs2(0) + 1 Label5.Caption = "New Code is:" & scode Combo1.AddItem Val(scode) rs2.Close 'cmdsave.Visible = True End If
Combo1.SelText = scode'Command1.Visible = Falsecmdsave.Visible = TrueEnd Sub
20
Private Sub Command2_Click()db.Close'rs.Closedbtype.CloseUnload MeMDIForm1.ShowEnd Sub
Private Sub Command3_Click()'Text2.Visible = True
End Sub
Private Sub Form_Load()Combo2.AddItem ("Tropical")Combo2.AddItem ("Cichlids")Combo2.AddItem ("Vasthu")Combo2.AddItem ("Tetra")Combo2.AddItem ("others")db.Open "Provider=MSDASQL.1;Password=gasc;Persist Security Info=True;User ID=1004030;Data Source=DSNAqua"rs.Open "select * from stock_master", db, adOpenDynamic, adLockOptimistic
If rs.EOF = True And rs.BOF = True Then 'Else
rs.MoveFirstWhile rs.EOF = False Combo1.AddItem (rs(0)) rs.MoveNextWendEnd If
StatusBar1.Panels.ClearWith StatusBar1.Panels Set pn1 = .Add(1, , , sbrDate) Set pn2 = .Add(2, , , sbrTime) Set pn1 = .Add(3)End WithStatusBar1.Panels(3).Text = "Status"StatusBar1.Panels(3).AutoSize = sbrSpring
dbtype.Open "Provider=MSDASQL.1;Password=gasc;Persist Security Info=True;User ID=1004030;Data Source=DSNAqua"rstype.Open "select * from fishtype", dbtype, adOpenDynamic, adLockOptimistic
End Sub
21
Private Sub Text1_GotFocus()StatusBar1.Panels(3) = "Name in Characters only"End Sub
Private Sub Text1_LostFocus()If Text1.Text <> "" And Combo1.Text <> "" And Combo2.Text <> "" Then cmdsave.Visible = TrueElse MsgBox "Enter the Name", vbOKOnly + vbInformation, "Info"End If End Sub
Private Sub Text2_KeyPress(KeyAscii As Integer)KeyAscii = Asc(UCase(Chr(KeyAscii))) If KeyAscii = 13 Then rstype.AddNew rstype(0) = Text2.Text MsgBox " Added in Items", vbOKOnly, "Info" rstype.Update Text2.Visible = False End If 'Text2.Visible = FalseEnd Sub
PURCHASE & SALES Datewise Report
Dim db As New ADODB.ConnectionDim rs As New ADODB.RecordsetDim db2 As New ADODB.ConnectionDim rs2 As New ADODB.RecordsetDim purtot As SingleDim saltot As SingleDim n As Integer
Private Sub Command1_Click()MSFlexGrid1.Enabled = TrueMSFlexGrid1.Clearn = 0MSFlexGrid1.TextMatrix(0, 0) = "DATE"MSFlexGrid1.TextMatrix(0, 1) = "code"MSFlexGrid1.TextMatrix(0, 2) = "Name"MSFlexGrid1.TextMatrix(0, 3) = "Cost"MSFlexGrid1.TextMatrix(0, 4) = "quantity"MSFlexGrid1.TextMatrix(0, 5) = "vendor"
While Not rs.EOFrs.MoveFirst
22
If (DTPicker1.Value <= rs(0) And (DTPicker2.Value) >= rs(0)) Thenn = n + 1MSFlexGrid1.Rows = MSFlexGrid1.Rows + 1MSFlexGrid1.TextMatrix(n, 0) = rs(0)MSFlexGrid1.TextMatrix(n, 1) = rs(2)MSFlexGrid1.TextMatrix(n, 2) = rs(3)MSFlexGrid1.TextMatrix(n, 3) = rs(4)MSFlexGrid1.TextMatrix(n, 4) = rs(5)MSFlexGrid1.TextMatrix(n, 5) = rs(6)purtot = purtot + Val(rs(4)) * Val(rs(5))
End Ifrs.MoveNext
WendLabel4.Caption = " Total Cost Of purchase:" & Space(3) & Val(purtot)End Sub
Private Sub Command2_Click()MSFlexGrid1.Enabled = TrueMSFlexGrid1.Clearn = 0MSFlexGrid1.Cols = 5MSFlexGrid1.TextMatrix(0, 0) = "DATE"MSFlexGrid1.TextMatrix(0, 1) = "code"MSFlexGrid1.TextMatrix(0, 2) = "Name"MSFlexGrid1.TextMatrix(0, 3) = "Price"MSFlexGrid1.TextMatrix(0, 4) = "quantity"'MSFlexGrid1.TextMatrix(0, 5) = "vendor"
rs2.MoveFirstWhile Not rs2.EOFIf (DTPicker1.Value <= rs2(1) And (DTPicker2.Value) >= rs2(1)) Thenn = n + 1MSFlexGrid1.Rows = MSFlexGrid1.Rows + 1MSFlexGrid1.TextMatrix(n, 0) = rs2(1)MSFlexGrid1.TextMatrix(n, 1) = rs2(3)MSFlexGrid1.TextMatrix(n, 2) = rs2(4)MSFlexGrid1.TextMatrix(n, 3) = rs2(5)MSFlexGrid1.TextMatrix(n, 4) = rs2(6)'MSFlexGrid1.TextMatrix(n, 5) = rs(6)saltot = saltot + Val((rs2(5)) * Val(rs2(6)))
End Ifrs2.MoveNextWend
Label4.Caption = " Total Cost Of Sales:" & Space(3) & Val(saltot)End Sub
23
Private Sub Command3_Click()db.Closedb2.CloseUnload MeEnd Sub
Private Sub Form_Load()db.Open "Provider=MSDASQL.1;Password=gasc;Persist Security Info=True;User ID=1004030;Data Source=DSNAqua"rs.Open "select * from livestock_purchase", db, adOpenDynamic, adLockOptimistic'n = 0MSFlexGrid1.Enabled = FalseMSFlexGrid1.Rows = 1MSFlexGrid1.Cols = 6MSFlexGrid1.TextMatrix(0, 0) = "DATE"MSFlexGrid1.TextMatrix(0, 1) = "code"MSFlexGrid1.TextMatrix(0, 2) = "Name"MSFlexGrid1.TextMatrix(0, 3) = "Cost"MSFlexGrid1.TextMatrix(0, 4) = "quantity"MSFlexGrid1.TextMatrix(0, 5) = "vendor"
db2.Open "Provider=MSDASQL.1;Password=GASC;Persist Security Info=True;User ID=1004030;Data Source=DSNAqua"rs2.Open "select * from sales_det", db2, adOpenDynamic, adLockOptimisticEnd Sub
Billing Form Code
Dim db As New ADODB.ConnectionDim rs As New ADODB.RecordsetDim de As String'Public bno As Integer
Private Sub Command1_Click()Command1.Visible = FalseCommand2.Visible = True
'de=MsgBox "printing File...", vbinfo + vbYesNo, "Print File"; Form10.PrintForm End Sub
Private Sub Command2_Click()Unload MeEnd Sub
Private Sub Form_Load()Dim query, total As String
24
Dim no, net As Integer'bno = Val(Form9.Label4.Caption)db.Open "Provider=MSDASQL.1;Password=gasc;Persist Security Info=True;User ID=1004030;Data Source=DSNAqua"Label8.Caption = Label8.Caption & Space(3) & Str(Date)Label2.Caption = Label2.Caption & Space(3) & Str(bno)'query = "select * from sales_det where billNo like ' %" & bno & " %'"query = "select * from sales_det where billno=' " & bno & " ' "'query = "select * from sales_det where billNo=3 "rs.Open query, db, adOpenDynamic, adLockOptimistic
Do While Not rs.EOF List1.AddItem rs(3) List2.AddItem rs(4) List5.AddItem rs(5) List4.AddItem rs(6) total = Val(rs(5)) * Val(rs(6)) List3.AddItem (Str(Trim(total))) net = net + Val(total) rs.MoveNext Loop db.Close no = List1.ListCount Label9.Caption = Str(net) Label10.Caption = Label10.Caption & Space(5) & Str(no) End Sub
25
APPENDIX-B (SCREEN FORMATS)
A1. MAIN FORM
26
A2. STOCK INCLUSION
27
A3. ACCESSORY INCLUSION
28
A4. LIVESTOCK DETAILS
29
A5. ACCESSORY DETAILS
30
A6. PURCHASE ENTRY OF LIVESTOCK
31
A7. PURCHASE ENTRY OF ACCESSORY
32
A8. SALES ENTRY
33
A9. SALES RECEIPT
34
A10. PURCHASE REPORT FORM
35
A11. SALES REPORT FORM
36
APPENDIX-B (REPORTS)
B1.STOCK REPORT
37
B2.PURCHASE REPORT
38
B3.DATEWISE PURCHASE REPORT
39
B4.SALES REPORT
40
B5.DATEWISE SALES REPORT
41