Use Case ID |
Place Sales Order |
Goal in Context |
An administrator wishes to place a purchase order. |
Scope |
Sales Order System (SOS) |
Pre-Condition |
1. The administrator is authenticated by the system. 2. The administrator has successfully navigated to the main menu. |
Success End Condition |
1. The sales order is placed successfully. 2. An order summary is displayed. |
Failed End Condition |
1. The sales order is not placed 2. An order summary is not displayed. |
Primary Actor |
Administrator |
Trigger Event |
The administrator selects the ¡®Place Sales Order¡¯ option. |
Main Success Scenario |
||
Step |
Actor |
Action Description |
1 |
Administrator |
Selects the ¡®Place Sales Order¡¯ option. |
2 |
POS |
Displays a screen with input fields for item ID, name, description, quantity, and price. |
3 |
Administrator |
Enters information into all the input fields and clicks the ¡®OK¡¯ button. |
4 |
POS |
Adds the sales order to the system, and displays a summary of the order placed, including a Sales Order ID. |
Use Case ID |
View Sales Order |
Goal in Context |
An administrator or salesman wishes to view a sales order. |
Scope |
Sales Order System (SOS) |
Pre-Condition |
1. The administrator or salesman is authenticated by the system. 2. The administrator or salesman has successfully navigated to the main menu. 3. An administrator has placed at least one order. |
Success End Condition |
1. Sales Orders matching the search criteria are properly displayed. 2. A summary of the Sales Order is displayed. |
Failed End Condition |
1. A summary of the Sales Order is not displayed 2. Sales Orders matching the search criteria are not properly displayed. |
Primary Actor |
Administrator or Salesman |
Trigger Event |
The administrator or salesman selects the ¡®View Sales Order¡¯ option. |
Main Success Scenario |
||
Step |
Actor |
Action Description |
1 |
Administrator/Salesman |
Selects the ¡®View Sales Order¡¯ option. |
2 |
SOS |
Displays a screen with input fields for item ID, name, or sales order ID. |
3 |
Administrator/Salesman |
Enters information into the desired input fields and clicks the ¡®Show Matching Sales Orders¡¯ button. |
4 |
SOS |
Displays a screen with all sales orders matching the input fields. |
5 |
Administrator/Salesman |
Selects the desired Sales Order. |
6 |
SOS |
Displays a screen with a summary of the Sales Order selected. |
Use Case ID |
Complete Sales Order |
Goal in Context |
A salesman wishes to complete a sales order, which will add to the available inventory. |
Scope |
Sales Order System (SOS) |
Pre-Condition |
1. The salesman is authenticated by the system. 2. The salesman has successfully navigated to the main menu. 3. At least one sales order is placed by the administrator. |
Success End Condition |
1. The sales order is completed. 2. An order summary is displayed. 3. Inventory is updated properly. |
Failed End Condition |
1. The sales order is not completed. 2. An order summary is not displayed. 3. Inventory is not updated properly. |
Primary Actor |
Salesman |
Trigger Event |
The salesman selects the ¡®Place Purchase Order¡¯ option. |
Main Success Scenario |
||
Step |
Actor |
Action Description |
1 |
Salesman |
Selects the ¡®Complete Sales Order¡¯ option. |
2 |
POS |
Displays a screen with input fields for sales order ID, item ID, and name. |
3 |
Salesman |
Enters information into the desired input fields and selects the ¡®Show Matching Sales Orders¡¯ button. |
4 |
POS |
Displays a screen with all sales orders matching the input fields. |
5 |
Salesman |
Selects the desired Sales Order, and clicks the ¡®Complete¡¯ button. |
6 |
POS |
Completes the order, and displays a screen with a summary of the Sales Order completed and updated quantity of the item will be displayed. |