Vous êtes sur la page 1sur 6

System name: Rice meal System

Description: This inventory system will store data, add, search, delete and edit records of rice
meals attributes.

Platform: Ms Access with mySQL

Products and Raw Materials:

1. Chicken rice meal = rice white, dry onion, mix cream chicken soup, cream mushroom soup,

soup can milk, chicken fryer.

2. Rice with shrimp = Arborio rice, shrimp, eggs, sesame oil, fresh sprouts, onion, broccoli
chopped.

3. Mushroom Italian rice =White rice, cheese, white wine, onion, garlic, chicken bouillon, peas.

ERD Crows foot:

SUPPLIER SUPPLIES INGREDIENTS WORK


PK Name PK Raw_M PK ProdName PK ProdName
FK FK FK FK
Contact FK S_name FK Raw_M ProdPrice
FK Raw_M Ex_date FK Pickupdate FK Pkupdate

CUSTOMER ORDER PRODUCT


PK CustID PK ProdDesc PK ProdCode
FK FK FK ProdName
CustName Bill FK ProdPrice
CustAdd FK Cust_ID
Database Schema:

tblSupplier

Fieldname Data type Width Key

Name varchar 10 PK, FK

Contact Int 5

Raw_M varchar 10 FK

tblSupplies

Fieldname Data type Width Key


Raw_M varchar 10 PK, FK
S_name varchar 10 FK

Ex_date int 5

tblIngredients

Fieldname Data type Width Key


ProdName varchar 10 PK,FK
Raw_M varchar 10 FK

PickUpdate varchar 10 FK

tblWork

Fieldname Data type Width Key


ProdName varchar 10 PK,FK
ProdPrice int 5
PickUpdate varchar 10 FK

tblProduct

Fieldname Data type Width Key


ProdCode Int 5 PK
ProdName varchar 10 FK

ProdPrice Int 5 FK

tblOrder

Fieldname Data type Width Key


ProdDesc varchar 10 PK,FK
Bill Int 5

Cust_ID Int 5 FK

tblCustomer

Fieldname Data type Width Key


Cust_ID Int 5 PK,FK

CustName varchar 10
CustAdd varchar 10
Database Instance:

tblSupplier

Name Contact Raw_M

Hazemo Lim 5555555 Rice white, Dry onion, Mix


cream chicken soup, Cream
mushroom soup, Soup can
milk, Chicken fryer

Rodd Smith 6666666 Arborio rice, Shrimp, Eggs,


Sesame oil, Fresh sprouts,
Onion, Broccoli chopped

Mich Alcantara 7777777 White rice, cheese, white


wine, onion, garlic, chicken
bouillon, peas

tblSupplies

Raw_M S_name Ex_date

Rice white, Dry onion, Chicken rice meal Aug/23/2010


Mix cream chicken soup,
Cream mushroom soup,
Soup can milk, Chicken
fryer

Arborio rice, Shrimp, Rice with shrimp Sep/01/2020


Eggs, Sesame oil, Fresh
sprouts, Onion, Broccoli
chopped

White rice, cheese, Mushroom Italian rice Oct/12/2011


white wine, onion,
garlic, chicken bouillon,
peas

tblIngredients

Prod_name Raw_M PickUpdate

Chicken rice meal Rice white, Dry onion soup Oct/12/09


mix, Cream chicken soup,
Cream mushroom soup,
Soup can milk, Chicken
fryer

Rice with shrimp Arborio rice, Shrimp, Eggs, Jul/29/09


Sesame oil, Fresh sprouts,
Onion, Broccoli chopped

Mushroom Italian rice White rice, cheese, white Sep/03/09


wine, onion, garlic, chicken
bouillon, peas

tblWork

ProdName ProdPrice PickUpdate

Chicken rice meal 1200 Oct/12/09

Rice with shrimp 1000 Jul/29/09


Mushroom Italian 1500 Sep/03/09
rice

tblProduct

ProdCode ProdName ProdPrice

100S2A11 Chicken rice meal 1200

6732D3V Rice with shrimp 1000

109N5M6G Mushroom Italian rice 1500

tblOrder

ProdDesc Bill Cust_ID

Chicken rice meal 5000 51A100

Rice with shrimp 4000 51A200

Mushroom Italian 3000 51A300


rice

tblCustomer

Cust_ID CustName CustAdd

51A100 Hailey Dagupan

51A200 Allen La Union

51A300 Jomz Urdaneta

Vous aimerez peut-être aussi