Database Reference
In-Depth Information
Table 1-1: Customer-Related Data Items Found in the Reports (continued)
Customer Report
Invoice Report
Zip Code
Zip Code
Phone Number
Phone Number
E-Mail Address
Web Site
Discount Rate
Customer Since
Last Sales Date
Sales Tax Rate
Credit Information (four fields)
As you can see by comparing the type of customer information needed for each report, there are sev-
eral common fields. Most of the customer data fields are found in both reports. Table 1-1 shows only
some of the fields that are used in each report — those related to customer information. Because the
related row and the field names are the same, a database designer can make sure all the data items
are included in a customer table in the database. Table 1-2 lists the fields in a needed Invoice Report
that contains sales information.
Table 1-2: Sales Data Items Found in the Reports
Invoice Report
Line Item Data
Invoice Number
Sales Date
Invoice Date
Payment Method
Salesperson
Discount (overall for sale)
Tax Location
Tax Rate
Product Purchased (multiple lines)
Product Purchased
Quantity Purchased (multiple lines)
Quantity Purchased
Description of Item Purchased (multiple lines)
Description of Item Purchased
Price of Item (multiple lines)
Price of Item
Discount for Each Item (multiple lines)
Discount for Each Item
Payment Type (multiple lines)
Payment Date (multiple lines)
Payment Amount (multiple lines)
Credit Card Number (multiple lines)
Expiration Date (multiple lines)
 
Search WWH ::




Custom Search