The following paragraph describes the expenditure cycle business processes of CandyWarehouse.com.
CandyWarehouse.com is an online candy store. The store purchases candies from several vendors, and
one of them is Fullerton Candy Factory. The store often places orders for candies of different flavors at
the same time. Each order is placed with one specific vendor. The vendors never consolidate multiple
orders into one shipment, and always ship merchandise promptly. Usually, the vendors can fill the entire
order in one shipment. Occasionally, however, a vendor may be temporarily out of stock of a particular
item. In such cases, the vendor waits until all the items become available and ships the entire order. The
vendors do not allow the store to make partial payments of invoices or settle several invoices with one
payment. The store has several bank accounts, and each payment can be made from only one of those
accounts. Each transaction is handled by no more than one employee.
Stage 1: Database design
1. Identify the resources, events and agents for the accounting system of CandyWarehouse.com.
Draw the REA diagram using Microsoft Word (or any other software tools for graphical
documentation). Be sure to include all the cardinalities.
2. Prepare a listing of the tables that you would need to create a working database. For each table,
specify the primary key, the foreign key (if any), and at least 2 other attributes.
Stage 2. Microsoft Access
1. Create the database in Microsoft Access. Link all the tables and enforce referential integrity.
2. Create at least 5 records for each table. Assume that all purchases occurred in July, August and
September of 2013, and each purchase order contains at least two different candy flavors.
3. Create the following queries in Microsoft Access:
a. Total dollar purchases by candy flavor in August 2013. Show the item description and dollar
b. All orders placed with Fullerton Candy Factory that exceed $2000, sorted from the highest
to the lowest. List date of order, dollar purchase amount, and vendor name.
c. All orders that have been paid for. List order #, order amount and payment amount.
d. All orders that were not received within 5 days of order. List order number, vendor name,
date of order, and date of receipt.
e. The average dollar amount of a purchase transaction.
1. Print out the REA diagram and a listing of the primary key, foreign key and non-key attributes for
2. Print out each table in data sheet view.
3. Print out each query in both design view and data sheet view. Make sure that the width of each
column is set properly so that the whole formula or criterion shows through.
4. Paginate your printouts, arrange them in order, and submit your project by 12/5/2013.
5. Late project is not acceptable. Once the project is submitted, any modifications to the project
will not be accepted.
How to print in design view?
1. Take a screen shot of your work by pressing the “print screen” button (usually located in the top
right corner of your keyboard). This will save a snap shot of what is showing on your screen to the
2. Open a new word document, and click ctrl-v (or you can right click anywhere in the word file, and
choose “paste” command from the popup menu). That’ll plop the screen image in the word
3. Print the word document.