SlideShare a Scribd company logo
1 of 135
STI-PASAY
Computerized Inventory System and POS of Brothers Burger
In Partial Fulfilment of the requirements for the
Diploma in Information of Technology Program
By:
Jonick Boguat
Anthony Ventutra
Mary Kris Oliver
Elma Juelo
Mr. Arnel Almedora
Thesis Adviser
March 05, 2014
1.0 INTRODUCTION
The important of Studying in inventory system is to keep track of the
flow of goods. Inventory system are designed to tell you where each
product is going how much is being sold when you need to order more
and which products produce the greatest profit. All business rely on
inventory system play this vital role by accounting for all goods or
products. They also show where a particular item is in the flow of sales
whether it is in a warehouse or on a store shelf.
The main purpose of inventory system is simple to enable a business
take stock and appropriately manage their goods and products.
Inventory System is a process done by a business that sells product in
order to help analyze how the business is performing.
1.1BACKGROUND STUDY
The advancement of technology in society makes life easy;
the only burden that 20th century has is the accelerated lifestyle
and living an active pace life. The computerization of almost all
the systems in the society has made all transaction fast and
secure.
For restaurant owners, keeping track of food inventory might
be the most important task they should know how to do.
Knowledge of how to take food inventory is the first line of
defence against waste and employee theft. Fortunately, all you
need to do is follow a few simple steps, and you will be able to
easily track waste and guard against theft.
We have a lot of Transaction Processing System and one of
this is the Computerized Inventory System and the transaction
processing system is the way to upgrade the manual transaction
in an organization. Now in a new era of computer and
telecommunication industry, the inventory can be made through
the use of computer anywhere. This system will help them to
their inventory using the fastest and easiest way using the
modern technology.
Inventory can be classified by different perspectives. By
stage of product realization, inventory can be classified as raw
material, work-in process, or finished goods. By venue,
inventory can be with retailers, wholesalers, suppliers,
manufacturers, etc. By purpose, inventory can be in pipeline
and as work-in-process, for safety against out of stock, for
anticipation of large demand, for decoupling of activities and of
players, and for psychology to create and increase demand.
1.2STATEMENT OF OBJECTIVE
1.2.1 General Objectives
 How to develop and implement a computerize
inventory system?
 To develop a computerized Inventory
system and POS for Brothers Burger
Inc. that will help and make their
transactions of inventories fast, smooth,
and secured.
1.2.2 Specific Objectives
 To develop a module that will easy to monitor
the stocks and easy to generate a report.
 The proponent should create a module
that where monitor fast and easy the
entire product inside the storage/stock
room and the same time to easy to
generate a report.
1.3 SIGNIFICANCE OF THE STUDY
 The purpose of this study is to make the
inventory system of Brothers Burger Inc.
competent and well-organized.
 To the admin their transaction for accessing for
an inventory will be more efficient and much
easier.
1.4SCOPE AND LIMITATION
1.4.1 Scope
Scopes of the system are the following.
 Security
 The system has a capability to secure
and retrieve a password of admin/user if
he/she remembered their pin code.
 Inventory
 The system has a capability to easy to
inventory the all product in the Storage
room.
 Generation of report
 The system has a capability to accurate
generation of reports
 File Maintenance
 The system includes file maintenance
that would automatically add, delete,
save, Update, and retrieve information
of files.
 To be able to know the remaining
stocks.
 To be able to know what items/products
are fast moving?
 To be able to know what are the items
are going to pull out for slow moving.
 To be able to know how much items are
already sold.
 To be able to know what product are in
critical stage.
1.4.2 Limitation
Scope of the system is the following.
 Some data’s are not based on the database.
 Can Show all information about each product.
 Not an Online transaction
 No major credit card transaction during
payment ,only cash payment
 The proposed system is intended only to
Brother Burger Company.
2.0METHODOLOGY OF THE STUDY
2.1System water fall
2.1.1 Feasibility
Feasibility study is used to determine if the project
should get the go-ahead. If the project is to proceed,
the feasibility study will produce a project plan and
budget estimates for the future stages of
development.
 In this phase, the proponent conducted a study
of what software is applicable for the chosen
company.
2.1.2 Analysis
Analysis gathers the requirements for the system.
This stage includes a detailed study of the business
needs of the organization. Options for changing the
business process may be considered.
 In this phase, the proponent analyzed all the
major and minor problems and the factors that
may influence their study.
2.1.3 Design
Design focuses on high level design like, what
programs are needed and how are they going to
interact, low-level design (how the individual
programs are going to work), interface design (what
are the interfaces going to look like) and data design
(what data will be required).
 In this phase, the proponent focuses on the
design of the program and its function and to
be a user friendly system.
2.1.4 Implementation
In this phase the designs are translated into code.
Computer programs are written using a conventional
programming language or an application generator.
Programming tools like Compilers, Interpreters, and
Debuggers are used to generate the code. Different
high level programming languages like C, C++,
Pascal, and Java are used for coding. With respect to
the type of application, the right programming
language is chosen.
 In this phase, the proponent chooses what
programming language is to be used for the
architectural construction of the program and
start coding the system.
2.1.5 Testing
In this phase the system is tested. Normally programs
are written as a series of individual modules, this
subject to separate and detailed test. The system is
then tested as a whole. The separate modules are
brought together and tested as a complete system.
The system is tested to ensure that interfaces
between modules work (integration testing), the
system works on the intended platform and with the
expected volume of data (volume testing) and that the
system does what the user requires (acceptance/beta
testing).
 In this phase, the proponent checked and
tested the program to find errors and difficulties
so that the proponents do be having an enough
time to repair it.
2.1.6 Maintenance
Inevitably the system will need maintenance.
Software will definitely undergo change once it is
delivered to the customer. There are many reasons
for the change. Change could happen because of
some unexpected input values into the system. In
addition, the changes in the system could directly
affect the software operations. The software should
be developed to accommodate changes that could
happen during the post implementation period.
 In this phase, the proponent is continues
conducting research and study to continuously
develop the system.
3.0DATA GARTHERING
Data gathering or data collection is the process of gathering and collecting
information. Information is collected, to keep on record and is used to
make decisions plus sell the information to others.
3.1Research
Research can be defined to be search for knowledge or any
systematic investigation to establish facts. The primary purpose
for applied research (as opposed to basic research) is
discovering, interpreting, and the development of methods and
systems for the advancement of human knowledge on a wide
variety of scientific matters of our world and the universe.
 In this phase, the proponent used a search engine to
search information with regards the system and the
books for additional information.
3.2Observation
Observation refers to the systematic examination of real-
time processes or operations with the goal of identifying
needs/challenges or improving processes and
practices—that is, what can be seen.
The proponents observe the process in order to make it
easy for the research. This process gathers new ideas for
the system improvement
 In this phase, the proponents observe the interacts with
the Admin/user and possible that in need of the system
for the Company asking questions about how their
current systems possible to be combined.
3.3 Questionnaire
A questionnaire is a means of eliciting the feelings, beliefs,
experiences, perceptions, or attitudes of some sample of
individuals. As a data collecting instrument, it could be
structured or unstructured.
In this stage the proponents asks practical answerable
question based on their actual problems that they faced in
their current system.
 In this phase, the proponent asked some practical
answerable questions on how their transaction work, and
the problem that there encounter in their current system.
3.4 Interview
An interview is a conversation between two or more people (the
interviewer and the interviewee) where questions are asked by
the interviewer to obtain information from the interviewee.
 In this phase, the proponent conducted an interview with
the Admin to gather necessary information about for the
program
4.0EXISTING SYSTEM
4.1Company Background
Brothers Burger was established in 1999 at the height of
Asian economic crises.
Brothers Burger is composed and managed by an all
Filipino team who strongly believe and advocate
entrepreneurship.
They started with one store in Ortigas, Pasig City. Their
company, now on its 14TH year, has expanded and has a total of
Twenty One stores of which Sixteen are Company owned
stores and five are franchise stores.
Locations are generally in Metro Manila, and provincial sites,
namely Baguio, Laguna, and Davao.
4.1Description of System
To achieve the aims & objectives of this project, the main
things are to identify the main features that involved in the
system. In this scenario, there are two types of users; they are
Admin, users/ employee. All these users should be able to login
to the system with separate Authentications and limitations.
New users can be registered only under admin concern. This
information can be retrieved given specifications and the
availability of the process are updated and done by the admin.
So there won’t be unavailability problem regarding to the
criteria. The proponents are going to used Visual Basic in
making the system interface
4.2 Problem Areas
 Lack of storage common errors
 Manual system are also slow to operate
 Time consuming
 Slow retrieval of data
5.0THE PROPOSED SYSTEM
 It includes company profile, how they perform application and
problem areas. It is computerized system that will reduce errors
and cost by saving time using data more effectively.
 In the manual Inventory System, a company needs to go
through a lot of work to do and the process is done one by one.
However, on the automated inventory system it’s just a
button/click keyboard away to access the records of
transactions.
 The progression of the Inventory System will be presenting in
this Chapter.
 Manual is a definition of something to work with a lot of exerting
efforts by hands, and are not the most efficient and good. It’s a
lot of work before you get the outcome. Whereas the automates
system is derived from “automation” meaning that is machine-
driven by a person or machine controlled with little or very less
exertion of efforts, this it makes easier to generate an output.
5.1Data Flow Diagram
6.0
7.0
8.0
9.0
10.0
11.0
12.0
13.0
14.0
15.0
16.0
17.0
5.0 making the system interface
Window Form Code
Private SubCommand1_Click()
UnloadMe
End Sub
Private SubForm_Load()
Image1.Visible=True
End Sub
Private SubTimer1_Timer()
Me.Image1.Left=Me.Image1.Left+10
If Me.Image1.Left= 2000 Then
Frmwindow.Image1.Visible =False
Frmwindow.Label3.Visible=False
Call MsgBox("loadingcomplete....",vbInformation,"openingtosystem")
Unload Me
frmmain.Show
End If
End Sub
Login FormCode
PublictlogAsString
Dimid AsString
Dimidd,uname As String
Private SubCommand1_Click()
strsql = "select*from tblemployeedetailswhere empnum='"& Text1& "' and ucode='"
& Text2 & "' "
db.Openstrcon
Setrs = db.Execute(strsql)
If rs.BOF = False Andrs.EOF = False Then
frmmain.menulogin.Caption="Systemisusedby"& id
frmmain.menutransaction.Enabled=True
frmmain.menufile.Enabled=True
frmmain.menuclose.Enabled=True
frmmain.menupdateitem.Enabled=False
frmmain.menuupdate.Enabled=False
frmmain.menuprint.Enabled=False
frmmain.menuadd.Enabled=False
frmmain.menuview.Enabled=True
frmmain.menuupadteuser.Enabled=False
frmmain.menuclose.Enabled=True
frmmain.menucreate.Enabled=False
frmmain.menureport.Enabled=False
id = rs(0)
idd= rs(2)
db.Close
Unload Me
Call MsgBox("Acessgaranteed.."&"welcome "&id,vbInformation,"Accesstobb
inventorysystem")
MsgBox "Welcome Back" & id
frmmain.menuclose.Caption="logout"
frmmain.Text4.Text="" & id
frmmain.Text1.Text="" & idd
frmmain.Text3.Text="" & Date
frmmain.Text2.Text="" & Time
frmmain.Frame1.Visible =True
frmmain.menulogin.Caption="Systemisusedby"& id
frmmain.menulogin.Enabled=False
uname = id
Else
db.Close
Text1 = ""
Text2 = ""
Call MsgBox("Sorrythe Invalidaccount",vbcrittical,"Invalid")
Text1.SetFocus
End If
If idd = "admin"Or id= "admin"Then
Call MsgBox("welcome administrator..",vbInformation,"adminlogin")
frmmain.menufile.Enabled=True
frmmain.menupurchase.Enabled=True
frmmain.menusecurity.Enabled=True
frmmain.menutransaction.Enabled=True
frmmain.menuclose.Enabled=True
frmmain.menupdateitem.Enabled=True
frmmain.menuupdate.Enabled=True
frmmain.menuprint.Enabled=True
frmmain.menuadd.Enabled=True
frmmain.menuview.Enabled=True
frmmain.menuupadteuser.Enabled=True
frmmain.menuclose.Enabled=True
frmmain.menucreate.Enabled=True
frmmain.menureport.Enabled=True
End If
strsql = "insertintotbltimelog(time_login,position_type,date_login,username) values('"
& Time & "','" & idd& "','" & Date & "','" & uname & "')"
db.Openstrcon
Setrs = db.Execute(strsql)
db.Close
End Sub
Private SubCommand2_Click()
UnloadMe
End Sub
Private SubForm_Load()
Withfrmlogin
.Top = (Screen.Height - .Height) /2
.Left= (Screen.Width - .Width) /2
End With
End Sub
Private SubText1_Click()
Text1.Text= ""
End Sub
Main Form Code
Dimtitle,titledanceAsString
Dimtout As Integer
Dimcountertitle AsInteger
Private Sub Command1_Click()
Me.Frame1.Visible =False
End Sub
Private SubCommand2_Click()
Me.Frame2.Visible =False
End Sub
Private SubForm_Load()
menuupadteuser.Enabled=False
menuadd.Enabled=False
menuupdate.Enabled=False
menuview.Enabled=False
menufile.Enabled=False
menutransaction.Enabled=False
menucreate.Enabled=False
frmmain.menureport.Enabled=False
title = "BROTHER BURGER SALES ANDINVENTORYSYSTEMV1.2
BY: ITP22PM"
End Sub
Private SubForm_Unload(Cancel AsInteger)
If MsgBox("Are yousure youwant to close the application",
vbQuestion+vbYesNo,"CLOSE") =vbYesThen
Unload Me
Else
frmmain.Refresh
End If
End Sub
Private SubLabel1_Click()
End Sub
Private SubFrame2_DragDrop(Source AsControl,XAsSingle,Y
As Single)
End Sub
Private Submenuclose_Click()
If menuclose.Caption="Close"Then
If MsgBox("Are yousure youwantto close the application",
vbQuestion+vbYesNo,"CLOSE") =vbYesThen
tout= Val(Text3.Text)
strsql = "insertintotbltimelog(time_logout) values('"&
Val(Text3.Text) &"')"
db.Openstrcon
Setrs = db.Execute(strsql)
db.Close
UnloadMe
End If
Else
If MsgBox("Are yousure youwantto LOGOFF",vbQuestion+
vbYesNo,"LOGOFF") =vbYesThen
UnloadMe
End If
End If
End Sub
Private Submenucreate_Click()
frmuserupdate.Caption="Create A New Account"
frmuserupdate.Frame2.Visible =False
frmuserupdate.Frame1.Visible =True
frmuserupdate.Show (1)
End Sub
Private Submenuitem_Click()
frmadd.Frame1.Visible =True
frmadd.Frame2.Visible =False
frmadd.Caption="Addnew Item"
frmadd.Show (1)
End Sub
Private Submenulogin_Click()
If menulogin.Caption="Login"Then
frmlogin.Show(1)
Else
If MsgBox("Are yousure do youwan't to Log-off ?",
vbQuestion+vbYesNo,"Logoff")=vbYesThen
Form_Load
menulogin.Caption="Login"
menutransaction.Enabled=False
menuclose.Caption="Close"
If menulogin.Caption="logout"Then
If MsgBox("Are yousure youwantto close the application",
vbQuestion+vbYesNo,"CLOSE") =vbYesThen
UnloadMe
End If
Else
If MsgBox("Are yousure youwantto LOGOFF",vbQuestion+
vbYesNo,"LOGOFF") =vbYesThen
UnloadMe
End If
End If
End If
End If
End Sub
Private Submenupdateitem_Click()
frmupdate.Listview1.Visible =True
frmupdate.Frame1.Visible =True
frmupdate.Frame2.Visible =False
frmupdate.Show(1)
End Sub
Private Submenuprint_Click()
frmreport.PrintForm
UnloadMe
End Sub
Private Submenuprod_Click()
FRMVIEW.Frame1.Visible =True
FRMVIEW.Frame2.Visible =False
FRMVIEW.Show (1)
End Sub
Private Submenupurchase_Click()
frmpurchase.Show (1)
End Sub
Private Submenureport_Click()
frmreport.Show
End Sub
Private Submenusup_Click()
FRMVIEW.Frame1.Visible =False
FRMVIEW.Frame2.Visible =True
FRMVIEW.Show (1)
End Sub
Private Submenusupplier_Click()
frmadd.Caption="Addnew Supplier"
frmadd.Frame1.Visible =False
frmadd.Frame2.Visible =True
frmadd.Show (1)
End Sub
Private Submenuupadteuser_Click()
frmuserupdate.Caption="Update Personal Information"
frmuserupdate.Frame2.Visible =True
frmuserupdate.Frame1.Visible =False
frmuserupdate.Show (1)
End Sub
Private Submenuupdatesupplier_Click()
frmupdate.Listview1.Visible =False
frmupdate.Frame1.Visible =False
frmupdate.Frame2.Visible =True
frmupdate.Show(1)
End Sub
Private Submenuus_Click()
frmquan.Show
frmquan.Frame2.Visible =True
frmquan.Frame1.Visible =False
frmquan.Caption="AboutUs."
End Sub
Private SubTimer1_Timer()
titledance =Left(title,countertitle)
Me.Caption= titledance
countertitle =countertitle+1
If countertitle >=Len(title) +3 Then
countertitle =1
titledance =""
End If
End Sub
Add Form Code
Private SubCommand1_Click()
UnloadMe
End Sub
Private SubCommand2_Click()
UnloadMe
End Sub
Private SubCommand3_Click()
If TXTBRAND = "" Or TXTPRODUCTID= "" Or TXTPRODUCTNAME
= "" Or TXTBRANDSPECS= "" Or TXTUNITPRICE= "" Or TXTQUANTITY =
"" Then
Call MsgBox("Pleasefillupthe all fields")
Else
Dim NYMAs String
NYM = InputBox("Pleaseenterthe SupplierID","SUPPLIER
INFO")
If Len(NYM) <= 3 Then
Call MsgBox("Please enterthe name of supplier",
vbInformation,"InventorySystem")
Else
strsql = "insertinto
tblproduct(product_availability,product_name,product_category,unitpri
ce,quantity,product_id) values('"&TXTQUANTITY & "','" &
TXTPRODUCTNAME & "','" & Combo1.Text& "','" & TXTUNITPRICE&
"','" & TXTQUANTITY& "','" & NYM & "')"
db.Openstrcon
Setrs = db.Execute(strsql)
strsql = "insertintotblbrand(brand_name,brand_specs)
values('"& TXTBRAND& "','" & TXTBRANDSPECS& "')"
Setrs = db.Execute(strsql)
db.Close
Call MsgBox("One Producthasbeenadded",vbInformation,
"Success")
burahin
End If
End If
End Sub
Private SubCommand4_Click()
If txtnameofsupplier="" Or txtaddress="" Or txttin= "" Then
Call MsgBox("Pleasefillupthe all fields",vbCritical +
vbExclamation,"infofrom system")
Else
DimSNYMAs String
SNYM= InputBox("Pleaseenterthe SupplierID","SUPPLIER
INFO")
strsql = "insertinto
tblsupplierdetails(suppliername,supplieraddress,suppliertin,supplierid)
values('"& txtnameofsupplier&"','" & txtaddress&"','" & txttin& "','"
& SNYM & "')"
db.Openstrcon
Setrs = db.Execute(strsql)
db.Close
Call MsgBox("One New Supplierhasbeenadded",
vbInformation+vbExclamation,"Success")
txtnameofsupplier.Text=""
txtaddress.Text=""
txttin.Text=""
End If
End Sub
Private SubForm_Load()
strsql = "select*from tblcategory"
db.Openstrcon
Setrs = db.Execute(strsql)
While Notrs.EOF= True
Me.Combo1.AddItemrs(1)
rs.MoveNext
Wend
db.Close
Withfrmadd
.Top = (Screen.Height - .Height) /2
.Left= (Screen.Width - .Width) /2
End With
WithFrame1
.Left= (frmadd.Width - .Width) /2
End With
WithFrame2
.Top = (frmadd.Height - .Height) /2
.Left= (frmadd.Width - .Width) /2
End With
End Sub
Subburahin()
TXTBRAND= ""
TXTBRANDSPECS= ""
TXTPRODUCTID = ""
TXTPRODUCTNAME = ""
TXTQUANTITY = ""
TXTUNITPRICE= ""
End Sub
Private SubFrame1_DragDrop(Source AsControl,XAsSingle,Y
As Single)
End Sub
Update Form
Dimctr As String
Dimsup AsString
Dimctr2 As Integer
Private SubCMDSAVE_Click()
If TXTBRAND = "" Or TXTBRANDSPECS="" Or TXTPRODUCTID= "" Or
TXTPRODUCTNAME = "" Or TXTQUANTITY = "" Or TXTUNITPRICE= "" Or Text1= "" Then
Call MsgBox("Pleasefillupthe all fields",vbCritical +vbExclamation,"Notification")
Else
DimnewcountAsString
newcount= Val(TXTQUANTITY) +Val(Text1)
ctr = Val(ctr) + Val(Text1)
strsql = "update tblproductsetproduct_availability='"&newcount&"',unitprice='"
& TXTUNITPRICE & "'where product_id='"& TXTPRODUCTID& "'"
db.Openstrcon
Setrs = db.Execute(strsql)
Call MsgBox("One datahasbeenUpdated",vbInformation+vbExclamation,
"SuccessfullyUpdated")
db.Close
Form_Load
ctr = ""
clearall
End If
End Sub
Private SubCommand1_Click()
If ctr2 = 0 Or txtsupadd= "" Then
Call MsgBox("Pleasefillupthe all forms",vbInformation,"Fill upthe all Fields")
Else
strsql = "update tblsupplierdetailssetsupplieraddress='"&txtsupadd&
"',suppliertin='"&txtsuptin&"'where suppliername='"&txtsupname &"'"
db.Openstrcon
Set rs = db.Execute(strsql)
db.Close
Form_Load
Call MsgBox("One datahas beenupdated",vbInformation,"Successfull")
txtsupname.Text=""
txtsupadd.Text=""
txtsuptin.Text=""
End If
End Sub
Private SubCommand2_Click()
UnloadMe
End Sub
Private SubCommand3_Click()
UnloadMe
End Sub
Private SubForm_Load()
ctr2 = 0
Text1= "0"
Withfrmupdate
.Top = (Screen.Height - .Height) /2
.Left= (Screen.Width - .Width) /2
End With
WithFrame2
.Top = (frmupdate.Height - .Height) /2
.Left= (frmupdate.Width- .Width) /2
End With
WithListView1
.Left= (frmupdate.Width - .Width) /2
End With
strsql = "select*from tblbrand"
db.Openstrcon
Setrs = db.Execute(strsql)
sql = "select*from tblproduct"
db1.Openstrcon
Setrs1 = db1.Execute(sql)
If rs.EOF = False Andrs.BOF= False Then
Me.ListView1.ListItems.Clear
While Notrs1.EOF = True
With Me.ListView1.ListItems.Add
.Text= rs1(0)
.SubItems(1) =rs(1)
.SubItems(2) =rs1(2)
.SubItems(3) =rs(2)
.SubItems(4) =rs1(4)
.SubItems(5) =rs1(3)
.SubItems(6) =rs1(1)
.SubItems(7) =rs1(5)
.SubItems(8) =rs1(6)
rs1.MoveNext
rs.MoveNext
End With
Wend
End If
db.Close
db1.Close
strsql = "select*from tblsupplierdetails"
db.Openstrcon
Setrs = db.Execute(strsql)
If rs.BOF = False Andrs.EOF = False Then
Me.ListView2.ListItems.Clear
While Notrs.EOF= True
WithMe.ListView2.ListItems.Add
.Text= rs(0)
.SubItems(1) =rs(1)
.SubItems(2) =rs(2)
.SubItems(3) =rs(3)
sup= rs(2)
rs.MoveNext
EndWith
Wend
End If
db.Close
End Sub
Private SubFrame1_DragDrop(Source AsControl,XAsSingle,YAsSingle)
End Sub
Private SubListView1_DblClick()
TXTBRAND= Me.ListView1.SelectedItem.SubItems(1)
TXTPRODUCTID = Me.ListView1.SelectedItem.Text
TXTPRODUCTNAME = Me.ListView1.SelectedItem.SubItems(2)
TXTBRANDSPECS= Me.ListView1.SelectedItem.SubItems(3)
TXTUNITPRICE= Me.ListView1.SelectedItem.SubItems(4)
Combo1.Text= Me.ListView1.SelectedItem.SubItems(5)
TXTQUANTITY = Me.ListView1.SelectedItem.SubItems(6)
ctr = Me.ListView1.SelectedItem.SubItems(7)
Text2= Me.ListView1.SelectedItem.SubItems(8)
End Sub
Subclearall()
TXTBRAND= ""
TXTBRANDSPECS= ""
TXTPRODUCTID = ""
TXTPRODUCTNAME = ""
TXTQUANTITY = ""
TXTUNITPRICE= ""
Text1= ""
Text2= ""
Combo1.Text= "Category"
End Sub
Private SubListView2_DblClick()
ctr2 = Me.ListView2.SelectedItem.Text
txtsupname =Me.ListView2.SelectedItem.SubItems(1)
txtsupadd= Me.ListView2.SelectedItem.SubItems(2)
txtsuptin=Me.ListView2.SelectedItem.SubItems(3)
End Sub
Purchase
Publiccsname AsString
Publicdaya,balikAsString
Publicid,XAs Integer
Publiccat,quan, prod,unitdAsString
Private SubCommand1_Click()
If id = 0 Then
Call MsgBox("Pleaseselectitemfirstbefore youcanadd an itemtocart",
vbInformation+vbSystemModal,"Notification")
Else
frmquan.Show(1)
End If
End Sub
Private SubCommand10_Click()
frmpurchase.Refresh
End Sub
Private SubCommand2_Click()
frmpurchase.ListView2.ListItems.Clear
Call MsgBox("clearitempurchase",vbInformation+vbSystemModal,"Notification")
End Sub
Private SubCommand3_Click()
If Me.ListView2.ListItems.Count=0 Then
Else
Dim uuAs String
strsql = "select*from tblproductwhere product_id="&X & ""
db.Openstrcon
Set rs = db.Execute(strsql)
uu = rs!product_availability
db.Close
uu = Val(uu) +Val(Me.ListView2.SelectedItem.SubItems(2))
daya = Val(daya) - Me.ListView2.SelectedItem.SubItems(3)
Label1.Caption="Gross total:"& daya
Me.ListView2.ListItems.Remove (Me.ListView2.SelectedItem.Index)
strsql = "update tblproductsetproduct_availability='"&uu & "' where product_id="&
X & ""
db.Openstrcon
Set rs = db.Execute(strsql)
db.Close
ilagay
End If
End Sub
Private SubCommand4_Click()
frmpayment.Show(1)
End Sub
Private SubCommand5_Click()
UnloadMe
End Sub
Private SubCommand6_Click()
Frame3.Visible =True
End Sub
Private SubCommand7_Click()
UnloadMe
frmreciept.Show
End Sub
Private SubCommand9_Click()
strsql = "select*from tblproductwhere product_id='"&Txtno.Text&"'"
Frame3.Visible =False
db.Openstrcon
Setrs = db.Execute(strsql)
If rs.BOF = False Andrs.EOF = False Then
MsgBox "noitem"
Me.ListView1.ListItems.Clear
While Notrs.EOF= True
MsgBox "founditem"
WithMe.ListView1.ListItems.Add
.Text= rs(0)
.SubItems(1) =rs(2)
.SubItems(2) =rs(3)
.SubItems(3) =rs(4)
.SubItems(4) =rs(1)
rs.MoveNext
EndWith
Wend
End If
db.Close
End Sub
Private SubForm_Load()
Withfrmpurchase
.Top = (Screen.Height - .Height) /2
.Left= (Screen.Width - .Width) /2
End With
ilagay
id= 0
Label1.Caption="Gross Total:0"
csname = InputBox("Pleaseenterthe customername ","INVOICE")
End Sub
Private SubListView1_Click()
id= Me.ListView1.SelectedItem.Text
quan= Me.ListView1.SelectedItem.SubItems(4)
prod = Me.ListView1.SelectedItem.SubItems(1)
cat = Me.ListView1.SelectedItem.SubItems(2)
unitd= Me.ListView1.SelectedItem.SubItems(3)
End Sub
Subilagay()
strsql = "select*from tblproduct"
db.Openstrcon
Setrs = db.Execute(strsql)
If rs.BOF = False Andrs.EOF = False Then
Me.ListView1.ListItems.Clear
While Notrs.EOF= True
WithMe.ListView1.ListItems.Add
.Text= rs(0)
.SubItems(1) =rs(2)
.SubItems(2) =rs(3)
.SubItems(3) =rs(4)
.SubItems(4) =rs(1)
rs.MoveNext
EndWith
Wend
End If
db.Close
End Sub
Private SubListView2_Click()
balik= Me.ListView2.SelectedItem.SubItems(2)
X = Me.ListView2.SelectedItem.Text
End Sub
FormView
Publicdell AsInteger
Private SubCommand1_Click()
UnloadMe
End Sub
Private SubCommand10_Click()
strsql = "select*from tblproductwhere product_id='"&Text2.Text&"'"
db.Openstrcon
Setrs = db.Execute(strsql)
If rs.BOF = False Andrs.EOF = False Then
MsgBox "Itemhasbeenfound"
Frame4.Visible =False
Me.Listview1.ListItems.Clear
While Notrs.EOF= True
WithMe.Listview1.ListItems.Add
.Text= rs(0)
.SubItems(1) =rs(1)
.SubItems(2) =rs(2)
.SubItems(3) =rs(3)
rs.MoveNext
EndWith
Wend
Else
MsgBox "no itemfound"
Me.Listview1.ListItems.Clear
Frame4.Visible =False
End If
db.Close
End Sub
Private SubCommand2_Click()
UnloadMe
End Sub
Private SubCommand3_Click()
If MsgBox("Are yousure do youwant to delete all files",vbQuestion+vbYesNo) =vbYes
Then
strsql = "delete *fromtblproductwhere product_id="
db.Openstrcon
Set rs = db.Execute(strsql)
MsgBox "delete all item"
db.Close
Form_Load
Else
Form_Load
End If
End Sub
Private SubCommand4_Click()
Frame4.Visible =True
End Sub
Private SubCommand5_Click()
If MsgBox("Are yousure do youwant to delete the selectedfiles",vbQuestion+
vbYesNo) =vbYesThen
strsql = "delete *fromtblsupplierdetails"
db.Openstrcon
Set rs = db.Execute(strsql)
MsgBox "delete all item"
db.Close
Form_Load
Else
Form_Load
End If
End Sub
Private SubCommand6_Click()
Frame3.Visible =True
End Sub
Private SubCommand7_Click()
strsql = "select*from tblsupplierdetailswhere supplierid='"&Text1.Text&"'"
db.Openstrcon
Setrs = db.Execute(strsql)
If rs.BOF = False And rs.EOF = False Then
MsgBox "Itemhasbeenfound"
Frame3.Visible =False
Me.ListView2.ListItems.Clear
While Notrs.EOF= True
WithMe.ListView2.ListItems.Add
.Text= rs(0)
.SubItems(1) =rs(1)
.SubItems(2) =rs(2)
.SubItems(3) =rs(3)
rs.MoveNext
EndWith
Wend
Else
MsgBox "no itemfound"
Me.ListView2.ListItems.Clear
Frame3.Visible =False
End If
db.Close
End Sub
Private SubCommand8_Click()
UnloadMe
frmmain.Show
End Sub
Private SubCommand9_Click()
UnloadMe
frmmain.Show
End Sub
Private SubForm_Load()
If frmmain.Text1.Text="user"Then
Command3.Enabled=False
Command5.Enabled=False
Else
Command3.Enabled=True
Command5.Enabled=True
End If
WithFRMVIEW
.Left= (Screen.Width - .Width) /2
End With
WithFrame1
.Left= (FRMVIEW.Width - .Width) /2
End With
WithFrame2
.Left= (FRMVIEW.Width - .Width) /2
End With
strsql = "select*from tblproduct"
db.Openstrcon
Setrs = db.Execute(strsql)
If rs.BOF = False Andrs.EOF = False Then
Me.Listview1.ListItems.Clear
While Notrs.EOF= True
WithMe.Listview1.ListItems.Add
.Text= rs(0)
.SubItems(1) =rs(1)
.SubItems(2) =rs(2)
.SubItems(3) =rs(3)
.SubItems(4) =rs(4)
.SubItems(5) =rs(5)
rs.MoveNext
EndWith
Wend
db.Close
End If
strsql = "select*from tblsupplierdetails"
db.Openstrcon
Setrs = db.Execute(strsql)
If rs.BOF = False Andrs.EOF = False Then
Me.ListView2.ListItems.Clear
While Notrs.EOF= True
WithMe.ListView2.ListItems.Add
.Text= rs(0)
.SubItems(1) =rs(1)
.SubItems(2) =rs(2)
.SubItems(3) =rs(3)
rs.MoveNext
EndWith
Wend
End If
db.Close
End Sub
Private SubListView1_BeforeLabelEdit(Cancel AsInteger)
End Sub
Private SubText1_Click()
Text1.Text= ""
End Sub
Private SubText2_Click()
Text2.Text= ""
End Sub
FormUser Update
Private Subcmdclose_Click(Index AsInteger)
UnloadMe
End Sub
Private SubCommand1_Click()
If txtcode = "" Or Combo1.Text="" Or txtempname =""Or txtempno= "" Or txtewan=
"" Or txtre = "" Then
Call MsgBox("Pleasefillupthe all fields",vbInformation,"Fill upthe all form")
Else
If txtcode = txtre Then
strsql = "insertinto
tblemployeedetails(empname,empnum,empdept,emppuritem,ucode)values('"&
txtempname &"','" & txtempno&"','" & Combo1.Text& "','" & txtewan& "','" &
txtcode & "')"
db.Openstrcon
Setrs = db.Execute(strsql)
Call MsgBox("One Accounthasbeencreated")
db.Close
UnloadMe
Else
Call MsgBox("Sorrythe inputcode andthe retype didnotmatch",vbCritical,"")
End If
End If
End Sub
Private SubCommand2_Click(Index AsInteger)
UnloadMe
End Sub
Private SubCommand3_Click()
UnloadMe
End Sub
Private SubCommand4_Click()
If t4 = t5 Then
If t1 = "" Or t2 = "" Or t3 = "" Or t4 = "" Or t5 = "" Or t6 = "" Then
Call MsgBox("Please fill upthe all forms",vbInformation,"")
Else
strsql = "update tblemployeedetailssetempname='"&t2 & "',empdept='"& t3 &
"',emppuritem='"&t6 & "',ucode='" & t5 & "' where empnum='"& t1 & "'"
db.Openstrcon
Setrs = db.Execute(strsql)
db.Close
Call MsgBox("DatahasbeenUpdated")
Form_Load
t1 = ""
t2 = ""
t3 = ""
t4 = ""
t5 = ""
t6 = ""
End If
End If
End Sub
Private SubForm_Load()
strsql = "select*from tblemployeedetails"
db.Openstrcon
Setrs = db.Execute(strsql)
If rs.BOF = False Andrs.EOF = False Then
Me.Listview1.ListItems.Clear
While Notrs.EOF= True
WithMe.Listview1.ListItems.Add
.Text= rs(1)
.SubItems(1) =rs(0)
.SubItems(2) =rs(2)
.SubItems(3) =rs(3)
.SubItems(4) =rs(4)
rs.MoveNext
EndWith
Wend
End If
db.Close
Withfrmuserupdate
.Top = (Screen.Height - .Height) /2
.Left= (Screen.Width - .Width) /2
End With
WithFrame1
.Left= (frmuserupdate.Width - .Width) /2
End With
strsql = "select*from tbldepartment"
db.Openstrcon
Setrs = db.Execute(strsql)
While Notrs.EOF= True
Me.Combo1.AddItemrs(0)
rs.MoveNext
Wend
db.Close
End Sub
Private SubListView1_DblClick()
t1 = Me.Listview1.SelectedItem.Text
t2 = Me.Listview1.SelectedItem.SubItems(1)
t3 = Me.Listview1.SelectedItem.SubItems(2)
t4 = Me.Listview1.SelectedItem.SubItems(4)
t6 = Me.Listview1.SelectedItem.SubItems(3)
End Sub
FormReport
Private SubCommand1_Click()
If Text1.Text= "" Then
Call MsgBox("PleaseEnterProductIDto finditem",vbCritical,"Error")
Else
strsql = "select*from tblreportwhere product_id='"& Text1.Text&"'"
db.Openstrcon
Setrs = db.Execute(strsql)
If rs.BOF = False Andrs.EOF = False Then
MsgBox "Itemhasbeenfound"
Me.Listview1.ListItems.Clear
While Notrs.EOF= True
WithMe.Listview1.ListItems.Add
.Text= rs(0)
.SubItems(1) =rs(1)
.SubItems(2) =rs(2)
.SubItems(3) =rs(3)
.SubItems(4) =rs(4)
.SubItems(5) =rs(5)
rs.MoveNext
EndWith
Wend
Else
MsgBox "no itemfound"
End If
db.Close
End If
End Sub
Private SubCommand2_Click()
UnloadMe
End Sub
Private SubForm_Load()
strsql = "select*from tblreport"
db.Openstrcon
Setrs = db.Execute(strsql)
If rs.BOF = False Andrs.EOF = False Then
Me.Listview1.ListItems.Clear
While Notrs.EOF= True
WithMe.Listview1.ListItems.Add
.Text= rs(0)
.SubItems(1) =rs(1)
.SubItems(2) =rs(2)
.SubItems(3) =rs(3)
.SubItems(4) =rs(4)
.SubItems(5) =rs(5)
rs.MoveNext
EndWith
Wend
End If
db.Close
End Sub
Private SubListview1_BeforeLabelEdit(CancelAsInteger)
End Sub
Private SubText1_Click()
Text1.Text= ""
End Sub
FormReciept codes:
Private SubCommand1_Click()
frmreciept.PrintForm
End Sub
Private SubCommand2_Click()
UnloadMe
End Sub
Private SubForm_Load()
frmreciept.Left=(Screen.Width/2) - (frmreciept.Width/2)
frmreciept.Top=(Screen.Height/2) - (frmreciept.Height/2)
Me.Label6.Caption="Name of Customer: " & frmpurchase.csname
Me.LBLCHANGE.Caption="Change: " & frmpayment.sukli
Me.Label3.Caption="TenderCash: " & frmpayment.cash
Me.LBLTOTAL.Caption="Total Payment: " & frmpurchase.daya
Me.LBLTYPE.Caption= "Tax(12%): " & frmpayment.vat
Me.Label8.Caption="Total Quantity: " & frmquan.tquan
Me.LBLDATE.Caption= "Date: " & Date
Me.LBLTIME.Caption= "Time: " & Time
Me.Label4.Caption="Username purchases: " & frmmain.Text4.Text
End Sub
Private SubLabel2_Click()
End Sub
FormQuantity codes:
Publictotaldamage AsString
PublictquanAsInteger
PublictotAs String
Private SubCommand1_Click()
If Me.Text1 = "" Then
Call MsgBox("Pleaseenteranumber",vbInformation, "Notification")
Else
If Val(Text1.Text)>Val(frmpurchase.Listview1.SelectedItem.SubItems(4)) Then
Call MsgBox("Sorrythe requestnumberof itemisnotvalid",vbInformation,
"Notification")
UnloadMe
Else
totaldamage =frmpurchase.daya
tot= Val(Text1.Text) *Val(frmpurchase.unitd)
tquan= Val(Text1.Text)
Withfrmpurchase.ListView2.ListItems.Add
.Text= frmpurchase.id
.SubItems(1) =frmpurchase.prod
.SubItems(2) =Text1.Text
.SubItems(3) =tot
EndWith
DimX AsString
Dimquan1 AsString
quan1= Val(frmpurchase.quan) - Val(Text1.Text)
X= totaldamage
totaldamage =tot
totaldamage =Val(totaldamage) +Val(X)
frmpurchase.daya=totaldamage
frmpurchase.Label1.Caption="Nettotal:"& totaldamage
frmpurchase.Txtno.Text="" & totaldamage
strsql = "insertintotblpurchaseorder
(order_id,supplier_id,totalamount,purchase_date) values('"&frmpurchase.id&"','"&
frmpurchase.prod&"','" & totaldamage &"','" & Date & "')"
db.Openstrcon
' Setrs = db.Execute(strsql)
strsql = "update tblproductsetproduct_availability='"&quan1 & "'where
product_id="& frmpurchase.id&""
db.Close
totaldamage =""
frmpurchase.ilagay
Text1.Text="" & totaldamage
frmpurchase.Command2.Enabled=True
frmpurchase.Command3.Enabled=True
frmpurchase.Command4.Enabled=True
frmpurchase.Command7.Enabled=False
UnloadMe
End If
End If
End Sub
Private SubCommand2_Click()
UnloadMe
End Sub
Private SubCommand3_Click()
UnloadMe
End Sub
Private SubForm_Load()
Withfrmquan
.Top = (Screen.Height - .Height) /2
.Left= (Screen.Width - .Width) /2
End With
End Sub
Private SubFrame2_DragDrop(Source AsControl,XAsSingle,YAsSingle)
End Sub
Private SubText1_Click()
Text1.Text= ""
End Sub
FormPayment codes:
Dimsubra As Integer
Dimbago As Integer
Publicsukli,cash,vatAsInteger
Private SubCommand1_Click()
If Val(frmpurchase.daya)<=Val(Text1.Text) Then
sukli = Val(Text1.Text) - Val(frmpurchase.daya)
vat = frmpurchase.daya*0.12
Call MsgBox(""& sukli,vbInformation+vbMsgBoxRight,"CustomerChange")
sukli = Val(Text1.Text)- Val(frmpurchase.daya)
cash = Val(Text1.Text)
frmpurchase.ListView2.ListItems.Clear
frmpurchase.Label1.Visible =False
frmpurchase.Command4.Enabled=False
frmpurchase.Command2.Enabled=False
frmpurchase.Command7.Enabled=True
Unload Me
strsql = "insertinto
tblreport(product_id,product_name,totalamount,purchase_date,quantity,care_of)
values('"& frmpurchase.id&"','" & frmpurchase.prod&"','" & frmpurchase.daya&"','"
& Date & "','" & frmquan.tquan&"','" & frmmain.Text4.Text&"')"
db.Openstrcon
Setrs = db.Execute(strsql)
db.Close
strsql = "select*from tblproduct"
db.Openstrcon
Setrs = db.Execute(strsql)
subra = rs(1)
rs.MoveNext
db.Close
bago = subra - frmquan.tquan
strsql = "update tblproductsetproduct_availability='"&bago & "'where product_id='"
& frmpurchase.id&"'"
db.Openstrcon
Setrs = db.Execute(strsql)
Call MsgBox("RemainingStocksnois:" & bago, vbInformation+vbExclamation,
"SuccessfullyUpdated")
db.Close
Call MsgBox("Thankyouandhave a greatday",vbInformation+vbApplicationModal,
"Notification")
Else
Call MsgBox("SorryInsufficientFund.",vbCritical,"Notification")
Text1.SetFocus
End If
UnloadMe
End Sub
Private SubCommand2_Click()
UnloadMe
End Sub
Private SubForm_Load()
Withfrmpayment
.Top = (Screen.Height - .Height) /2
.Left= (Screen.Width - .Width) /2
End With
End Sub
Private SubFrame1_DragDrop(Source AsControl,XAsSingle,YAsSingle)
End Sub
FormModule Codes:
PublicrsAs NewADODB.Recordset
PublicdbAs NewADODB.Connection
Publicrs1 AsNewADODB.Recordset
Publicdb1As NewADODB.Connection
PublicidAsString
Publicstrsql,sql AsString
PublicstrconAs String
Submain()
strcon = "Provider=Microsoft.Jet.OLEDB.4.0;DataSource=D:New
folderinventory.mdb;PersistSecurityInfo=False"
Frmwindow.Show
End Sub

More Related Content

What's hot

Inventory management system
Inventory management systemInventory management system
Inventory management systemcopo7475
 
Sales and inventory management system project report
Sales and inventory management system project reportSales and inventory management system project report
Sales and inventory management system project reportFuckboy123
 
Online supply inventory system
Online supply inventory systemOnline supply inventory system
Online supply inventory systemArman Ahmed
 
Inventory management System
Inventory management SystemInventory management System
Inventory management SystemAl Mahmud Shuvo
 
Sales and inventory management project report
Sales and inventory management project reportSales and inventory management project report
Sales and inventory management project reportUpendra Sengar
 
Inventory Management System
Inventory Management SystemInventory Management System
Inventory Management SystemEmmanuel college
 
Chapter 3 Methodology (Capstone Research)
Chapter 3   Methodology (Capstone Research)Chapter 3   Methodology (Capstone Research)
Chapter 3 Methodology (Capstone Research)school
 
Attendance Monitoring System of Marinduque Academy Inc.
Attendance Monitoring System of Marinduque Academy Inc.Attendance Monitoring System of Marinduque Academy Inc.
Attendance Monitoring System of Marinduque Academy Inc.Christel Jane Del Prado
 
Thesis in IT Online Grade Encoding and Inquiry System via SMS Technology
Thesis in IT Online Grade Encoding and Inquiry System via SMS TechnologyThesis in IT Online Grade Encoding and Inquiry System via SMS Technology
Thesis in IT Online Grade Encoding and Inquiry System via SMS TechnologyBelLa Bhe
 
Developed the Inventory Management System for ERP Implementing in Manufacturi...
Developed the Inventory Management System for ERP Implementing in Manufacturi...Developed the Inventory Management System for ERP Implementing in Manufacturi...
Developed the Inventory Management System for ERP Implementing in Manufacturi...Sushil kumar Choudhary
 
Supermarket Inventory Management System Development.pdf
Supermarket Inventory Management System Development.pdfSupermarket Inventory Management System Development.pdf
Supermarket Inventory Management System Development.pdfRenzGaming3
 
Online Student Registration System
Online Student Registration SystemOnline Student Registration System
Online Student Registration SystemSanjana Agarwal
 
Smart Attendance System using QR Code with SMS Notification
Smart Attendance System using QR Code with SMS NotificationSmart Attendance System using QR Code with SMS Notification
Smart Attendance System using QR Code with SMS Notificationfatinnadzirah98
 
Writing Chapters 1, 2, 3 of the Capstone Project Proposal Manuscript
Writing Chapters 1, 2, 3 of the Capstone Project Proposal ManuscriptWriting Chapters 1, 2, 3 of the Capstone Project Proposal Manuscript
Writing Chapters 1, 2, 3 of the Capstone Project Proposal ManuscriptSheryl Satorre
 
STUDENT RECORD MANAGEMENT SYSTEM (1)
STUDENT RECORD MANAGEMENT SYSTEM (1)STUDENT RECORD MANAGEMENT SYSTEM (1)
STUDENT RECORD MANAGEMENT SYSTEM (1)Juliet Nandutu
 
Narrative report danna
Narrative report dannaNarrative report danna
Narrative report dannaMa.Danna Inigo
 

What's hot (20)

Inventory management system
Inventory management systemInventory management system
Inventory management system
 
Sales and inventory management system project report
Sales and inventory management system project reportSales and inventory management system project report
Sales and inventory management system project report
 
Attendance monitoring system
Attendance monitoring systemAttendance monitoring system
Attendance monitoring system
 
Online supply inventory system
Online supply inventory systemOnline supply inventory system
Online supply inventory system
 
Presentation1
Presentation1Presentation1
Presentation1
 
Inventory management System
Inventory management SystemInventory management System
Inventory management System
 
Sales and inventory management project report
Sales and inventory management project reportSales and inventory management project report
Sales and inventory management project report
 
Catering Service
Catering ServiceCatering Service
Catering Service
 
Inventory Management System
Inventory Management SystemInventory Management System
Inventory Management System
 
Chapter 3 Methodology (Capstone Research)
Chapter 3   Methodology (Capstone Research)Chapter 3   Methodology (Capstone Research)
Chapter 3 Methodology (Capstone Research)
 
Attendance Monitoring System of Marinduque Academy Inc.
Attendance Monitoring System of Marinduque Academy Inc.Attendance Monitoring System of Marinduque Academy Inc.
Attendance Monitoring System of Marinduque Academy Inc.
 
Thesis in IT Online Grade Encoding and Inquiry System via SMS Technology
Thesis in IT Online Grade Encoding and Inquiry System via SMS TechnologyThesis in IT Online Grade Encoding and Inquiry System via SMS Technology
Thesis in IT Online Grade Encoding and Inquiry System via SMS Technology
 
Developed the Inventory Management System for ERP Implementing in Manufacturi...
Developed the Inventory Management System for ERP Implementing in Manufacturi...Developed the Inventory Management System for ERP Implementing in Manufacturi...
Developed the Inventory Management System for ERP Implementing in Manufacturi...
 
Supermarket Inventory Management System Development.pdf
Supermarket Inventory Management System Development.pdfSupermarket Inventory Management System Development.pdf
Supermarket Inventory Management System Development.pdf
 
Online Student Registration System
Online Student Registration SystemOnline Student Registration System
Online Student Registration System
 
Smart Attendance System using QR Code with SMS Notification
Smart Attendance System using QR Code with SMS NotificationSmart Attendance System using QR Code with SMS Notification
Smart Attendance System using QR Code with SMS Notification
 
Writing Chapters 1, 2, 3 of the Capstone Project Proposal Manuscript
Writing Chapters 1, 2, 3 of the Capstone Project Proposal ManuscriptWriting Chapters 1, 2, 3 of the Capstone Project Proposal Manuscript
Writing Chapters 1, 2, 3 of the Capstone Project Proposal Manuscript
 
STUDENT RECORD MANAGEMENT SYSTEM (1)
STUDENT RECORD MANAGEMENT SYSTEM (1)STUDENT RECORD MANAGEMENT SYSTEM (1)
STUDENT RECORD MANAGEMENT SYSTEM (1)
 
Computerized Grading System 2016
Computerized Grading System 2016Computerized Grading System 2016
Computerized Grading System 2016
 
Narrative report danna
Narrative report dannaNarrative report danna
Narrative report danna
 

Similar to Full Docu IT Thesis Project In Computerized Inventory System In Brother Burger -VISUAL BASIC 6.0 BACK - END MS ACCESS

Product and sevices management system
Product and sevices management systemProduct and sevices management system
Product and sevices management systemVinod Gurram
 
Online Shopping project report
Online Shopping project report Online Shopping project report
Online Shopping project report Surjeet Art
 
Synopsis on inventory_management_system
Synopsis on inventory_management_systemSynopsis on inventory_management_system
Synopsis on inventory_management_systemDivya Baghel
 
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
INTERNAL Assign no   207( JAIPUR NATIONAL UNI)INTERNAL Assign no   207( JAIPUR NATIONAL UNI)
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)Partha_bappa
 
Building Information System
Building Information SystemBuilding Information System
Building Information SystemRabia Jabeen
 
Sad 201 project sparc vision online library-assignment 2
Sad 201  project sparc vision  online library-assignment 2Sad 201  project sparc vision  online library-assignment 2
Sad 201 project sparc vision online library-assignment 2Justin Chinkolenji
 
44478167 hospital-management-system
44478167 hospital-management-system44478167 hospital-management-system
44478167 hospital-management-systemAkshay Iliger
 
Library mangement system project srs documentation
Library mangement system project srs documentationLibrary mangement system project srs documentation
Library mangement system project srs documentationSuchit Moon
 
Designing the Process of Stores Management for Implementing ERP in Manufactur...
Designing the Process of Stores Management for Implementing ERP in Manufactur...Designing the Process of Stores Management for Implementing ERP in Manufactur...
Designing the Process of Stores Management for Implementing ERP in Manufactur...sushil Choudhary
 
Designing the Process of Stores Management for Implementing ERP in Manufactur...
Designing the Process of Stores Management for Implementing ERP in Manufactur...Designing the Process of Stores Management for Implementing ERP in Manufactur...
Designing the Process of Stores Management for Implementing ERP in Manufactur...Sushil kumar Choudhary
 
ERP and related technology
ERP and related technology ERP and related technology
ERP and related technology Usman Tariq
 
Online compliant response system for corporation
Online compliant response system for corporationOnline compliant response system for corporation
Online compliant response system for corporationDhavamani Prakash
 
Defect Tracking Tool
Defect Tracking ToolDefect Tracking Tool
Defect Tracking Toolncct
 
Data Warehouses & Deployment By Ankita dubey
Data Warehouses & Deployment By Ankita dubeyData Warehouses & Deployment By Ankita dubey
Data Warehouses & Deployment By Ankita dubeyAnkita Dubey
 
Project Documentation Student Management System format.pptx
Project Documentation Student Management System format.pptxProject Documentation Student Management System format.pptx
Project Documentation Student Management System format.pptxAjayPatre1
 
Asp Abstracts, Sample Copy 15+ Abstracts
Asp Abstracts, Sample Copy 15+ AbstractsAsp Abstracts, Sample Copy 15+ Abstracts
Asp Abstracts, Sample Copy 15+ Abstractsncct
 
A Project to Automate Inventory Management in a Fast Food, Cas.docx
A Project to Automate Inventory Management in a Fast Food, Cas.docxA Project to Automate Inventory Management in a Fast Food, Cas.docx
A Project to Automate Inventory Management in a Fast Food, Cas.docxransayo
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.docjimmykhan
 

Similar to Full Docu IT Thesis Project In Computerized Inventory System In Brother Burger -VISUAL BASIC 6.0 BACK - END MS ACCESS (20)

Product and sevices management system
Product and sevices management systemProduct and sevices management system
Product and sevices management system
 
Online Shopping project report
Online Shopping project report Online Shopping project report
Online Shopping project report
 
Synopsis on inventory_management_system
Synopsis on inventory_management_systemSynopsis on inventory_management_system
Synopsis on inventory_management_system
 
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
INTERNAL Assign no   207( JAIPUR NATIONAL UNI)INTERNAL Assign no   207( JAIPUR NATIONAL UNI)
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
 
Building Information System
Building Information SystemBuilding Information System
Building Information System
 
Sad 201 project sparc vision online library-assignment 2
Sad 201  project sparc vision  online library-assignment 2Sad 201  project sparc vision  online library-assignment 2
Sad 201 project sparc vision online library-assignment 2
 
44478167 hospital-management-system
44478167 hospital-management-system44478167 hospital-management-system
44478167 hospital-management-system
 
Library mangement system project srs documentation
Library mangement system project srs documentationLibrary mangement system project srs documentation
Library mangement system project srs documentation
 
Designing the Process of Stores Management for Implementing ERP in Manufactur...
Designing the Process of Stores Management for Implementing ERP in Manufactur...Designing the Process of Stores Management for Implementing ERP in Manufactur...
Designing the Process of Stores Management for Implementing ERP in Manufactur...
 
Designing the Process of Stores Management for Implementing ERP in Manufactur...
Designing the Process of Stores Management for Implementing ERP in Manufactur...Designing the Process of Stores Management for Implementing ERP in Manufactur...
Designing the Process of Stores Management for Implementing ERP in Manufactur...
 
ERP and related technology
ERP and related technology ERP and related technology
ERP and related technology
 
Online compliant response system for corporation
Online compliant response system for corporationOnline compliant response system for corporation
Online compliant response system for corporation
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Defect Tracking Tool
Defect Tracking ToolDefect Tracking Tool
Defect Tracking Tool
 
Data Warehouses & Deployment By Ankita dubey
Data Warehouses & Deployment By Ankita dubeyData Warehouses & Deployment By Ankita dubey
Data Warehouses & Deployment By Ankita dubey
 
Project Documentation Student Management System format.pptx
Project Documentation Student Management System format.pptxProject Documentation Student Management System format.pptx
Project Documentation Student Management System format.pptx
 
Asp Abstracts, Sample Copy 15+ Abstracts
Asp Abstracts, Sample Copy 15+ AbstractsAsp Abstracts, Sample Copy 15+ Abstracts
Asp Abstracts, Sample Copy 15+ Abstracts
 
Unit Iii
Unit IiiUnit Iii
Unit Iii
 
A Project to Automate Inventory Management in a Fast Food, Cas.docx
A Project to Automate Inventory Management in a Fast Food, Cas.docxA Project to Automate Inventory Management in a Fast Food, Cas.docx
A Project to Automate Inventory Management in a Fast Food, Cas.docx
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.doc
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

Full Docu IT Thesis Project In Computerized Inventory System In Brother Burger -VISUAL BASIC 6.0 BACK - END MS ACCESS

  • 1. STI-PASAY Computerized Inventory System and POS of Brothers Burger In Partial Fulfilment of the requirements for the Diploma in Information of Technology Program By: Jonick Boguat Anthony Ventutra Mary Kris Oliver Elma Juelo Mr. Arnel Almedora Thesis Adviser March 05, 2014
  • 2. 1.0 INTRODUCTION The important of Studying in inventory system is to keep track of the flow of goods. Inventory system are designed to tell you where each product is going how much is being sold when you need to order more and which products produce the greatest profit. All business rely on inventory system play this vital role by accounting for all goods or products. They also show where a particular item is in the flow of sales whether it is in a warehouse or on a store shelf. The main purpose of inventory system is simple to enable a business take stock and appropriately manage their goods and products. Inventory System is a process done by a business that sells product in order to help analyze how the business is performing.
  • 3. 1.1BACKGROUND STUDY The advancement of technology in society makes life easy; the only burden that 20th century has is the accelerated lifestyle and living an active pace life. The computerization of almost all the systems in the society has made all transaction fast and secure. For restaurant owners, keeping track of food inventory might be the most important task they should know how to do. Knowledge of how to take food inventory is the first line of defence against waste and employee theft. Fortunately, all you need to do is follow a few simple steps, and you will be able to easily track waste and guard against theft. We have a lot of Transaction Processing System and one of this is the Computerized Inventory System and the transaction processing system is the way to upgrade the manual transaction in an organization. Now in a new era of computer and telecommunication industry, the inventory can be made through the use of computer anywhere. This system will help them to their inventory using the fastest and easiest way using the modern technology.
  • 4. Inventory can be classified by different perspectives. By stage of product realization, inventory can be classified as raw material, work-in process, or finished goods. By venue, inventory can be with retailers, wholesalers, suppliers, manufacturers, etc. By purpose, inventory can be in pipeline and as work-in-process, for safety against out of stock, for anticipation of large demand, for decoupling of activities and of players, and for psychology to create and increase demand. 1.2STATEMENT OF OBJECTIVE 1.2.1 General Objectives  How to develop and implement a computerize inventory system?  To develop a computerized Inventory system and POS for Brothers Burger Inc. that will help and make their transactions of inventories fast, smooth, and secured.
  • 5. 1.2.2 Specific Objectives  To develop a module that will easy to monitor the stocks and easy to generate a report.  The proponent should create a module that where monitor fast and easy the entire product inside the storage/stock room and the same time to easy to generate a report. 1.3 SIGNIFICANCE OF THE STUDY  The purpose of this study is to make the inventory system of Brothers Burger Inc. competent and well-organized.  To the admin their transaction for accessing for an inventory will be more efficient and much easier.
  • 6. 1.4SCOPE AND LIMITATION 1.4.1 Scope Scopes of the system are the following.  Security  The system has a capability to secure and retrieve a password of admin/user if he/she remembered their pin code.  Inventory  The system has a capability to easy to inventory the all product in the Storage room.  Generation of report  The system has a capability to accurate generation of reports  File Maintenance  The system includes file maintenance that would automatically add, delete, save, Update, and retrieve information of files.
  • 7.  To be able to know the remaining stocks.  To be able to know what items/products are fast moving?  To be able to know what are the items are going to pull out for slow moving.  To be able to know how much items are already sold.  To be able to know what product are in critical stage. 1.4.2 Limitation Scope of the system is the following.  Some data’s are not based on the database.  Can Show all information about each product.  Not an Online transaction  No major credit card transaction during payment ,only cash payment  The proposed system is intended only to Brother Burger Company.
  • 8. 2.0METHODOLOGY OF THE STUDY 2.1System water fall
  • 9. 2.1.1 Feasibility Feasibility study is used to determine if the project should get the go-ahead. If the project is to proceed, the feasibility study will produce a project plan and budget estimates for the future stages of development.  In this phase, the proponent conducted a study of what software is applicable for the chosen company. 2.1.2 Analysis Analysis gathers the requirements for the system. This stage includes a detailed study of the business needs of the organization. Options for changing the business process may be considered.  In this phase, the proponent analyzed all the major and minor problems and the factors that may influence their study.
  • 10. 2.1.3 Design Design focuses on high level design like, what programs are needed and how are they going to interact, low-level design (how the individual programs are going to work), interface design (what are the interfaces going to look like) and data design (what data will be required).  In this phase, the proponent focuses on the design of the program and its function and to be a user friendly system. 2.1.4 Implementation In this phase the designs are translated into code. Computer programs are written using a conventional programming language or an application generator. Programming tools like Compilers, Interpreters, and Debuggers are used to generate the code. Different high level programming languages like C, C++, Pascal, and Java are used for coding. With respect to the type of application, the right programming language is chosen.
  • 11.  In this phase, the proponent chooses what programming language is to be used for the architectural construction of the program and start coding the system. 2.1.5 Testing In this phase the system is tested. Normally programs are written as a series of individual modules, this subject to separate and detailed test. The system is then tested as a whole. The separate modules are brought together and tested as a complete system. The system is tested to ensure that interfaces between modules work (integration testing), the system works on the intended platform and with the expected volume of data (volume testing) and that the system does what the user requires (acceptance/beta testing).  In this phase, the proponent checked and tested the program to find errors and difficulties so that the proponents do be having an enough time to repair it.
  • 12. 2.1.6 Maintenance Inevitably the system will need maintenance. Software will definitely undergo change once it is delivered to the customer. There are many reasons for the change. Change could happen because of some unexpected input values into the system. In addition, the changes in the system could directly affect the software operations. The software should be developed to accommodate changes that could happen during the post implementation period.  In this phase, the proponent is continues conducting research and study to continuously develop the system.
  • 13. 3.0DATA GARTHERING Data gathering or data collection is the process of gathering and collecting information. Information is collected, to keep on record and is used to make decisions plus sell the information to others. 3.1Research Research can be defined to be search for knowledge or any systematic investigation to establish facts. The primary purpose for applied research (as opposed to basic research) is discovering, interpreting, and the development of methods and systems for the advancement of human knowledge on a wide variety of scientific matters of our world and the universe.  In this phase, the proponent used a search engine to search information with regards the system and the books for additional information. 3.2Observation Observation refers to the systematic examination of real- time processes or operations with the goal of identifying
  • 14. needs/challenges or improving processes and practices—that is, what can be seen. The proponents observe the process in order to make it easy for the research. This process gathers new ideas for the system improvement  In this phase, the proponents observe the interacts with the Admin/user and possible that in need of the system for the Company asking questions about how their current systems possible to be combined. 3.3 Questionnaire A questionnaire is a means of eliciting the feelings, beliefs, experiences, perceptions, or attitudes of some sample of individuals. As a data collecting instrument, it could be structured or unstructured. In this stage the proponents asks practical answerable question based on their actual problems that they faced in their current system.
  • 15.  In this phase, the proponent asked some practical answerable questions on how their transaction work, and the problem that there encounter in their current system. 3.4 Interview An interview is a conversation between two or more people (the interviewer and the interviewee) where questions are asked by the interviewer to obtain information from the interviewee.  In this phase, the proponent conducted an interview with the Admin to gather necessary information about for the program 4.0EXISTING SYSTEM
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71. 4.1Company Background Brothers Burger was established in 1999 at the height of Asian economic crises. Brothers Burger is composed and managed by an all Filipino team who strongly believe and advocate entrepreneurship. They started with one store in Ortigas, Pasig City. Their company, now on its 14TH year, has expanded and has a total of Twenty One stores of which Sixteen are Company owned stores and five are franchise stores. Locations are generally in Metro Manila, and provincial sites, namely Baguio, Laguna, and Davao. 4.1Description of System To achieve the aims & objectives of this project, the main things are to identify the main features that involved in the system. In this scenario, there are two types of users; they are Admin, users/ employee. All these users should be able to login to the system with separate Authentications and limitations. New users can be registered only under admin concern. This information can be retrieved given specifications and the
  • 72. availability of the process are updated and done by the admin. So there won’t be unavailability problem regarding to the criteria. The proponents are going to used Visual Basic in making the system interface 4.2 Problem Areas  Lack of storage common errors  Manual system are also slow to operate  Time consuming  Slow retrieval of data 5.0THE PROPOSED SYSTEM  It includes company profile, how they perform application and problem areas. It is computerized system that will reduce errors and cost by saving time using data more effectively.  In the manual Inventory System, a company needs to go through a lot of work to do and the process is done one by one. However, on the automated inventory system it’s just a
  • 73. button/click keyboard away to access the records of transactions.  The progression of the Inventory System will be presenting in this Chapter.  Manual is a definition of something to work with a lot of exerting efforts by hands, and are not the most efficient and good. It’s a lot of work before you get the outcome. Whereas the automates system is derived from “automation” meaning that is machine- driven by a person or machine controlled with little or very less exertion of efforts, this it makes easier to generate an output.
  • 75.
  • 76. 6.0
  • 77. 7.0
  • 78. 8.0
  • 79. 9.0
  • 80. 10.0
  • 81. 11.0
  • 82. 12.0
  • 83. 13.0
  • 84. 14.0
  • 85. 15.0
  • 86. 16.0
  • 87. 17.0
  • 88. 5.0 making the system interface Window Form Code Private SubCommand1_Click() UnloadMe End Sub Private SubForm_Load() Image1.Visible=True End Sub Private SubTimer1_Timer() Me.Image1.Left=Me.Image1.Left+10 If Me.Image1.Left= 2000 Then Frmwindow.Image1.Visible =False Frmwindow.Label3.Visible=False Call MsgBox("loadingcomplete....",vbInformation,"openingtosystem") Unload Me frmmain.Show End If End Sub Login FormCode
  • 89. PublictlogAsString Dimid AsString Dimidd,uname As String Private SubCommand1_Click() strsql = "select*from tblemployeedetailswhere empnum='"& Text1& "' and ucode='" & Text2 & "' " db.Openstrcon Setrs = db.Execute(strsql) If rs.BOF = False Andrs.EOF = False Then frmmain.menulogin.Caption="Systemisusedby"& id frmmain.menutransaction.Enabled=True frmmain.menufile.Enabled=True frmmain.menuclose.Enabled=True frmmain.menupdateitem.Enabled=False frmmain.menuupdate.Enabled=False frmmain.menuprint.Enabled=False frmmain.menuadd.Enabled=False frmmain.menuview.Enabled=True frmmain.menuupadteuser.Enabled=False frmmain.menuclose.Enabled=True frmmain.menucreate.Enabled=False frmmain.menureport.Enabled=False id = rs(0) idd= rs(2) db.Close Unload Me
  • 90. Call MsgBox("Acessgaranteed.."&"welcome "&id,vbInformation,"Accesstobb inventorysystem") MsgBox "Welcome Back" & id frmmain.menuclose.Caption="logout" frmmain.Text4.Text="" & id frmmain.Text1.Text="" & idd frmmain.Text3.Text="" & Date frmmain.Text2.Text="" & Time frmmain.Frame1.Visible =True frmmain.menulogin.Caption="Systemisusedby"& id frmmain.menulogin.Enabled=False uname = id Else db.Close Text1 = "" Text2 = "" Call MsgBox("Sorrythe Invalidaccount",vbcrittical,"Invalid") Text1.SetFocus End If If idd = "admin"Or id= "admin"Then Call MsgBox("welcome administrator..",vbInformation,"adminlogin") frmmain.menufile.Enabled=True frmmain.menupurchase.Enabled=True frmmain.menusecurity.Enabled=True frmmain.menutransaction.Enabled=True frmmain.menuclose.Enabled=True
  • 91. frmmain.menupdateitem.Enabled=True frmmain.menuupdate.Enabled=True frmmain.menuprint.Enabled=True frmmain.menuadd.Enabled=True frmmain.menuview.Enabled=True frmmain.menuupadteuser.Enabled=True frmmain.menuclose.Enabled=True frmmain.menucreate.Enabled=True frmmain.menureport.Enabled=True End If strsql = "insertintotbltimelog(time_login,position_type,date_login,username) values('" & Time & "','" & idd& "','" & Date & "','" & uname & "')" db.Openstrcon Setrs = db.Execute(strsql) db.Close End Sub Private SubCommand2_Click() UnloadMe End Sub Private SubForm_Load() Withfrmlogin .Top = (Screen.Height - .Height) /2 .Left= (Screen.Width - .Width) /2 End With
  • 92. End Sub Private SubText1_Click() Text1.Text= "" End Sub Main Form Code Dimtitle,titledanceAsString Dimtout As Integer Dimcountertitle AsInteger Private Sub Command1_Click() Me.Frame1.Visible =False End Sub Private SubCommand2_Click() Me.Frame2.Visible =False End Sub Private SubForm_Load() menuupadteuser.Enabled=False menuadd.Enabled=False menuupdate.Enabled=False menuview.Enabled=False menufile.Enabled=False menutransaction.Enabled=False
  • 93. menucreate.Enabled=False frmmain.menureport.Enabled=False title = "BROTHER BURGER SALES ANDINVENTORYSYSTEMV1.2 BY: ITP22PM" End Sub Private SubForm_Unload(Cancel AsInteger) If MsgBox("Are yousure youwant to close the application", vbQuestion+vbYesNo,"CLOSE") =vbYesThen Unload Me Else frmmain.Refresh End If End Sub Private SubLabel1_Click() End Sub Private SubFrame2_DragDrop(Source AsControl,XAsSingle,Y As Single) End Sub Private Submenuclose_Click() If menuclose.Caption="Close"Then If MsgBox("Are yousure youwantto close the application", vbQuestion+vbYesNo,"CLOSE") =vbYesThen
  • 94. tout= Val(Text3.Text) strsql = "insertintotbltimelog(time_logout) values('"& Val(Text3.Text) &"')" db.Openstrcon Setrs = db.Execute(strsql) db.Close UnloadMe End If Else If MsgBox("Are yousure youwantto LOGOFF",vbQuestion+ vbYesNo,"LOGOFF") =vbYesThen UnloadMe End If End If End Sub Private Submenucreate_Click() frmuserupdate.Caption="Create A New Account" frmuserupdate.Frame2.Visible =False frmuserupdate.Frame1.Visible =True frmuserupdate.Show (1) End Sub Private Submenuitem_Click() frmadd.Frame1.Visible =True frmadd.Frame2.Visible =False
  • 95. frmadd.Caption="Addnew Item" frmadd.Show (1) End Sub Private Submenulogin_Click() If menulogin.Caption="Login"Then frmlogin.Show(1) Else If MsgBox("Are yousure do youwan't to Log-off ?", vbQuestion+vbYesNo,"Logoff")=vbYesThen Form_Load menulogin.Caption="Login" menutransaction.Enabled=False menuclose.Caption="Close" If menulogin.Caption="logout"Then If MsgBox("Are yousure youwantto close the application", vbQuestion+vbYesNo,"CLOSE") =vbYesThen UnloadMe End If Else If MsgBox("Are yousure youwantto LOGOFF",vbQuestion+ vbYesNo,"LOGOFF") =vbYesThen UnloadMe End If End If End If End If
  • 96. End Sub Private Submenupdateitem_Click() frmupdate.Listview1.Visible =True frmupdate.Frame1.Visible =True frmupdate.Frame2.Visible =False frmupdate.Show(1) End Sub Private Submenuprint_Click() frmreport.PrintForm UnloadMe End Sub Private Submenuprod_Click() FRMVIEW.Frame1.Visible =True FRMVIEW.Frame2.Visible =False FRMVIEW.Show (1) End Sub Private Submenupurchase_Click() frmpurchase.Show (1) End Sub
  • 97. Private Submenureport_Click() frmreport.Show End Sub Private Submenusup_Click() FRMVIEW.Frame1.Visible =False FRMVIEW.Frame2.Visible =True FRMVIEW.Show (1) End Sub Private Submenusupplier_Click() frmadd.Caption="Addnew Supplier" frmadd.Frame1.Visible =False frmadd.Frame2.Visible =True frmadd.Show (1) End Sub Private Submenuupadteuser_Click() frmuserupdate.Caption="Update Personal Information" frmuserupdate.Frame2.Visible =True frmuserupdate.Frame1.Visible =False frmuserupdate.Show (1) End Sub
  • 98. Private Submenuupdatesupplier_Click() frmupdate.Listview1.Visible =False frmupdate.Frame1.Visible =False frmupdate.Frame2.Visible =True frmupdate.Show(1) End Sub Private Submenuus_Click() frmquan.Show frmquan.Frame2.Visible =True frmquan.Frame1.Visible =False frmquan.Caption="AboutUs." End Sub Private SubTimer1_Timer() titledance =Left(title,countertitle) Me.Caption= titledance countertitle =countertitle+1 If countertitle >=Len(title) +3 Then countertitle =1 titledance ="" End If End Sub
  • 99. Add Form Code Private SubCommand1_Click() UnloadMe End Sub Private SubCommand2_Click() UnloadMe End Sub Private SubCommand3_Click() If TXTBRAND = "" Or TXTPRODUCTID= "" Or TXTPRODUCTNAME = "" Or TXTBRANDSPECS= "" Or TXTUNITPRICE= "" Or TXTQUANTITY = "" Then Call MsgBox("Pleasefillupthe all fields") Else Dim NYMAs String NYM = InputBox("Pleaseenterthe SupplierID","SUPPLIER INFO") If Len(NYM) <= 3 Then Call MsgBox("Please enterthe name of supplier", vbInformation,"InventorySystem") Else strsql = "insertinto tblproduct(product_availability,product_name,product_category,unitpri ce,quantity,product_id) values('"&TXTQUANTITY & "','" & TXTPRODUCTNAME & "','" & Combo1.Text& "','" & TXTUNITPRICE& "','" & TXTQUANTITY& "','" & NYM & "')"
  • 100. db.Openstrcon Setrs = db.Execute(strsql) strsql = "insertintotblbrand(brand_name,brand_specs) values('"& TXTBRAND& "','" & TXTBRANDSPECS& "')" Setrs = db.Execute(strsql) db.Close Call MsgBox("One Producthasbeenadded",vbInformation, "Success") burahin End If End If End Sub Private SubCommand4_Click() If txtnameofsupplier="" Or txtaddress="" Or txttin= "" Then Call MsgBox("Pleasefillupthe all fields",vbCritical + vbExclamation,"infofrom system") Else DimSNYMAs String SNYM= InputBox("Pleaseenterthe SupplierID","SUPPLIER INFO") strsql = "insertinto tblsupplierdetails(suppliername,supplieraddress,suppliertin,supplierid) values('"& txtnameofsupplier&"','" & txtaddress&"','" & txttin& "','" & SNYM & "')" db.Openstrcon Setrs = db.Execute(strsql) db.Close
  • 101. Call MsgBox("One New Supplierhasbeenadded", vbInformation+vbExclamation,"Success") txtnameofsupplier.Text="" txtaddress.Text="" txttin.Text="" End If End Sub Private SubForm_Load() strsql = "select*from tblcategory" db.Openstrcon Setrs = db.Execute(strsql) While Notrs.EOF= True Me.Combo1.AddItemrs(1) rs.MoveNext Wend db.Close Withfrmadd .Top = (Screen.Height - .Height) /2 .Left= (Screen.Width - .Width) /2 End With WithFrame1 .Left= (frmadd.Width - .Width) /2
  • 102. End With WithFrame2 .Top = (frmadd.Height - .Height) /2 .Left= (frmadd.Width - .Width) /2 End With End Sub Subburahin() TXTBRAND= "" TXTBRANDSPECS= "" TXTPRODUCTID = "" TXTPRODUCTNAME = "" TXTQUANTITY = "" TXTUNITPRICE= "" End Sub Private SubFrame1_DragDrop(Source AsControl,XAsSingle,Y As Single) End Sub Update Form Dimctr As String Dimsup AsString Dimctr2 As Integer Private SubCMDSAVE_Click()
  • 103. If TXTBRAND = "" Or TXTBRANDSPECS="" Or TXTPRODUCTID= "" Or TXTPRODUCTNAME = "" Or TXTQUANTITY = "" Or TXTUNITPRICE= "" Or Text1= "" Then Call MsgBox("Pleasefillupthe all fields",vbCritical +vbExclamation,"Notification") Else DimnewcountAsString newcount= Val(TXTQUANTITY) +Val(Text1) ctr = Val(ctr) + Val(Text1) strsql = "update tblproductsetproduct_availability='"&newcount&"',unitprice='" & TXTUNITPRICE & "'where product_id='"& TXTPRODUCTID& "'" db.Openstrcon Setrs = db.Execute(strsql) Call MsgBox("One datahasbeenUpdated",vbInformation+vbExclamation, "SuccessfullyUpdated") db.Close Form_Load ctr = "" clearall End If End Sub Private SubCommand1_Click() If ctr2 = 0 Or txtsupadd= "" Then Call MsgBox("Pleasefillupthe all forms",vbInformation,"Fill upthe all Fields") Else strsql = "update tblsupplierdetailssetsupplieraddress='"&txtsupadd& "',suppliertin='"&txtsuptin&"'where suppliername='"&txtsupname &"'" db.Openstrcon
  • 104. Set rs = db.Execute(strsql) db.Close Form_Load Call MsgBox("One datahas beenupdated",vbInformation,"Successfull") txtsupname.Text="" txtsupadd.Text="" txtsuptin.Text="" End If End Sub Private SubCommand2_Click() UnloadMe End Sub Private SubCommand3_Click() UnloadMe End Sub Private SubForm_Load() ctr2 = 0 Text1= "0" Withfrmupdate .Top = (Screen.Height - .Height) /2 .Left= (Screen.Width - .Width) /2 End With
  • 105. WithFrame2 .Top = (frmupdate.Height - .Height) /2 .Left= (frmupdate.Width- .Width) /2 End With WithListView1 .Left= (frmupdate.Width - .Width) /2 End With strsql = "select*from tblbrand" db.Openstrcon Setrs = db.Execute(strsql) sql = "select*from tblproduct" db1.Openstrcon Setrs1 = db1.Execute(sql) If rs.EOF = False Andrs.BOF= False Then Me.ListView1.ListItems.Clear While Notrs1.EOF = True With Me.ListView1.ListItems.Add .Text= rs1(0) .SubItems(1) =rs(1) .SubItems(2) =rs1(2) .SubItems(3) =rs(2) .SubItems(4) =rs1(4) .SubItems(5) =rs1(3)
  • 106. .SubItems(6) =rs1(1) .SubItems(7) =rs1(5) .SubItems(8) =rs1(6) rs1.MoveNext rs.MoveNext End With Wend End If db.Close db1.Close strsql = "select*from tblsupplierdetails" db.Openstrcon Setrs = db.Execute(strsql) If rs.BOF = False Andrs.EOF = False Then Me.ListView2.ListItems.Clear While Notrs.EOF= True WithMe.ListView2.ListItems.Add .Text= rs(0) .SubItems(1) =rs(1) .SubItems(2) =rs(2) .SubItems(3) =rs(3) sup= rs(2) rs.MoveNext EndWith Wend
  • 107. End If db.Close End Sub Private SubFrame1_DragDrop(Source AsControl,XAsSingle,YAsSingle) End Sub Private SubListView1_DblClick() TXTBRAND= Me.ListView1.SelectedItem.SubItems(1) TXTPRODUCTID = Me.ListView1.SelectedItem.Text TXTPRODUCTNAME = Me.ListView1.SelectedItem.SubItems(2) TXTBRANDSPECS= Me.ListView1.SelectedItem.SubItems(3) TXTUNITPRICE= Me.ListView1.SelectedItem.SubItems(4) Combo1.Text= Me.ListView1.SelectedItem.SubItems(5) TXTQUANTITY = Me.ListView1.SelectedItem.SubItems(6) ctr = Me.ListView1.SelectedItem.SubItems(7) Text2= Me.ListView1.SelectedItem.SubItems(8) End Sub Subclearall() TXTBRAND= "" TXTBRANDSPECS= "" TXTPRODUCTID = "" TXTPRODUCTNAME = ""
  • 108. TXTQUANTITY = "" TXTUNITPRICE= "" Text1= "" Text2= "" Combo1.Text= "Category" End Sub Private SubListView2_DblClick() ctr2 = Me.ListView2.SelectedItem.Text txtsupname =Me.ListView2.SelectedItem.SubItems(1) txtsupadd= Me.ListView2.SelectedItem.SubItems(2) txtsuptin=Me.ListView2.SelectedItem.SubItems(3) End Sub Purchase Publiccsname AsString Publicdaya,balikAsString Publicid,XAs Integer Publiccat,quan, prod,unitdAsString Private SubCommand1_Click() If id = 0 Then Call MsgBox("Pleaseselectitemfirstbefore youcanadd an itemtocart", vbInformation+vbSystemModal,"Notification") Else frmquan.Show(1)
  • 109. End If End Sub Private SubCommand10_Click() frmpurchase.Refresh End Sub Private SubCommand2_Click() frmpurchase.ListView2.ListItems.Clear Call MsgBox("clearitempurchase",vbInformation+vbSystemModal,"Notification") End Sub Private SubCommand3_Click() If Me.ListView2.ListItems.Count=0 Then Else Dim uuAs String strsql = "select*from tblproductwhere product_id="&X & "" db.Openstrcon Set rs = db.Execute(strsql) uu = rs!product_availability db.Close uu = Val(uu) +Val(Me.ListView2.SelectedItem.SubItems(2)) daya = Val(daya) - Me.ListView2.SelectedItem.SubItems(3) Label1.Caption="Gross total:"& daya
  • 110. Me.ListView2.ListItems.Remove (Me.ListView2.SelectedItem.Index) strsql = "update tblproductsetproduct_availability='"&uu & "' where product_id="& X & "" db.Openstrcon Set rs = db.Execute(strsql) db.Close ilagay End If End Sub Private SubCommand4_Click() frmpayment.Show(1) End Sub Private SubCommand5_Click() UnloadMe End Sub Private SubCommand6_Click() Frame3.Visible =True End Sub Private SubCommand7_Click() UnloadMe frmreciept.Show End Sub
  • 111. Private SubCommand9_Click() strsql = "select*from tblproductwhere product_id='"&Txtno.Text&"'" Frame3.Visible =False db.Openstrcon Setrs = db.Execute(strsql) If rs.BOF = False Andrs.EOF = False Then MsgBox "noitem" Me.ListView1.ListItems.Clear While Notrs.EOF= True MsgBox "founditem" WithMe.ListView1.ListItems.Add .Text= rs(0) .SubItems(1) =rs(2) .SubItems(2) =rs(3) .SubItems(3) =rs(4) .SubItems(4) =rs(1) rs.MoveNext EndWith Wend End If db.Close End Sub
  • 112. Private SubForm_Load() Withfrmpurchase .Top = (Screen.Height - .Height) /2 .Left= (Screen.Width - .Width) /2 End With ilagay id= 0 Label1.Caption="Gross Total:0" csname = InputBox("Pleaseenterthe customername ","INVOICE") End Sub Private SubListView1_Click() id= Me.ListView1.SelectedItem.Text quan= Me.ListView1.SelectedItem.SubItems(4) prod = Me.ListView1.SelectedItem.SubItems(1) cat = Me.ListView1.SelectedItem.SubItems(2) unitd= Me.ListView1.SelectedItem.SubItems(3) End Sub Subilagay() strsql = "select*from tblproduct" db.Openstrcon
  • 113. Setrs = db.Execute(strsql) If rs.BOF = False Andrs.EOF = False Then Me.ListView1.ListItems.Clear While Notrs.EOF= True WithMe.ListView1.ListItems.Add .Text= rs(0) .SubItems(1) =rs(2) .SubItems(2) =rs(3) .SubItems(3) =rs(4) .SubItems(4) =rs(1) rs.MoveNext EndWith Wend End If db.Close End Sub Private SubListView2_Click() balik= Me.ListView2.SelectedItem.SubItems(2) X = Me.ListView2.SelectedItem.Text End Sub FormView
  • 114. Publicdell AsInteger Private SubCommand1_Click() UnloadMe End Sub Private SubCommand10_Click() strsql = "select*from tblproductwhere product_id='"&Text2.Text&"'" db.Openstrcon Setrs = db.Execute(strsql) If rs.BOF = False Andrs.EOF = False Then MsgBox "Itemhasbeenfound" Frame4.Visible =False Me.Listview1.ListItems.Clear While Notrs.EOF= True WithMe.Listview1.ListItems.Add .Text= rs(0) .SubItems(1) =rs(1) .SubItems(2) =rs(2) .SubItems(3) =rs(3) rs.MoveNext EndWith Wend Else MsgBox "no itemfound"
  • 115. Me.Listview1.ListItems.Clear Frame4.Visible =False End If db.Close End Sub Private SubCommand2_Click() UnloadMe End Sub Private SubCommand3_Click() If MsgBox("Are yousure do youwant to delete all files",vbQuestion+vbYesNo) =vbYes Then strsql = "delete *fromtblproductwhere product_id=" db.Openstrcon Set rs = db.Execute(strsql) MsgBox "delete all item" db.Close Form_Load Else Form_Load End If End Sub Private SubCommand4_Click() Frame4.Visible =True
  • 116. End Sub Private SubCommand5_Click() If MsgBox("Are yousure do youwant to delete the selectedfiles",vbQuestion+ vbYesNo) =vbYesThen strsql = "delete *fromtblsupplierdetails" db.Openstrcon Set rs = db.Execute(strsql) MsgBox "delete all item" db.Close Form_Load Else Form_Load End If End Sub Private SubCommand6_Click() Frame3.Visible =True End Sub Private SubCommand7_Click() strsql = "select*from tblsupplierdetailswhere supplierid='"&Text1.Text&"'" db.Openstrcon Setrs = db.Execute(strsql) If rs.BOF = False And rs.EOF = False Then MsgBox "Itemhasbeenfound"
  • 117. Frame3.Visible =False Me.ListView2.ListItems.Clear While Notrs.EOF= True WithMe.ListView2.ListItems.Add .Text= rs(0) .SubItems(1) =rs(1) .SubItems(2) =rs(2) .SubItems(3) =rs(3) rs.MoveNext EndWith Wend Else MsgBox "no itemfound" Me.ListView2.ListItems.Clear Frame3.Visible =False End If db.Close End Sub Private SubCommand8_Click() UnloadMe frmmain.Show End Sub Private SubCommand9_Click()
  • 118. UnloadMe frmmain.Show End Sub Private SubForm_Load() If frmmain.Text1.Text="user"Then Command3.Enabled=False Command5.Enabled=False Else Command3.Enabled=True Command5.Enabled=True End If WithFRMVIEW .Left= (Screen.Width - .Width) /2 End With WithFrame1 .Left= (FRMVIEW.Width - .Width) /2 End With WithFrame2 .Left= (FRMVIEW.Width - .Width) /2 End With
  • 119. strsql = "select*from tblproduct" db.Openstrcon Setrs = db.Execute(strsql) If rs.BOF = False Andrs.EOF = False Then Me.Listview1.ListItems.Clear While Notrs.EOF= True WithMe.Listview1.ListItems.Add .Text= rs(0) .SubItems(1) =rs(1) .SubItems(2) =rs(2) .SubItems(3) =rs(3) .SubItems(4) =rs(4) .SubItems(5) =rs(5) rs.MoveNext EndWith Wend db.Close End If strsql = "select*from tblsupplierdetails" db.Openstrcon Setrs = db.Execute(strsql)
  • 120. If rs.BOF = False Andrs.EOF = False Then Me.ListView2.ListItems.Clear While Notrs.EOF= True WithMe.ListView2.ListItems.Add .Text= rs(0) .SubItems(1) =rs(1) .SubItems(2) =rs(2) .SubItems(3) =rs(3) rs.MoveNext EndWith Wend End If db.Close End Sub Private SubListView1_BeforeLabelEdit(Cancel AsInteger) End Sub Private SubText1_Click() Text1.Text= "" End Sub Private SubText2_Click()
  • 121. Text2.Text= "" End Sub FormUser Update Private Subcmdclose_Click(Index AsInteger) UnloadMe End Sub Private SubCommand1_Click() If txtcode = "" Or Combo1.Text="" Or txtempname =""Or txtempno= "" Or txtewan= "" Or txtre = "" Then Call MsgBox("Pleasefillupthe all fields",vbInformation,"Fill upthe all form") Else If txtcode = txtre Then strsql = "insertinto tblemployeedetails(empname,empnum,empdept,emppuritem,ucode)values('"& txtempname &"','" & txtempno&"','" & Combo1.Text& "','" & txtewan& "','" & txtcode & "')" db.Openstrcon Setrs = db.Execute(strsql) Call MsgBox("One Accounthasbeencreated") db.Close UnloadMe Else Call MsgBox("Sorrythe inputcode andthe retype didnotmatch",vbCritical,"") End If
  • 122. End If End Sub Private SubCommand2_Click(Index AsInteger) UnloadMe End Sub Private SubCommand3_Click() UnloadMe End Sub Private SubCommand4_Click() If t4 = t5 Then If t1 = "" Or t2 = "" Or t3 = "" Or t4 = "" Or t5 = "" Or t6 = "" Then Call MsgBox("Please fill upthe all forms",vbInformation,"") Else strsql = "update tblemployeedetailssetempname='"&t2 & "',empdept='"& t3 & "',emppuritem='"&t6 & "',ucode='" & t5 & "' where empnum='"& t1 & "'" db.Openstrcon Setrs = db.Execute(strsql) db.Close Call MsgBox("DatahasbeenUpdated") Form_Load t1 = ""
  • 123. t2 = "" t3 = "" t4 = "" t5 = "" t6 = "" End If End If End Sub Private SubForm_Load() strsql = "select*from tblemployeedetails" db.Openstrcon Setrs = db.Execute(strsql) If rs.BOF = False Andrs.EOF = False Then Me.Listview1.ListItems.Clear While Notrs.EOF= True WithMe.Listview1.ListItems.Add .Text= rs(1) .SubItems(1) =rs(0) .SubItems(2) =rs(2) .SubItems(3) =rs(3) .SubItems(4) =rs(4) rs.MoveNext EndWith Wend
  • 124. End If db.Close Withfrmuserupdate .Top = (Screen.Height - .Height) /2 .Left= (Screen.Width - .Width) /2 End With WithFrame1 .Left= (frmuserupdate.Width - .Width) /2 End With strsql = "select*from tbldepartment" db.Openstrcon Setrs = db.Execute(strsql) While Notrs.EOF= True Me.Combo1.AddItemrs(0) rs.MoveNext Wend db.Close End Sub
  • 125. Private SubListView1_DblClick() t1 = Me.Listview1.SelectedItem.Text t2 = Me.Listview1.SelectedItem.SubItems(1) t3 = Me.Listview1.SelectedItem.SubItems(2) t4 = Me.Listview1.SelectedItem.SubItems(4) t6 = Me.Listview1.SelectedItem.SubItems(3) End Sub FormReport Private SubCommand1_Click() If Text1.Text= "" Then Call MsgBox("PleaseEnterProductIDto finditem",vbCritical,"Error") Else strsql = "select*from tblreportwhere product_id='"& Text1.Text&"'" db.Openstrcon Setrs = db.Execute(strsql) If rs.BOF = False Andrs.EOF = False Then MsgBox "Itemhasbeenfound" Me.Listview1.ListItems.Clear While Notrs.EOF= True WithMe.Listview1.ListItems.Add .Text= rs(0) .SubItems(1) =rs(1) .SubItems(2) =rs(2)
  • 126. .SubItems(3) =rs(3) .SubItems(4) =rs(4) .SubItems(5) =rs(5) rs.MoveNext EndWith Wend Else MsgBox "no itemfound" End If db.Close End If End Sub Private SubCommand2_Click() UnloadMe End Sub Private SubForm_Load() strsql = "select*from tblreport" db.Openstrcon Setrs = db.Execute(strsql) If rs.BOF = False Andrs.EOF = False Then Me.Listview1.ListItems.Clear While Notrs.EOF= True
  • 127. WithMe.Listview1.ListItems.Add .Text= rs(0) .SubItems(1) =rs(1) .SubItems(2) =rs(2) .SubItems(3) =rs(3) .SubItems(4) =rs(4) .SubItems(5) =rs(5) rs.MoveNext EndWith Wend End If db.Close End Sub Private SubListview1_BeforeLabelEdit(CancelAsInteger) End Sub Private SubText1_Click() Text1.Text= "" End Sub FormReciept codes:
  • 128. Private SubCommand1_Click() frmreciept.PrintForm End Sub Private SubCommand2_Click() UnloadMe End Sub Private SubForm_Load() frmreciept.Left=(Screen.Width/2) - (frmreciept.Width/2) frmreciept.Top=(Screen.Height/2) - (frmreciept.Height/2) Me.Label6.Caption="Name of Customer: " & frmpurchase.csname Me.LBLCHANGE.Caption="Change: " & frmpayment.sukli Me.Label3.Caption="TenderCash: " & frmpayment.cash Me.LBLTOTAL.Caption="Total Payment: " & frmpurchase.daya Me.LBLTYPE.Caption= "Tax(12%): " & frmpayment.vat Me.Label8.Caption="Total Quantity: " & frmquan.tquan Me.LBLDATE.Caption= "Date: " & Date Me.LBLTIME.Caption= "Time: " & Time Me.Label4.Caption="Username purchases: " & frmmain.Text4.Text End Sub Private SubLabel2_Click()
  • 129. End Sub FormQuantity codes: Publictotaldamage AsString PublictquanAsInteger PublictotAs String Private SubCommand1_Click() If Me.Text1 = "" Then Call MsgBox("Pleaseenteranumber",vbInformation, "Notification") Else If Val(Text1.Text)>Val(frmpurchase.Listview1.SelectedItem.SubItems(4)) Then Call MsgBox("Sorrythe requestnumberof itemisnotvalid",vbInformation, "Notification") UnloadMe Else totaldamage =frmpurchase.daya tot= Val(Text1.Text) *Val(frmpurchase.unitd) tquan= Val(Text1.Text) Withfrmpurchase.ListView2.ListItems.Add .Text= frmpurchase.id .SubItems(1) =frmpurchase.prod .SubItems(2) =Text1.Text .SubItems(3) =tot EndWith DimX AsString
  • 130. Dimquan1 AsString quan1= Val(frmpurchase.quan) - Val(Text1.Text) X= totaldamage totaldamage =tot totaldamage =Val(totaldamage) +Val(X) frmpurchase.daya=totaldamage frmpurchase.Label1.Caption="Nettotal:"& totaldamage frmpurchase.Txtno.Text="" & totaldamage strsql = "insertintotblpurchaseorder (order_id,supplier_id,totalamount,purchase_date) values('"&frmpurchase.id&"','"& frmpurchase.prod&"','" & totaldamage &"','" & Date & "')" db.Openstrcon ' Setrs = db.Execute(strsql) strsql = "update tblproductsetproduct_availability='"&quan1 & "'where product_id="& frmpurchase.id&"" db.Close totaldamage ="" frmpurchase.ilagay Text1.Text="" & totaldamage frmpurchase.Command2.Enabled=True frmpurchase.Command3.Enabled=True frmpurchase.Command4.Enabled=True frmpurchase.Command7.Enabled=False UnloadMe End If End If
  • 131. End Sub Private SubCommand2_Click() UnloadMe End Sub Private SubCommand3_Click() UnloadMe End Sub Private SubForm_Load() Withfrmquan .Top = (Screen.Height - .Height) /2 .Left= (Screen.Width - .Width) /2 End With End Sub Private SubFrame2_DragDrop(Source AsControl,XAsSingle,YAsSingle) End Sub Private SubText1_Click() Text1.Text= ""
  • 132. End Sub FormPayment codes: Dimsubra As Integer Dimbago As Integer Publicsukli,cash,vatAsInteger Private SubCommand1_Click() If Val(frmpurchase.daya)<=Val(Text1.Text) Then sukli = Val(Text1.Text) - Val(frmpurchase.daya) vat = frmpurchase.daya*0.12 Call MsgBox(""& sukli,vbInformation+vbMsgBoxRight,"CustomerChange") sukli = Val(Text1.Text)- Val(frmpurchase.daya) cash = Val(Text1.Text) frmpurchase.ListView2.ListItems.Clear frmpurchase.Label1.Visible =False frmpurchase.Command4.Enabled=False frmpurchase.Command2.Enabled=False frmpurchase.Command7.Enabled=True Unload Me strsql = "insertinto tblreport(product_id,product_name,totalamount,purchase_date,quantity,care_of) values('"& frmpurchase.id&"','" & frmpurchase.prod&"','" & frmpurchase.daya&"','" & Date & "','" & frmquan.tquan&"','" & frmmain.Text4.Text&"')" db.Openstrcon
  • 133. Setrs = db.Execute(strsql) db.Close strsql = "select*from tblproduct" db.Openstrcon Setrs = db.Execute(strsql) subra = rs(1) rs.MoveNext db.Close bago = subra - frmquan.tquan strsql = "update tblproductsetproduct_availability='"&bago & "'where product_id='" & frmpurchase.id&"'" db.Openstrcon Setrs = db.Execute(strsql) Call MsgBox("RemainingStocksnois:" & bago, vbInformation+vbExclamation, "SuccessfullyUpdated") db.Close Call MsgBox("Thankyouandhave a greatday",vbInformation+vbApplicationModal, "Notification") Else Call MsgBox("SorryInsufficientFund.",vbCritical,"Notification") Text1.SetFocus End If UnloadMe End Sub Private SubCommand2_Click()
  • 134. UnloadMe End Sub Private SubForm_Load() Withfrmpayment .Top = (Screen.Height - .Height) /2 .Left= (Screen.Width - .Width) /2 End With End Sub Private SubFrame1_DragDrop(Source AsControl,XAsSingle,YAsSingle) End Sub FormModule Codes: PublicrsAs NewADODB.Recordset PublicdbAs NewADODB.Connection Publicrs1 AsNewADODB.Recordset Publicdb1As NewADODB.Connection PublicidAsString Publicstrsql,sql AsString PublicstrconAs String