Page 227 -
P. 227
194 Part 3 • the analysis Process
Figure 7.14
A use case form for the Internet
storefront describes the Add
Customer Item activity and its
triggers, input, and output. Use case name: Add Customer Item
Process ID: 3
Description: Adds an item for a customer Internet order.
Trigger: Customer places an order item in the shopping basket.
Trigger type: External Temporal
Input Name
Source
Output Name
Item Purchased
Destination
(Item Number and
Quantity) Customer Items Purchased
Confirmation
Web Page Customer
Steps Performed
Information for Steps
message on the Items Purchased Web page.
1. Find Item Record using the Item Number. If the item is not found, place a
Item Number, Item
Record
2. Store item data on Order Detail Record.
Order Detail Record
3. Use the Customer Number to find the Customer Record.
Customer Number,
Customer Record
Shipping Cost in the Shipping Tables.
4. Calculate Shipping Cost using shipping tables. Using the Item Weight from Zip Code, Item Weight,
the Item Record and the Zip Code from the Customer Record, look up the
Shipping Table
Item Record, Quantity
5. Modify the Customer Total using the Quantity Purchased and the Item
Price. Add the Shipping Cost. Update the Customer Record.
Purchased, Shipping
Cost, Customer Record
6. Modify the Item Quantity on Hand and update the Item Record.
Quantity Ordered, Item
Record
web pages on a server that is not secured. A web page that is used for obtaining the user’s
identification and password is usually partitioned from order entry or other business pages.
A Data Flow Diagram Example
The following example is intended to illustrate the development of a data flow diagram by selectively
looking at each of the components explored earlier in this chapter. This example, called “World’s
Trend Catalog Division,” will also be used to illustrate concepts covered in Chapters 8 and 9.