Java Reference
In-Depth Information
Analysis and Design
Figure 4-2 shows the requirements document that initiates the development
cycle for the Commission program. The requirements document specifies the
reason for the request, lists the required inputs and outputs, and shows the
algorithm used to compute the commission based on the sales amount and
commission rate.
REQUEST FOR NEW APPLICATION
Date submitted: October 11, 2007
Submitted by: Patty Witte, GetOuttaTown Travel
Purpose: Many departments and employees within our travel agency need to
calculate sales commission for different types of sales. Our agents receive
10% commission for telephone sales, 14% commission on in-store sales,
and 18% commission on outside sales. We need a program that runs both
locally and over the Web to give quick feedback on sales commission.
Application title: Commission
Algorithms:
Users should be able to type in the total sales, select one of the three types
of sales mentioned above and then click a button to display the resulting
commission. Each type of sales should have a commission code assigned.
Sales commission is calculated as follows:
Code 1 = telephone sales amount * .10
Code 2 = in-store sales amount * .14
Code 3 = outside sales amount * .18
Notes:
1) You may want to help users enter valid data by reminding them to not
enter commas or dollar signs when they enter the sales amount.
2) Please label the commission codes with descriptive words, rather than
listing the commission percentages. For example, in the local version
running on our desktops, the program should present a simple list with the
words, Telephone Sales, In-Store Sales, and Outside Sales, to identify the
type of sales. In the Web version, option buttons labeled Telephone Sales,
In-Store Sales, and Outside Sales would help users choose the correct
commission code.
3) The application should employ dialog boxes to allow users to enter
data. Appropriate error messages should display when users enter invalid
information.
4) The user should be able to exit the application by clicking a Cancel
button or by clicking the Close button in the application window.
5) The attached graphic uses our company colors. Can you try to match
the dark red color in the applet?
Approvals
Approval status:
X
Approved
Rejected
Approved by:
Amir Rubadi
Date:
October 18, 2007
Assigned to:
J. Starks, Programmer
FIGURE 4-2
Search WWH ::




Custom Search