You are on page 1of 41

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.

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.

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 Monitor Processor Processor speed Hard Disk Main Memory Cache Memory Key Board Mouse : : : : : : : : 15 Microtek (color monitor) Intel Pentium IV 2.66 GHZ 40 GB 256 MB 256 KB 104 keys (Acer) A4 Tech Scroll Mouse

1.4 SOFTWARE SPECIFICATION Operating System Front -End Back-End : : : Windows 2000 professional Visual Basic 6.0 Oracle 9i

ABOUT THE FRONT END: 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 applications 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.

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 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

manually

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. proposed system is based on computerizing the existing manual system. The

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

3. SYSTEM DESIGN

3.1 DATA FLOW DIAGRAM

Admin
1. Stock included 2. Purchas e 3. Stock added

Stock_master

Purchase_details

4. Sales

Stock_details

5.Billin g Sales_details

3.2 DATA BASE STURUCTURE Table Name : Stock_master Purpose : To store the stock details .

FIELD NAME Stock_code Stock_name Type Category

DATA TYPE number varchar varchar varchar

SIZE 5 20 20 20

CONSTRIANTS Primary Key Not null Not null Not null

DESCRIPTION Stock code Stock name Type of the stock Category of the stock

Table Name: Stock_details Purpose : To store the stock details.

FIELD NAME Stock_code Quantity Cost Sale_price

DATA TYPE number number number number

SIZE 5 6 6 6

CONSTRIANTS Foreign Key Notnull Not null Not null

DESCRIPTION Stock code Quantity Cost of the stock Sale price of the stock

Table Name: Purchase_details Purpose : To store the purchase details. DATA TYPE Date number number number Varchar SIZE 10 5 6 6 25 CONSTRIANTS Notnull Foreign key Not null Notnull Not null DESCRIPTION Date of purchase Stock Code Cost of the stock Quantity Name of the vendor

FIELD NAME P_date Stock_Code Cost Quantity Vendor

Table Name: Sales_details Purpose : To store the sales details. DATA TYPE Number Date Varchar Number Number SIZE 5 10 20 5 6 CONSTRIANTS Primary key Not null Not null Foreign key Not null DESCRIPTION Bill number Date of sale Customer name Stock code Quantity

FIELD NAME Bill_no S_date Cus_name Stock_code 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 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. the stocks with the corresponding code,

quantity, cost of purchase and sale price of the item .

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 .

14

4.2 IMPLEMENTATION 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.Show End Sub Private Sub Accessories_Click() Form6.Show End Sub Private Sub accessrymaster_Click() Form4.Show End Sub Private Sub acclist_Click() Form14.Show Form14.Label2.Visible = True Form14.MSFlexGrid2.Visible = True End Sub Private Sub Exit_Click() 'Unload Me End End Sub Private Sub fishlist_Click() Form14.Show Form14.Label1.Visible = True Form14.MSFlexGrid1.Visible = True End Sub Private Sub guideline_Click() Form17.Show End Sub Private Sub LiveStock_Click() Form5.Show End Sub Private Sub PurchaseAccessory_Click() Form8.Show End Sub Private Sub PurchaseLive_Click() Form7.Show End Sub 18

Private Sub purchasreport_Click() Form15.Show End Sub Private Sub reportinterval_Click() Form18.Show End Sub Private Sub salereport_Click() Form12.Show End Sub Private Sub Sales_Click() Form9.Show End Sub Private Sub stockmaster_Click() Form3.Show End Sub Private Sub Stockreport_Click() DataReport2.Show End Sub Stock master code Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Dim cmd As New ADODB.Command Dim scode As Integer Dim dbtype As New ADODB.Connection Dim rstype As New ADODB.Recordset Dim rs2 As New ADODB.Recordset Private Sub cmdsave_Click() If rs.BOF = True And rs.EOF = True Then addd Else rs.MoveLast addd End If End Sub Sub addd() rs.AddNew rs(0) = Combo1.Text rs(1) = Combo2.Text rs(2) = Text1.Text rs.Update MsgBox "Saved", vbOKOnly, "Confirmation" 19

cmdsave.Visible = False Command1.Visible = True Combo1.Text = "" Combo2.Text = "" Text1.Text = "" Label5.Caption = "" End Sub Private Sub Combo2_Click() If (Combo2.Text = "others") Then Text2.Visible = True End If End Sub Private Sub Combo2_GotFocus() Combo2.Clear Combo2.AddItem ("Tropical") Combo2.AddItem ("Cichlids") Combo2.AddItem ("Vasthu") Combo2.AddItem ("Tetra") Combo2.AddItem ("others") rstype.MoveFirst While Not rstype.EOF Combo2.AddItem (rstype(0)) rstype.MoveNext Wend End 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 = True Else 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 = False cmdsave.Visible = True End Sub

20

Private Sub Command2_Click() db.Close 'rs.Close dbtype.Close Unload Me MDIForm1.Show End 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.MoveFirst While rs.EOF = False Combo1.AddItem (rs(0)) rs.MoveNext Wend End If StatusBar1.Panels.Clear With StatusBar1.Panels Set pn1 = .Add(1, , , sbrDate) Set pn2 = .Add(2, , , sbrTime) Set pn1 = .Add(3) End With StatusBar1.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 = True Else 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 = False End Sub PURCHASE & SALES Datewise Report Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Dim db2 As New ADODB.Connection Dim rs2 As New ADODB.Recordset Dim purtot As Single Dim saltot As Single Dim n As Integer Private Sub Command1_Click() MSFlexGrid1.Enabled = True MSFlexGrid1.Clear n=0 MSFlexGrid1.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.EOF rs.MoveFirst 22

If (DTPicker1.Value <= rs(0) And (DTPicker2.Value) >= rs(0)) Then n=n+1 MSFlexGrid1.Rows = MSFlexGrid1.Rows + 1 MSFlexGrid1.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 If rs.MoveNext Wend Label4.Caption = " Total Cost Of purchase:" & Space(3) & Val(purtot) End Sub Private Sub Command2_Click() MSFlexGrid1.Enabled = True MSFlexGrid1.Clear n=0 MSFlexGrid1.Cols = 5 MSFlexGrid1.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.MoveFirst While Not rs2.EOF If (DTPicker1.Value <= rs2(1) And (DTPicker2.Value) >= rs2(1)) Then n=n+1 MSFlexGrid1.Rows = MSFlexGrid1.Rows + 1 MSFlexGrid1.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 If rs2.MoveNext Wend Label4.Caption = " Total Cost Of Sales:" & Space(3) & Val(saltot) End Sub

23

Private Sub Command3_Click() db.Close db2.Close Unload Me End 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 = 0 MSFlexGrid1.Enabled = False MSFlexGrid1.Rows = 1 MSFlexGrid1.Cols = 6 MSFlexGrid1.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, adLockOptimistic End Sub Billing Form Code Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Dim de As String 'Public bno As Integer Private Sub Command1_Click() Command1.Visible = False Command2.Visible = True 'de=MsgBox "printing File...", vbinfo + vbYesNo, "Print File"; Form10.PrintForm End Sub Private Sub Command2_Click() Unload Me End 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

You might also like