Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use Case Name Create Product Information Triggering Event A new product of interest to the business Brief Description Allows the Owner to record a new

Use Case Name Create Product Information
Triggering Event A new product of interest to the business
Brief Description Allows the Owner to record a new product.
Actors Owner
Related Use Cases
Preconditions Owner has opened the Main Menu.
Post Conditions Product is saved to the database and now can be purchased.
Flow of activities Actor System
1. Requests to add a new product Displays a list of product types and prompts for selection.
Prompts for product name, ingredients, description, price
2. Enter name, description, price, and ingredients.
Selects product type name, description and price must be entered.
Product type must be selected.
Generates identifier.
Data is valid.
Displays product.
Prompts to save
3. Request to save Saves the product and returns to the main menu
Exception Conditions Owner chooses to cancel adding the product
Use Case Name Query Products by Product Type
Triggering Event List of products required
Brief Description Allows the Owner to query products
Actors Owner
Related Use Cases
Preconditions Owner has opened the Main Menu.
Post Conditions Product information provided to the actor.
Flow of activities Actor System
1.Requests for products Displays a list of product types and prompts for selection
2.Selects product type Displays a list of products for that product type
Exception Conditions Owner chooses to cancel query products
Use Case: Maintain Purchase
User Story
As the owner of this business, I would like to record my purchases so that I can quickly see how much money Ive spent, what Ive ordered and from where. With each purchase, I want to record which location received the product. Because I like to order in bulk, I must be able to record multiple locations for each product.
Acceptance Criteria:
1.Must be able to record purchases by supplier.
2.Must be able to query purchase details by location.
Use Case Descriptions
Use Case Name Create Purchase
Triggering Event Purchase of products.
Brief Description Allows the Owner to record a new purchase.
Actors Owner
Related Use Cases
Preconditions Owner has opened the Main Menu.
Post Conditions Purchase is saved to the database and now can be queried.
Flow of activities Actor System
1.Requests to add a new purchase Displays a list of suppliers and prompts for selection. Prompts for purchase date and selection of receipt file location.
2.Selects a supplier.
Enters purchase date and receipt file selected. Verifies that a supplier was selected Verifies that date was entered and receipt selected.
Creates a unique identifier for the purchase.
Displays the purchase .
Prompts to enter purchase details.
Loop Chooses new product Displays a list of products, sorted by product type, and prompts for selection.
3.Selects a product Display a list of locations and prompts for selection.
Prompts for quantity.
4Selects location and enters quantity and price Creates a unique identifier for the detail.
Data is valid.
Extended price is calculated (price *quantity ordered)
Taxes are calculated and displayed.
The purchase total is updated with the extended price +taxes.
Purchase tax is updated with the tax amount.
Displays purchase including totals, date, list of products and locations.
Prompts to add another location
Repeats above step until all locations for a product were selected Display a list of products and prompts for selection
End When all products are selected Prompts to save purchase
5.Chooses to save Saves the purchase and returns to the main menu
Exception Conditions Owner chooses to cancel adding the purchase
Use Case Name
Query Purchases
Triggering Event Owner requires a list of purchases for a date period listing Supplier, Products quantity purchased, price paid and the extended amount (price *quantity)
Brief Description Allows the Owner to retrieve purchases for a specified date range
Actors Owner
Related Use Cases
Preconditions Owner has opened the Main Menu.
Post Conditions purchases are retrieved, totaled, and displayed
Flow of activities Actor System
1.Requests to query purchase (by date)transactions Displays a calendar.
2.Selects date range.
Verifies that dates are selected.
Retrieves purchases in the specified date range, calculating totals.
Prompts to exit
3.Request to cancel returns to the main menu
Exception Conditions
Your tasks:
1.Create a class diagram to support the above case study and Systems Use Case Specifications
i want the class diagram for all 4 use cases which also be shown connection using arrow where necessary
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intermediate Accounting

Authors: Donald E. Kieso, Jerry J. Weygandt, And Terry D. Warfield

13th Edition

9780470374948, 470423684, 470374942, 978-0470423684