Fill This Form To Receive Instant Help
Homework answers / question archive / Scenario: Book Order ApplicationUse CaseActors:Precondition Main Success Scenario:This application is to be used to enable users (these are sales reps for the bookstore) to process orders for books
Scenario: Book Order ApplicationUse CaseActors:Precondition Main Success Scenario:This application is to be used to enable users (these are sales reps for the bookstore) to process orders for books.
: Process customer order
Sales Rep (person), Inventory Management System (software), Billing Dept (person).
:A customer has requested to order a book, and Sales rep starts Book Order Application
1.User (Sales Rep) is told to specify Book Title.
2.User enters Title.
3.Application queries Inventory Manager determining if Title is in catalog
4.If Title is in catalog, Application queries Inventory Manager to determine the ISBN, the price of the book, and the number of copies in stock.
5.Application reports the book price and the number of copies in stock to the User
6.Application requests the number of copies to be ordered.
7.User enters the number of copies.
8.Application requests the name and address to ship the books.
9.User enters name and address.
10.If all the needed books are in-stock, Application submits a shipping order for the books to the specified address. This order will update the inventory.
11.Application creates a book order, specifying the shipping name and address, the number of copies of the book that were back ordered and the number that are being shipped, as well as the total cost of the books being shipped. This information is displayed to the user.
Alternate Scenarios:
?If Title is not in catalog in step 3, Application reports this fact to User, and terminates.
?In step 7, if the number of copies is less than or equal to 0, the Application terminates.
?In step 10, if some (but not all) of the required books are in-stock, Application submits a shipping order for just the copies of the book that are in-stock. This order will update the inventory.
?In step 10, if not all the required copies are in stock, Application submits a back order (to the Inventory Manager) for the number of additional copies that are needed. This backorder will update the inventory.
This is the scenario and question is to draw use case diagram and class diagram that illustrates classes and their associations.