Académique Documents
Professionnel Documents
Culture Documents
Database Systems D2
Content
Introduction………………………………………………page 1
User guild………………………………………………..page 12
Conclusion………………………………………………page 18
Introduction
Unistone Ltd is a dynamic jewellery manufacturer employing 330 staff.
The overall aim of this assignment is to design and implement a database
that holds information about Unistone Ltd production management
system and to analysis how the system works, also to explain how it
makes benefit to the company. A general description of the enterprise,
along with its basic operations and information needs, is contained in this
document.
customers
customerNO Surnname Lastname Age Address Phone Email
(primary
key)
Orders
Product
ProductNO Quantity
(primary key)
Suppliers
Purchase Material
Raw Material
MaterialNO MaterialName
(primary key)
Material stock room
MaterialNO Quantity
(primary key)
The suppliers, purchase material, raw material, material stock room tables
are used to support the supply activities. Suppliers table contains details
of every single supplier with a unique identification number ----
supplierNO, and its surname, lastname, address, phone number, email
address. Purchase material table records the details of any purchase of
material generation including a given unique purchaseNo, materialNo
tells what material is purchased and material can be identified in raw
material table. Purchase date records the date of purchase and the quantity
records the number of material purchased. Raw material table records
name of materials in the field of materialName, and each material is
given an unique identify number which is recorded in the field called
materialNo. With the same materialNo for each material, the quantity of
each material in stock room is recorded in material stock room table.
Basically, a purchase activity consists of information of supplier,
material, generation date, and quantity of the material for the purchase. In
the purchase material table, materialNo and supplierNo are recorded, and
supplier and material information can be identified through looking up
the materialNo and supplierNo in the material table and supplier table
respectively.
(LDS)
Suppliers Customers
Product
Orders
Product
Purchase Raw Material
Material
stock room Material
stock room
This LDS shows the relationship between all factors involved in the
database. From the left top section, a supplier can be involved in many
purchases, and provide many raw materials. However, one purchase may
refer to many raw materials, but one raw material only refers to one
purchase. One material stock room contains many raw materials and one
product may require many different raw materials. Therefore, in the
relationship between raw materials with suppliers, purchase, material
stock room and product are all many to one relationship. From the right
top section, one customer can may many orders, but an order can only
refer to one customer. An order may required many product, and one
product stock room contains many different products. Therefore, on the
graph above, the relationship between product with order and product
stock room both are many to one either.
DFD
1.0
Customer check
Order made
Custome
rs
Product sale to
Customer
Payment made
2.0
Product check
New Insert
custome custome
r r details
1.12 1.121
2.1 2.2
Product Product
identification availability
(Identify the check
ordered (compare
product) quantity in
stock and
the required
quantity)
DFD shows the data process when a customer orders for a product. The
customer’s information will be checked in the database. If the customer is
existed in the database, its credit rate will be checked and updated after
the sale finish. If the customer is not existed in the database, its
information will be recorded into the database. Afterward, we need to
identify what product the customer requires for. Then, we need to check
the availability of the required product to see if we have enough products
to meet customer’s requirement. After that, the order is approved to
make. Then the product will be delivering to customer after payment is
made.
1.0
company
Material availability
Material supply check
Making order
Order finish
supplier
2.0
Update material
stock room
User guild:
Home page simply lists 6 options for user to select. The customer detail
enable users to search, update, delete existing customer using query. And
insert new customer by entering relevant information. The product order
links to the details of orders which have been made. Existing orders can
be updated, listed through query, and new orders can be made and save
by entering details. Product in stock links to the page shows details of
each product including the quantity in stock. They can be listed through
query according to certain criteria. Again, the supplier information allow
user to edit the details of every single supplier including adding new
supplier. The material order links to the page which shows the details of
every single purchase of material. The material in stock is similarly with
the product in stock, it allow users to view the details of every materials.
Conclusion
To sum up, from this course work, I have learned a lot from database
design; Logical thinking; concept of table; concept of form; concept of
page; concept of primary key and how they link to each other. Also I
have learned some more about how business running in world wide.
Especially on internet, I have known the relationship between customers
and company; the relationship between company and suppliers, and how
they serve to each other.