You are on page 1of 60

Aptech Computer Education eProject Document

APTECH COMPUTER EDUCATION

eProject Document

Auto Ancillaries Limited

Group 2

Dinh Tri Duc


Group Member
Vu Van Tang
Semester 4

Group 2 Auto Ancillaries Limited


Page 1
Aptech Computer Education eProject Document

Group 2 Auto Ancillaries Limited


Page 2
Aptech Computer Education eProject Document

Introduction

The companies manufacturing components for two wheel vehicles and the
industry faced an automatic engine problems with their current system, they feel
the need to change the system. So CartStor Webstie be created with the purpose of
resolving these problems and propose effective solutions in the competitive
market.

1. Problem Definition

1.1. The Proposed System

A system needs to be established which takes care of inventories, preparing


invoices, categorizing goods based on consumption pattern, tracking payments
from the customers, tracking the consignment, generating material rejection
reports. The system also requires connecting warehouse servers to the server of the
manufacturing plant, furnishing the with the necessary information, allow clients
to view the current status of production and stocks at .

The system has to be hosted on the Web. The firms will have different
discounts for customers based on their payment records. Each customer has
accounts for logging into the system and is eligible to query about the production
status. There would be an authentication process, which would enable the system
to recognize the members or customers

Group 2 Auto Ancillaries Limited


Page 3
Aptech Computer Education eProject Document

1.2. Boundaries of the System:

• Create a website using JSF And JSP and Microsoft SQL Server 2008.

• The Website direction to objects: administrators and Users.

• The account will primarily maintain the history of the members / customers
in terms of the details of all the transaction made by the customers with the
manufacturing firm.

• The customer should be able to place orders over the system. Once an order
is placed the system should generate the invoice for the same. His payables
should then be made available to him, taking into account his rating as a
distributor. The customer system should host the inventory levels of the and
on the request of the customer, the server should be able to access this and
inform the member or customer on his Economic Order Quantity (EOQ),
Re-order point, time for placing the next order etc.
• The Customers, depending on his ratings would, have the option of viewing
the Finished Goods inventory levels of the manufacturing unit.
• The Warehouse server data can be updated as soon as manufacturing unit
update the current production.
• The Warehouse accepts the orders in a predefined format from customers
through mails, faxes, web sites.
• should be able to track material rejections. System should generate material
rejection report.
• Central Inventory control system must keep a track of the material
consumption and based on that should be able to categorize fast moving or
slow moving, regular or seasonal goods.

Group 2 Auto Ancillaries Limited


Page 4
Aptech Computer Education eProject Document

• Financials:

Billings for each order has to be done by the system and credited to
the customers account. The system should be able to provide each customer
with his current financial position in terms of details of payment made,
outstanding and his rating as a customer with the company. The rating as a
customer would be dependent on the volumes of purchase by them, his
history as a defaulter etc. This in turn would determine his credit limit,
entitlement to discounts, other benefits.

All the above facilities should be made available to the member or the
customer as per his query, i.e. the customer may want to know all his
outstanding balances and the system should provide him with his figures by
extracting data from all the firms

1.3. Development Environment

- Hardware and OS Requirements:


o Pentium IV 2.0 GHz or higher
o 1GB of RAM or higher
o HDD: 4GB or higher
o Windows xp or higher

- Software Requirements:
o Netbean 6.9 or higher
o IIS 4.0 or higher
o Internet Explorer 7.0 or higher
o SQL Server 2005 or higher
Group 2 Auto Ancillaries Limited
Page 5
Aptech Computer Education eProject Document

2. Requirements and Business Flow

2.1 Customer Requirement Specification


2.1.1 System administrator
a. System Login:

Purpose:Allow users declare identification to used application

Object used: Administrator,Customer

Functionrequirement:

- Allow user input Username and Password and validate


information.
- The application will show message if Username or Password is
invalid.
b. System Manager :

Purpose :Allow managers add new, update information and disable

Object used: Administrator

Functionrequirement :

- Allow manager search category, view category information, add


new category with information like: category name, description
,image,categories.

- Allow manager search product, view product information, add


new product with information like: product name, price,
description , date in , status , image.

Group 2 Auto Ancillaries Limited


Page 6
Aptech Computer Education eProject Document

- Allow manager search wasehouse, view wasehouse information,


add new wasehouse with information like: wasehouse name,
description ,status,…
- Allow manager search order, view order information, check the
status of bills and add,update , delete bills
- Execute condition: admin has login.

2.1.2 System Customer :


Purpose :Allow managers view product information,category
information and Accepting order booking from user.

Object used: Customer : Regular dealers and Exclusive dealers.

Functionrequirement :

- Allow Regular dealers and Exclusive dealers search, view


category product , wasehouse information,and booking.
- Allow customer update the status of their inventory

2.1.3 Website :
a. View product information:
Purpose:Allow customers visiting the Website view product
information, booking product
Object used: Customers, visitors.
Function requirement:
- Allow customers views details each bouquetlike product name,

price, quantity available by category or by search.Customer can


add product to cart.
Execute condition: customersor visitors visiting the website.
b. Book product :

Purpose: Allow customer add any bouquets to cart

Object used: customers


Group 2 Auto Ancillaries Limited
Page 7
Aptech Computer Education eProject Document

Function requirement:
- Allow add a product to cart and review cart information like total

amount, amount for each product in cart, name of product in cart


etc.
Execute condition:customers

c. Checkout to cart:

Purpose: Allow customer payment for his/her cart

Object used:Registered customers

Function requirement:

- Allow customer payment through credit card


Execute condition:Customer has login

d. Business/Project objective:
- Create a website using Java and MS SQL Server 2005. The
website authenticates the existing user by his/her user name and
password. The website has a registration page where a new user
can enter his/her personal details. The user details will be stored in
the database.
- For the purpose of storing information of administrator, customers.
e. Input provide by Client:
 Inputs for the web-bases application
 Outputs from the Web-based application
 Process involved in the Web-based application

Group 2 Auto Ancillaries Limited


Page 8
Aptech Computer Education eProject Document

2.2 Activity Diagram

Figure1. User login

Group 2 Auto Ancillaries Limited


Page 9
Aptech Computer Education eProject Document

Group 2 Auto Ancillaries Limited


Page 10
Aptech Computer Education eProject Document

Figure2. Change password

Group 2 Auto Ancillaries Limited


Page 11
Aptech Computer Education eProject Document

Figure3. Search object

Figure4. Add new object

Group 2 Auto Ancillaries Limited


Page 12
Aptech Computer Education eProject Document

Group 2 Auto Ancillaries Limited


Page 13
Aptech Computer Education eProject Document

Figure5. Update an object

Figure6. Booking

Group 2 Auto Ancillaries Limited


Page 14
Aptech Computer Education eProject Document

Group 2 Auto Ancillaries Limited


Page 15
Aptech Computer Education eProject Document

3. UserCase Diagram :

Figure 7. Product Manager

Group 2 Auto Ancillaries Limited


Page 16
Aptech Computer Education eProject Document

Figure 8.Category Manager

Figure 9. WareHouse Manager

Group 2 Auto Ancillaries Limited


Page 17
Aptech Computer Education eProject Document

Figure 10.Orders Manager

Group 2 Auto Ancillaries Limited


Page 18
Aptech Computer Education eProject Document

Figure 11. Bill Manager

Figure 12. Member Manager


Group 2 Auto Ancillaries Limited
Page 19
Aptech Computer Education eProject Document

Group 2 Auto Ancillaries Limited


Page 20
Aptech Computer Education eProject Document

Figure 13 .FeedBack Manager

Figure 14 .Material Manager

Group 2 Auto Ancillaries Limited


Page 21
Aptech Computer Education eProject Document

Group 2 Auto Ancillaries Limited


Page 22
Aptech Computer Education eProject Document

Figure 15 . Customer

3.1. User Case Specification


UC01
User Case No :
Login Admin
User Case Name :
Dinh Tri Duc
Actor :
Login into the admin page
Purpose (1 phrase)
Manager and Admin Page
Relationships and scope
Primary
Level
1. Admin need to enter username and password
Preconditions
information.
Post conditions in words System display message is login successfully.
Admin click login button
Trigger
Actor Action System Action

1.Manager enter username


and password
Main successful
scenario 2. System validate admin
login.
3. The System display message

Conditions Actions

Unsuccessful scenarios 1. Login fails (value is System redirect to Login page and
invalid or does not exist) manager need to log into the system

Tangvv
Developer
22/03/2012
last modified date

Group 2 Auto Ancillaries Limited


Page 23
Aptech Computer Education eProject Document

UC02
User Case No :
View product
User Case Name
Dinh Tri Duc
Actor
View information of all products
Purpose (1 phrase)
Manager and Product Manager Page
Relationships and scope
Primary
Level
1. administrator needs to log into the system
Preconditions 2. Click on the product manager
Post conditions in words System display information of all product
Admin click product manager page
Trigger
Actor Action System Action

1. Manager login
into the System
2. System validate admin
Main successful login and redirected to
scenario
manager page
3. Manager click
on the product
manager page
4. The system will display the
product information page
Conditions Actions

Unsuccessful scenarios 1. Login fails (value is System redirect to Login page and
invalid or does not exist) manager need to log into the system

Tangvv
Developer
22/03/2012
last modified date

UC03
User Case No :
View Category
User Case Name
Group 2 Auto Ancillaries Limited
Page 24
Aptech Computer Education eProject Document

Dinh Tri Duc


Actor
View information of all Category
Purpose (1 phrase)
Manager and Category Manager Page
Relationships and scope
Primary
Level
1. administrator needs to log into the system
Preconditions 2. Click on the Category manager
Post conditions in words System display information of all Category
Admin click product manager page
Trigger
Actor Action System Action

1. Manager login
into the System
2. System validate admin
login and redirected to
Main successful manager page
scenario 3. Manager click
on the category
manager page
4. The system will display the
Category information page

Conditions Actions

Unsuccessful scenarios 1. Login fails (value is System redirect to Login page and
invalid or does not exist) manager need to log into the system

Tangvv
Developer
22/03/2012
last modified date

UC04
User Case No :
View warehouses
User Case Name
Group 2 Auto Ancillaries Limited
Page 25
Aptech Computer Education eProject Document

Dinh Tri Duc


Actor
View information of all wasehouse
Purpose (1 phrase)
Manager and warehouses Manager Page
Relationships and scope
Primary
Level
1. administrator needs to log into the system
Preconditions 2. Click on the warehouses manager
Post conditions in words System display information of all warehouses
Admin click wasehouse manager page
Trigger
Actor Action System Action

1. Manager login
into the System
2. System validate admin
login and redirected to
Main successful
manager page
scenario
3. Manager click
on the
warehouses
manager page
4. The system will display the
warehouses information page
Conditions Actions

Unsuccessful scenarios 1. Login fails (value is System redirect to Login page and
invalid or does not exist) manager need to log into the system

Tangvv
Developer
22/03/2012
last modified date

UC05
User Case No :
Add product
User Case Name
Dinh Tri Duc
Actor
Purpose (1 phrase) Insert product into database
Group 2 Auto Ancillaries Limited
Page 26
Aptech Computer Education eProject Document

Manager and product Manager Page


Relationships and scope
Primary
Level
1. Administrator needs to log into the system
Preconditions 2. Click on add button in product manager page
Post conditions in words System redirected to add products page
Admin click on add button
Trigger
Actor Action System Action

1. Manager login
into the System
2. System validate admin
login and redirected to
manager page
Main successful 3. Manager enter
scenario product
information and
click to button
submit
4. System check validate and
show message return to
manager

Conditions Actions

1. Login fails
(value is invalid 1. System redirect to Login
Unsuccessful scenarios or does not exist) page and manager need to
2. Add fails
log into the system
(primary key 2. System return message
already exists)
Tangvv
Developer
22/03/2012
last modified date

Group 2 Auto Ancillaries Limited


Page 27
Aptech Computer Education eProject Document

UC06
User Case No :
Add category
User Case Name
Dinh Tri Duc
Actor
Insert category into database
Purpose (1 phrase)
Manager and category Manager Page
Relationships and scope
Primary
Level
1. Administrator needs to log into the system
Preconditions 2. Click on add category in category manager page
Post conditions in words System redirected to add category page
Admin click on add button
Trigger
Actor Action System Action

1. Manager login
into the System
2. System validate admin
login and redirected to
manager page
Main successful 3. Manager enter
scenario
category
information and
click to button
submit
4. System check validate and
show message return to
manager
Unsuccessful scenarios Conditions Actions

1. Login fails 1. System redirect to Login


(value is invalid page and manager need to
or does not exist) log into the system
2. Add fails 2. System return message
(primary key
Group 2 Auto Ancillaries Limited
Page 28
Aptech Computer Education eProject Document

already exists)
Developer Tangvv

last modified date 22/03/2012

UC07
User Case No :
Add warehouses
User Case Name
Dinh Tri Duc
Actor
Insert warehouses into database
Purpose (1 phrase)
Manager and warehouses Manager Page
Relationships and scope
Primary
Level
1. Administrator needs to log into the system
Preconditions 2. Click on add warehouses in warehouses manager page
Post conditions in words System redirected to add warehouses page
Admin click on add button
Trigger
Actor Action System Action

1. Manager login
into the System
2. System validate admin
login.
3. Manager enter
Main successful
scenario warehouses
information and
click to button
submit
4. System check validate and
show message return to
manager
Unsuccessful scenarios Conditions Actions

Group 2 Auto Ancillaries Limited


Page 29
Aptech Computer Education eProject Document

1. Login fails
(value is invalid 1. System redirect to Login
or does not exist) page and manager need to
2. Add fails
log into the system
(primary key 2. System return message
already exists)
Tangvv
Developer
22/03/2012
last modified date

UC08
User Case No :
Update product
User Case Name
Dinh Tri Duc
Actor
Update product into database
Purpose (1 phrase)
Manager and product Manager Page
Relationships and scope
Primary
Level
1. Administrator needs to log into the system
Preconditions 2. Click on update button in product manager page
Post conditions in words System redirected to update product page
Admin click on update button
Trigger
Actor Action System Action

1. Manager login
into the System
2. System validate admin

Main successful login and redirected to


scenario manager page
3. Manager enter
product
information and
click to button
submit

Group 2 Auto Ancillaries Limited


Page 30
Aptech Computer Education eProject Document

4. System check validate and


show message return to
manager

Conditions Actions

Unsuccessful scenarios 1. Login fails (value is System redirect to Login page and
invalid or does not exist) manager need to log into the system

Tangvv
Developer
22/03/2012
last modified date

UC09
User Case No :
Update category
User Case Name
Dinh Tri Duc
Actor
Update category into database
Purpose (1 phrase)
Manager and category Manager Page
Relationships and scope
Primary
Level
1. Administrator needs to log into the system
Preconditions 2. Click on update button in category manager page
Post conditions in words System redirected to update category page
Admin click on update button
Trigger
Main successful Actor Action System Action
scenario 1. Manager login
into the System
2. System validate admin
login and redirected to
manager page

Group 2 Auto Ancillaries Limited


Page 31
Aptech Computer Education eProject Document

3. Manager enter
category
information and
click to button
submit
4. System check validate and
show message return to
manager

Conditions Actions

Unsuccessful scenarios 1. Login fails (value is System redirect to Login page and
invalid or does not exist) manager need to log into the system

Tangvv
Developer
22/03/2012
last modified date

UC10
User Case No :
Update warehouses
User Case Name
Dinh Tri Duc
Actor
Update warehouses into database
Purpose (1 phrase)
Manager and warehouses Manager Page
Relationships and scope
Primary
Level
1. Administrator needs to log into the system
Preconditions 2. Click on update button in warehouses manager page
Post conditions in words System redirected to update warehouses page
Admin click on update button
Trigger
Main successful Actor Action System Action
scenario 1. Manager login into the
System

Group 2 Auto Ancillaries Limited


Page 32
Aptech Computer Education eProject Document

2. System validate
admin login and
redirected to manager
page
3. Manager enter
warehouses
information and click
to button submit
4. System check validate
and show message
return to manager
Conditions Actions

System redirect to Login page


Unsuccessful scenarios 1. Login fails (value is invalid or
and manager need to log into
does not exist)
the system

Tangvv
Developer
22/03/2012
last modified date

UC11
User Case No :
Search object
User Case Name
Dinh Tri Duc
Actor
Search products by keywords
Purpose (1 phrase)
Manager
Relationships and scope
Primary
Level
Preconditions 1. Administrator or Customer enter keyword to search
Post conditions in words System display the list ofresult for user
Enter key word to search
Trigger
Actor Action System Action

Group 2 Auto Ancillaries Limited


Page 33
Aptech Computer Education eProject Document

1. Admin or Customer
enter keyword to
search
2. System search in the
Main successful
scenario database and return list
of result
3. system display result
on page

Conditions Actions
Unsuccessful scenarios 1. Data does not exist System return a message

Tangvv
Developer
22/03/2012
last modified date

UC12
User Case No :
Add Order
User Case Name
Dinh Tri Duc
Actor
Insert Order into database
Purpose (1 phrase)
Manager and Manager Page
Relationships and scope
Primary
Level
1. Administrator needs to log into the system
Preconditions 2. Click on add Order in Order manager page
Post conditions in words System redirected to update Order page
Admin click on add button
Trigger
Main successful Actor Action System Action
scenario 1. Manager login
into the System
2. System validate admin
login.

Group 2 Auto Ancillaries Limited


Page 34
Aptech Computer Education eProject Document

3. Manager enter
Order
information and
click to button
submit
4. System check validate and
show message return to
manager
Conditions Actions

3. Login fails
(value is invalid 3. System redirect to Login
Unsuccessful scenarios or does not exist) page and manager need to
4. Add fails
log into the system
(primary key 4. System return message
already exists)
Tangvv
Developer
22/03/2012
last modified date

UC13
User Case No :
Update Order
User Case Name
Dinh Tri Duc
Actor
Update Order into database
Purpose (1 phrase)
Manager and Order Manager Page
Relationships and scope
Primary
Level
3. Administrator needs to log into the system
Preconditions 4. Click on update button in Order manager page
Post conditions in words System redirected to update Order page
Admin click on update button
Trigger
Actor Action System Action

Group 2 Auto Ancillaries Limited


Page 35
Aptech Computer Education eProject Document

5. Manager login
into the System
6. System validate admin
login and redirected to
manager page
7. Manager enter
Order
Main successful information and
scenario
click to button
submit
8. System check validate and
show message return to
manager

Conditions Actions
Unsuccessful scenarios
1. Login fails (value is System redirect to Login page and
invalid or does not exist) manager need to log into the system

Tangvv
Developer
22/03/2012
last modified date

UC14
User Case No :
Delete Order
User Case Name
Dinh Tri Duc
Actor
Delete Order into database
Purpose (1 phrase)
Manager and Order Manager Page
Relationships and scope
Primary
Level
Group 2 Auto Ancillaries Limited
Page 36
Aptech Computer Education eProject Document

1. Administrator needs to log into the system


Preconditions 2. Click on Delete button in Order manager page
Post conditions in words
Admin click on Delete button
Trigger
Actor Action System Action

1. Manager login
into the System
2. System validate admin
login and redirected to
manager page
3. Manager
selected value
Main successful
scenario should be
deleted and click
to button delete
4. System check validate and
show message return to
manager

Conditions Actions

Unsuccessful scenarios 1. Login fails (value is System redirect to Login page and
invalid or does not exist) manager need to log into the system

Tangvv
Developer
22/03/2012
last modified date

UC15
User Case No :
Delete Product
User Case Name
Group 2 Auto Ancillaries Limited
Page 37
Aptech Computer Education eProject Document

Dinh Tri Duc


Actor
Delete Product into database
Purpose (1 phrase)
Manager and Product Manager Page
Relationships and scope
Primary
Level
3. Administrator needs to log into the system
Preconditions 4. Click on Delete button in Product manager page
Post conditions in words
Admin click on Delete button
Trigger
Actor Action System Action

5. Manager login
into the System
6. System validate admin
login and redirected to
manager page
7. Manager
selected value
Main successful
scenario should be
deleted and click
to button delete
8. System check validate and
show message return to
manager

Conditions Actions

Unsuccessful scenarios 1. Login fails (value is System redirect to Login page and
invalid or does not exist) manager need to log into the system

Tangvv
Developer
22/03/2012
last modified date

Group 2 Auto Ancillaries Limited


Page 38
Aptech Computer Education eProject Document

UC16
User Case No :
Delete Category
User Case Name
Dinh Tri Duc
Actor
Delete Category into database
Purpose (1 phrase)
Manager and Category Manager Page
Relationships and scope
Primary
Level
5. Administrator needs to log into the system
Preconditions 6. Click on Delete button in Category manager page
Post conditions in words
Admin click on Delete button
Trigger
Actor Action System Action

9. Manager login
into the System
10. System validate admin
login and redirected to
manager page
11. Manager
selected value
Main successful
scenario should be
deleted and click
to button delete
12. System check validate and
show message return to
manager

Unsuccessful scenarios Conditions Actions

Group 2 Auto Ancillaries Limited


Page 39
Aptech Computer Education eProject Document

1. Login fails (value is System redirect to Login page and


invalid or does not exist) manager need to log into the system

Tangvv
Developer
22/03/2012
last modified date

UC17
User Case No :
Delete Warehouse
User Case Name
Dinh Tri Duc
Actor
Delete Warehouse into database
Purpose (1 phrase)
Manager and Warehouse Manager Page
Relationships and scope
Primary
Level
Preconditions 7. Administrator needs to log into the system
8. Click on Delete button in Warehouse manager page

Post conditions in words


Trigger Admin click on Delete button

Actor Action System Action

Main successful 13. Manager login


scenario into the System
14. System validate admin
login and redirected to
manager page

Group 2 Auto Ancillaries Limited


Page 40
Aptech Computer Education eProject Document

15. Manager
selected value
should be
deleted and click
to button delete
16. System check validate and
show message return to
manager

Conditions Actions

Unsuccessful scenarios 1. Login fails (value is System redirect to Login page and
invalid or does not exist) manager need to log into the system

Developer Tangvv

last modified date 22/03/2012

UC18
User Case No :
Register Customers
User Case Name
Dinh Tri Duc
Actor
Register Customers success
Purpose (1 phrase)
Customer and Website
Relationships and scope
Primary
Level
Preconditions 1. Click on button register in website
2. Customer enter information in Register Page

Post conditions in words System redirected to Home Page

Group 2 Auto Ancillaries Limited


Page 41
Aptech Computer Education eProject Document

Trigger Customer click on Register button

Actor Action System Action

1. Customer click
on Register

Main successful button in website


2. Customer enter
scenario
information in
Register page
3. System validate customer
register and return message
4. Register success , redirect to
Home page
Conditions Actions

Unsuccessful scenarios 1. register fails (value is


System redirect to register page
invalid or does not exist)

Developer Tangvv

last modified date 27/03/2012

UC19
User Case No :
Customers Login
User Case Name
Dinh Tri Duc
Actor
Login in website
Purpose (1 phrase)
Customer and Login Page
Relationships and scope
Primary
Level
1. Click on Login button in website
Preconditions 2. Customer enter username and password
Post conditions in words System redirected Home Page
Customer click on Login button
Trigger
Group 2 Auto Ancillaries Limited
Page 42
Aptech Computer Education eProject Document

Actor Action System Action

1. Customer click
on Login button
in website
Main successful 2. Enter username
scenario and password
information
3. System validate customer
Login and redirected to home
page

Conditions Actions
Unsuccessful scenarios
1. Login fails (value is
System redirect to Login page
invalid or does not exist)

Tangvv
Developer
27/03/2012
last modified date

UC20
User Case No :
Customers Change personal Information
User Case Name
Dinh Tri Duc
Actor
Change personal Information
Purpose (1 phrase)
Custormer and Change information Page
Relationships and scope
Primary
Level
Preconditions 1. Click on Login button in website
2. Click on Change information button

Post conditions in words System redirected Home Page

Group 2 Auto Ancillaries Limited


Page 43
Aptech Computer Education eProject Document

Trigger Customer click on change button

Actor Action System Action

1. Customer click on
Login button in
website
2. System validate
Main successful customer Login and
scenario redirected to home page
3. Customer click on
Change Information
button in website
4. System validate Change
information and
redirected to home page

Conditions Actions

1. Login fails (value is


Unsuccessful scenarios invalid or does not 1. System redirect to Login page

exist) 2.System return a message


2. Change information
fails
Developer Tangvv

last modified date 27/03/2012

UC21
User Case No :
Customers View Product Detail
User Case Name
Dinh Tri Duc
Actor

Group 2 Auto Ancillaries Limited


Page 44
Aptech Computer Education eProject Document

Display product information to the user


Purpose (1 phrase)
Customer and Product Detail
Relationships and scope
Primary
Level
Preconditions 1. Customer Login
2. Click on product

Post conditions in words System redirected Product Detail Page

Trigger Customer click on Product name or product image

Actor Action System Action

1. Customer click
on Login button
in website
Main successful 2. System validate customer
scenario Login and redirected to home
page
3. Click on product
name or product
image
4. details of the products are
displayed
Conditions Actions

Unsuccessful scenarios
1. Login fails 2. System redirect to Login
Page

Developer Tangvv

last modified date 27/03/2012

Group 2 Auto Ancillaries Limited


Page 45
Aptech Computer Education eProject Document

UC22
User Case No :
Booking
User Case Name
Dinh Tri Duc
Actor
Booking online
Purpose (1 phrase)
Customer,Manager ,product and Order
Relationships and scope
Primary
Level
1. Login
Preconditions 2. Choose only or more product
3. Enter quantity

Post conditions in words System redirected Order Detail Page

Trigger Customer click on add to cart button

Main successful Actor Action System Action


scenario 1. Customer click
on Login button
in website

2. System validate customers


login and redirected to home
page
3. The customer
view product
information. then
press add to cart
4. System redirected to Order
Page
5. Customer enter
personal
information

Group 2 Auto Ancillaries Limited


Page 46
Aptech Computer Education eProject Document

6. systems to transfer orders for


management
7. management
check order
status
8. Management
update status
order after
shipped
Conditions Actions
Unsuccessful scenarios
1. Login fails 1. System redirect to login page
Developer Tangvv

last modified date 27/03/2012

UC23
User Case No :
Customers cancel Orders
User Case Name
Dinh Tri Duc
Actor
Cancel Order
Purpose (1 phrase)
Customer , manager and order
Relationships and scope
Primary
Level
Preconditions 1. Login success
2. Orders is not transferred

Post conditions in words System redirected Order Detail View Page

Trigger Customer click on delete button

Actor Action System Action

Group 2 Auto Ancillaries Limited


Page 47
Aptech Computer Education eProject Document

1. Customer click
on Login button
in website

2. System validate customers


login and redirected to home
Main successful
page
scenario 3. Customer click
on view orders
4. Customer check
on order status
and click delete
button
5. System check validate status
order and processing
Conditions Actions

Unsuccessful scenarios 1. Login fails 1. System redirect to login


2. Goods have been
page
transported 2. System return a message
Developer Tangvv

last modified date 27/03/2012

UC24
User Case No :
View order
User Case Name
Dinh Tri Duc
Actor
View order for customer
Purpose (1 phrase)
Customer and ViewOrderPage
Relationships and scope
Group 2 Auto Ancillaries Limited
Page 48
Aptech Computer Education eProject Document

Primary
Level
Preconditions 1. Login success
2. Click view all orders

Post conditions in words System redirected Order Detail Page

Trigger Customer click on view order

Actor Action System Action

1. Customer click
on Login button
in website

Main successful 2. System validate customers

scenario login and redirected to home


page
3. Customer click
on view order
button in website
4. System display a list of
orders

Conditions Actions
Unsuccessful scenarios 1. System redirect to login
1. Login fails
page
Developer Tangvv

last modified date 27/03/2012

UC25
User Case No :
Feedback
User Case Name
Group 2 Auto Ancillaries Limited
Page 49
Aptech Computer Education eProject Document

Dinh Tri Duc


Actor
Send feedback to the manager
Purpose (1 phrase)
Customer and manager
Relationships and scope
Primary
Level
Preconditions Login success

Post conditions in words System redirected FeedBack Page

Trigger Customer click on feedback button

Actor Action System Action

1. Customer click
on Login button
in website

2. System validate customers

Main successful login and redirected to home


scenario page
3. Customer click
on Feedback
button in website
4. The customer
writes the
feedback
contents
5. System send to manager
Conditions Actions
Unsuccessful scenarios 1. System redirect to login
1. Login fails
page
Developer Tangvv

last modified date 27/03/2012

Group 2 Auto Ancillaries Limited


Page 50
Aptech Computer Education eProject Document

UC26
User Case No :
View payment voucher
User Case Name
Dinh Tri Duc
Actor
View payment voucher
Purpose (1 phrase)
Customer and website
Relationships and scope
Primary
Level
Preconditions Login success

Post conditions in words System redirected Bills Page

Trigger Customer click on buy Product button

Main successful Actor Action System Action


scenario 1. Customer click
on Login button
in website

2. System validate customers


login and redirected to home
page
3. Customer click
on View
payment voucher
button in website

Group 2 Auto Ancillaries Limited


Page 51
Aptech Computer Education eProject Document

Conditions Actions

1. Login
Unsuccessful scenarios 2. System redirect to
fails
login page

Developer Tangvv

last modified date 27/03/2012

UC27
User Case No :
Automatic order buy product
User Case Name
Dinh Tri Duc
Actor
Automatic order buy product
Purpose (1 phrase)
Login page
Relationships and scope
Primary
Level
Preconditions Login success

Post conditions in words System redirected Stock Page

Trigger No

Main successful Actor Action System Action


scenario 1. Customer click
on Login button
in website

Group 2 Auto Ancillaries Limited


Page 52
Aptech Computer Education eProject Document

2. System validate customers


login and redirected to home
page
3. Update quantity
of product on the
stock
4. System automatically initiate
an order

Conditions Actions
Unsuccessful scenarios 3. Login 4. System redirect to
fails login page
Developer Tangvv

last modified date 27/03/2012

UC28
User Case No :
View Bills
User Case Name
Dinh Tri Duc
Actor
View bill information
Purpose (1 phrase)
Manager And Customer
Relationships and scope
Primary
Level
1. Manager and customer need to Login
Preconditions 2. View bill information
Post conditions in words System redirected Bills Page
Click on view bills information
Trigger
Actor Action System Action

Group 2 Auto Ancillaries Limited


Page 53
Aptech Computer Education eProject Document

1. Customer click
on Login button
in website

2. System validate
customers login and
Main successful redirected to home
scenario
page
3. View bill
information

Conditions Actions

Unsuccessful scenarios 1.Login fails 1. System redirect to


login page
Tangvv
Developer
27/03/2012
last modified date

4. System Architecture :

The application will be made of Web-based distributed three-tier


architecture to support multiple user transaction at the same time.

Presentation Tier
Web-Tier Implementation
Technologles(HTML/JSF/CSS)

Group 2 Auto Ancillaries Limited


Page 54

Middle-Tier
Aptech Computer Education eProject Document

Business Tier
Implementation Technologles(JSF)

Persistence Tier
Database-Tier Implementation Technologles(SQL
server 2005,SQL server 2008)

Figure16. Web-Based Distributed 3-Tier

Architecture of the Project

Group 2 Auto Ancillaries Limited


Page 55
Aptech Computer Education eProject Document

5. Entity Relationship Diagram :

Figure 17 . Entity Relationship Diagram

Group 2 Auto Ancillaries Limited


Page 56
Aptech Computer Education eProject Document

6. DataBase Design :

Table: Admin

Column Data Type Description

A_ID Int PK

A_Name Varchar(50)

A_Pass Varchar(50)

Table: Member

Column Data Type Description

M_ID Int PK

M_Name Varchar(50)

Birthday Date

Address Varchar(50)

Gender Varchar(50)

identityCart Int

Email Varchar(50)

bankcart Int

Phone Varchar(50)

M_Pass Varchar(50)

R_ID Int Foreign key

Group 2 Auto Ancillaries Limited


Page 57
Aptech Computer Education eProject Document

Table: Category

Column Data Type Description

C_ID Int Primary key

C_Name Varchar(50)

ProductLine Varchar(50)

Company Varchar(50)

Tải bản FULL (109 trang): https://bit.ly/34hOGH0


Dự phòng: fb.com/TaiHo123doc.net

Table: Product

Column Data Type Description

P_ID Int Primary key

C_ID Int Foreign key

P_Name Varchar(50)

P_Title Varchar(50)

P_Image Varchar(50)

Price Double

Status Varchar(50)

Group 2 Auto Ancillaries Limited


Page 58
Aptech Computer Education eProject Document

Table: ManagerWarehouse

Column Data Type Description

P_ID Int Foreign key

W_ID Int Foreign key

dateIn Date

dateOut Date

Quantity Int

Table: Warehouses

Column Data Type Description

W_ID Int Primary key

W_Name Varchar(50)

W_Address Varchar(50)

Tải bản FULL (109 trang): https://bit.ly/34hOGH0


Dự phòng: fb.com/TaiHo123doc.net

Table: Roles

Column Data Type Description

r_ID Int Primary key

r_Name Varchar(50)

Group 2 Auto Ancillaries Limited


Page 59
Aptech Computer Education eProject Document

Table: FeedBack

Column Data Type Description

F_ID Int Primary key

M_ID Int Foreign key

F_Title Varchar(200)

F_Content Varchar(255)

Table: Orders

Column Data Type Description

O_ID Int Primary key

M_ID Int Foreign key

ShoppedDate Date

ShippedAddress Varchar(50)

O_Date Date

ShippedCity Varchar(50)

Name Varchar(50)

Total Double

Status Varchar(50)

3832118

Group 2 Auto Ancillaries Limited


Page 60

You might also like