Top-Rated Free Essay
Preview

Database Project

Powerful Essays
1591 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Database Project
AGGREGATED
CATERING SYSTEM
PROJECT REPORT
11/12/2012

Contents
1 Problem Description ..............................................................................................................................................3
1.1 Description of the organization ................................................................................................................3
1.2 Scope of the database ....................................................................................................................................3
2 Entity-Relationship Diagram ..............................................................................................................................4
3 Relational Database Schema ...............................................................................................................................5
4 Printouts of Data Input Screen Form ..............................................................................................................6
4.1 Flavor Input Screen Forms ..........................................................................................................................6
4.2 Restaurant Input Screen Forms ................................................................................................................7
4.3 Menu Input Screen Form .............................................................................................................................8
4.4 Individual Customer Input Screen Form ...............................................................................................9
4.5 Group Customer Input Screen Form .................................................................................................... 10
4.6 Special Discount Input Screen Form .................................................................................................... 11
4.7 Order Main Screen Form ........................................................................................................................... 12
4.8 Order Detail Screen Form ......................................................................................................................... 13
4.9 Delivery Company Input Screen Form ................................................................................................ 14
4.10 Delivery Employee Input Screen Form ............................................................................................ 15
4.11 Delivery Detail Screen Form ................................................................................................................. 16
5 Sample Reports ..................................................................................................................................................... 17
5.1 Restaurant Sorted By Flavor ................................................................................................................... 17
5.2 Delivery Company Sorting ....................................................................................................................... 17
5.3 Order Completed .......................................................................................................................................... 18
5.4 Order Incompleted ...................................................................................................................................... 18
5.5 Income Before Discount ............................................................................................................................ 19
5.6 Income After Discount ............................................................................................................................... 19
5.7 Menu Of Restaurant .................................................................................................................................... 20
6 Printouts of Menu Screens................................................................................................................................ 21
6.1 Aggregated Catering System Main Menu ........................................................................................... 21
6.2 Backstage......................................................................................................................................................... 21
6.2.1 Restaurant ................................................................................................................................................... 22
6.2.2 Delivery ........................................................................................................................................................ 23
6.2.3 Customer ...................................................................................................................................................... 24
6.3 Customer Inquery ........................................................................................................................................ 24
6 Who contributed to what part of our project ........................................................................................... 25
6.1 Preparation ..................................................................................................................................................... 25
6.2 Earlier Period................................................................................................................................................. 25
6.3 Later Period .................................................................................................................................................... 25
2

1 Problem Description
1.1 Description of the organization
The project of our group is aggregated catering systems. The main function is to classify the dishes offered by various restaurants for customers to select .
Customers can choose and buy dishes through our system conveniently, and the order will be submitted to the merchant automatically. After the food is cooked, it will be delivered to the customer's home by local take-away company, and the delivery status of all orders can be tracked in the backstage.

1.2 Scope of the database
The database system consists of 12 tables, 11 forms and 6 reports, our database system includes 3 modules: customer information management, business information maintenance and order status tracking. The 5 tables, Restaurant,
Menu, OrderMain, Flavor and OrderDetail, belong to business information maintenance module. IndividualCustomer, GroupCustomer, SpecialDiscount, these 3 tables belong to the customer information module. The last 3 tables,
DeliveryCompany, DeliverEmployee and DeliveryDetail, belong to the order tracking module.
Following is detailed description of the database system:

3

2 Entity-Relationship Diagram
DeliveryCompany
DCNo
DCName
DCAdd
DCCity
DCState
DCZip
DCPhoneNo

DeliveryEmlyee
ENo
EFirstName
ELastName
DCNo

Order Detail
ONo
DishNo
DishQty

DeliveryDetail
DNo
ONo
ENo
DSt

Customer

OrderMain

CNo
CAdd
CCity
CState
Czip
CPhoneNo

ONo
RNo
CNo
ODate

D,C
Group Customer

DishNo
DishName
DishPrice
R.No

Flavor
FlavorID
FlavorDesc

Individual Customer

GCName

Menu

ICFirstName
ICLastname

Restaurant
RNo
RName
RAdd
RCity
RState
RZip
RPhoneNo
FlavorID

Special Discount
C.No
R.No
Discount

4

3 Relational Database Schema
Menu (RNo, Dishno, DishName, DishPrice)
Menu.Rno references Restaurant.Rno
Restaurant (RNo, RName, RAdd, RCity, RState, RZip, RPhoneNo, FlavorID)
Restaurant.FlavorID references Flavor.FlavorID
Flavor (FlavorID, FlavorDesc)
GroupCustomer
(CNo, GCName, GCSize, GCAdd, GCCity, GCState, GCZip, GCPhone)
GroupCustomer.CNo references Customer.CNo
IndividualCustomer
(CNo,ICFirstname, IClastName, ICAcc, ICCity, ICState, ICZip, ICPhoneNo)
Individual.CNo references Customer.CNo
OrderMain (ONo, RNo, ICNo, GCNo, ODate)
OrderMain.RNo references Restaurant.RNo
OrderMain.CNo references Customer.CNo
DeliveryDetail (DNo, ONo, ENo, DSt)
DeliveryDetail.ONo references OrderMain.ONo
DeliveryDetail.ENo references DeliveryEmployee.ENo
DeliveryEmployee (ENo, EFirstName, ELastName, DCNo)
DeliveryEmployee.DCNo references DeliveryCompany.DCNo
DeliveryCompany
(DCNo, DCName, DCAdd, DCCity, DCState, DCZip, DCPhoneNo)
OrderDetail (ONo, DishNo, DishQty)
OrderDetail.ONo references OrderMain.ONo
SpecialDiscount (RNo, CNo, Discount)
SpecialDiscount.RNo references Restaurant.RNo
SpecialDiscount.CNo references Customer.Cno

5

4 Printouts of Data Input Screen Form
4.1 Flavor Input Screen Forms
In the Flavor Form, we can add a new flavor or delete unwanted flavor.
In the field below the table, we list all restaurants come from that flavor, as well as restaurant information.

6

4.2 Restaurant Input Screen Forms
In the Restaurant Form, a new restaurant and its information can be added or deleted. What’s great is the state of the restaurant can be selected from a drop-down form, no need to be manually entered in. Besides, the flavor is selected from flavorID to classify the restaurant taste.
In the table below, we list the specific information about each restaurant’s cuisine and price.

7

4.3 Menu Input Screen Form
In the Menu Input Screen Form, the new dishes as well as the price can be added or deleted. Restaurant information is selected from a drop-down form, however other information need to be manually entered in.
We list each cuisine order in the table below the input field.

8

4.4 Individual Customer Input Screen Form
In our Database System, our customers are divided into two categories, one is the ordinary individual customers, the other is corporate clients.
Personal customer table can be added to the new individual customers as well as specific information of individual customers, and also can delete individual customers. Customer state is selected from a drop-down form, do not need to be manually entered in.
In the table below the input field, we list every individual customer order’s information. 9

4.5 Group Customer Input Screen Form
In the database, our customers are divided into two categories, one is the ordinary individual customer, the other is group customer.
With the group customer form, we can add or delete a new customer’s information. And the state of the customer is selected from a drop-down form.
We list each restaurant special discount to each group at below.

10

4.6 Special Discount Input Screen Form
In the Special Discount Input Screen Form, the new restaurant discounts for corporate clients can be added or deleted. Restaurant information, RNo, is selected from a drop-down menu. Group customers information, GCNo, is the same. But the discount is manually entered in.

11

4.7 Order Main Screen Form
In the Order Main Screen Form, the new orders, order customer ID, restaurant number and order date can be added and deleted. Restaurant information, RNo, is selected from a drop-down form, no need to be manually typed in, as well as the customer number. Order date can be selected from the calendar.
We list each order detail in the table below the input field.

12

4.8 Order Detail Screen Form
In the Order Detail Screen Form, the new order detail, the number of orders for specific dishes can be added or deleted. Order number, as well as the dishes number, can be selected from a drop-down form. Dishes quantity need to be manually input in.

13

4.9 Delivery Company Input Screen Form
In the Delivery Company Input Screen Form, the new delivery company and their specific information can be added or deleted. Company state is selected from a drop-down form, while other information are manually input in.
We list the name and ID of each Delivery Company In the table below in the input field. 14

4.10 Delivery Employee Input Screen Form
In the Delivery Employee Input Screen Form, the ID and name of a new Employee can be added, you can also delete it. The ID of the company which hires the employee, DCNo, can be selected from a drop-down form. Other information are manually input in.
In the table below in the input field, we list the status of delivery order by each employee. 15

4.11 Delivery Detail Screen Form
In the Delivery Detail Screen Form, We can add a new delivery detail and status, and the corresponding order number and ID of employee who is responsible for the delivery. We can also delete a detail of the order. Besides, order number ,as well as the Employee Number, is selected from a drop-down table. After delivery is done, we select the DSt, which means the order has been delivered.

16

5 Sample Reports
5.1 Restaurant Sorted By Flavor
Here's the specific list of restaurants sorted by flavors.

5.2 Delivery Company Sorting
Here's the list of all delivery companies and the number of employees of each company. 17

5.3 Order Completed
Here's the list of orders that have been delivered.

5.4 Order Incompleted
Here's the list of orders that have not been delivered.

18

5.5 Income Before Discount
Here's the list of total income of each restaurant simply according to the order detail. 5.6 Income After Discount
In the system, restaurants offer special discounts for group customers, so that the final income should to minus the discount.
Here's the list of total income of each restaurant after group customer discount.

19

5.7 Menu Of Restaurant
Here's the specific list of menus of all restaurants.

.

20

6 Printouts of Menu Screens
6.1 Aggregated Catering System Main Menu
The main menu includes submenu of Backstage, Customer inquery and exit.

6.2 Backstage
Under the Backstage menu, there are three submenus including restaurant, delivery, customer and go back.

21

6.2.1 Restaurant
Under the restaurant menu, there are eight buttons: restaurant, menu, ordermain, flavor, orderdetail, income after discount, income before discount and go back.
By clicking the income before/after discount buttons, system will display the total income of each restaurant before and after the group customer discount.

22

6.2.2 Delivery
Under the delivery menu, there are six buttons: order completed, order incompleted, delivery company, delivery employee, delivery detail and go back.
We can learn whether a order has been delivered or not by clicking the order completed and order incompleted buttons.

23

6.2.3 Customer
Under the customer menu, there are four buttons: group customer, individual customer, special discount and go back.

6.3 Customer Inquery
Under the customer inquery menu, there are three buttons: menu of restaurant, restaurant sorted by flavor, and go back.
So that customers can get the specific list of restaurants sorted by flavors and menus of all restaurants .

24

6 Who contributed to what part of our project
6.1 Preparation
First of all, all the six members of the group gather around and discuss the main idea of the database. When the main idea is determined, we started to create the database. 6.2 Earlier Period
Yangyin Lin drew ER diagrams.
Kai Lu created the table of Group Customer, Individual Customer and Special
Discount.
Yang Yang & Peipei Chen created the table of Delivery Company, Delivery
Employee, Delivery Detail.
Yizhou Song & Gefan Meng created the table of OrderMain, OrderDetail,
Restaurant , Menu and Flavor

6.3 Later Period
Yangyin Lin integrated data of each table and created the relationship between every table.
Kai Lu created Data Input Screen Forms.
Yang Yang created Sample Reports.
Peipei Chen created Menu Screens.
Yizhou Song & Gefan Meng wrote Report.

25

You May Also Find These Documents Helpful

  • Good Essays

    * In an inventory order system, you don't want an order to be deleted if there are inventory order items, or those items will be orphaned.…

    • 579 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    As an accountant, it is critical to say that many of the possible complications that arise in this case are due to feeble project management and monitoring issues. After analyzing your transcript it became visible that an apparent organizational structure ceases to exist. Examining the relationship with your business partner and the staff reaction to this matter, it is recommended that authority should be centralized and responsibilities should be delegated with accountability. Furthermore, direct reporting approach should be taken to ensure decisive information is available in an orderly manner. To take it a step further, it is advisable that formal code of conduct and policy and procedure manual is present to explain proper business practices…

    • 1287 Words
    • 6 Pages
    Powerful Essays
  • Better Essays

    Database Design

    • 1196 Words
    • 5 Pages

    “A database is a structured collection of records or data that is stored in a computer system. In order for a database to be truly functional, it must not only store large amounts of record, but also be able to access those records fast and efficiently. In addition, new information and changes should also be easy to input.” (tech-faq.com) To be useful over a long term the database should be able to store all the records necessary for the business to function as well as be able to get all of this information back in case of a system failure or a crash. If all the information is loss a business could go bankrupt so the database is a fail safe for all the information the company has.…

    • 1196 Words
    • 5 Pages
    Better Essays
  • Satisfactory Essays

    Database

    • 330 Words
    • 2 Pages

    There are three problems. First is deletion problem, second is update problem, third is insertion problem.…

    • 330 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Database Term Paper

    • 455 Words
    • 2 Pages

    -Audit the industry 's widest range of databases for security, configuration and operational vulnerabilities, exploit root level access to collect evidence for reporting and ensure you secure you most valuable assets.…

    • 455 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Relational Database

    • 632 Words
    • 3 Pages

    To create a family reunion database using Microsoft Access, we first need to break down the information currently available to us.…

    • 632 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Relational Databases

    • 4830 Words
    • 20 Pages

    Contrast the logical and the physical view of data and discuss why separate views are necessary in database applications. Describe which perspective is most useful for each of the following employees: a programmer, a manager, and an internal auditor. How will understanding logical data structures assist you when designing and using database systems?</para></question><question id="ch04ques02" label="4.2">…

    • 4830 Words
    • 20 Pages
    Better Essays
  • Good Essays

    Database Design

    • 418 Words
    • 2 Pages

    Before you use Microsoft Access to actually build the tables, forms, and other objects that will make up your database, it is important to take time to design your database. A good database design is the keystone to creating a database that foes what you want it to do effectively, accurately, and efficiently.…

    • 418 Words
    • 2 Pages
    Good Essays
  • Better Essays

    database

    • 4800 Words
    • 20 Pages

    The clause SELECT COUNT (*) results in a table with a single row and a single column.…

    • 4800 Words
    • 20 Pages
    Better Essays
  • Satisfactory Essays

    This document suggests a few projects that’ll be interesting enough to work on, it will surely be a vast learning experience for me.…

    • 369 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Database Design

    • 1126 Words
    • 5 Pages

    Currently a school uses a non-computerised database system to store the following information about its students: roll class, surname, first name, guardian 's name, address, student 's date of birth, gender, sport house, emergency-contact telephone number, mailing name, list of subjects offered, and subjects in which the student is enrolled. The system takes up a large amount of space, has many duplicated entries some of these with mistakes and it is time consuming to search. The school intends to introduce a relational-database management system to overcome these problems.…

    • 1126 Words
    • 5 Pages
    Better Essays
  • Satisfactory Essays

    Database

    • 317 Words
    • 2 Pages

    Describe the ways in which database technologies could be used by an office stationery supply company to achieve low-cost leadership.…

    • 317 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Describe the user needs of the database and identify the functionality that they are expecting from a Relational Database Management System (RDMS).…

    • 527 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Catia Automation

    • 4539 Words
    • 19 Pages

    Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Knowledgeware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Pull Down Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Insert - part environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Insert - product environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Knowledge Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Parameters .…

    • 4539 Words
    • 19 Pages
    Good Essays
  • Powerful Essays

    database

    • 1930 Words
    • 21 Pages

    1 Chapter 1 Database Systems Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 1 In this chapter, you will learn: • The difference between data and information • What a database is, what the different types of databases are, and why they are valuable assets for decision making • The importance of database design • How modern databases evolved from file systems Database Systems: Design, Implementation, & Management, 7th Edition, Rob & Coronel 2 1 In this chapter, you will learn (continued): • About flaws in file system data management • What the database system’s main components are and how a database system differs from a file system • The main functions of a database management system (DBMS) Database Systems: Design, Implementation, & Management, 7th Edition, Rob & Coronel 3 1 Data vs. Information • Data: – Raw facts; building blocks of information – Unprocessed information • Information: – Data processed to reveal meaning • Accurate, relevant, and timely information is key to good decision making • Good decision making is the key to survival in a global environment Database Systems: Design, Implementation, & Management, 7th Edition, Rob & Coronel 4 1…

    • 1930 Words
    • 21 Pages
    Powerful Essays