Professional Documents
Culture Documents
Background of The Study
Background of The Study
Background of The Study
Orjalisa Cajes and later carried out by her children for over 30 years. They are producing
ice cream with natural ingredients. It is located in Pagbilao, Quezon with one production
plant. They first sell their ice cream in sticks by peddling in Pagbilao area for 15 years.
Later on, they sell their ice cream in gallons and barrels. The price of the ice cream
amounted to Php 280 per gallons. Currently, they have 16 workers. They have six flavors
of ice cream namely, mango, avocado, pure cheese, sweet corn with cheese,
chocolate, and peanut with cheese. Cajes Ice Cream currently have the following
c. Per Order through texting and social Medias. They also do canvassing in different parts
of Quezon. The Cajes Ice Cream already reached six different municipalities and cities in
Quezon namely, Pagbilao, Tayabas City, Lucena City, Sariaya, and Padre Burgos.
PROBLEM STATEMENT
With the increasing demand of ice cream, the manager finds it difficult to monitor
their sales and profit. For over 30 years, they manually input in their ledger the customer’s
order as well as the cost incurred per production of ice cream. They manually compute
all their sales as well as their cost in their production. Due to this, she personally admits
that it would be a great help if there will be an easier way to compute their profit. There
are also times that she forgot to input customers’ order in their log book Aside from it,
they’re having a hard time backtracking how many gallons of ice cream have they
produce and number of gallons sold as well as the stocks remaining since they have to
flip each page and trace it manually per flavor of ice cream. If they’ll be able to use a
system software that can solve these problems, it would be a great help.
The proposed system for Caje’s Ice Cream addresses the existing problem stated
above. It contains 4 command buttons; POS, Product, Stocks, Generate Profit and Exit
Sales Report
For Stocks
Codes used:
Function showlist1()
strRowsource = "Select productID, product_name, product_desc,
available_stocks FROM Product_Stocks"
List1.RowSource = strRowsource
End Function
End Sub
TextPID.Value = List1.Column(0)
TextPName.Value = List1.Column(1)
TextPDesc.Value = List1.Column(2)
TextPPrice.Value = List1.Column(3)
Text_ProdCost.Value = List1.Column(4)
End Sub
cleartxtbox
End Sub
Function showlist()
strRowsource = "Select ID, product_name, product_desc, product_price,
production_cost FROM product_details_tb ORDER BY ID DESC"
List1.RowSource = strRowsource
End Function
Function cleartxtbox()
TextPID.Value = ""
TextPName.Value = ""
TextPDesc.Value = ""
TextPPrice.Value = ""
Text_ProdCost.Value = ""
rowlist = 0
End Function
If IsNull(Text3.Value) Then
MsgBox ("Please enter date")
Text3.SetFocus
ElseIf IsNull(Text6.Value) Then
MsgBox ("Please enter date")
Text6.SetFocus
ElseIf IsNull(Combo1) Then
MsgBox ("Please Select Report")
Combo1.SetFocus
Else
Dim x As Integer
x = DateDiff("d", Text3.Value, Text6.Value)
If x < 0 Then
MsgBox ("Please enter correct date")
Text3.SetFocus
Else
If Combo1 = "Sales Report" Then
DoCmd.OpenReport "Sales_Report", acViewReport
ElseIf Combo1 = "Sales Report per Customer" Then
DoCmd.OpenReport "Customer_Report", acViewReport
ElseIf Combo1 = "Production Report" Then
DoCmd.OpenReport "Production_Report", acViewReport
End If
End If
End If
End Sub
Function FillCBox()
Combo1.AddItem ("Sales Report")
Combo1.AddItem ("Sales Report per Customer")
Combo1.AddItem ("Production Report")
End Function
FORM: POS
Function showlist12()
strRowsource = "Select productID, product_name as Product, product_desc
as Size, available_stocks as Stocks, product_price as Price FROM Product_Stocks"
List28.ColumnWidths = "500,4000,800,700,200"
List28.RowSource = strRowsource
pid = 0
End Function
Function AddheaderListbox()
List11.ColumnCount = 6
List11.ColumnWidths = "500,3000,800,1000,1000,200"
item = "'PID';'Product';'Size';'Item Cost';'Quantity';'Price'"
List11.AddItem item
End Function
For i = 1 To List11.ListCount - 1
scproductID = List11.Column(0, i)
sct_quantity = List11.Column(4, i)
scPrice = List11.Column(3, i)
sct_ID = tranID
sqlsc = "INSERT INTO transaction_item_tb(t_ID,productID, t_quantity, t_Price)
VALUES ('" & tranID & "', '" & scproductID & "', '" & sct_quantity & "', '" & scPrice &
"')"
CurrentDb.Execute sqlsc
Next
sqlttb = "INSERT INTO transaction_tb(t_ID, client_name, client_address,
t_sales, t_date) VALUES ('" & tranID & "', '" & TextCname & "', '" & TextCaddress &
"', '" & TextGTotal & "', '" & Date & "')"
CurrentDb.Execute sqlttb
showlist12
clear
End Sub
Function clear()
TextCname.Value = ""
TextCaddress.Value = ""
TextGTotal.Value = ""
TextPayment.Value = ""
Text3.Value = ""
rowlist = 0
rowlist2 = 0
Dim i As Integer
For i = List11.ListCount - 1 To 0 Step -1
List11.RemoveItem (i)
Next i
AddheaderListbox
End Function
Function get_TID()
If DCount("*", "transaction_tb") = 0 Then
tranID = 1
Else
Dim x As Integer
x = DMax("[t_ID]", "transaction_tb", "[t_ID]" <> "0")
tranID = (x + 1)
Text31 = tranID
End If
End Function
If pid = 0 Then
x = MsgBox("Please select an item", , "Message Alert")
Else
Response = InputBox("How many " & pname & " do you want to add?",
"Add to Cart")
If StrPtr(Response) = 0 Then
x = MsgBox("Action has been canceled", , "Message Alert")
ElseIf Len(Response) = 0 Then
MsgBox ("Please input a number")
ElseIf Response > pquantity Then
x = MsgBox("Not enough stock of " & pname, , "Message Alert")
Else
List11.ColumnCount = 6
item = "'" & pid & "';'" & pname & "';'" & pdesc & "';'" & pprice & "';'" &
Response & "';'" & (Response * pprice) & "'"
List11.AddItem item
GrandTotal
x = MsgBox("Item added to Cart", , "Message Alert")
showlist12
End If
End If
End Sub
End If
End Sub
FORM: MENU
Submitted By:
Caringal, King Aljon L.
Cullarin, Jazteen Faye
De Asis, John Anghelo A