CSC 181N: Software Engineering 1. Sales Ordering System A. Database Schema Customer custno Cust_Order Ordnum custno OrderLine Ordnum Prod_id Product Prod_id B. Use Case Diagram
C. Use Case Model
Name: Sales Order System Participating actor: customer, supplier Entry condition:
The customer standing in front of the desk of the clerk
Exit condition:
Customer successfully order the product.
Event flow: 1. 2. 3. 4. 5. 6. 7. 8.
Customer ask for his/her desired product
Supplier show the catalogue of the chosen product Supplier provides the info Customer order the most affordable product Supplier ask the customers personal information Customer gives his/her personal information Supplier confirm the order Customer successfully order the product
Exceptional cases: 1. Brand of product is out of stock