You are on page 1of 4

Data Dictionary IS 312 Database Project Table: Customer Rows = 27 Describes the firms that CRC sells product

(Mix) to. Data includes firms name, billing address, contact information and customer volume discount. Field Name Type Caption Other CustCode Text 6 Customer Code Primary key CustName Text 50 Customer Name CustBillAddr Text 50 Billing Address CustBillCSZ Text 50 Billing City, St and Zip CustDiscount Single Discount Rate 3 decimal places CustContact Text 25 Contact Person CustPhone Text 10 Contact Phone Input Mask !\(999") "000\-0000;0;_ Table: Restaurant Rows = 33 CRC ships product (Mix) directly to the retail locations (restaurant) of each firm. So product may ship to a particular restaurant while billing goes to the firms home office (Billing Address Customer table). Field Name Type Caption Other CustShipCode Text 8 Shipping Code Primary key CustCode Text 6 Customer Code Foreign key CustShipAddr Text 50 Shipping Address CustShipCSZ Text 50 Shipping City, St and Zip Table: Sales Order Rows = 264 Records sales transactions of CRC with the data that appears once on the sales order. Includes identification of the customer and restaurant as well as dates for when the order was placed, when it will ship and when it the shipment is promised to arrive at the customers location. Field Name Type Caption Other SONum Long Integer Sales Order Number Primary key CustCode Text 6 Customer Code Foreign key CustShipCode Text 8 Customer Ship Code Foreign key SOOrderDate Date/Time Order Date Format as Short date SOShipDate Date/Time Shipping Date Format as Short date SODelvDate Date/Time Delivery Date Format as Short date Table: Sales Order Item Rows = 816 Records the individual items (each Mix/Package combination) for each order received. A separate row is entered for each Mix/Package combination contained in the sales order. The Unit Price is the result of the calculation of the Base Price from the Mix table and the customers Discount Rate from the Customer table at the time the order was placed. Field Name Type Caption Other SONum Long Integer Sales Order Number Primary key Foreign key MixCode Text 3 Mix Code Primary key Foreign key PkgCode Text 3 Package Code Foreign key UnitPrice Currency Unit Price 2 decimal places QtySold Integer Quantity Sold Units are in pounds

Page 1 of 4

Data Dictionary IS 312 Database Project Table: Mix Rows = 8 Provides description for the various products (Mixes) that CRC sells. Data included are the selling price (excluding any discounts that may apply at the time of sale), the minimum inventory level before ordering more production, and the amount that is ordered from production. Field Name Type Caption Other MixCode Text 3 Mix Code Primary key MixName Text 25 Mix Name MixVariety Text 13 Variety Regular or Decaf or Espresso or Blended MixBasePrice Single Base Price 3 decimal places MixMinLevel Integer Min Inv Level Units are in pounds MixReOrdAmt Integer Reorder Amount Units are in pounds Table: Package Rows = 6 Describes the various ways in which the roasted coffee beans are ground (or not) and packaged for sale/shipment to customers. Field Name Type Caption Other PkgCode Text 3 Package Code Primary key PkgDesc Text 20 Package PkgWgt Integer Weight Units are in pounds Table: Mix Inventory Rows = 336 Finished good inventory of the various product (Mix) and quantities by activity date. Included for a particular date is the quantities that are received from manufacturing (MixIn), shipped (MixOut), and the quantity to remaining available for sale (MixOH). Field Name Type Caption Other MixCode Text 3 Mix Code Primary key Foreign key MixInvDate Date/Time Mix Inventory Date Primary key - Format as Short date MixIn Integer Mix from Mfg Units are in pounds MixOut Integer Mix Sold Units are in pounds MixOH Integer Mix On Hand Units are in pounds Table: Bean to Mix Product Rows = 21 Describes the types and quantities of materials (Bean) required to make a batch (reorder amount) of product (Mix) to replenish finished good inventory (Mix Inventory). Field Name Type Caption Other MixCode Text 3 Mix Code Primary key Foreign key BeanCode Text 3 Bean Code Primary key Foreign key BeanRequired Integer Bean Qty Required Units are in pounds

Page 2 of 4

Data Dictionary IS 312 Database Project Table: Production Schedule Rows = 27 Describes manufacturing capacity which is two batches per manufacturing day. A batch represents a particular product (Mix) and is equivalent to the reorder amount (Mix table). No other size of batch can be made. Field Name Type Caption Other ProdDate Date/Time Production Date Primary key - Format as Short date BatchNum Integer Batch Number Primary key MixCode Text 3 Mix Code Foreign key Table: Bean Inventory Rows = 94 Inventory of the various materials (Bean) and quantities by activity date. Included for a particular date are the quantities that are received from suppliers (BeanIn), sent to manufacturing (BeanOut), and the quantity remaining available for production (BeanOH). Field Name Type Caption Other BeanCode Text 3 Bean Code Primary key Foreign key BeanInvDate Date/Time Bean Inventory Date Primary key - Format as Short date BeanIn Integer Bean Ordered Units are in pounds BeanOut Integer Bean to Mfg Units are in pounds BeanOH Integer Bean On Hand Units are in pounds Table: Bean Rows = 7 Description of the various materials (Bean) that CRC uses in production. Data included are the type of bean (Regular or Decaf), the minimum inventory level before ordering more materials (Bean), and the amount that is ordered from suppliers. Field Name Type Caption Other BeanCode Text - 3 Bean Code Primary Key BeanName Text - 30 Bean Name BeanType Text - 18 Bean Type Decaf or Regular ReOrdPoint Integer Reorder Point Units are in pounds ReOrdQty Integer Reorder Quantity Units are in pounds Table: Purchase Order Rows = 24 Records materials purchase transactions of CRC with the data that appears once on the purchase order. Includes identification of the supplier and origin (shipping address) as well as dates for when the order was placed, when it will ship and when it the shipment is promised to arrive at CRC. Field Name Type Caption Other PONum Long Integer Purchase Order Number Primary Key POOrderDate Date/Time Order Date Format as Short date PODelvDate Date/Time Delivery Date Format as Short date SuppCode Text - 6 Supplier Code Foreign Key SuppShipNdx Text - 7 Shipping Index Foreign Key

Page 3 of 4

Data Dictionary IS 312 Database Project Table: Purchase Order Item Rows = 26 Records the individual items (type of bean) for each purchase. A separate row is entered for each bean contained in the purchase order. The Unit Cost is at the time the order was placed. Field Name Type Caption Other PONum Long Integer Purchase Order Number Primary Key Foreign Key BeanCode 3 characters Bean Code Primary Key Foreign Key UnitCost Currency Unit cost 2 decimal places QtyOrd Integer Quantity Ordered Units are in pounds Table: Supplier Shipping Rows = 4 Location materials are shipped from. Field Name Type Caption SuppShipNdx Text - 7 Shipping Index SuppCode Text - 6 Supplier Code SuppShipAddr Text - 50 Shipping Address SuppShipCSZ Text - 50 Shipping City, St and Zip Table: Supplier Rows = 4 Providers of materials (Bean) used in production. Field Name Type Caption SuppCode Text - 6 Supplier Code SuppName Text - 50 Name SuppAddr Text - 50 Sales Office Address SuppCSZ Text - 50 Sales Office City, St and Zip SuppContact Text - 30 Contact person SuppPhone Text - 10 Telephone number

Other Primary Key Foreign Key

Other Primary Key

Input Mask !\(999") "000\0000;;_

This document created and maintained by David W. Miller, Ph.D. 2008. The content of this document is intended solely for students of the above designated CSU, Northridge course. The document was last updated on October 30, 2010.

Page 4 of 4

You might also like