You are on page 1of 7

Use case Specifications

Name of Use Case: Check availability

Description: The retailer checks for the availability of goods in the system.

Actors: Retailer

Preconditions: 1.Retailer has pre-approval in retail store management system.

2. Active network connection.

Postconditions: Successful post condition

1.check stock availability is performed successfully.

Failure Post Condition

2. check stock availability is not performed.

Basic Flow:

1. The use case begins when the retailer signals the system that he/she wants to check for the
availability of the goods in the store.

2. System displays the search form.

3. Retailer enters the goods name and submit the search form.

4. System displays the availability of the goods in quantity.

5. Use case ends.

Alternative Flows:

In step 4 of the basic flow

1. If the goods are not available the system displays the message required not available”.

Special Requirements:

1. The system must support simultaneous users.

Name of Use Case: Place order

Description: The retailer places order of the goods if they are not available in the store.

Actors: Retailer

Preconditions:

1.The retailer has pre-approval in retail store management system.

2.Active network connection.


Postconditions: Successful post condition

1.Order has been placed successfully.

Failure Post Condition

2.order has not been recorded.

Basic Flow:

1. The use case begins when the retailer signals the system that he/she wants to order goods.

2. System displays the order form.

3. System prompts the retailer to fill the order form.

4. retailer enter the goods name and quantity in order form and submits.

5. upon submissions by the retailer system updates the order form in the database.

Special Requirements: The system must support simultaneous users(RETAILER).

Name of Use Case: MAKE PAYMENT

Description: The use case make payment describes the functionality of how the retailer records
the payment information which is made to the supplier after receiving order.

Actors: Retailer

Preconditions 1.Retailer has pre-approval in POST system.

2.Active network connection.

Postconditions: Successful post condition

1.payment has been recorded which is made to the supplier

Failure Post Condition

2.payment information has not been recorded.

Basic Flow:

1.The use case begins when the retailer signals the system that he/she wants to record the payment
to supplier information into the system database.

2.System displays the payment to supplier form.

3.System prompts the retailer to add the payment information to the form.

4.retailer adds the payment info, which includes supplier name, payment value.

5.System prompts the retailer to select the mode of payment from a dropdown menu which
includes cash, third party.
6. The retailer clicks on the submit button.

7. Use case ends.

Special Requirements: The system must support simultaneous users.

Name of Use Case: Accept payment

Description: Retailer accepts payment from the customer for the items.

Actors: Retailer

Preconditions:

1.Retailer has pre-approval in retail store management system.

2.Active network connection.

3.Ensure enough cash in change is available.

Postconditions: Successful post condition

1.Payment has been received successfully.

Failure Post Condition

2.Paymnet has not been received.

Basic Flow:

1.The use case begins when the retailer signals the system that he/she wants accept payment.

Case A: accept payment by cash.

1.retailer selects the mode of payment as cash.

2.System prompts the retailer to enter the amount given by customer.

3.retailer enters the amount in denominations.

4. system calculates balance amount to be given to the customer.

5. system displays the amount to be returned to the customer.

“ As Change “.

6.accept by cash ends.

Case B: accept payment by card.

1.Retailer selects the mode of payment as card.

2.system prompts the retailer to enter amount.


3.retailer enters the amount.

4.system prompts the retailer to validate pin.

5.system displays a message payment accepted.

6.accept payment by card ends.

Use case ends.

Alternative Flows:

In step 4 of case B of the normal flow, if the card pin is incorrect.

1. The system should send a message “invalid credentials”.

2. System should prompt to re-enter the credentials.

Exceptions: 1.During payment by card if the bank account doesn’t have sufficient funds payment
must abort.

Special Requirements: The system must support simultaneous users.

Name of Use Case: ARRANGE GOODS

Description: This use case describes the functionality of arrange goods in the system so that the
goods can be arranged by price or by product.

Actors: Retailer

Preconditions: 1.Active network connection.

2. retailer has pre-approval in retail store management system.

Postconditions: Successful post condition

1.goods have been arranged successfully.

Failure Post Condition

2.goods are not arranged successfully.

Basic Flow:

The use case begins when the retailer signals the system that he wants to arrange goods.

CASE A: Arrange goods by price

1. The system prompts the user to select the arrange by price form a dropdown list which
include arrange by price, arrange by product.

2. The retailer selects arrange by price.

3. The system arranges the goods by price.


4. System displays the arranged goods by price.

CASE B: Arrange goods by product.

5. The system prompts the user to select the arrange by product form a dropdown list which
include arrange by price, arrange by product.

6. The retailer selects arrange by product.

7. The system arranges the goods by product.

8. System displays the arranged goods by product.

Use case ends.


Use Case Diagram

Retail Store Management System

Check availability

Order Goods
*

*
** Make Payments
**
* *
«extends» By Product
Retailer
Arrange Goods
* «extends»

By Price

Prepare Bill «uses»


*
Run Sales
Transaction
*
Receive Payment

*
* *
*

By Credit By Cash

Activity Diagram
Check Goods availability

[Not available
]

[Available
]
Order the goods

Receive goods

Make Payments

Arrange Goods

Arrange Goods by Product Arrange Goods by Price

Prepare bill

Receive Payment

Cash Credit

Complete Sale

You might also like