Casualuse Case Specification Manage Inventory

Total Page:16

File Type:pdf, Size:1020Kb

Casualuse Case Specification Manage Inventory

Casual Use 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 Displays the Manage Inventory menu System main menu Selects Update Inventory from Manage Connects to inventory database and Inventory menu 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 Searches inventory database and displays clicks Search button item name and description in text field and item quantity in text input area Updates item quantity in text input area Updates item quantity in database and and clicks Submit button 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

1 Alternate Scenario: Add Inventory Item

Actor System Selects Manage Inventory from Inventory Displays the Manage Inventory menu System main menu Selects Update Inventory from Manage Connects to inventory database and Inventory menu 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 Updates the inventory database and closes clicks the Submit button the dialogue window

2 Alternate Scenario: Edit Inventory Item

Actor System Selects Manage Inventory from Inventory Displays the Manage Inventory menu System main menu Selects Update Inventory from Manage Connects to inventory database and Inventory menu 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 Searches inventory database and displays clicks Search button 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 Updates the inventory database and closes clicks the Submit button the dialogue window

3 Alternate Scenario: Delete Inventory Item

Actor System Selects Manage Inventory from Inventory Displays the Manage Inventory menu System main menu Selects Update Inventory from Manage Connects to inventory database and Inventory menu 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 Searches inventory database and displays clicks Search button 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

4

Recommended publications