Professional Documents
Culture Documents
Table of Contents
1. INTRODUCTION....................................................................................................................1
1.1 PURPOSE OF THIS DOCUMENT...........................................................................................................1
1.2 SCOPE OF THIS DOCUMENT..............................................................................................................1
1.3 OVERVIEW.....................................................................................................................................1
2. GENERAL DESCRIPTION....................................................................................................1
2.1 PRODUCT FUNCTIONS.....................................................................................................................1
2.2 USER CHARACTERISTICS.................................................................................................................2
2.3 GENERAL CONSTRAINTS.................................................................................................................2
3. FUNCTIONAL REQUIREMENTS........................................................................................2
3.1 THE SYSTEM WILL MAINTAIN ITEM INVENTORY LEVELS.......................................................................2
DESCRIPTION........................................................................................................................................2
CRITICALITY.........................................................................................................................................2
TECHNICAL ISSUES...........................................................................................................................2
COST AND SCHEDULE.............................................................................................................................2
RISKS..................................................................................................................................................2
DEPENDENCIES WITH OTHER REQUIREMENTS...............................................................................................2
3.2 THE SYSTEM WILL DISPLAY AVAILABLE ITEMS...................................................................................2
DESCRIPTION........................................................................................................................................2
CRITICALITY.........................................................................................................................................2
TECHNICAL ISSUES.................................................................................................................................2
COST AND SCHEDULE.............................................................................................................................2
RISKS..................................................................................................................................................2
DEPENDENCIES WITH OTHER REQUIREMENTS...............................................................................................2
3.3 THE SYSTEM WILL ACCUMULATE ORDERS..........................................................................................3
DESCRIPTION........................................................................................................................................3
CRITICALITY.........................................................................................................................................3
TECHNICAL ISSUES...........................................................................................................................3
COST AND SCHEDULE.............................................................................................................................3
RISKS..................................................................................................................................................3
DEPENDENCIES WITH OTHER REQUIREMENTS...............................................................................................3
3.4 THE SYSTEM WILL STORE CONSUMER PERSONAL DATA........................................................................3
DESCRIPTION........................................................................................................................................3
CRITICALITY.........................................................................................................................................3
TECHNICAL ISSUES.................................................................................................................................3
COST AND SCHEDULE.............................................................................................................................3
RISKS..................................................................................................................................................3
DEPENDENCIES WITH OTHER REQUIREMENTS...............................................................................................3
3.5 THE SYSTEM WILL DISPLAY ORDER SUMMARIES..................................................................................3
DESCRIPTION........................................................................................................................................3
CRITICALITY.........................................................................................................................................3
11/24/03
TECHNICAL ISSUES.................................................................................................................................3
COST AND SCHEDULE.............................................................................................................................3
RISKS..................................................................................................................................................3
DEPENDENCIES WITH OTHER REQUIREMENTS...............................................................................................3
3.6 THE SYSTEM WILL VERIFY CREDITABILITY.........................................................................................4
DESCRIPTION........................................................................................................................................4
CRITICALITY.........................................................................................................................................4
TECHNICAL ISSUES.................................................................................................................................4
COST AND SCHEDULE.............................................................................................................................4
RISKS..................................................................................................................................................4
DEPENDENCIES WITH OTHER REQUIREMENTS.........................................................................................4
3.7 THE SYSTEM WILL STORE ORDER DATA.............................................................................................4
DESCRIPTION........................................................................................................................................4
CRITICALITY.........................................................................................................................................4
TECHNICAL ISSUES.................................................................................................................................4
COST AND SCHEDULE.............................................................................................................................4
RISKS..................................................................................................................................................4
DEPENDENCIES WITH OTHER REQUIREMENTS.........................................................................................4
3.8 THE SYSTEM WILL RETRIEVE ORDER DATA........................................................................................4
DESCRIPTION........................................................................................................................................4
CRITICALITY.........................................................................................................................................4
TECHNICAL ISSUES.................................................................................................................................4
COST AND SCHEDULE.............................................................................................................................4
RISKS..................................................................................................................................................4
DEPENDENCIES WITH OTHER REQUIREMENTS.........................................................................................4
4. INTERFACE REQUIREMENTS...........................................................................................5
4.1 USER INTERFACES...........................................................................................................................5
4.2 HARDWARE INTERFACES..................................................................................................................5
4.3 SOFTWARE INTERFACES...................................................................................................................5
4.4 COMMUNICATIONS INTERFACES........................................................................................................5
5. PERFORMANCE REQUIREMENTS....................................................................................5
6. OTHER NON-FUNCTIONAL ATTRIBUTES......................................................................5
6.1 SECURITY......................................................................................................................................5
6.2 RELIABILITY..................................................................................................................................5
6.3 MAINTAINABILITY..........................................................................................................................5
6.4 PORTABILITY.................................................................................................................................5
6.5 EXTENSIBILITY...............................................................................................................................6
6.6 REUSABILITY.................................................................................................................................6
6.7 RESOURCE UTILIZATION.................................................................................................................6
7. HARDWARE/SOFTWARE SYSTEM REQUIREMENTS..................................................6
7.1 USE CASE: VIEW GROCERY ITEMS FOR SELECTION ..........................................................................6
ii
11/24/03
7.1.1 DIAGRAM....................................................................................................................................6
7.1.2 BRIEF DESCRIPTION......................................................................................................................6
7.1.3 INITIAL STEP-BY-STEP DESCRIPTION..............................................................................................6
7.1.4 DETAILED DESCRIPTION...............................................................................................................7
7.2 USE CASE: SPECIFY GROCERY ITEM ORDER QUANTITY .................................................................7
7.2.1 DIAGRAM....................................................................................................................................7
7.2.2 BRIEF DESCRIPTION.....................................................................................................................7
7.2.3 INITIAL STEP-BY-STEP DESCRIPTION..............................................................................................7
7.2.4 DETAILED DESCRIPTION...............................................................................................................8
7.3 USE CASE: ENTER PERSONAL DATA ..........................................................................................8
7.3.1 DIAGRAM....................................................................................................................................8
7.3.2 BRIEF DESCRIPTION.....................................................................................................................8
7.3.3 INITIAL STEP-BY-STEP DESCRIPTION..............................................................................................8
7.3.4 DETAILED DESCRIPTION...............................................................................................................9
7.4 USE CASE: ENTER DELIVERY DATA ...........................................................................................9
7.4.1 DIAGRAM....................................................................................................................................9
7.4.2 BRIEF DESCRIPTION.....................................................................................................................9
7.4.3 INITIAL STEP-BY-STEP DESCRIPTION..............................................................................................9
7.4.4 DETAILED DESCRIPTION...............................................................................................................9
7.5 USE CASE: ENTER PAYMENT DATA ..........................................................................................10
7.5.1 DIAGRAM..................................................................................................................................10
7.5.2 BRIEF DESCRIPTION...................................................................................................................10
7.5.3 INITIAL STEP-BY-STEP DESCRIPTION............................................................................................10
7.5.4 DETAILED DESCRIPTION.............................................................................................................10
8. ENTITY RELATIONSHIP DIAGRAM...............................................................................12
9. GLOSSARY............................................................................................................................13
iii
11/24/03
1. Introduction
1.1 Purpose of this document
This document provides all of the requirements for an e-commerce grocery store
application. It is intended for the customers and developers of this application.
1.2 Scope of this document
This document intends to cover the requirements for an e-commerce grocery store
application. The expected users of this system will be consumers who purchase
grocery store items.
1.3 Overview
The system is described as an on-line grocery store application. The primary users
will be consumers who will select grocery store items for purchase. These consumers
will have the ability to query the system concerning the availability of specific
products they wish to select for purchase. In addition to providing availability of
products, the system will allow consumers to recall a prior order and, depending on
the availability of each item, duplicate that order to be their newest order request.
Those items which are presently unavailable will be excluded from their newest order
request. This express order function will benefit consumers by not having to
entirely re-key their selections for those instances where they wish to buy similarly to
a past order. The system will also require consumers to provide personal information
such as name, address, telephone, e-mail address and account password. Consumers
will also be prompted to specify whether the items chosen are to be picked up or
delivered, include pickup or delivery instructions and authorize payment information
upon completing their on-line purchase.
2. General Description
2.1 Product Functions
The application should:
11/24/03
3. Functional Requirements
3.1 The system will maintain item inventory levels.
Description
The system will maintain item inventory levels based upon a consumers order.
Criticality
High.
Technical issues
The system will display available items for the consumer to choose from.
Criticality
High.
Technical issues
This should constitute as much as 5% of the code development time and cost.
Risks
None.
Dependencies with other requirements
11/24/03
High.
Technical issues
None
Cost and schedule
None.
Dependencies with other requirements
High.
Technical issues
This is a primary requirement and should therefore constitute as much as 25% of the
code development time and cost.
Risks
None.
Dependencies with other requirements
The system will display order summaries based on what the consumer has selected.
Criticality
High.
Technical issues
None.
Cost and schedule
This should constitute as much as 5% of the code development time and cost.
Risks
None.
Dependencies with other requirements
11/24/03
High.
Technical issues
This is a primary requirement and should therefore constitute as much as 25% of the
code development time and cost.
Risks
High.
Technical issues
None.
Dependencies with other requirements
The system will retrieve order data relative to a consumers prior purchase
Criticality
High.
Technical issues
None.
Dependencies with other requirements
11/24/03
4. Interface Requirements
4.1 User interfaces
A Graphical User Interface(GUI) will be present throughout the application. The
appearance of the interface will be dependent upon the state of the application the
user is presently in.
4.2 Hardware interfaces
5. Performance Requirements
The application must perform at like speed, co-operate in like memory and require
normalized disk utilization as that of similar e-commerce retail applications.
11/24/03
6.5 Extensibility
The application must be modifiable to support future enhancements.
6.6 Reusability
The application components must be reusable for present and future versions of this
application.
6.7 Resource Utilization
The application should be limited to those resources normally allocated to standard
commercial PC applications.
The use case View Grocery Items for Selection is initiated by the consumer to
display items available for purchase.
7.1.3 Initial Step-by-Step Description
Before this use case can be initiated, the consumer has accessed the e-commerce
grocery store web page.
1. The consumer specifies category of grocery item (all, dairy, health & beauty,
frozen, etc).
2. The consumer specifies brand name or keyword.
3. The consumer presses submit.
4. The system displays results based on specifications in 1 and 2 above.
11/24/03
Use Case
Name
Priority
Trigger
Precondition
Basic Path
Alternative
Paths
Postcondition
Exception
Paths
See Also
Possible
Enhancement
The use case Specify Grocery Item Order Quantity is initiated by the consumer to
specify the quantity of grocery item(s) for an order.
7.2.3 Initial Step-by-Step Description
Before this use case can be initiated, the consumer has viewed grocery items for
selection.
1. The consumer specifies quantity for selected grocery item(s).
2. The consumer presses order.
7
11/24/03
Use Case
Name
Priority
Trigger
Precondition
Basic Path
Alternative
Paths
Postcondition
Exception
Paths
See Also
Possible
Enhancement
The use case Enter Personal Data is initiated by the consumer to enter personal
data.
7.3.3 Initial Step-by-Step Description
Before this use case can be initiated, the consumer has specified order quantities
for specific grocery items.
1. The consumer enters personal data.
2. The consumer presses continue.
3. The system stores consumer personal data.
8
11/24/03
Use Case
Name
Priority
Trigger
Precondition
Basic Path
Alternative
Paths
Postcondition
Exception
Paths
See Also
Possible
Enhancement
7.4 Use case: Enter Delivery Data
7.4.1 Diagram
The use case Enter Delivery Data is initiated by the consumer to enter delivery
data.
7.4.3 Initial Step-by-Step Description
Before this use case can be initiated, the consumer has entered personal data.
1. The consumer enters delivery data.
2. The consumer presses continue.
3. The system stores consumer delivery data.
7.4.4 Detailed Description
Use Case
Name
9
11/24/03
Priority
Trigger
Precondition
Basic Path
Alternative
Paths
Postcondition
Exception
Paths
Essential
Selecting continue.
The system has accepted personal data.
The consumer enters delivery data
The system stores the consumers delivery data based on
specifications.
The instance of this use case terminates.
None.
Delivery data is stored.
If an error occurs while specifying delivery data the application
provides a specific error message relative to the cause. The
consumer has the ability to try again.
See Also
Possible
Enhancement
7.5 Use case: Enter Payment Data
7.5.1 Diagram
The use case Enter Payment Data is initiated by the consumer to enter payment
data.
7.5.3 Initial Step-by-Step Description
Before this use case can be initiated, the consumer has entered delivery data.
1. The consumer enters payment data.
2. The consumer presses process.
3. The system accesses a payment gateway system then accepts or declines
payment data.
4. If the system accepts payment data, the system stores order data.
5. If the system indicates payment data was declined, the system permits
consumer to re-enter payment data or cancel.
7.5.4 Detailed Description
Use Case
Name
10
11/24/03
Priority
Trigger
Precondition
Basic Path
Alternative
Paths
Postcondition
Exception
Paths
See Also
Possible
Enhancement
11
Essential
Selecting continue.
The system has accepted delivery data.
The consumer enters payment data
If accepted the system stores order data else the system permits
consumer to re-enter or cancel.
The instance of this use case terminates.
None.
Payment data is stored.
If an error occurs while specifying payment data the application
provides a specific error message relative to the cause. The
consumer has the ability to try again.
On acceptance, send e-mail to consumer detailing their order.
11/24/03
First
Name
ID
Last
Name
Addr1
Number
Addr2
OrdDate
OrdTime
Delivry
Date
Psswrd
1
CONSUMER
PLACES
ORDER
Delivry
Time
Addl
Notes
EMail
Addr
City
Phone
Zip
Distrib
Method
State
AUTHORIZES
Delivry
Instrc
IS_FOR
INCLUDES
N
Trans
Num
PRODUCT
Catgory
Purch
Price
Price
QtyAvail
PAYMENT
Total
Amount
Qty
Order
PaymentType
Date
Name
N
Payment
Type
Time
SKU
Weight
d
Card
Type
CASH
CHECK
Holder
Nam
CREDIT_CARD
Expir
Date
Amount
ABA
Authoriz
Amt
Amount
Account
Num
12
Check
Num
Card
Num
Name
11/24/03
9. Glossary
e-commerce
SKU
TBD
13
11/24/03