Casualuse Case Specification Manage Inventory
CasualUse Case Specification – Manage Inventory
Business Rules–
- Manage Inventory system should only be available to users with Inventory administrator rights
- The following data is required for each inventory item: current quantity, reorder point, product code, name, description, vendor
Main Success Scenario–Update Inventory Count
Preconditions – At the moment when the use case begins, the system is:at the Inventory System main menu
Actor / SystemSelects Manage Inventory from Inventory System main menu / Displays the Manage Inventory menu
Selects Update Inventory from Manage Inventory menu / Connects to inventory database and displays a dialogue window showing:
- A text input area labeled “Enter product code or description”
- A button labeled search
- An empty text area labeled Item Name and Description
- A hidden field with the message “Item is at or below reorder point”
- A text input area labeled Quantity.
- A button labeled Submit
- A button labeled Edit
- A button labeled Delete
- A button labeled Add
- A button labeled OK
- A button labeled Search Again
Inputs product code or description and clicks Search button / Searches inventory database and displays item name and description in text field and item quantity in text input area
Updates item quantity in text input area and clicks Submit button / Updates item quantity in database and checks item reorder point. If item quantity is at or below reorder point make the hidden field message visible
Clicks the OK button / Closes the dialogue window and returns to Manage Inventory menu
Clicks the Search Again button / Clears all fields, re-hides message
Alternate Scenario: Add Inventory Item
Actor / SystemSelects Manage Inventory from Inventory System main menu / Displays the Manage Inventory menu
Selects Update Inventory from Manage Inventory menu / Connects to inventory database and displays a dialogue window showing:
- A text input area labeled “Enter product code or description”
- A button labeled search
- An empty text area labeled Item Name and Description
- A hidden field with the message “Item is at or below reorder point”
- A text input area labeled Quantity.
- A button labeled Submit
- A button labeled Edit
- A button labeled Delete
- A button labeled Add
- A button labeled OK
- A button labeled Search Again
Clicks the Add button / Displays a new dialogue window showing:
- A text input area labeled “Product name”
- A text input area labeled “Product description”
- A text input area labeled “Supplier”
- A text input area labeled “Product Code”
- A text input area labeled “Quantity”
- A text input area labeled “Re-order point”
- A button labeled Submit
Enters all information into text areas and clicks the Submit button / Updates the inventory database and closes the dialogue window
Alternate Scenario: Edit Inventory Item
Actor / SystemSelects Manage Inventory from Inventory System main menu / Displays the Manage Inventory menu
Selects Update Inventory from Manage Inventory menu / Connects to inventory database and displays a dialogue window showing:
- A text input area labeled “Enter product code or description”
- A button labeled search
- An empty text area labeled Item Name and Description
- A hidden field with the message “Item is at or below reorder point”
- A text input area labeled Quantity.
- A button labeled Submit
- A button labeled Edit
- A button labeled Delete
- A button labeled Add
- A button labeled OK
- A button labeled Search Again
Inputs product code or description and clicks Search button / Searches inventory database and displays item name and description in text field and item quantity in text input area
Clicks the Edit button / Displays a new dialogue window showing:
- Product name
- Product description
- Supplier
- Product Code
- Quantity
- Re-order point
- A button labeled Submit
Edits desired information in text areas and clicks the Submit button / Updates the inventory database and closes the dialogue window
Alternate Scenario: Delete Inventory Item
Actor / SystemSelects Manage Inventory from Inventory System main menu / Displays the Manage Inventory menu
Selects Update Inventory from Manage Inventory menu / Connects to inventory database and displays a dialogue window showing:
- A text input area labeled “Enter product code or description”
- A button labeled search
- An empty text area labeled Item Name and Description
- A hidden field with the message “Item is at or below reorder point”
- A text input area labeled Quantity.
- A button labeled Submit
- A button labeled Edit
- A button labeled Delete
- A button labeled Add
- A button labeled OK
- A button labeled Search Again
Inputs product code or description and clicks Search button / Searches inventory database and displays item name and description in text field and item quantity in text input area
Clicks the Delete button / Display a prompt with the message ”Are you sure you want to delete this item, this action is not reversible” and a button labeled OK
Clicks the OK button / Closes the prompt window, deletes the item from the inventory database, closes the dialogue window and returns to Manage Inventory menu
1