Use-Case
| | | |
Login | This is the process by which the user enters the system with a user name and password. There are two levels of security, named levels 1 and 2.
|
| Flow of Events: | Flow 1: The user correctly enters both user name and password, allowing them access to the system.
Flow 2: The user mistypes the user name and/or password. They are requested to re-enter the password at which time the user enters the proper password and is allowed to enter the system.
Flow 3: The user does not enter a valid user name and/or password 3 times. At this time, the system notes the login failure in a security log and allows the user to try and access the system again.
|
Edit | This is the process by which the user exits from the system.
|
| Flow of Events: | Flow 1: The user clicks on the 'Exit' button and leaves the system. The user is logged out of the system at the same time.
|
Generate Sales Report | This function is only available after login by a level 1 user. It prints out a sales report based on the selection criteria specified by the user (e.g. dates, publication, customer).
|
| Flow of Events: | Flow 1: The user enters the correct search information and the search returns the queried data.
Flow 2: The user enters valid search data but does not obtain the query results desired and so must change their search criteria.
Flow 3: The user either enters insufficient or excessive information causing the system to return too many or no records, respectively.
|
Generate Order Report | This function is only available after login by a level 1 user. It prints out an order report based on the selection criteria specified by the user (e.g. dates, publisher).
|
| Flow of Events: | Flow 1: The user enters the correct search information and the search returns the queried data.
Flow 2: The user enters valid search data but does not obtain the correct query results and so must change their search criteria.
Flow 3: The user either enters insufficient or excessive information causing the system to return too many or no records, respectively.
|
Add Customer | This function is only available after login by a level 2 user. It allows the user to add a new customer (name and address) to the database, as well as subscribe the customer to a publication and suspend delivery of the publication to the customer while they are away.
|
| Flow of Events: | Flow 1: The user enters all customer information correctly resulting in the the customer record being successfully entered into the system.
Flow 2: The user mistypes some customer information and, to correct it, has to enter the Edit Customer screen of the program to edit the record with the proper information.
Flow 3: The user enters the information of a customer record already present in the system, so, the user is notified of the duplicate record.
|
Delete Customer | This function is only available after login by a level 2 user. It allows the user to delete an existing customer from the database.
|
| Flow of Events: | Flow 1: The user queries the correct customer and presses the delete button, at which time a dialog box appears to verify the command. The user clicks 'Ok' and the delete proceeds.
Flow 2: The user queries the wrong customer and realizes their error when the dialog box appears and chooses 'Cancel', which prevents the deletion of the record.
Flow 3: The user queries the wrong customer and chooses 'Ok' at the dialog box. They then must re-enter the customer's information in the Add Customer screen to replace the customer record they deleted.
|
Edit Customer | This function is only available after login by a level 2 user. It allows the user to edit an existing customer's information in the database (such as name and address as well as publication subscription and delivery suspension).
|
| Flow of Events: | Flow 1: The user correctly enters the new information and the customer is successfully edited.
Flow 2: The user mistypes the customer's new information and must change it before leaving the Edit Customer screen.
Flow 3: The user mistypes the customer's new information and does not realize their error. The user returns to the Edit Customer screen when they do realize the mistake.
|
Customer Search | This function is only available after login by a level 2 user. It allows the user to search for an existing customer based on the selection criteria entered (such as customer name, customer number, address, publication, etc.).
|
| Flow of Events: | Flow 1: The user enters the correct search information and the search returns the queried data.
Flow 2: The user enters valid search data but does not get the required queried results, and so, must change their search criteria.
Flow 3: The user either enters insufficient or excessive information causing the system to return too many or no records, respectively.
|
Generate Delivery List | This function is only available after login by a level 2 user. It allows the user to generate a delivery list of publications for each delivery route for a selected date.
|
| Flow of Events: | Flow 1: The user enters the correct date and route and receives the required information.
Flow 2: The user enters the date and/or the route incorrectly and does not receive the required information. The error is corrected by the user allowing the correct information to be retreived.
Flow 3: The user enters an invalid date or route. The system notifies the user of the error.
|
Generate Customer Bills | This function is only available after login by a level 2 user. It allows the user to generate a bill for a selected customer and month.
|
| Flow of Events: | Flow 1: The user queries the correct customer and generates the customer bill.
Flow 2: The user queries the incorrect customer and generates an incorrect customer bill.
Flow 3: The user attempts to query a customer who does not exist and the system. The systems alerts the user of the error.
|
Select Publications | This function is only available after login by a level 2 user. It allows the user to change which publications a customer receives.
|
| Flow of Events: | Flow 1: The user chooses the correct publication and customer so the change in records proceeds successfully.
Flow 2: The user chooses an incorrect customer/publication selection. The customer calls to complain that they are receiving/not receiving a particular publication and the problem is corrected.
|
Suspend Delivery | This function is only available after login by a level 2 user. It allows the user to suspend delivery of their publications during the selected dates.
|
| Flow of Events: | Flow 1: The user enters the correct dates and the action is completed successfully.
Flow 2: The user chooses the wrong dates and the customer must call to complain.
Flow 3: The user chooses invalid dates, so, the system alerts the user of the error.
|