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 purchase amount.
b. All orders placed with Fullerton