| |
| |
| Crystal
Reports XI Advanced |
| Pre-Qualification
Exercise |
|
|
Using the
Xtreme sample database that ships with Crystal Reports, create a
report that invoices customers for each order. This report needs
to show the customer billing address, the PO#, the sales person,
the order date, the requested date, the ship date and the company
that shipped the order. The Details section should list the product
ID, the product name, the description, the unit price, the quantity
and the line item total.
Select only those orders with an Order Amount greater than
zero and with a ship date between January 1, 2004 and March 31,
2004. Group on the Customer ID, then on the Order ID. Display each
order on its own page. Sum the line item total amount for each Order
ID. Calculate the sales tax for the order at 6% and total the subtotal
and sales tax.
| You will need to pull data from the following
tables : |
- Customer
- Orders
- Orders Detail
- Product
- Product Type
- Employee
|
| You will need to create the following
formulas: |
- Line Item Total that multiplies the unit price by the
quantity for each product ordered
- Sales tax that multiplies the sum of each line item total
by 6%
- Order Total that adds the sum of each line item total
and the sales tax
- Product Description that contains nested If…then…else….
statements to show the Size field if the Color field is
empty, the Color field if the Size field is empty, and both
fields, separated by a comma, if both contain data
|
| You will need to create the following
text boxes: |
- An address box with the text To: followed
by the company name, the address, city, region and postal
code
- An employee box with the employee’s first name,
a space, and the last name
|
| Format the report to look like the illustrations
on the following pages: |
| |
Invoice _____________________
Date: December 27, 2005
Invoice Number: 1143
|
 |
_________________________________________________________________________ |
To: City
Cyclists
7464 Kingsway
Suite 2006
Sterling Heights, MI 48358
USA
PO#:
Sales Person: Nancy Davolio
|
Order
Date:
Required Date:
Ship Date:
Ship Via:
|
January 6, 2004
January 9, 2004
January 8, 2004
Fed Ex
|
| _________________________________________________________________________ |
| Product |
Product Name |
Description |
Unit Price |
Quantity |
Line Total |
4102
1107 |
In Flux Crochet Glove
Active Outdoors Lycra Glove |
med
xsm |
$12.83
$16.50 |
1
3 |
$12.83
$49.50 |
| Subtotal:
Sales Tax:
Order Total: |
$62.33
$ 4.05
$66.38 |
Invoice _________________
Date: December 27, 2005
Invoice Number: 1246 |
 |
| _________________________________________________________________________ |
To: City Cyclists
7464 Kingsway
Suite 2006
Sterling Heights, MI 48358
USA
PO#:
Sales Person: Margaret Peacock
|
Order Date:
Required Date:
Ship Date:
Ship Via:
|
January 30, 2004
January 30, 2004
January 30, 2004
Pick Up
|
| ____________________________________________________________________________ |
| Product |
Product Name |
Description |
Unit Price |
Quantity |
Line Total |
1108
1103151 101152 |
Active Outdoors Lycra Gloven Endorphin
Descent |
sm
15
15 |
$14.85
$899.85
$2,939.85
|
3
1
1 |
$ 44.55
$ 899.85
$2,939.85 |
Subtotal:
Sales Tax:
Order Total: |
$3,884.25
$ 252.48
$4,136.73 |
| |
|
|
|
|
|
|