29
Centre for Diploma Programmes(CDP) Diploma in Information Technology (DIT) Database System (DCS5078) Trimester 1, 2010/2011 Bookshop Management System Lecturer Name: Usha AP Vellappan Group: DM 1 & DM3 Group Members: Tey Chee Yong 1091100107

Project Database

Embed Size (px)

Citation preview

Page 1: Project Database

Centre for Diploma Programmes(CDP)

Diploma in Information Technology (DIT)

Database System (DCS5078)

Trimester 1, 2010/2011

Bookshop Management System

Lecturer Name: Usha AP Vellappan

Group: DM 1 & DM3

Group Members:

Tey Chee Yong 1091100107

Luwe Cheng Wong 1091100967

Chua Wee Liang 1061105477

Page 2: Project Database

Bookshop Management System

Acknowledgement

I would like to thank Ms. Usha AP Vellappan for direct us in our assignment. So,

we can complete our assignment more efficiency and success. She also gave us a lot of

comment on how to draw ERD, identify relationship and draw the relationship between

the entities. We feel very satisfy because Ms. Usha has given us a powerful support.

CDP,MMU Page 1

Page 3: Project Database

Bookshop Management System

Table of Content

Mission Statement 1

Mission Objective 2

Business Rules 3

Entity-Relationship Diagram 4

Data Dictionary 5

Screen Shot of Form and report 8

Bibliographic 21

CDP,MMU Page 2

Page 4: Project Database

Bookshop Management System

Mission Statement

The purpose of the Bookshop Management System is to support all the operation of a

bookshop and maintain data on inventory of textbook and other instructional supplier

and materials.

CDP,MMU Page 3

Page 5: Project Database

Bookshop Management System

Mission Objectives

1. We need to make decision on book sale prices.

2. We need to know how to make supervision of book deliveries.

3. We need to know how to maintain an update inventory of books.

4. We need to know sales each month.

5. We need to know list of employee.

6. We need to know which book sale the most in every month.

7. We need to know number of customer in each branch.

8. We need to know which category of book is more interested to customer.

CDP,MMU Page 4

Page 6: Project Database

Bookshop Management System

Business Rules

1. One branch can have only one book supplier.

2. One supplier can only have one branch.

3. One book supplier can process many suppliers order.

4. One supplier order can only be process by one book supplier.

5. One supplier order contains many books.

6. One book can only be under 1 supplier order.

7. One book is belong to one category.

8. One category is own by many books.

9. One branch can employ many employees.

10. One employee can only be employ by one branch.

11. One employee can process many customers order.

12. One customer order can only be process by one employee.

13. One customer order is belong to one customer.

14. One customer can own many customers order.

CDP,MMU Page 5

Page 7: Project Database

Bookshop Management System

Entity-Relationship Diagram

CDP,MMU Page 6

Page 8: Project Database

Bookshop Management System

Data Dictionary

Table Name

Attribute name Contents Type Format Range Required

PK or FK

FK Referenced Table

BRANCH

B_Id

B_Location

B_Contact_No

Branch IDBranch LocationBranch Contact Number

Int

Varchar(100)Int

99999

Xxxxxx

999-999999999

0-99999

0-9999999.99

Y

Y

Y

PK

BOOK_SUPPLIER

S_Id

S_Add

S_Hp_No

B_Id

Supplier IDSupplier AddressSupplier Contact NumberBranch ID

Int

Varchar(100)Int

Int

99999

Xxxxxx

999-999999999999

0-99999

0-9999999.990-99999

Y

Y

Y

Y

PK

FK BRANCH

SUPPLIER_ORDER

Su_Number

Su_Unitprice

Su_Qty

Su_Totalprice

Su_Date

Supplier NumberUnit price for supplier ItemQuantity for supplier itemTotal price for Supplier ItemDate of purchase supplier item

Int

Varchar(7)

Int

Varchar(8)

Date

99999

xxxx.xx

9999

xxxxx.xx

dd/mm/yyyy

0-99999

0-9999

Y

Y

Y

Y

Y

PK

CDP,MMU Page 7

Page 9: Project Database

Bookshop Management System

Bo_Id

S_Id

Book ID

Supplier ID

Int

Int

99999

99999

0-99999

0-99999

Y

Y

FK

FK

BOOK

BOOK SUPPLIER

BOOK Bo_IdBo_Title

Bo_ISBN

Publication_Date

Author_Name

Ca_Id

Book IDBook TitleBook ISBN

Publication dateAuthor NameCategory ID

IntVarchar(100)Int

Date

Varchar(100)int

99999Xxxxxx

999-9-999999-99-9Dd/mm/yyyyXxxxxx

99999

0-999990-9999999999999

0-99999

Y

Y

Y

PK

FK CATEGORY

CATEGORY

Ca_Id

Ca_Name

Category IDCategories Name

Int

Varchar(100)

99999

Xxxxxx

0-99999

Y PK

EMPLOYEE

E_Id

E_Name

E_Add

E_Hpno

Position

B_Id

Employee IDEmployee NameEmployee addressEmployee Contact NumberPosition

Branch ID

Int

Varchar(100)Varchar(100)Int

Varchar(100)Int

99999

Xxxxxx

Xxxxxx

999-9999999Xxxxxx

99999

0-99999

0-9999999.99

0-99999

Y

Y

Y

Y

Y

Y

PK

FK BRANCH

CUSTO O_Number Order Int 999999 0- Y PK

CDP,MMU Page 8

Page 10: Project Database

Bookshop Management System

MER_ORDER Unitprice

Qty

Totalprice

Date

E_Id

C_Id

numberUnit priceQuantity

Total priceDate

Employee ID

Customer ID

Varchar(7)Int

Varchar(8)Date

Int

Int

9xxxx.xx

9999

xxxxx.xxdd/mm/yyyy99999

99999

9999999

0-9999

0-99999

0-99999

Y

Y

Y

Y

Y

Y

FK

FK

EMPLOYEE

CUSTOMER

CUSTOMER

C_Id

C_Add

C_Contact_No

Customer IDCustomer addressCustomer contact number

Int

Varchar(10)int

99999

Xxxxxx

999-9999999

0-99999

0-9999999.99

Y PK

CDP,MMU Page 9

Page 11: Project Database

Bookshop Management System

Screen Shot of Form and report

CDP,MMU Page 10

Page 12: Project Database

Bookshop Management System

CDP,MMU Page 11

Page 13: Project Database

Bookshop Management System

CDP,MMU Page 12

Page 14: Project Database

Bookshop Management System

CDP,MMU Page 13

Page 15: Project Database

Bookshop Management System

CDP,MMU Page 14

Page 16: Project Database

Bookshop Management System

CDP,MMU Page 15

Page 17: Project Database

Bookshop Management System

CDP,MMU Page 16

Page 18: Project Database

Bookshop Management System

CDP,MMU Page 17

Page 19: Project Database

Bookshop Management System

CDP,MMU Page 18

Page 20: Project Database

Bookshop Management System

CDP,MMU Page 19

Page 21: Project Database

Bookshop Management System

CDP,MMU Page 20

Page 22: Project Database

Bookshop Management System

CDP,MMU Page 21

Page 23: Project Database

Bookshop Management System

CDP,MMU Page 22

Page 24: Project Database

Bookshop Management System

Bibliography

http://techbase.my/our-products/book-shop-management-system.html

http://www.libmaker.com/

http://gidemn.com/BookShopManagementSystem.pdf

CDP,MMU Page 23