Casualuse Case Specification Manage Inventory

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 / System
Selects 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:
  1. A text input area labeled “Enter product code or description”
  2. A button labeled search
  3. An empty text area labeled Item Name and Description
  4. A hidden field with the message “Item is at or below reorder point”
  5. A text input area labeled Quantity.
  6. A button labeled Submit
  7. A button labeled Edit
  8. A button labeled Delete
  9. A button labeled Add
  10. A button labeled OK
  11. 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 / System
Selects 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:
  1. A text input area labeled “Enter product code or description”
  2. A button labeled search
  3. An empty text area labeled Item Name and Description
  4. A hidden field with the message “Item is at or below reorder point”
  5. A text input area labeled Quantity.
  6. A button labeled Submit
  7. A button labeled Edit
  8. A button labeled Delete
  9. A button labeled Add
  10. A button labeled OK
  11. A button labeled Search Again

Clicks the Add button / Displays a new dialogue window showing:
  1. A text input area labeled “Product name”
  2. A text input area labeled “Product description”
  3. A text input area labeled “Supplier”
  4. A text input area labeled “Product Code”
  5. A text input area labeled “Quantity”
  6. A text input area labeled “Re-order point”
  7. 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 / System
Selects 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:
  1. A text input area labeled “Enter product code or description”
  2. A button labeled search
  3. An empty text area labeled Item Name and Description
  4. A hidden field with the message “Item is at or below reorder point”
  5. A text input area labeled Quantity.
  6. A button labeled Submit
  7. A button labeled Edit
  8. A button labeled Delete
  9. A button labeled Add
  10. A button labeled OK
  11. 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:
  1. Product name
  2. Product description
  3. Supplier
  4. Product Code
  5. Quantity
  6. Re-order point
  7. 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 / System
Selects 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:
  1. A text input area labeled “Enter product code or description”
  2. A button labeled search
  3. An empty text area labeled Item Name and Description
  4. A hidden field with the message “Item is at or below reorder point”
  5. A text input area labeled Quantity.
  6. A button labeled Submit
  7. A button labeled Edit
  8. A button labeled Delete
  9. A button labeled Add
  10. A button labeled OK
  11. 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