Академический Документы
Профессиональный Документы
Культура Документы
1 Brief Description
This use case describes how Admin logins in the Stock Maintenance System
2 Actors
2.1 Admin
3 Preconditions
3.1 The Admin must be already a registered member.
5 Alternative Flows
5.1 If in step 3 in the basic flow the Admin enters incorrect data then the system displays and error
message and the Use Case ends in failure condition.
6 Key Scenarios
6.1 A new Admin has not registered Login Details before after taking charge.
7 Post-conditions
7.1 Successful Completion
The Admin has successfully logged in the Stock Maintenance System & the system displays Login Success
message.
8 Special Requirements
USE CASE SPECIFICATIONS FOR CHECK ADD NEW PRODUCT IN THE STOCK MAINTENANCE SYSTEM
1 Brief Description
This use case describes how Admin adds a new product in the Stock Maintenance System.
2 Actors
2.1 Admin
3 Preconditions
3.1 The Admin has logged in the Stock Maintenance System.
4 Basic Flow of Events
1. The use case begins when the Admin has successfully logged in the Stock Maintenance System.
2. The system displays various options. See SR-xxx for full list of options.
3. In this Case the Admin always selects Manage Product Details.
4. The system displays various options. See SR-yyy for full list of options.
5. In this Case the Admin always selects Add Product. Use Case Add Product is performed.
6. The system prompts to enter Product Name.
7. The Admin enters the Product Name.
8. The system checks if the Product Name already exists.
9. The system creates a Product ID for the new Product & displays on the screen.
10. Use Case ends successfully.
5 Alternative Flows
5.1
If in the step 8 in the basic flow of events the system finds that the Product Name already exists then it
returns with a message 'Product already exists’ & displays the message & the Use Case ends in failure
condition.
6 Key Scenarios
6.1
7 Post-conditions
7.1 Successful Completion
The Admin has successfully added a new product & the system has created a Product Id & updates the
Database.
8 Special Requirements
USE CASE SPECIFICATIONS FOR EDIT PRODUCT DETAILS BY ADMIN IN THE STOCK MAINTENANCE SYSTEM
1 Brief Description
This use case describes how Edits Products Details in the Stock Maintenance System.
2 Actors
2.1 Admin
3 Preconditions
3.1 A Product Id exists for the Product.
5 Alternative Flows
5.1
6 Key Scenarios
6.1
7 Post-conditions
7.1 Successful Completion
The Admin has successfully edited the Product Details and the system updates the changes in the
database.
8 Special Requirements
USE CASE SPECIFICATIONS FOR DELETE PRODUCT IN THE STOCK MAINTENANCE SYSTEM
1 Brief Description
This use case describes how Deletes a product in the Stock Maintenance System.
2 Actors
2.1 Admin
3 Preconditions
3.1 A Product Id exists for the Product.
5 Alternative Flows
5.1
6 Key Scenarios
6.1
7 Post-conditions
7.1 Successful Completion
The Admin has successfully deleted the Product and the system updates the changes in the database.
8 Special Requirements
USE CASE SPECIFICATIONS FOR MANAGE PURCHASE DETAILS IN THE STOCK MAINTENANCE SYSTEM
1 Brief Description
This use case describes how Admin manages Purchase details in the Stock Maintenance System
2 Actors
2.1 Admin
2.2 Supplier
3 Preconditions
3.1 The goods supplied by the Supplier are received.
3.2 The Products received should already have a Product Id created.
5 Alternative Flows
5.1
If in the step 6 in the basic flow of events the system returns with a message 'Invalid Product Id', the use
case ends in failure condition.
6 Key Scenarios
6.1
7 Post-conditions
7.1 Successful Completion
The Admin has successfully entered the Purchase Details of the new inventory received & system
updates the database.
8 Special Requirements
USE CASE SPECIFICATIONS FOR MANAGE SALES DETAILS IN THE STOCK MAINTENANCE SYSTEM
1 Brief Description
This use case describes how Admin manages Sales details in the Stock Maintenance System
2 Actors
2.1 Admin
2.2 Customer
3 Preconditions
3.1 The goods sold to the Customer.
3.2 The Products should already have a Product Id created.
5 Alternative Flows
5.1
If in the step 6 in the basic flow of events the system returns with a message 'Invalid Product Id', the use
case ends in failure condition.
6 Key Scenarios
6.1
7 Post-conditions
7.1 Successful Completion
The Admin has successfully entered the Sales Details of the new transaction performed & system
updates the database.
8 Special Requirements
USE CASE SPECIFICATIONS FOR VIEW CURRENT STOCK DETAILS IN THE STOCK MAINTENANCE SYSTEM
1 Brief Description
This use case describes how Admin views current stock details in the Stock Maintenance System
2 Actors
2.1 Admin
3 Preconditions
3.1 The Product Details, Purchase Details & Sales Details are promptly updated.
3.2 The Products should already have a Product Id created.
5 Alternative Flows
5.1
If in the step 5 in the basic flow of events the system returns with a message 'Invalid Product Id', the use
case ends in failure condition.
6 Key Scenarios
6.1 Any of the databases are not updated.
7 Post-conditions
7.1 Successful Completion
The Admin has successfully viewed the current stock details.
8 Special Requirements
USE CASE SPECIFICATIONS FOR VIEW STOCK DETAILS BETWEEN TWO SPECIFIC DATES IN THE STOCK
MAINTENANCE SYSTEM
1 Brief Description
This use case describes how Admin stock details between two specific dates in the Stock Maintenance
System
2 Actors
2.1 Admin
3 Preconditions
3.1 The Product Details, Purchase Details & Sales Details are promptly updated.
3.2 The Products should already have a Product Id created.
5 Alternative Flows
5.1
If in the step 5 in the basic flow of events the system returns with a message 'Invalid Product Id', the use
case ends in failure condition.
6 Key Scenarios
6.1 Any of the databases are not updated.
7 Post-conditions
7.1 Successful Completion
The Admin has successfully viewed the stock details between two specified dates.
8 Special Requirements
ACTIVITY DIAGRAM FOR STOCK MAINTENANCE SYSTEM