Anda di halaman 1dari 39

Systems Group Assignment

2016
Case Scenario:
Create a central database for an e-business. This database will be
needed to record order, shipping and payment transactions for the
globeMAAP store, which is a store which sells equipment for water
sports.

Submitted by:

Amogh Dhaliwal
Tao Si Yue
Murun Khosbayar
V Prathyaksha

Program:

Bachelors in Computer Science

Year/Semester:

Year 1 Semester 3

University:

University of Wollongong

Date of Submission:

24th May 2016

Tutor:

Dr. Lawrence Sim


University of Wollongong

Table of Contents
1.

Introduction........................................................................................................ - 5 -

2.

Tables Overview.................................................................................................- 6 2.1

Overall Relationship...................................................................................- 6 -

2.2

Tables and Details.....................................................................................- 7 -

2.2.1

Business................................................................................................- 7 -

2.2.2

Client.....................................................................................................- 8 -

2.2.3

Finance..................................................................................................- 9 -

2.2.4

Order....................................................................................................- 11 -

2.2.5

Product................................................................................................- 13 -

2.2.6

Service.................................................................................................- 14 -

2.3

Forms......................................................................................................- 16 -

2.3.1

Business..............................................................................................- 16 -

2.3.2

Client...................................................................................................- 17 -

2.3.3

Finance................................................................................................- 18 -

2.4

Query.......................................................................................................- 20 -

2.4.1

Main Query..........................................................................................- 20 -

2.4.2

Query View..........................................................................................- 20 -

2.5

Order.......................................................................................................- 22 -

2.5.1

Order Form..........................................................................................- 22 -

2.5.2

Product................................................................................................- 23 -

2.5.3

Service.................................................................................................- 25 -

2.6

Report......................................................................................................- 26 -

3.

Website............................................................................................................ - 31 -

4.

References.......................................................................................................- 39 -

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

List of Figures
Figure 1: Relationship Overview................................................................................- 6 Figure 2: Business Table database view...................................................................- 7 Figure 3: Business Table design overview part 1.......................................................- 7 Figure 4: Business Table design overview part 2.......................................................- 7 Figure 5: Client Table database overview..................................................................- 8 Figure 6: Client Table design overview part 1............................................................- 8 Figure 7: Client Table design overview part 2............................................................- 9 Figure 8: Finance Table database overview part 1....................................................- 9 Figure 9: Finance Table database overview part 2..................................................- 10 Figure 10: Finance Table design overview part 1....................................................- 10 Figure 11: Finance Table design overview part 2.....................................................- 11 Figure 12: Order Table database overview..............................................................- 11 Figure 13: Order Table design overview part 1........................................................- 12 Figure 14: Finance Table design overview part 2....................................................- 12 Figure 15: Product Table database overview...........................................................- 13 Figure 16: Product Table design overview part 1.....................................................- 13 Figure 17: Product Table design overview part 2.....................................................- 14 Figure 18: Service Table database overview...........................................................- 14 Figure 19: Service Table design overview part 1.....................................................- 15 Figure 20: Service Table design overview part 2.....................................................- 15 Figure 21: Business Form.......................................................................................- 16 Figure 22: Client Form.............................................................................................- 17 Figure 23: Finance Form part 1...............................................................................- 18 Figure 24: Finance Form part 2...............................................................................- 19 Figure 25: Query SQL view.....................................................................................- 20 Figure 26: Query View 1..........................................................................................- 20 Figure 27: Query View 2..........................................................................................- 21 Figure 28: Order Form.............................................................................................- 22 Figure 29: Product Form part 1...............................................................................- 23 Figure 30: Product Form part 2...............................................................................- 24 Figure 31: Service Form..........................................................................................- 25 Figure 32: Report, Page 1.......................................................................................- 26 Figure 33: Report, Page 2.......................................................................................- 27 Figure 34: Report, Page 3.......................................................................................- 28 Figure 35: Report, Page 4.......................................................................................- 29 -

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

4
Figure 36: Report, Page 5.......................................................................................- 30 Figure 37: Homepage..............................................................................................- 31 Figure 38: Services.................................................................................................- 32 Figure 39: Lessons Swimming.............................................................................- 32 Figure 40: Lessons Scuba Diving.........................................................................- 33 Figure 41: Lessons Kayaking...............................................................................- 33 Figure 42: Lessons Wind Surfing.........................................................................- 33 Figure 43: Lessons Surfing..................................................................................- 34 Figure 44: FAQ........................................................................................................- 35 Figure 45: Products Overview.................................................................................- 36 Figure 46: Contact Us.............................................................................................- 36 Figure 47: Our Partners...........................................................................................- 37 Figure 48: Our partners: Detailed Information.........................................................- 37 Figure 49: The Team...............................................................................................- 38 -

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

1.

Introduction

This project is about managing an online shopping database to make purchasing,


payment, quantity of products etc. easy to manage. Since there are many kinds of
businesses possible, our team chose water sports equipment as it was a unique and
interesting topic. We further chose five sports specifically so that we can focus more in
depth of each sport by including lessons as service and a larger range of equipment
per sport.
Firstly, we started off by creating six tables to maintain information for each of the
objects, for example, product, finance etc. They each having a relationship with
another. We learnt and understood the relationship between the primary key and the
foreign key. With that, we went on to create a form for each table for company
managers to easily edit, print and delete records, and query for making company
managers job easier and more user friendly. All of this was done on Microsoft access.
To have a common mail letter sent out for all the customers, we used mail merge in
Microsoft word to make the standard layout. One assumption made in this case was
that all customers will receive this mail to let them know the approximate duration it will
take for them to receive their products.
The main platform for the customers to reach out to globeMAAP store is through the
website. We used the online web-making tool, WiX, to create our e-business website.
We used many pictures, such as products and icons, so that the customers can use
recognition rather than recall. We included all our partners to give easy access to the
customers for product warranty registration. We even included various services for our
customers convenience. We gave the contact details for the leaders-in-charge of the
main team in the company for all enquiries and complaints. This website was created,
keeping in mind both novice users and advanced users.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

2.

Tables Overview

In this assignment, our group has made a total of 6 tables, namely


i)
ii)
iii)
iv)
v)
vi)

Business Table
Client Table
Finance Table
Order Table
Product Table
Service Table

Each table consists of a primary key, which unique identifies each record in
the table. Each table is essential to keep a reliable database of customers
and business. Each table is described individually below with supported
figures.

2.1

Overall Relationship

Figure 1: Relationship Overview

This is the overall relationship between the six tables, with the number 1 for the foreign
key and the infinity symbol for the primary key.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

2.2

Tables and Details

2.2.1

Business

Figure 2: Business Table database view

The company key distinguishes each record.


The business tables represent different companies and their details

Figure 3: Business Table design overview part 1

Company code is the primary key as it uniquely identifies each company


The Data type for each is short text except for phone number, which is number

Figure 4: Business Table design overview part 2

The Validation rule for the company code is B???, which if typed incorrectly will give us

the validation text.


Input mask is B000;0

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

8
2.2.2

Client

Figure 5: Client Table database overview

The Client table is a list of all the clients who have made any purchases or enrolled in

any classes.
This table represents all the customers and their contact information.

Figure 6: Client Table design overview part 1

The Primary key is clients ID as is uniquely identifying each client

The Foreign key is Service ID, as our relationship states we have many clients one

service.
The data type for each field name is short text except for the clients contact which is
number

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

Figure 7: Client Table design overview part 2

2.2.3

The Validation rule for clients ID is C????, and the the input mask is C 000;0
If incorrect code is typed then the validation message appears, giving us an error.

Finance

Figure 8: Finance Table database overview part 1

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

10

Figure 9: Finance Table database overview part 2

The finance table keeps a record of the money transactions and shipping transactions

on the purchases.
The Finance ID distinguishes every record.

Figure 10: Finance Table design overview part 1

The Primary key is Finance ID as it uniquely identifies each record in the table.
The Foreign key is client ID as there is one client and many payments.
Data type for the finance table are varied accordingly to the field name and
requirement.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

11

Figure 11: Finance Table design overview part 1

2.2.4

The Validation rule for finance table is P???? and input mask is P 000;0
When the finance code is typed incorrectly it will give us the validation text error
Order

Figure 12: Order Table database overview

The order table has the record of the purchases made by each client, the date and total

cost of the order.


Order ID distinguishes the orders from each other.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

12

Figure 13: Order Table design overview part 1

The Primary key is Order ID as it uniquely identifies each record.


The Foreign key is the clients ID from the client table, because the relationships are

setup as such we have many client and one order.


The data type are varied accord to the field name

Figure 14: Finance Table design overview part 2

The Input mask for the order table ID is Q0000;0 and validation rule is Q????, which

means that its the rule for inputting the order ID.
If the order ID does not clear the validation rules, we get validation text error.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

13
2.2.5

Product

Figure 15: Product Table database overview

The Product table has the record of all the products sold, and their individual costs,

so clients can select their items.


The Product ID distinguishes records.

Figure 16: Product Table design overview part 1

The product ID uniquely identifies each product and is the primary key.
This table is unique as it has two foreign keys which means it has relationship with

two tables.
The Foreign keys are Clients ID from client table and Company Code from the

business table.
In both the cases the products are many and Client and Business is one.
The Data types of the product table are short text with a exception of price which is
in SG dollar currency

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

14

Figure 17: Product Table design overview part 2

2.2.6

The Input mask of the product ID is W 0000;0 and validation rule is W????
If product ID is typed incorrectly then the validation text error gets displayed.
Service

Figure 18: Service Table database overview

The Service table offers different services for the products, in case of damage,
personal improvement and upgrading. The table also displayed a warranty status

which determines the cost of the service.


Service ID represent each service uniquely.

Figure 19: Service Table design overview part 1

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

15

The service ID is the primary key as it uniquely identifies each record in this case

each service.
The service table does not have a foreign key, but is directly related to the client

table.
The data type is short text or date depending on the field name.

Figure 20: Service Table design overview part 2

The Input mask of the service ID is Z 0000;0 and validation rule is Z????
If service ID is typed incorrectly then the validation text error gets displayed.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

16

2.3

Forms

2.3.1

Business

Figure 21: Business Form

In this business form, the company manager of GlobeMAAP can add a new partner
company with its full details into the database by just filling up the details in the textbox.
Table below details illustrates which products are being used by each company.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

17

2.3.2

Client

Figure 22: Client Form

This client form allows the company manager to add their new clients into the database
or delete expired client information from the database. In addition, there is also a subform which display the service type that has been chosen by each client.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

18

2.3.3

Finance

Figure 23: Finance Form part 1

In this finance form, the company manager can add and edit clients finance details
which consists of both shipment and payment information about each client
distinguished by certain finance ID.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

19

Figure 24: Finance Form part 2

We have included the sub-form in this form to show the linkage between the client
table and the finance table.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

20

2.4

Query

2.4.1

Main Query

Figure 25: Query SQL view

2.4.2

Query View

Figure 26: Query View 1

As above, in this query clearly illustrates which order ID and how much their shopping
cost is for each clients with their ID numbers and contact e-mail addresses. Query
saves a lot of time for company manager by just running it and analysing instead of
checking each tables independently.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

21

Figure 27: Query View 2

For example, by putting (<50) on Criteria under product price, we can see the cheapest
orders first.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

22

2.5

Order

2.5.1

Order Form

Figure 28: Order Form

In this order form, the company manager can add a new order details into the
database by just filling up the textboxes. Table below details show if there is any
duplicated orders for different clients.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

23
2.5.2

Product

Figure 29: Product Form part 1

In this form the company manager is able to view the existing product data in the
database or add a new product details into the database if needed.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

24

Figure 30: Product Form part 2

Since our product table has two foreign keys there are two sub-forms included in this
form.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

25
2.5.3

Service

Figure 31: Service Form

This service form allows the company manager to add a new service record into the
database or delete existing data from the database. Table below details shows which
client has activated that particular service for them.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

26

2.6

Report

Figure 32: Report, Page 1

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

27

Figure 33: Report, Page 2

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

28

Figure 34: Report, Page 3

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

29

Figure 35: Report, Page 4

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

30

Figure 36: Report, Page 5

Same as query this report helps company managers to save their time, and there is
also a grand total inside the report which would be very useful for the manager to plan
future financial resources.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

31

3.

Website

Website link
http://ts0033.wix.com/globemaap
The homepage gives the customers an overall view about our store. The slide window
on the top part shows some pictures about the water sports. For the bottom part, there
are five sections provided by out store: swimming, scuba diving, kayaking, windsurfing
and surfing. There is also a login and signup section for the customer to become a
member or to purchase.

Figure 37: Homepage

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

32
We provide eleven services for the customers that have purchased in our store. All the
details are below each of the service. The customers could enjoy most of the services
with no charge because we provide warranty for our goods. For the lessons, we have
five kinds of lessons for the customers to choose and more information will be on
another page.

Figure 38: Services

The lessons include swimming class, scuba diving class, kayaking class, windsurfing
class and surfing class. All the lessons have 4 or 5 different levels which can fit
different kind of people from the novice to the expert, so the customers can choose the
class base on their ability on water sports.

Figure 39: Lessons Swimming

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

33

Figure 40: Lessons Scuba Diving

Figure 41: Lessons Kayaking

Figure 42: Lessons Wind Surfing

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

34

Figure 43: Lessons Surfing

The FAQ page has list down several frequently asked questions and answers for the
buyers. They can refer to it whenever facing questions. If the answers provided could
not satisfy them, they can also give us a call or drop an email which the contact details
can be found on the CONTACT US page.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

35

Figure 44: FAQ

On the product page, all the products and prices are shown clearly. The customer can
easily shop on their own.

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

36

Figure 45: Products Overview

Contact us page includes our contact number, email address, store address and map
location. It also linked to our team details. Other contacts such as Facebook page,
Twitter and Google account are also provided.

Figure 46: Contact Us

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

37
This Our Partners page shows the information of all the 10 companies that are
cooperating with us. By clicking on the icons, their specific detailed information will be
shown on screen such as company name, email address, contact number and the
name of person in charge.

Figure 47: Our Partners

Figure 48: Our partners: Detailed Information

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

38
The Team page shows the information of all the employees of our store such as their
name, position, email address and contact number.

Figure 49: The Team

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

39

4.

References

Group Assignment_ CSCI 102 Systems _ Amogh_Annie_Murun_Prathyaksha

Anda mungkin juga menyukai