Professional Documents
Culture Documents
CSUSB ScholarWorks
2005
Recommended Citation
Hsieh, Dennis Meng Yann, "Food Wholesale Ordering System" (2005). Theses Digitization Project. 2897.
https://scholarworks.lib.csusb.edu/etd-project/2897
This Thesis is brought to you for free and open access by the John M. Pfau Library at CSUSB ScholarWorks. It has
been accepted for inclusion in Theses Digitization Project by an authorized administrator of CSUSB ScholarWorks.
For more information, please contact scholarworks@csusb.edu.
FOOD WHOLESALE ORDERING SYSTEM
A Project
Presented to the
Faculty of
San Bernardino
In Partial Fulfillment
Master of Science
in
Computer Science
by
December 2005
FOOD WHOLESALE ORDERING SYSTEM
A Project
Presented to the
Faculty of
San Bernardino
by
December 2005
Approved by:
?0,
Dr. Keith''Schubert, Chair, Computer Science Date
iii
ACKNOWLEDGMENTS
Dr. Tong Lai Yu and Dr. Ernesto Gomez for their precious
iv
TABLE OF CONTENTS
ACKNOWLEDGMENTS .................................................... iv
v
2,4 Database Design ....................................................... .................. 14
vi
CHAPTER SIX CONCLUSION AND FUTURE DIRECTION
REFERENCES ............................................................................................................... 83
vii
LIST OF TABLES
viii
LIST OF FIGURES
ix
Figure 22. Sale Manager Home Page .................................................. 53
x
CHAPTER ONE
1.1 Introduction
1
a superior customer service necessary to build members for
life.
into two parts (or two related systems). One is FWOS (Food
2
1.3 Project Products
parts.
FWOS system.
3
♦ System: The FWOS system at California State University,
San Bernardino.
system.
proj ect:
1. Future Member.
2. Existing Member.
3. Sale Manager.
4. Sale person.
and functions.
4
View member's
profile
Salesman
Sale
Manager
5
Future
Member
Existing
Member
6
1.5.2 User Interfaces
7
Figure 4. Preliminary Member Main Page
8
View customers
Creat an customer
View customers
Check Product
Detail Report
Creat an customer
change products remain at
Show detail
warehouses
Check Product
Promotion
Logout
Customer Activation
change cusomter order if
= HTML Page needed
= Link -
9
five presents the users manual for the project. Chapter
enhancement.
10
CHAPTER TWO'
SYSTEM DESIGN
maintenance.
2.2 Architecture
tier. There are two main reasons that the three tier
better performance.
11
2.2.1 Client Tier
12
TCP/IP
(Intranet)
not be slower than a 1000 GHz Pentium III and should have
system performance.
13
2.3.2 Communications Interfaces
14
table. It will be changed and updated according
previous balance.
warehouse.
15
The following figure shows the complete database
16
2.4.2 Database Scheme Logical Model
17
Field Name Data Type Description
Store corresponding
warehouse int(10)
warehouse id.
created.
18
Field Name Data Type Description
type.
1 : Restaurant,
2 : Hotel,
4 : Military Base,
5 : School,
6 : Hospital,
7 : Other.
employee size.
1 : 1-25,
3 : 51-100,
4 : 101-500,
5 : Over 500.
1 : 500-1000,
3 : 2001-5000,
4 : 5001-10000, .
5 : Over 10000.
19
Field Name Data Type Description
status of customer. 0:
applicant,
3:activate,
4:suspend,
5:deactivate.
application.
period.
20
Field Name Data Type Description
Note
table.
Customer_temp_products table.
Date, amount, previous unpaid, and bill end date should not
be null.
21
Table 2. Customer Contract Products Table
Note
Customers table.
22
Table 3. Customer Temp Products Table
Note
table.
23
Table 4. Customer Payments Table
Note
table.
be null.
24
Table 5. Main Categories Table
deactivation.
Note
25
Table 6. Sub Categories Table
deactivation.
Note
table.
26
Table 7. Products Table
deactivation.
sale_unit_
int(10) Store unit quantity for sale.
quantity
27
Field Name Data Type Description
0: non seasonal.
promotion
float(5,2) Store promotion price.
price
promotion_
int(10) Store promotion discount.
discount
28
Note
Category table.
Category table.
1 is sale return.
from.
29
Field Name Data Type Description
1: done. 2: complete.
Note
table.
table.
30
Table 9. Sale Items Table
sale_unit
int(10) Store unit quantity for sale.
quantity
3 is promotion quantity.
31
Field Name Data Type Description
Note
table.
32
Table 10. Users Table
status of user. 1 is in
active tinyint(1)
activation; 0 is in
deactivation.
33
Field Name Data Type Description
disapproved, 3: activate, 4:
suspend, 5: deactivate.
Note
table.
34
Table 11. Warehouses Table
warehouse; 0 is office.
activation; 0: deactivation.
Note
table.
35
CHAPTER THREE
IMPLEMENTATION
3.1 Introduction
36
gjj»«jg»l[««»^MM
[Fife Bbl Vay Go Bookmaiki Tab Joob _J •
37
Account;
Home Product Apply Location
}'S»$n7n
Search Product
CZZZZZZ3 SE)
FruitsBerries
Fruits
Bluebeny Golden Raspberry
Berries
Citrus Fruit $25 (IQbkt) WI (lObkt)
Melons
Stone Fruit
Liqnkk
Meat
Seafood
W© J’i'S-j’u-l.:.-
38
Account:
Home Product Location
Password:
?>?<
39
3.2.1.3 Locator Page. This page allows users to
zip code. Users enter the zip code in the search box; the
Account: (chinafood
Home Product Apply Location
Password: j**** ^7 771
5>»ys
40
Account:
Home Product Apply Location
Password:
f^(ndi""| 1 Clear |
41
3.2.2 Food Wholesaler Member Ordering System
42
<3 Food WhnlraJsr;. Member Hong- Mtreilln Firefjix
<F& Edit Go Boofcmaite Tab Tools He’p ■> i ,
Last Login
2005-09-15 00:05:50
Homs Product My Order My BUI My Profile
Ho payment retrieved.
8 Order Items $ 1231654 1355.06
At Fle&sepay yoiw.Wlheflnu jfosrdate:?
If you have further questions and concern, please contact Ines Yapi (1-111-111-1111)
M;wh«s-
43
Last Login
2005-10-1119:03:50
Homo Product My Order My Bill My Profile
chinafood:: logout
Search Product
Fruits
Ltq«Ms
Meat
Vegetables
Rabbit
OSSSI
Contract Product
If you have further questions and concern, please contact toes Yap (1-111-111 -1111)
44
3.2.2.3 My Order Page. Members can see their contract
for changing order until 11th and 26th of each month. After
Finally users are free to view their past orders from the
45
Last Login
2095-10-0519:04:23
Home Product My Order My Bill My Profile
chinafood:: logout
Note:
Complete Orders
1. The contract product can only be alter for addition in quantities.
Older No.S0050U3001 2. Other newly added items are unbound without limitation.
Shipping Date: 2005/01/16
| Additional. Produsts
* *» Ft it’ii ' ~j]/’ SaSepat Origin Price SalePricePromoUon^lscai^tQtCjjntraeiQt/ OrderQt ( Amount' ; T'Sasre
If you have flutter questions and concern, please contact Ices Yapi (1 -111 -111-U11)
FV/CC
46
Last Login
2005-10-05 19:35:05
Home Product My Order My Bill My Profile
chinafoodlogout
Note:
Complete Orders
1. The contract product can only be alter for addition in quantities.
Order No.S00501130Ql 2. OUter newly added items are unbound wiUiout limitation.
Shipping Date: 2005/01/16
Additional Products
.'Product Name' '' ‘ ; -j; Sate UWt’Oflgia Price-Sale Price Promotion ^Discount QtControclQti, Order Qt. i~ " Amount :
0. Ground Chicken 20 lb 00.00 54.00 10 9% 26. 1,800.68 120.80
If you have further questions and concern, please contact Ines Yapi(l-111-111-1111)
<k;y3^0iA^M!!Voho«,< csrs
47
S3
Last Login
2005-10-U 19:46:11
Horae Product My Order My BUI My Profile
American
4. gggptssnt 19 bUt c.ss 2.9$ 39% 39 174.0$ 898.$$
S. fr«<3-Range
Chfctam 3 ea $.00 9.29 58 199 2,897.3© 299.7$
SporWing
a. MSnaral Water 19 bUt $.84 9.02 29 179.99 9.$$
(>■
....A
If you have farther questions and concern, please contact toes Yapi (1-111-111-1111)
48
©O' •) © I' ?£» i H ® ~ T © ziGI
Last Login
2005-10-U 19:46:11
Home Product My Order My BAI My Profile
ddnafood:: logout
«. Free-Range
ChscUen 3 ea 8,99 9.99 58 100 2,997.30 299.79
Sparkling
0. Miners} V/atssr 19 bkt 8,89 9.89 20 173.88 0.89
1 $12,816.5 1 j
Total Purchase Amount: -
'
If you have Author questions and concern, please contact Ines Yapi (1-111-111-1111)
©
®,::
49
3.2.2.4 My Bill Page. Billing page provides member a
detail balance of the account. The user can view the past
starting date and ending date (see Figure 19). Member can
Last Login
2005-10-1319:46:14
Home Product My Order My Bin My Profile
chinaftod:: logout
fifll Statement
L -10*16 Hate Bill Prepared 2525/18/16
mow J Sitting Summary
Start |
Current Charges $ 12,81654
End { Today
If you have farther questions end concern, please contact Ines Yapi (1-111-111-1111}
Maxtor
50
Food Wholesaler : My.BdL- Mozilla Firefox; ■ - .I?. _ - '■
Last Login
2005-10-1? 20:07:40
Home Product My Order My Bill My Profile
ehlnafocd:: logout
Bill Statement
Post Date fransation CredU<+) DebhQ Balance
Transaction
Start |"aoo5"oe-'v’’’’BI
End E5ZZZ7S]
1 vt«w 1
r/$FoQ<.Wh<de«ater..:£My.BtU..,,,..,^
‘6*
®1
21) .
51 s
Lost Login
20B5-10-17 20:07:47
Product My Order My Bill My Profile
rtduafood:: logout
If you have further questions and concern, please contact Ines Yapi (1-11 l-l 114111)
52
3.2,3 Sale Manager and Staff Support System
support interface.
23) .
Home Home
Member Management tjConvert S^le .Orders j j
Create net? member
Log Out Statistic Summary
Suspend 0
Deactivate / Past 0
53
X&Jfeod. Wjrolesf Systems Sole .............. '....
Home
Member Management Start converting....
SOOSIOZBOOX has been created successfully, (casey)
Create new member S0051026D02 has been created successfully, (eaglelnn)
S805102Q003 has been created successfully, (minato)
Log Out S005102B004 has been created successfully, fsolano)
S005102QQQ5 has been created successfully, (petmart)
50051028006 has been created successfully, (harvest)
54
■ 1-'-- 2, . . -f;..:'- • ,■ :■ ;!::'■•■■ L\;;' • :: ? „-J ;'■■■. ' -g-gg-; 1
Weteome to Sate Manager Area uatLotfm
2**9*10*13 20<20t$9
No. 1- 2/ Total 2
Figure 25).
55
Food Wholesaler Support System ^1.
»fss„
*
Si
■, i A « ...... A-**-,......... .. .r a
K3, Sarah
Welcome to Sale Manager Area Vast togm»
2005*10*19 20i20tSS
Member Management
M.t-T"
Create new member
0 Disapprove
Disapprove reason:
j Sumbrt 1
56
3.2.3.4 Approved Applicant List Page for Sale Manager
y - MogtliaFiiefox
Fib Edit..Vtsvi. Oo..vg&okwadufe-vjjb- Tools .Help
ktt,Sarah
IVelcoine to Sale Manager Area test Login:
2GS3-10-13 20i20:SS
Log Out
. ■ .~jaaMB<KgPM>feappro»ei) impiledniXrf ■ f,y-. -<C‘ ***• '* ,
Customer Location Affiliate Apply Date
Dr. Schubert food Inc San fiemardino, California Omen Jade 2005/08/24
No. 1- 1/ Total 1
57
3.2.3.5 Disapproved Applicant List Page for Sale
Log Out
’ 'OtsapproveH-AppitCijnl.
Apply Dais
Golden Sach Hotel Cupertino, California Please contacft us directly on our application 2005/08/14
Panda Goode & Food Holyiand, California 2005/08/14
No. I - 2/Total 2
58
3.2.3.6 Active Member List Page for Sale Manager or
Member Management
UnassignedAp^l^nt'
Create new member
Approved Applicant
Log Out > i ■
Account Balance Contract Start Contract Expired
I Oeactive/Past Member j,
Ines Yap) -39,184.12 2005/01/01 2006/01/01 Account History
0 harvest Bristol Branch Ines Yap) -7,084.43 2005/07/01 2006/02/01 Account History
eagleinn San Bernardino Owen Jade -1,364.76 200S/0S/01 2005/11/01 Account History
Q mlnato San Bernardino Owen Jade 0.00 2005/03/01 2006/03/01 Account History
pj melaka San Francisco Ray Hsieh 0.00 2005/04/01 expired Account History
JTj dosesea Bristol Branch Ines Yapi -5,832.16 2005/09/01 2006/03/01 Account History
0 splash Moines Branch Larry King -4,295.09 2005/04/01 expired Account History
0 farmers Moines Branch Larry King -32,598.74 2005/05/01 2005/11/01 Account History
0 solano San Francisco Ray Hsieh 0.06 2005/09/12 2006/01/01 Account History
0 quest San Francisco Ray Hsieh -5,074.00 2005/08/01 2006/02/01 Account History
Pl petmart Moines Branch Larry King 0.00 2005/08/01 2006/02/01 Account History
0 casey Moines Branch Larry King 0.06 2005/06/01 2006/12/01 Account History
No, X- 12/Total 12
’ - f\ Hud WhoI?-V-rSo?suil2ysf«i ty
Dqm _'->54x _ r _ z ' 7~ ~ 7 ‘
59
^-Eood 'Wholes&IerSnpjiGrtSyBteni Sale, Manager Aiea -- MpzQIa FirefoxT
’File Edit Go Booknuxks Tab’’ Tools Help ‘ ‘ ~ ,
'@5© @ 0- S I Of ® ft 3fe^?a (W Mi,7iw.i^2^2Zm#/srfeZin^^ftaiMmi»rjjst&5='’F~
j3ftMWkbakr.:M/B2l : U. A -ft
‘Done-,. : g®
60
Food Wholesaler Support System
iU, Sarah
Welcome to Sale Manager Area Last Logim
2005'10*13 2Ql2Dt55
Log Out
State: * j CA •• California
Email: *
il_2J Z ; SnteS-Pemw .... IT .... f""U f U
Email:
City: * [SanBrun©
iSan Francisco i
Warehouse Associated: *
if you change shipping address, please search the nearest warehouse again.
^-^Jlpdatfrj
61
Food Wholesaler Support System
I-.. W, Sarah':
Welcome toSale ManagerArea lasttogini
2005-10-13 20)20(55
Member Management
Log Out
City: * ^Bristol
Email: * (food^harvestcdm i
Email: (uanaiSharvest
City: • inrt««(
[update J
62
3.2.3.8 Member Billing Statement Page. The page
■ Support System
Welcome to Bristol Branch Salesman Area Lastlogtoi
2SSS-10-2* Zll2Sl3S
Billing Summary
Amount of Previous Statement ( before 2005/08/17 ) * 13.SS1.04
63
Hi, Ines 1
LastLogin: d
2005-10-28 22:57:31
I' I
nee /Recent Payment II
targes $ 0.00 2005/10/28 $12,816.54 s£ I
D05/11/05) $ 12,016.54 Payment Recieved
II
$ 12,016.54 ■ o7ooT~
. Payment Recorded Successfully I!
ii
£ Ii
II
Date Bill Prepared 2005/10/16
$ 26,367.58
$ (26,367.58)
$ 0.08
64
hoenj Wholesaler Sujifotl System r: Salesman Aiea * Moulin Fuelox
:FEe tidil £fc#' Ga goaktrorks Tab, Took Hep
W. Ines
Welcome to Bristol Brawh Salesman Area LaotLoy.n.
20S5’09 2S2t'2li37
to view all the member order including all the past order
65
Fue Shi Go Bookmarks Tab Tools Htlp ’ " “ ' „ „ »
iis .,u
nu. product Name Sale Unit Sale Price ..... Origin Price Promotion Discount Qt. .Order Qt. Sum Save }\
- - AT-~
User can change the current order account after the before
66
Support System
Welcome to Bristol Branch SalesmanArea Last u«im
2003*t0'2t 29>19tl4
67
CHAPTER FOUR
4.1 Introduction
and reliability.
has been apply constantly until all the known bugs have
68
been removed. The results are listed in the following
tables.
correctly.
properly.
right category.
Product Page Pass
3. Verify the output price shown
correctly.
right position.
work.
recorded.
69
Pages Tests Performed Results
correctly.
Location Page Pass
2. Check all the bottoms work
properly.
works properly.
right category.
products.
70
Pages Tests Performed Results
modified.
My Order Page 3. Check the contract information Pass
changed correctly.
is shown.
function.
properly.
correctly.
71
Table 14. Unit Test Results (Sale Manager/ Salesman)
working properly.
status.
Member
3. Make sure user can approve and
Management Pass
disapprove a member.
Page
4. Make sure user can update
member's status.
steps.
72
4.3 Integration Test Plan
new user.
his/her status.
73
Subsystem Tests Performed Results
listing.
Product 3. Make sure member can add a
Ordering product to current order. Pass
product is correct.
for a member.
Location 2. Locate the nearest warehouse
Pass
sub-system from member's zip code.
74
Subsystem Tests Performed Results
account.
authorization page.
information is correct in
session.
status.
75
4.4 System Test Plan
Microsoft environment.
76
CHAPTER FIVE
MAINTENANCE MANUAL
77
5.2.1 Hourly Maintenance
78
5.3 System Installation
processes.
1. Install PHPMyAdmin.
SQL format.
79
For the FWOS file system, the compressed file for
fwosbackup.tar for the Linux. The media for the backup can
80
CHAPTER SIX
6.1 Conclusion
customer.
81
of members' information and reports which let salesmen to
next level.
world business.
82
REFERENCES
[9] Converse and Park, PHP Bible 2nd Edition, Wiley, 2002.
83