Master Siomai POS System Overview
Master Siomai POS System Overview
MASTER SIOMAI
Proponents:
Ditucalan, Johaira
Oducayen, Jayson
Ortojan, Chermaine J.
April 2017
2
ACKNOWLEDGEMENT
We would like to express our sincerest gratitude to the following people that
Mr Mark Umadhay for giving us helpful advises that we can finish this project.
To our dearest family, relatives and friends who inspire us to finish this project for their
To all person who made this research possible and to our Almighty God, for the strength,
Table of Contents
1. Introduction ..................................................................................................................6
2. Overview .......................................................................................................................7
3. Assumptions/Constraints/Risks ..................................................................................8
3.1 Assumptions.......................................................................................................8
3.3 Risks...................................................................................................................8
List of Figures
List of Tables
1. Introduction
technologies being applied in the business. A quick Point of Sale process is the way that the
business can find it easier and better way to implement the Point of Sale System. The Point
of Sale proposed system will be implementing through the use of equipment like computers
and printers. Users can use this equipment in order to be done faster and easier.
Having the right POS System to run your business is critical to your business
support and proper functioning. A good POS system will save you time and money. It
allows you and your employees to concentrate on selling your products to your customers,
The Point of Sale software was built specifically for retailers, and small businesses
that require order capture, taking payments, processing returns, tracking inventory, generate
and print bar codes, and generate reports that helps managers of owners of such businesses
to make intelligent decisions about of what to change and not to change in order to continue
growing their business . It allows you to quickly process customers purchases which keep
2. Overview
Our proposed system can compute, cancel, refresh and save transaction. All
transaction will be stored in a database for future use. The proposed system can do easy
and faster transaction. We decide to make a system for Master Siomai because they
only using notebook on keeping their files and transactions properly stored, we also
know that there are lot of people buying siomai in master siomai so its hard for them
manage every transaction manual so we try to make a system that will be very helpful
for them to manage all their transactions. The proposed system is user friendly and its
easy to use. It can update, cancel and save transactions. It can also compute
mathematical operation and can print receipt for costumers. All records can be stored in
Assumption/Constraints/Risks
3.1 Assumption
They dont have receipt. Can you make an official receipt exclusive only for Master
Siomai?
2. The transactions are recorded using by a notebook. Can you make a system that can
3. They are using calculator in computing. Can you make a system that can
3.2 Constraints
The cashier can only view and manipulate the billing section.
3.3 Risks
4. Design Decisions
Products
There are 4 fields which are the Product Type, Price, and Quantity.
Product Type - there are seven types of product type which are the Japanese
Siomai, Chicken Siomai, Beef Siomai, Pork Siomai, Shark Fin Siomai, Black
Quantity - the quantity stands also for the stocks of each coffee.
Sales
There are 4 fields in sales which are the Sale Id, Product Name, Product Type,
Sale Date, Sale Quantity, Sale Price, Total Sale Price, and Sale User.
Product Type - are groups of products which share the same attributes.
Sale Quantity - The quantity or number of goods sold or services sold in the
Sale Price - the price at which something sells or is sold at after its price has
been reduced.
Totals Sale Price - total of the price at which something sells or is sold at after
Performance
The database design is not time-consuming to get information from the database.
Availability
Manageability- the system is user friendly and it give consistent and accurate data
Security
Cashier- the cashier has the access to payment and orders only.
Privacy
We use Microsoft SQL Server 2008 Management Studio Express because its
broad group of graphical tools and rich script editors that provide access to SQL
Admin
The duties of system administrators are wide ranging. It handles all the
Cashier
the system will be approved by our client. The systems performance is simple but
Figure 5.1
Figure 5.1 shows the two major tables of Master Siomai which are related to each
other.
14
Product Table
Figure 5.2
Figure 5.3
Figure 5.2 and 5.3 shows the data types of each field of the two tables of Master
Siomai
15
Products
Field name Data Types Field Size
Chicken Int 4
Beef Int 4
Pork Int 4
Sharsfin Int 4
Gulaman Int 4
Master Int 4
Rice
Japanese Int 4
Table 1
Products
Field name Data Types Field Size
Chicken Stocks Int 4
Beef Stocks Int 4
Pork Stocks Int 4
Sharsfin Stocks Int 4
Gulaman Stocks Int 4
Master Rice Stocks Int 4
Japanese Stocks Int 4
Table 2
Data Dictionary
Table 1 and Table 2 show the data dictionary of each of the two tables of Master
Siomai. It includes the data type and the field size of each field.
16
The data structure of our system is composed of two major tables that are
related to each other; the applicants table and the financing record table.
Data Software
Figure 5.6 and Figure 5.7 shows the two tables of Master Siomai and their fields. It
Figure 5.6
Figure 5.7
Physical Schema
Figure 5.6 and Figure5.7 shows the physical schema of the two tables of Master
Siomai.
18
commitment to you. Document is our responsibilities as a services provider and the clients
receiving services documents processes for requesting services. The following sub-section
The client role in the system is administrator which means it is only the person that
can update and add transaction and also the person that can manage the system. The user is
the person that can proceed to the billing section. The system is knowledgeable, it does not
require computer skills and since the system is based on our clients business it is easy for
the successor to its original Visual Basic language. Although the ".NET" portion of the
name was dropped in 2005, this article uses "Visual Basic [.NET]" to refer to all Visual
Basic languages releases since 2002, in order to distinguish between them and the classic
Visual Basic. Along with Visual C#, it is one of the two main languages targeting the .NET
framework.
Basic .NET language is Visual Studio. Most of Visual Studio editions are commercial; the
only exceptions are Visual Studio Express and Visual Studio Community, which
line compiler called vbc.exe. Mono also includes a command-line VB.NET compiler.
We use Visual Basic because its Easy to learn. With Visual Basic you can develop
Windows based applications and games. Visual Basic is much easier to learn than other
language (like Visual C++), and yet it's powerful programming language.
Visual Basic provides more of the actual code for a programmer than any others
non-visual programming language. This makes it a widely used programming language for
visual applications.
20
Software Requirements
mySql R2 2008
Vb.net 2010
Hardware Requirements
Laptop
2GB RAM
x64-based processor
HDD Storage
21
Windows 8 and Windows 10. System allocation for windows 7 professional is 16 GB for
the 32 bit OS, and 20 GB for the 64 bit OS. For windows 8 1 GB for the 32 bit OS, 2 GB for
the 64 bit OS. And for Windows 10 is 1 GB for the 32-bit OS, 2 GB for the 64-bit OS.
Admin
The duties of system administrators are wide ranging. It handles all the
User
The Visual basic 2010 and the database will not work properly if the Software
will transfer to the other version of Visual basic and the database.
6.3.3Data Formats
Japanese Int
Chicken Int
Beef Int
Pork Int
SharkFin Int
BlackGulaman Int
MasterRice Int
Total Int
Cash Int
Change Int
JapaneseStock Int
ChickenStock Int
BeefStock Int
PorkStock Int
SharksFinStock Int
MasterRiceStock Int
24
Our system does not include an automatic back-up and recovery feature. To
make up for this, the proponents strategy is to manually back-up the important
Appendix B: Acronyms
Table 3-Acronyms
DD Data Dictionary
Appendix C: Glossary
Table 4 Glossary
Term Definition
Appendix D: Approvals
The undersigned acknowledge that they have reviewed the Database Design
Document and agree with the information presented within this document. Changes
to this Database Design Document will be coordinated with, and approved by, the
Table 5 Approvals
Appendix F: Codes
Log in
End Sub
End Class
Main Menu
Public Class MasterSiomaiMenu
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If Asc(e.KeyChar) < 48 Or Asc(e.KeyChar) > 57 Then
e.Handled = True
MessageBox.Show("You can only input number!")
End If
End Sub
35
a = Val(TextBox1.Text)
b = Val(36)
c=a*b
payments.TextBox1.Text = c
End Sub
a = Val(TextBox2.Text)
b = Val(30)
c=a*b
payments.TextBox2.Text = c
End Sub
a = Val(TextBox3.Text)
b = Val(30)
c=a*b
payments.TextBox3.Text = c
End Sub
36
a = Val(TextBox4.Text)
b = Val(30)
c=a*b
payments.TextBox4.Text = c
End Sub
a = Val(TextBox5.Text)
b = Val(36)
c=a*b
payments.TextBox5.Text = c
End Sub
a = Val(TextBox6.Text)
b = Val(12)
c=a*b
payments.TextBox6.Text = c
End Sub
Private Sub TextBox7_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles TextBox7.KeyPress
If Asc(e.KeyChar) < 48 Or Asc(e.KeyChar) > 57 Then
e.Handled = True
MessageBox.Show("You can only input number!")
End If
End Sub
a = Val(TextBox7.Text)
b = Val(10)
c=a*b
payments.TextBox7.Text = c
End Sub
Private Sub btnOrder_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnOrder.Click
Dim ask As MsgBoxResult
ask = MsgBox("Are you sure with your order?", MsgBoxStyle.YesNo, "")
If ask = MsgBoxResult.Yes Then
MsgBox("You choose yes!")
Me.Hide()
payments.Show()
Else
If ask = MsgBoxResult.No Then
MsgBox("You choose no!")
End If
End I
payments.TextBox11.Text = TextBox1.Text
payments.TextBox12.Text = TextBox2.Text
payments.TextBox13.Text = TextBox3.Text
payments.TextBox14.Text = TextBox4.Text
38
payments.TextBox15.Text = TextBox5.Text
payments.TextBox16.Text = TextBox6.Text
payments.TextBox17.Text = TextBox7.Text
End Sub
Private Sub MasterSiomaiMenu_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
End Sub
End Class
Payments
Imports System.Data.SqlClient
Imports System.IO
Imports Microsoft.VisualBasic
Public Class payments
Dim cn As New SqlConnection("Data Source=SHERLYN-PC\SQLEXPRESS;Initial
Catalog=Siomai;Integrated Security=True")
Dim cmd As New SqlCommand
Dim da As New SqlDataAdapter
Dim ds As New DataSet
Dim dt As New DataTable
Dim dt1 As New DataTable
Dim i As Integer
Dim a As New OpenFileDialog
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TextBox1.TextChanged
Dim a, j As Integer
a = Val(TextBox1.Text)
j=a
TextBox8.Text = j
End Sub
Private Sub TextBox7_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TextBox7.TextChanged
Dim a, b, c, d, g, h, i, j As Integer
a = Val(TextBox1.Text)
b = Val(TextBox2.Text)
c = Val(TextBox3.Text)
d = Val(TextBox4.Text)
g = Val(TextBox5.Text)
h = Val(TextBox6.Text)
i = Val(TextBox7.Text)
j=a+b+c+d+g+h+i
TextBox8.Text = j
End Sub
39
a = Val(TextBox1.Text)
b = Val(TextBox2.Text)
c = Val(TextBox3.Text)
d = Val(TextBox4.Text)
g = Val(TextBox5.Text)
h = Val(TextBox6.Text)
j=a+b+c+d+g+h
TextBox8.Text = j
End Sub
a = Val(TextBox1.Text)
b = Val(TextBox2.Text)
c = Val(TextBox3.Text)
d = Val(TextBox4.Text)
g = Val(TextBox5.Text)
j=a+b+c+d+g
TextBox8.Text = j
End Sub
Private Sub TextBox4_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TextBox4.TextChanged
Dim a, b, c, d, j As Integer
a = Val(TextBox1.Text)
b = Val(TextBox2.Text)
c = Val(TextBox3.Text)
d = Val(TextBox4.Text)
j=a+b+c+d
TextBox8.Text = j
End Sub
a = Val(TextBox1.Text)
40
b = Val(TextBox2.Text)
c = Val(TextBox3.Text)
j=a+b+c
TextBox8.Text = j
End Sub
a = Val(TextBox1.Text)
b = Val(TextBox2.Text)
j=a+b
TextBox8.Text = j
End Sub
ShowRecord()
Show1Record()
End Sub
If i > 0 Then
MessageBox.Show("Save" & i & "records successfully")
Clear()
End If
41
cn.Close()
End Sub
Sub Clear()
TextBox1.Clear()
TextBox2.Clear()
TextBox3.Clear()
TextBox4.Clear()
TextBox5.Clear()
TextBox6.Clear()
TextBox7.Clear()
TextBox8.Clear()
TextBox9.Clear()
TextBox10.Clear()
TextBox11.Clear()
TextBox12.Clear()
TextBox13.Clear()
TextBox14.Clear()
TextBox15.Clear()
TextBox16.Clear()
TextBox17.Clear()
TextBox9.Focus()
End Sub
End Sub
Sub ShowRecord()
cn.Open()
With cmd
.Connection = cn
.CommandText = "Select * from Master"
End With
da.SelectCommand = cmd
dt.Clear()
da.Fill(dt)
dg.DataSource = dt
dg.RowTemplate.Height = 20
cn.Close()
42
End Sub
Sub Show1Record()
cn.Open()
With cmd
.Connection = cn
.CommandText = "Select * from Stock"
End With
da.SelectCommand = cmd
dt1.Clear()
da.Fill(dt1)
dg1.DataSource = dt1
dg1.RowTemplate.Height = 20
cn.Close()
End Sub
End Sub
End Sub
End Sub
Dim a, b, c As Integer
a = Val(TextBox8.Text)
b = Val(TextBox9.Text)
c=b-a
TextBox10.Text = c
End Sub
End Sub
End Sub
Label21.Enabled = False
cn.Open()
44
End If
If Val(TextBox9.Text) < Val(TextBox8.Text) Then
MessageBox.Show("Not enough cash")
End Sub
45
End Sub
End Sub
End Sub
End Sub
End Class
Stocks
Imports System.Data.SqlClient
Imports System.IO
Imports Microsoft.VisualBasic
Public Class stock
Dim cn As New SqlConnection("Data Source=SHERLYN-PC\SQLEXPRESS;Initial
Catalog=Siomai;Integrated Security=True")
Dim cmd As New SqlCommand
Dim da As New SqlDataAdapter
Dim ds As New DataSet
Dim dt As New DataTable
Dim i As Integer
Dim a As New OpenFileDialog
Dim p1 As Integer
46
If i > 0 Then
MessageBox.Show("Save" & i & "records successfully")
End If
cn.Close()
End Sub
Sub Clear()
TextBox1.Clear()
TextBox2.Clear()
TextBox3.Clear()
TextBox4.Clear()
TextBox5.Clear()
TextBox6.Clear()
End Sub
Sub ShowRecord()
cn.Open()
With cmd
.Connection = cn
.CommandText = "select * from stock"
End With
da.SelectCommand = cmd
dt.Clear()
da.Fill(dt)
dg.DataSource = dt
dg.RowTemplate.Height = 20
cn.Close()
End Sub
47
ShowRecord()
End Sub
If i > 0 Then
MessageBox.Show("Save" & i & "records successfully")
End If
cn.Close()
End Sub
If i > 0 Then
MessageBox.Show("Save" & i & "records successfully")
End If
cn.Close()
End Sub
48
If i > 0 Then
MessageBox.Show("Save" & i & "records successfully")
End If
cn.Close()
End Sub
If i > 0 Then
MessageBox.Show("Save" & i & "records successfully")
End If
cn.Close()
End Sub
If i > 0 Then
MessageBox.Show("Save" & i & "records successfully")
49
End If
cn.Close()
End Sub
If i > 0 Then
MessageBox.Show("Save" & i & "records successfully")
Clear()
End If
cn.Close()
End Sub
If i > 0 Then
MessageBox.Show("Save" & i & "records successfully")
Clear()
End If
cn.Close()
End Sub
End Class