Presentation is loading. Please wait.

Presentation is loading. Please wait.

Business Analysis & Data Design ITEC-630 Spring 2008

Similar presentations


Presentation on theme: "Business Analysis & Data Design ITEC-630 Spring 2008"— Presentation transcript:

1 Business Analysis & Data Design ITEC-630 Spring 2008
Use Case Exercise Solution Professor J. Alberto Espinosa

2 Practice Example We need to develop an order-processing system for a mail-order company that sells musical instruments of all sorts. Currently, the company has a paper catalog from which customers phone in or fax their orders and orders are only taken by hand. The proposed system should automate this process. It needs to allow customers to place orders by mail, phone, fax or directly through the web. Customers can pay with a money order or credit card. Customers can buy multiple items in various quantities with a single order. The system needs allow sales clerks to monitor the status of order fulfillment and notify customers when delays are anticipated. The system also needs to handle returns and cancellations. The system needs to interface with three existing external systems: (1) a Warehouse System – to send re-stocking orders to the central warehouse when necessary and to inquire about stock availability; (2) an Accounting System – to record customer receivables and pre-payments and inquire about customer payments; and (3) a Payment Processing system to process all charge card transactions. .

3 Context Diagram Example
Place or cancel orders, return merchandise & inquire catalog Submit client check and credit card payments Payment Processing System Customer Receive approvals Send notification of delays Order Processing System Re-stocking orders & inquire inventory availability Place or cancel order on behalf of client & re-order merchandise Upload customer receivables & pre-payments & inquire about customer payments Sales Clerk Warehouse System Accounting System

4 Actor Specification Cards

5 Actor Specification Actor Name: Customer Type: Primary Personality: Initiator Abstract: No Role Description: It’s a person that wishes to place orders or cancel them Actor Goals: Purchase items Cancel orders Inquire catalog Return items Use Cases Involved with:

6 Actor Specification Actor Name: Sales Clerk Type: Primary Personality: Proxy Abstract: No Role Description: It’s a person that communicates with the customer when they are placing orders over the phone or via mail. This actor enters customers’ transactions on the system on their behalf, so this actor’s goals are the same as the customer’s goals Actor Goals: Purchase items Cancel orders Inquire catalog Return items Use Cases Involved with:

7 Actor Specification Actor Name: Payment Processing System Type: Secondary Personality: External server Abstract: No Role Description: This system is part of an existing payment system being updated to handle credit card and money order payments Actor Goals: None Use Cases Involved with: Purchase items Cancel orders Return merchandise

8 Actor Specification Actor Name: Accounting System Type: Secondary Personality: External server Abstract: No Role Description: This system is part of the existing accounting system which will receive information about receivables, payments and pre-payments to update the company’s books Actor Goals: None Use Cases Involved with: Purchase items Cancel orders Return merchandise

9 Actor Specification Actor Name: Warehouse System Type: Secondary Personality: External server Abstract: No Role Description: This system is part of the existing supply chain management system that manages the procurement of products and the company’s inventory. Actor Goals: None Use Cases Involved with: Re-Stock Inventory

10 Use Case Model

11 Initial Use Cases

12 Use Case Specification (shortened)
Use Case ID UC-001 Use Case Place an order directly via web Actors Customer, Payment Processing System Description Log on to the web site, enter password, select merchandise, place in shopping cart, pick more items, proceed to checkout, select payment method, process payment, exit. Priority 1 Non-Functional Requirements Assumptions Source

13 Use Case Specification (shortened)
Use Case ID UC-002 Use Case Cancel order directly via web Actors Customer, Payment Processing System Description Log on to the web site, enter password, select merchandise purchased, and cancel order, if items have not been shipped yet, reverse charges as needed. Priority 2 Non-Functional Requirements Assumptions Source

14 Use Case Specification (shortened)
Use Case ID UC-003 Use Case Return merchandise Actors Customer Description Log on to the web site, enter password, select merchandise purchased that will be returned, retrieve a return label with a return code Priority 2 Non-Functional Requirements Assumptions Source

15 Use Case Specification (shortened)
Use Case ID UC-004 Use Case Inquire catalog Actors Customer, Sales Clerk, Warehouse System Description Log on to the web site (no password required to inquire catalog), select product category, present product display and price list Priority 1 Non-Functional Requirements Assumptions Source

16 Use Case Specification (shortened)
Use Case ID UC-005 Use Case Place an order via mail, fax or phone Actors Sales Clerk Description Customer communicates with sales clerk via phone or sales clerk receives customer order via fax or mail, select merchandise ordered by the client, enter payment method and payment information. Priority 1 Non-Functional Requirements Assumptions Source

17 Use Case Specification (shortened)
Use Case ID UC-006 Use Case Cancel order via fax, phone or mail Actors Sales Clerk Description Customer communicates with sales clerk via phone or sales clerk receives customer cancellation order via fax or mail, select merchandise purchased, and cancel order if items have not been shipped yet. Priority 1 Non-Functional Requirements Assumptions Source

18 Use Case Specification (shortened)
Use Case ID UC-007 Use Case Return merchandise via sales clerk Actors Sales Clerk Description Customer communicates with sales clerk via phone or sales clerk receives customer merchandise return request via fax or mail, select merchandise purchased to be returned, print a return label with a return code, mail to customer Priority 1 Non-Functional Requirements Assumptions Source

19 Use Case Specification (shortened)
Use Case ID UC-008 Use Case Re-order merchandise from inventory system Actors Sales clerk, Warehouse System Description Enter list of items and quantities to re-order from warehouse with shipping priorities Priority 3 Non-Functional Requirements Assumptions Source

20 Use Case Specification (shortened)
Use Case ID UC-009 Use Case Update Accounting Data Actors Accounting System Description Download data from the system into the external Accounting System (i.e., receivables and pre-payments) and upload data from the external accounting system on customer payments Priority 3 Non-Functional Requirements Assumptions Source

21 Base Use Cases

22 Place an order via web site Customer, Payment Processing System
Use Case ID UC-001 Use Case Place an order via web site Actors Customer, Payment Processing System Description Purchase Pre-conditions Customer has registered, customer logged in, main menu is displayed Flow of Events Browse catalog Pick items to shopping cart Indicate quantities for each item Proceed to checkout Select shipping method Perform tax calculation Display order details, with shipping and taxes Customer OK’s transaction Process payment Thank you Return to home page Post-conditions Main menu is displayed, log out customer after 20 min or inactivity Alternative Flows Allow for different shipping destinations Etc.

23 Cancel order directly via web Customer, Payment Processing System
Use Case ID UC-002 Use Case Cancel order directly via web Actors Customer, Payment Processing System Description Customer selects an order not shipped yet and cancels it Pre-conditions Customer has registered, customer logged in, main menu is displayed Flow of Events Select cancel order option Display list of orders placed by client, not shipped yet Client selects order to cancel Client confirms order cancellation Reverse credit card charge or process refund Thank you screen Return to home page Post-conditions Main menu is displayed, log out customer after 20 min or inactivity Alternative Flows Priority Non-Functional Requirements Assumptions Source

24 Customer has registered, customer logged in, main menu is displayed
Use Case ID UC-003 Use Case Return Merchandise Actors Customer Description Customer selects an order already shipped, requests a merchandise return, and gets a return reference number and label Pre-conditions Customer has registered, customer logged in, main menu is displayed Flow of Events Select return merchandise option Display list of shipped orders for client, not more than 30 days old Client selects order from which to return merchandise Client selects specific items to return Client confirms items to be returned System gives client a return confirmation number System gives client a printed label to affix in the return box Thank you screen Return to home page Post-conditions Main menu is displayed, log out customer after 20 min or inactivity Alternative Flows Priority Non-Functional Requirements Assumptions Source

25 Customer, Sales Clerk, Warehouse System
Use Case ID UC-004 Use Case Inquire Catalog Actors Customer, Sales Clerk, Warehouse System Description Customer or sales clerk browse product catalog on-line Pre-conditions Customer has registered, customer logged in, main menu is displayed Flow of Events Display catalog browsing options (by brand, type, price, etc.) Product catalog is displayed Prompt customer for other display options or exit catalog Return to home page when exit option is chosen Post-conditions Main menu page is displayed, log out customer after 20 min or inactivity Alternative Flows Priority Non-Functional Requirements Assumptions Source

26 Etc. Other use cases?

27 Customer or sales clerk log into the system and get authenticated
Use Case ID UC-010 Use Case Log in Actors Customer, Sales Clerk Description Customer or sales clerk log into the system and get authenticated Pre-conditions Login page is displayed when the customer accesses the system Flow of Events Customer enters ID and password System verifies that customer is valid System matches password entered against password on file Authenticate the customer Retrieve basic customer data from files Display personalized greeting for the customer Display home page Post-conditions Main menu is displayed, log out customer after 20 min or inactivity Alternative Flows Priority Non-Functional Requirements Assumptions Source

28 Customer selects option to register
Use Case ID UC-011 Use Case Register Actors Customer, Sales Clerk Description New customer registers in the system, or sales clerk does the same on his/her behalf Pre-conditions Login page is displayed (it contains option to register for new customers) Flow of Events Customer selects option to register Customer enters required information (name, shipping address, etc.) Customer enters password Customer submits information Display thank you note and successful registration message Display option to proceed to log in Return to login page Post-conditions Login page is displayed Alternative Flows Priority Non-Functional Requirements Assumptions Source


Download ppt "Business Analysis & Data Design ITEC-630 Spring 2008"

Similar presentations


Ads by Google