It is time to complete your sales tracker application. Your marketing department would like the current dollar amount of goods sold this year to be calculated. Total of the goods sold is the combined total of supplies, services, and paper sold, for all sales accounts. This information will be used to promote the success of the company.
Your application needs to be modified to allow all sales personnel to enter their sales data.
For each sales personnel in the company, complete the following:
F1: Accept a sales person’s entry for the dollar amount of office supplies sold, books sold, and apparel sold.
The sum of these three categories will be the total of their supplies sold.
F2: Accept a sales person’s entry for the number of hours of service hours sold and rate per hour.
F3: Accept a sales person’s entry for the number of pounds of paper sold and the price per pound.
Displays the total current sales to date in all 3 categories for the sales person: supplies, books, and paper.
Modify the application to display the total aggregate sales for all sales personnel combined.
Example: Total sales for 2010: $12,500,552
Your application will use the Accounts inheritance hierarchy designed previously to compute the total of goods sold.
There are three types of sales accounts that track sales for your company:
Each has their own formula for computing the current sales:
Supplies = office supplies sold dollar amount + books sold dollar amount + apparel sold dollar amount
Services = number of hours * rate per hour
Paper = number of pounds * price per pound