Reference no: EM132714
Question:
CandyWarehouse is an online candy store. The store purchases candies from various vendors, and one of them is Fullerton Candy Factory. The store frequently places orders for candies of different flavors at the same time. Every order is placed with one definite vendor. The vendors never consolidate multiple orders into one shipment, and always ship merchandise promptly. typically, the vendors can fill the entire order in one shipment. Occasionally, thus, a vendor can be temporarily out of stock of a particular item. In such cases, the vendor waits until all the items become available and ships the whole order. The vendors do not allow the store to make partial payments of invoices or settle various invoices with one payment. The store has various bank accounts, and each payment will be made from only one of those accounts. Each transaction is handled by no more than one employee.
Stage 1: Database design
1. Recognize the resources, events and agents for the accounting system of CandyWarehouse. Show the REA diagram using Microsoft Word (or any other software tools for graphical certification). Be sure to include all the cardinalities. 2. Organize a listing of the tables that you would need to prepare a working database. For each table, specify the primary key, the foreign key (if any), and at least two other attributes.
Stage 2. Microsoft Access
1. Prepare the database in Microsoft Access. Link all the tables and enforce referential integrity. 2. Prepare at least 5 records for each table. Consider that all purchases occurred in July, August and September of 2013, and each purchase order contains at least two different candy flavors. 3. Prepare the subsequent queries in Microsoft Access: a. Total dollar purchases by candy flavor in August 2013. Show the item description and dollar purchase amount. b. Every order 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 standard dollar amount of a purchase transaction.