SlideShare a Scribd company logo
1 of 60
Download to read offline
Aptech Computer Education eProject Document
APTECH COMPUTER EDUCATION
eProject Document
Auto Ancillaries Limited
Group 2
Group Member
Dinh Tri Duc
Vu Van Tang
Semester 4
Group 2
Page 1
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Group 2
Page 2
Auto Ancillaries Limited
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
Page 3
Auto Ancillaries Limited
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
Page 4
Auto Ancillaries Limited
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
Page 5
Auto Ancillaries Limited
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
Page 6
Auto Ancillaries Limited
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
Page 7
Auto Ancillaries Limited
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
Page 8
Auto Ancillaries Limited
Aptech Computer Education eProject Document
2.2 Activity Diagram
Figure1. User login
Group 2
Page 9
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Group 2
Page 10
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Figure2. Change password
Group 2
Page 11
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Figure3. Search object
Figure4. Add new object
Group 2
Page 12
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Group 2
Page 13
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Figure5. Update an object
Figure6. Booking
Group 2
Page 14
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Group 2
Page 15
Auto Ancillaries Limited
Aptech Computer Education eProject Document
3. UserCase Diagram :
Figure 7. Product Manager
Group 2
Page 16
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Figure 8.Category Manager
Figure 9. WareHouse Manager
Group 2
Page 17
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Figure 10.Orders Manager
Group 2
Page 18
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Figure 11. Bill Manager
Figure 12. Member Manager
Group 2
Page 19
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Group 2
Page 20
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Figure 13 .FeedBack Manager
Figure 14 .Material Manager
Group 2
Page 21
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Group 2
Page 22
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Figure 15 . Customer
3.1. User Case Specification
User Case No : UC01
User Case Name : Login Admin
Actor : Dinh Tri Duc
Purpose (1 phrase) Login into the admin page
Relationships and scope Manager and Admin Page
Level Primary
Preconditions
1. Admin need to enter username and password
information.
Post conditions in words System display message is login successfully.
Trigger Admin click login button
Main successful
scenario
Actor Action System Action
1.Manager enter username
and password
2. System validate admin
login.
3. The System display message
Unsuccessful scenarios
Conditions Actions
1. Login fails (value is
invalid or does not exist)
System redirect to Login page and
manager need to log into the system
Developer Tangvv
last modified date 22/03/2012
Group 2
Page 23
Auto Ancillaries Limited
Aptech Computer Education eProject Document
User Case No : UC02
User Case Name View product
Actor Dinh Tri Duc
Purpose (1 phrase) View information of all products
Relationships and scope Manager and Product Manager Page
Level Primary
Preconditions
1. administrator needs to log into the system
2. Click on the product manager
Post conditions in words System display information of all product
Trigger Admin click product manager page
Main successful
scenario
Actor Action System Action
1. Manager login
into the System
2. System validate admin
login and redirected to
manager page
3. Manager click
on the product
manager page
4. The system will display the
product information page
Unsuccessful scenarios
Conditions Actions
1. Login fails (value is
invalid or does not exist)
System redirect to Login page and
manager need to log into the system
Developer Tangvv
last modified date 22/03/2012
User Case No : UC03
User Case Name View Category
Group 2
Page 24
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Actor Dinh Tri Duc
Purpose (1 phrase) View information of all Category
Relationships and scope Manager and Category Manager Page
Level Primary
Preconditions
1. administrator needs to log into the system
2. Click on the Category manager
Post conditions in words System display information of all Category
Trigger Admin click product manager page
Main successful
scenario
Actor Action System Action
1. Manager login
into the System
2. System validate admin
login and redirected to
manager page
3. Manager click
on the category
manager page
4. The system will display the
Category information page
Unsuccessful scenarios
Conditions Actions
1. Login fails (value is
invalid or does not exist)
System redirect to Login page and
manager need to log into the system
Developer Tangvv
last modified date 22/03/2012
User Case No : UC04
User Case Name View warehouses
Group 2
Page 25
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Actor Dinh Tri Duc
Purpose (1 phrase) View information of all wasehouse
Relationships and scope Manager and warehouses Manager Page
Level Primary
Preconditions
1. administrator needs to log into the system
2. Click on the warehouses manager
Post conditions in words System display information of all warehouses
Trigger Admin click wasehouse manager page
Main successful
scenario
Actor Action System Action
1. Manager login
into the System
2. System validate admin
login and redirected to
manager page
3. Manager click
on the
warehouses
manager page
4. The system will display the
warehouses information page
Unsuccessful scenarios
Conditions Actions
1. Login fails (value is
invalid or does not exist)
System redirect to Login page and
manager need to log into the system
Developer Tangvv
last modified date 22/03/2012
User Case No : UC05
User Case Name Add product
Actor Dinh Tri Duc
Purpose (1 phrase) Insert product into database
Group 2
Page 26
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Relationships and scope Manager and product Manager Page
Level Primary
Preconditions
1. Administrator needs to log into the system
2. Click on add button in product manager page
Post conditions in words System redirected to add products page
Trigger Admin click on add button
Main successful
scenario
Actor Action System Action
1. Manager login
into the System
2. System validate admin
login and redirected to
manager page
3. Manager enter
product
information and
click to button
submit
4. System check validate and
show message return to
manager
Unsuccessful scenarios
Conditions Actions
1. Login fails
(value is invalid
or does not exist)
2. Add fails
(primary key
already exists)
1. System redirect to Login
page and manager need to
log into the system
2. System return message
Developer Tangvv
last modified date 22/03/2012
Group 2
Page 27
Auto Ancillaries Limited
Aptech Computer Education eProject Document
User Case No : UC06
User Case Name Add category
Actor Dinh Tri Duc
Purpose (1 phrase) Insert category into database
Relationships and scope Manager and category Manager Page
Level Primary
Preconditions
1. Administrator needs to log into the system
2. Click on add category in category manager page
Post conditions in words System redirected to add category page
Trigger Admin click on add button
Main successful
scenario
Actor Action System Action
1. Manager login
into the System
2. System validate admin
login and redirected to
manager page
3. Manager enter
category
information and
click to button
submit
4. System check validate and
show message return to
manager
Unsuccessful scenarios Conditions Actions
1. Login fails
(value is invalid
or does not exist)
2. Add fails
(primary key
1. System redirect to Login
page and manager need to
log into the system
2. System return message
Group 2
Page 28
Auto Ancillaries Limited
Aptech Computer Education eProject Document
already exists)
Developer Tangvv
last modified date 22/03/2012
User Case No : UC07
User Case Name Add warehouses
Actor Dinh Tri Duc
Purpose (1 phrase) Insert warehouses into database
Relationships and scope Manager and warehouses Manager Page
Level Primary
Preconditions
1. Administrator needs to log into the system
2. Click on add warehouses in warehouses manager page
Post conditions in words System redirected to add warehouses page
Trigger Admin click on add button
Main successful
scenario
Actor Action System Action
1. Manager login
into the System
2. System validate admin
login.
3. Manager enter
warehouses
information and
click to button
submit
4. System check validate and
show message return to
manager
Unsuccessful scenarios Conditions Actions
Group 2
Page 29
Auto Ancillaries Limited
Aptech Computer Education eProject Document
1. Login fails
(value is invalid
or does not exist)
2. Add fails
(primary key
already exists)
1. System redirect to Login
page and manager need to
log into the system
2. System return message
Developer Tangvv
last modified date 22/03/2012
User Case No : UC08
User Case Name Update product
Actor Dinh Tri Duc
Purpose (1 phrase) Update product into database
Relationships and scope Manager and product Manager Page
Level Primary
Preconditions
1. Administrator needs to log into the system
2. Click on update button in product manager page
Post conditions in words System redirected to update product page
Trigger Admin click on update button
Main successful
scenario
Actor Action System Action
1. Manager login
into the System
2. System validate admin
login and redirected to
manager page
3. Manager enter
product
information and
click to button
submit
Group 2
Page 30
Auto Ancillaries Limited
Aptech Computer Education eProject Document
4. System check validate and
show message return to
manager
Unsuccessful scenarios
Conditions Actions
1. Login fails (value is
invalid or does not exist)
System redirect to Login page and
manager need to log into the system
Developer Tangvv
last modified date 22/03/2012
User Case No : UC09
User Case Name Update category
Actor Dinh Tri Duc
Purpose (1 phrase) Update category into database
Relationships and scope Manager and category Manager Page
Level Primary
Preconditions
1. Administrator needs to log into the system
2. Click on update button in category manager page
Post conditions in words System redirected to update category page
Trigger Admin click on update button
Main successful
scenario
Actor Action System Action
1. Manager login
into the System
2. System validate admin
login and redirected to
manager page
Group 2
Page 31
Auto Ancillaries Limited
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
Unsuccessful scenarios
Conditions Actions
1. Login fails (value is
invalid or does not exist)
System redirect to Login page and
manager need to log into the system
Developer Tangvv
last modified date 22/03/2012
User Case No : UC10
User Case Name Update warehouses
Actor Dinh Tri Duc
Purpose (1 phrase) Update warehouses into database
Relationships and scope Manager and warehouses Manager Page
Level Primary
Preconditions
1. Administrator needs to log into the system
2. Click on update button in warehouses manager page
Post conditions in words System redirected to update warehouses page
Trigger Admin click on update button
Main successful
scenario
Actor Action System Action
1. Manager login into the
System
Group 2
Page 32
Auto Ancillaries Limited
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
Unsuccessful scenarios
Conditions Actions
1. Login fails (value is invalid or
does not exist)
System redirect to Login page
and manager need to log into
the system
Developer Tangvv
last modified date 22/03/2012
User Case No : UC11
User Case Name Search object
Actor Dinh Tri Duc
Purpose (1 phrase) Search products by keywords
Relationships and scope Manager
Level Primary
Preconditions 1. Administrator or Customer enter keyword to search
Post conditions in words System display the list ofresult for user
Trigger Enter key word to search
Actor Action System Action
Group 2
Page 33
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Main successful
scenario
1. Admin or Customer
enter keyword to
search
2. System search in the
database and return list
of result
3. system display result
on page
Unsuccessful scenarios
Conditions Actions
1. Data does not exist System return a message
Developer Tangvv
last modified date 22/03/2012
User Case No : UC12
User Case Name Add Order
Actor Dinh Tri Duc
Purpose (1 phrase) Insert Order into database
Relationships and scope Manager and Manager Page
Level Primary
Preconditions
1. Administrator needs to log into the system
2. Click on add Order in Order manager page
Post conditions in words System redirected to update Order page
Trigger Admin click on add button
Main successful
scenario
Actor Action System Action
1. Manager login
into the System
2. System validate admin
login.
Group 2
Page 34
Auto Ancillaries Limited
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
Unsuccessful scenarios
Conditions Actions
3. Login fails
(value is invalid
or does not exist)
4. Add fails
(primary key
already exists)
3. System redirect to Login
page and manager need to
log into the system
4. System return message
Developer Tangvv
last modified date 22/03/2012
User Case No : UC13
User Case Name Update Order
Actor Dinh Tri Duc
Purpose (1 phrase) Update Order into database
Relationships and scope Manager and Order Manager Page
Level Primary
Preconditions
3. Administrator needs to log into the system
4. Click on update button in Order manager page
Post conditions in words System redirected to update Order page
Trigger Admin click on update button
Actor Action System Action
Group 2
Page 35
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Main successful
scenario
5. Manager login
into the System
6. System validate admin
login and redirected to
manager page
7. Manager enter
Order
information and
click to button
submit
8. System check validate and
show message return to
manager
Unsuccessful scenarios Conditions Actions
1. Login fails (value is
invalid or does not exist)
System redirect to Login page and
manager need to log into the system
Developer Tangvv
last modified date 22/03/2012
User Case No : UC14
User Case Name Delete Order
Actor Dinh Tri Duc
Purpose (1 phrase) Delete Order into database
Relationships and scope Manager and Order Manager Page
Level Primary
Group 2
Page 36
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Preconditions
1. Administrator needs to log into the system
2. Click on Delete button in Order manager page
Post conditions in words
Trigger Admin click on Delete button
Main successful
scenario
Actor Action System Action
1. Manager login
into the System
2. System validate admin
login and redirected to
manager page
3. Manager
selected value
should be
deleted and click
to button delete
4. System check validate and
show message return to
manager
Unsuccessful scenarios
Conditions Actions
1. Login fails (value is
invalid or does not exist)
System redirect to Login page and
manager need to log into the system
Developer Tangvv
last modified date 22/03/2012
User Case No : UC15
User Case Name Delete Product
Group 2
Page 37
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Actor Dinh Tri Duc
Purpose (1 phrase) Delete Product into database
Relationships and scope Manager and Product Manager Page
Level Primary
Preconditions
3. Administrator needs to log into the system
4. Click on Delete button in Product manager page
Post conditions in words
Trigger Admin click on Delete button
Main successful
scenario
Actor Action System Action
5. Manager login
into the System
6. System validate admin
login and redirected to
manager page
7. Manager
selected value
should be
deleted and click
to button delete
8. System check validate and
show message return to
manager
Unsuccessful scenarios
Conditions Actions
1. Login fails (value is
invalid or does not exist)
System redirect to Login page and
manager need to log into the system
Developer Tangvv
last modified date 22/03/2012
Group 2
Page 38
Auto Ancillaries Limited
Aptech Computer Education eProject Document
User Case No : UC16
User Case Name Delete Category
Actor Dinh Tri Duc
Purpose (1 phrase) Delete Category into database
Relationships and scope Manager and Category Manager Page
Level Primary
Preconditions
5. Administrator needs to log into the system
6. Click on Delete button in Category manager page
Post conditions in words
Trigger Admin click on Delete button
Main successful
scenario
Actor Action System Action
9. Manager login
into the System
10. System validate admin
login and redirected to
manager page
11. Manager
selected value
should be
deleted and click
to button delete
12. System check validate and
show message return to
manager
Unsuccessful scenarios Conditions Actions
Group 2
Page 39
Auto Ancillaries Limited
Aptech Computer Education eProject Document
1. Login fails (value is
invalid or does not exist)
System redirect to Login page and
manager need to log into the system
Developer Tangvv
last modified date 22/03/2012
User Case No :
UC17
User Case Name
Delete Warehouse
Actor
Dinh Tri Duc
Purpose (1 phrase)
Delete Warehouse into database
Relationships and scope
Manager and Warehouse Manager Page
Level
Primary
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
Main successful
scenario
Actor Action System Action
13. Manager login
into the System
14. System validate admin
login and redirected to
manager page
Group 2
Page 40
Auto Ancillaries Limited
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
Unsuccessful scenarios
Conditions Actions
1. Login fails (value is
invalid or does not exist)
System redirect to Login page and
manager need to log into the system
Developer Tangvv
last modified date 22/03/2012
User Case No :
UC18
User Case Name
Register Customers
Actor
Dinh Tri Duc
Purpose (1 phrase)
Register Customers success
Relationships and scope
Customer and Website
Level
Primary
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
Page 41
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Trigger Customer click on Register button
Main successful
scenario
Actor Action System Action
1. Customer click
on Register
button in website
2. Customer enter
information in
Register page
3. System validate customer
register and return message
4. Register success , redirect to
Home page
Unsuccessful scenarios
Conditions Actions
1. register fails (value is
invalid or does not exist)
System redirect to register page
Developer Tangvv
last modified date 27/03/2012
User Case No : UC19
User Case Name Customers Login
Actor Dinh Tri Duc
Purpose (1 phrase) Login in website
Relationships and scope Customer and Login Page
Level Primary
Preconditions
1. Click on Login button in website
2. Customer enter username and password
Post conditions in words System redirected Home Page
Trigger Customer click on Login button
Group 2
Page 42
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Main successful
scenario
Actor Action System Action
1. Customer click
on Login button
in website
2. Enter username
and password
information
3. System validate customer
Login and redirected to home
page
Unsuccessful scenarios Conditions Actions
1. Login fails (value is
invalid or does not exist)
System redirect to Login page
Developer Tangvv
last modified date 27/03/2012
User Case No :
UC20
User Case Name
Customers Change personal Information
Actor
Dinh Tri Duc
Purpose (1 phrase)
Change personal Information
Relationships and scope
Custormer and Change information Page
Level
Primary
Preconditions 1. Click on Login button in website
2. Click on Change information button
Post conditions in words System redirected Home Page
Group 2
Page 43
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Trigger Customer click on change button
Main successful
scenario
Actor Action System Action
1. Customer click on
Login button in
website
2. System validate
customer Login and
redirected to home page
3. Customer click on
Change Information
button in website
4. System validate Change
information and
redirected to home page
Unsuccessful scenarios
Conditions Actions
1. Login fails (value is
invalid or does not
exist)
2. Change information
fails
1. System redirect to Login page
2.System return a message
Developer Tangvv
last modified date 27/03/2012
User Case No :
UC21
User Case Name
Customers View Product Detail
Actor
Dinh Tri Duc
Group 2
Page 44
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Purpose (1 phrase)
Display product information to the user
Relationships and scope
Customer and Product Detail
Level
Primary
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
Main successful
scenario
Actor Action System Action
1. Customer click
on Login button
in website
2. System validate customer
Login and redirected to home
page
3. Click on product
name or product
image
4. details of the products are
displayed
Unsuccessful scenarios
Conditions Actions
1. Login fails 2. System redirect to Login
Page
Developer Tangvv
last modified date 27/03/2012
Group 2
Page 45
Auto Ancillaries Limited
Aptech Computer Education eProject Document
User Case No :
UC22
User Case Name
Booking
Actor
Dinh Tri Duc
Purpose (1 phrase)
Booking online
Relationships and scope
Customer,Manager ,product and Order
Level
Primary
Preconditions
1. Login
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
scenario
Actor Action System Action
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
Page 46
Auto Ancillaries Limited
Aptech Computer Education eProject Document
6. systems to transfer orders for
management
7. management
check order
status
8. Management
update status
order after
shipped
Unsuccessful scenarios
Conditions Actions
1. Login fails 1. System redirect to login page
Developer Tangvv
last modified date 27/03/2012
User Case No :
UC23
User Case Name
Customers cancel Orders
Actor
Dinh Tri Duc
Purpose (1 phrase)
Cancel Order
Relationships and scope
Customer , manager and order
Level
Primary
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
Page 47
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Main successful
scenario
1. Customer click
on Login button
in website
2. System validate customers
login and redirected to home
page
3. Customer click
on view orders
4. Customer check
on order status
and click delete
button
5. System check validate status
order and processing
Unsuccessful scenarios
Conditions Actions
1. Login fails
2. Goods have been
transported
1. System redirect to login
page
2. System return a message
Developer Tangvv
last modified date 27/03/2012
User Case No :
UC24
User Case Name
View order
Actor
Dinh Tri Duc
Purpose (1 phrase)
View order for customer
Relationships and scope
Customer and ViewOrderPage
Group 2
Page 48
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Level
Primary
Preconditions 1. Login success
2. Click view all orders
Post conditions in words System redirected Order Detail Page
Trigger Customer click on view order
Main successful
scenario
Actor Action System Action
1. Customer click
on Login button
in website
2. System validate customers
login and redirected to home
page
3. Customer click
on view order
button in website
4. System display a list of
orders
Unsuccessful scenarios
Conditions Actions
1. Login fails 1. System redirect to login
page
Developer Tangvv
last modified date 27/03/2012
User Case No :
UC25
User Case Name
Feedback
Group 2
Page 49
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Actor
Dinh Tri Duc
Purpose (1 phrase)
Send feedback to the manager
Relationships and scope
Customer and manager
Level
Primary
Preconditions Login success
Post conditions in words System redirected FeedBack Page
Trigger Customer click on feedback button
Main successful
scenario
Actor Action System Action
1. Customer click
on Login button
in website
2. System validate customers
login and redirected to home
page
3. Customer click
on Feedback
button in website
4. The customer
writes the
feedback
contents
5. System send to manager
Unsuccessful scenarios
Conditions Actions
1. Login fails 1. System redirect to login
page
Developer Tangvv
last modified date 27/03/2012
Group 2
Page 50
Auto Ancillaries Limited
Aptech Computer Education eProject Document
User Case No :
UC26
User Case Name
View payment voucher
Actor
Dinh Tri Duc
Purpose (1 phrase)
View payment voucher
Relationships and scope
Customer and website
Level
Primary
Preconditions Login success
Post conditions in words System redirected Bills Page
Trigger Customer click on buy Product button
Main successful
scenario
Actor Action System Action
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
Page 51
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Unsuccessful scenarios
Conditions Actions
1. Login
fails 2. System redirect to
login page
Developer Tangvv
last modified date 27/03/2012
User Case No :
UC27
User Case Name
Automatic order buy product
Actor
Dinh Tri Duc
Purpose (1 phrase)
Automatic order buy product
Relationships and scope
Login page
Level
Primary
Preconditions Login success
Post conditions in words System redirected Stock Page
Trigger No
Main successful
scenario
Actor Action System Action
1. Customer click
on Login button
in website
Group 2
Page 52
Auto Ancillaries Limited
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
Unsuccessful scenarios
Conditions Actions
3. Login
fails
4. System redirect to
login page
Developer Tangvv
last modified date 27/03/2012
User Case No : UC28
User Case Name View Bills
Actor Dinh Tri Duc
Purpose (1 phrase) View bill information
Relationships and scope Manager And Customer
Level Primary
Preconditions
1. Manager and customer need to Login
2. View bill information
Post conditions in words System redirected Bills Page
Trigger Click on view bills information
Actor Action System Action
Group 2
Page 53
Auto Ancillaries Limited
Aptech Computer Education eProject Document
Main successful
scenario
1. Customer click
on Login button
in website
2. System validate
customers login and
redirected to home
page
3. View bill
information
Unsuccessful scenarios
Conditions Actions
1.Login fails 1. System redirect to
login page
Developer Tangvv
last modified date 27/03/2012
4. System Architecture :
The application will be made of Web-based distributed three-tier
architecture to support multiple user transaction at the same time.
Group 2
Page 54
Auto Ancillaries Limited
Presentation Tier
Implementation
Technologles(HTML/JSF/CSS)
Web-Tier
Middle-Tier
Aptech Computer Education eProject Document
Figure16. Web-Based Distributed 3-Tier
Architecture of the Project
Group 2
Page 55
Auto Ancillaries Limited
Business Tier
Implementation Technologles(JSF)
Database-Tier
Persistence Tier
Implementation Technologles(SQL
server 2005,SQL server 2008)
Aptech Computer Education eProject Document
5. Entity Relationship Diagram :
Figure 17 . Entity Relationship Diagram
Group 2
Page 56
Auto Ancillaries Limited
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
Page 57
Auto Ancillaries Limited
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)
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
Page 58
Auto Ancillaries Limited
Tải bản FULL (109 trang): https://bit.ly/34hOGH0
Dự phòng: fb.com/TaiHo123doc.net
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)
Table: Roles
Column Data Type Description
r_ID Int Primary key
r_Name Varchar(50)
Group 2
Page 59
Auto Ancillaries Limited
Tải bản FULL (109 trang): https://bit.ly/34hOGH0
Dự phòng: fb.com/TaiHo123doc.net
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)
Group 2
Page 60
Auto Ancillaries Limited
3832118

More Related Content

What's hot

What's hot (10)

Magento 2 Product Price Formula Extension by IToris inc.
Magento 2 Product Price Formula Extension by IToris inc.Magento 2 Product Price Formula Extension by IToris inc.
Magento 2 Product Price Formula Extension by IToris inc.
 
Canteen management system Documentation
Canteen management system DocumentationCanteen management system Documentation
Canteen management system Documentation
 
Inventory Management System
Inventory Management SystemInventory Management System
Inventory Management System
 
WMS - Manage Your Invetory Trackable
WMS - Manage Your Invetory TrackableWMS - Manage Your Invetory Trackable
WMS - Manage Your Invetory Trackable
 
E Market Place
E Market PlaceE Market Place
E Market Place
 
Inventory management system
Inventory management systemInventory management system
Inventory management system
 
Support processes of organization
Support processes of organizationSupport processes of organization
Support processes of organization
 
15 control centre
15 control centre15 control centre
15 control centre
 
45. online sales and inventory management system
45. online sales and inventory management system45. online sales and inventory management system
45. online sales and inventory management system
 
[[Srs]] online shopping website for TYBSC IT
[[Srs]] online shopping website for TYBSC IT[[Srs]] online shopping website for TYBSC IT
[[Srs]] online shopping website for TYBSC IT
 

Similar to Auto Ancillaries Limited Report (Database + Source Code)

FINAL PROJECT REPORT1
FINAL PROJECT REPORT1FINAL PROJECT REPORT1
FINAL PROJECT REPORT1
waqar younas
 
Super Take-out SystemProblem DescriptionTraditional take-out i.docx
Super Take-out SystemProblem DescriptionTraditional take-out i.docxSuper Take-out SystemProblem DescriptionTraditional take-out i.docx
Super Take-out SystemProblem DescriptionTraditional take-out i.docx
picklesvalery
 
Protectourwater.ie SRS
Protectourwater.ie SRSProtectourwater.ie SRS
Protectourwater.ie SRS
Killian Vigna
 
What's New in Financials 2.x
What's New in Financials 2.xWhat's New in Financials 2.x
What's New in Financials 2.x
Yulia Drygybka
 

Similar to Auto Ancillaries Limited Report (Database + Source Code) (20)

Web Store with Catalog and Product Management
Web Store with Catalog and Product ManagementWeb Store with Catalog and Product Management
Web Store with Catalog and Product Management
 
Electronic Transactional Records System Proposal
Electronic Transactional Records System ProposalElectronic Transactional Records System Proposal
Electronic Transactional Records System Proposal
 
ETRS Proposal - Acme Rental
ETRS Proposal - Acme RentalETRS Proposal - Acme Rental
ETRS Proposal - Acme Rental
 
ETRS Proposal - Acme Rental
ETRS Proposal - Acme RentalETRS Proposal - Acme Rental
ETRS Proposal - Acme Rental
 
FINAL PROJECT REPORT1
FINAL PROJECT REPORT1FINAL PROJECT REPORT1
FINAL PROJECT REPORT1
 
Sales and inventory management project report
Sales and inventory management project reportSales and inventory management project report
Sales and inventory management project report
 
Vehicle Fuel Monitoring and Credit Management using Web Based Application
Vehicle Fuel Monitoring and Credit Management using Web Based ApplicationVehicle Fuel Monitoring and Credit Management using Web Based Application
Vehicle Fuel Monitoring and Credit Management using Web Based Application
 
Stock Management System
Stock Management SystemStock Management System
Stock Management System
 
Stock Maintenance System-Problem Statement, SRS, ERD, DFD, Structured Chart
Stock Maintenance System-Problem Statement, SRS, ERD, DFD, Structured ChartStock Maintenance System-Problem Statement, SRS, ERD, DFD, Structured Chart
Stock Maintenance System-Problem Statement, SRS, ERD, DFD, Structured Chart
 
Super Take-out SystemProblem DescriptionTraditional take-out i.docx
Super Take-out SystemProblem DescriptionTraditional take-out i.docxSuper Take-out SystemProblem DescriptionTraditional take-out i.docx
Super Take-out SystemProblem DescriptionTraditional take-out i.docx
 
ppt 18.ppt
ppt 18.pptppt 18.ppt
ppt 18.ppt
 
Protectourwater.ie SRS
Protectourwater.ie SRSProtectourwater.ie SRS
Protectourwater.ie SRS
 
SRS on online auction system
SRS on online auction systemSRS on online auction system
SRS on online auction system
 
online-shopping-documentation-srs for TYBSCIT sem 6
 online-shopping-documentation-srs for TYBSCIT sem 6 online-shopping-documentation-srs for TYBSCIT sem 6
online-shopping-documentation-srs for TYBSCIT sem 6
 
Báo cáo Eproject 3 Aptech Online jwelleryshopping
Báo cáo Eproject 3 Aptech Online jwelleryshoppingBáo cáo Eproject 3 Aptech Online jwelleryshopping
Báo cáo Eproject 3 Aptech Online jwelleryshopping
 
Online incometax return filing system - BEST SRS Report
Online incometax return filing system - BEST SRS ReportOnline incometax return filing system - BEST SRS Report
Online incometax return filing system - BEST SRS Report
 
PROJECT ON Saree clothes store management system SUBMITTED BY Devanshi dhuve...
PROJECT ON Saree clothes store management system  SUBMITTED BY Devanshi dhuve...PROJECT ON Saree clothes store management system  SUBMITTED BY Devanshi dhuve...
PROJECT ON Saree clothes store management system SUBMITTED BY Devanshi dhuve...
 
What's New in Financials 2.x
What's New in Financials 2.xWhat's New in Financials 2.x
What's New in Financials 2.x
 
Canteen Automation System
Canteen Automation SystemCanteen Automation System
Canteen Automation System
 
restaurantmanagementpresent-160801054633.pdf
restaurantmanagementpresent-160801054633.pdfrestaurantmanagementpresent-160801054633.pdf
restaurantmanagementpresent-160801054633.pdf
 

More from nataliej4

More from nataliej4 (20)

đồ áN xây dựng website bán laptop 1129155
đồ áN xây dựng website bán laptop 1129155đồ áN xây dựng website bán laptop 1129155
đồ áN xây dựng website bán laptop 1129155
 
Nghệ thuật chiến tranh nhân dân việt nam trong công cuộc xây dựng và bảo vệ t...
Nghệ thuật chiến tranh nhân dân việt nam trong công cuộc xây dựng và bảo vệ t...Nghệ thuật chiến tranh nhân dân việt nam trong công cuộc xây dựng và bảo vệ t...
Nghệ thuật chiến tranh nhân dân việt nam trong công cuộc xây dựng và bảo vệ t...
 
Quản lý dịch vụ ô tô toyota 724279
Quản lý dịch vụ ô tô toyota 724279Quản lý dịch vụ ô tô toyota 724279
Quản lý dịch vụ ô tô toyota 724279
 
Từ vựng tiếng anh luyện thi thpt quốc gia
Từ vựng tiếng anh luyện thi thpt quốc giaTừ vựng tiếng anh luyện thi thpt quốc gia
Từ vựng tiếng anh luyện thi thpt quốc gia
 
Công tác dược lâm sàng tại bv cấp cứu trưng vương
Công tác dược lâm sàng tại bv cấp cứu trưng vươngCông tác dược lâm sàng tại bv cấp cứu trưng vương
Công tác dược lâm sàng tại bv cấp cứu trưng vương
 
Bài giảng nghề giám đốc
Bài giảng nghề giám đốcBài giảng nghề giám đốc
Bài giảng nghề giám đốc
 
đề Cương chương trình đào tạo trình độ trung cấp kế toán tin học
đề Cương chương trình đào tạo trình độ trung cấp kế toán   tin họcđề Cương chương trình đào tạo trình độ trung cấp kế toán   tin học
đề Cương chương trình đào tạo trình độ trung cấp kế toán tin học
 
Giáo trình kỹ thuật an toàn và bảo hộ lao động
Giáo trình kỹ thuật an toàn và bảo hộ lao độngGiáo trình kỹ thuật an toàn và bảo hộ lao động
Giáo trình kỹ thuật an toàn và bảo hộ lao động
 
Lựa chọn trong điều kiện không chắc chắn
Lựa chọn trong điều kiện không chắc chắnLựa chọn trong điều kiện không chắc chắn
Lựa chọn trong điều kiện không chắc chắn
 
Thực trạng phân bố và khai thác khoáng sét ở đồng bằng sông cửu long 4857877
Thực trạng phân bố và khai thác khoáng sét ở đồng bằng sông cửu long 4857877Thực trạng phân bố và khai thác khoáng sét ở đồng bằng sông cửu long 4857877
Thực trạng phân bố và khai thác khoáng sét ở đồng bằng sông cửu long 4857877
 
Sổ tay hướng dẫn khách thuê tòa nhà ree tower
Sổ tay hướng dẫn khách thuê   tòa nhà ree towerSổ tay hướng dẫn khách thuê   tòa nhà ree tower
Sổ tay hướng dẫn khách thuê tòa nhà ree tower
 
Phân tích tác động của thiên lệch hành vi đến quyết định của nhà đầu tư cá nh...
Phân tích tác động của thiên lệch hành vi đến quyết định của nhà đầu tư cá nh...Phân tích tác động của thiên lệch hành vi đến quyết định của nhà đầu tư cá nh...
Phân tích tác động của thiên lệch hành vi đến quyết định của nhà đầu tư cá nh...
 
Bài giảng giáo dục hoà nhập trẻ khuyết tật
Bài giảng giáo dục hoà nhập trẻ khuyết tậtBài giảng giáo dục hoà nhập trẻ khuyết tật
Bài giảng giáo dục hoà nhập trẻ khuyết tật
 
đồ áN thiết kế quần âu nam 6838864
đồ áN thiết kế quần âu nam 6838864đồ áN thiết kế quần âu nam 6838864
đồ áN thiết kế quần âu nam 6838864
 
Tài liệu hội thảo chuyên đề công tác tuyển sinh – thực trạng và giải pháp 717...
Tài liệu hội thảo chuyên đề công tác tuyển sinh – thực trạng và giải pháp 717...Tài liệu hội thảo chuyên đề công tác tuyển sinh – thực trạng và giải pháp 717...
Tài liệu hội thảo chuyên đề công tác tuyển sinh – thực trạng và giải pháp 717...
 
Bài giảng dịch tễ học bệnh nhiễm trùng
Bài giảng dịch tễ học bệnh nhiễm trùngBài giảng dịch tễ học bệnh nhiễm trùng
Bài giảng dịch tễ học bệnh nhiễm trùng
 
Bài giảng môn khởi sự kinh doanh
Bài giảng môn khởi sự kinh doanhBài giảng môn khởi sự kinh doanh
Bài giảng môn khởi sự kinh doanh
 
Giới thiệu học máy – mô hình naïve bayes learning intro
Giới thiệu học máy – mô hình naïve bayes   learning introGiới thiệu học máy – mô hình naïve bayes   learning intro
Giới thiệu học máy – mô hình naïve bayes learning intro
 
Lý thuyết thuế chuẩn tắc
Lý thuyết thuế chuẩn tắcLý thuyết thuế chuẩn tắc
Lý thuyết thuế chuẩn tắc
 
Bài giảng thuế thu nhập (cá nhân, doanh nghiệp)
Bài giảng thuế thu nhập (cá nhân, doanh nghiệp)Bài giảng thuế thu nhập (cá nhân, doanh nghiệp)
Bài giảng thuế thu nhập (cá nhân, doanh nghiệp)
 

Recently uploaded

An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 

Auto Ancillaries Limited Report (Database + Source Code)

  • 1. Aptech Computer Education eProject Document APTECH COMPUTER EDUCATION eProject Document Auto Ancillaries Limited Group 2 Group Member Dinh Tri Duc Vu Van Tang Semester 4 Group 2 Page 1 Auto Ancillaries Limited
  • 2. Aptech Computer Education eProject Document Group 2 Page 2 Auto Ancillaries Limited
  • 3. 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 Page 3 Auto Ancillaries Limited
  • 4. 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 Page 4 Auto Ancillaries Limited
  • 5. 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 Page 5 Auto Ancillaries Limited
  • 6. 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 Page 6 Auto Ancillaries Limited
  • 7. 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 Page 7 Auto Ancillaries Limited
  • 8. 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 Page 8 Auto Ancillaries Limited
  • 9. Aptech Computer Education eProject Document 2.2 Activity Diagram Figure1. User login Group 2 Page 9 Auto Ancillaries Limited
  • 10. Aptech Computer Education eProject Document Group 2 Page 10 Auto Ancillaries Limited
  • 11. Aptech Computer Education eProject Document Figure2. Change password Group 2 Page 11 Auto Ancillaries Limited
  • 12. Aptech Computer Education eProject Document Figure3. Search object Figure4. Add new object Group 2 Page 12 Auto Ancillaries Limited
  • 13. Aptech Computer Education eProject Document Group 2 Page 13 Auto Ancillaries Limited
  • 14. Aptech Computer Education eProject Document Figure5. Update an object Figure6. Booking Group 2 Page 14 Auto Ancillaries Limited
  • 15. Aptech Computer Education eProject Document Group 2 Page 15 Auto Ancillaries Limited
  • 16. Aptech Computer Education eProject Document 3. UserCase Diagram : Figure 7. Product Manager Group 2 Page 16 Auto Ancillaries Limited
  • 17. Aptech Computer Education eProject Document Figure 8.Category Manager Figure 9. WareHouse Manager Group 2 Page 17 Auto Ancillaries Limited
  • 18. Aptech Computer Education eProject Document Figure 10.Orders Manager Group 2 Page 18 Auto Ancillaries Limited
  • 19. Aptech Computer Education eProject Document Figure 11. Bill Manager Figure 12. Member Manager Group 2 Page 19 Auto Ancillaries Limited
  • 20. Aptech Computer Education eProject Document Group 2 Page 20 Auto Ancillaries Limited
  • 21. Aptech Computer Education eProject Document Figure 13 .FeedBack Manager Figure 14 .Material Manager Group 2 Page 21 Auto Ancillaries Limited
  • 22. Aptech Computer Education eProject Document Group 2 Page 22 Auto Ancillaries Limited
  • 23. Aptech Computer Education eProject Document Figure 15 . Customer 3.1. User Case Specification User Case No : UC01 User Case Name : Login Admin Actor : Dinh Tri Duc Purpose (1 phrase) Login into the admin page Relationships and scope Manager and Admin Page Level Primary Preconditions 1. Admin need to enter username and password information. Post conditions in words System display message is login successfully. Trigger Admin click login button Main successful scenario Actor Action System Action 1.Manager enter username and password 2. System validate admin login. 3. The System display message Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) System redirect to Login page and manager need to log into the system Developer Tangvv last modified date 22/03/2012 Group 2 Page 23 Auto Ancillaries Limited
  • 24. Aptech Computer Education eProject Document User Case No : UC02 User Case Name View product Actor Dinh Tri Duc Purpose (1 phrase) View information of all products Relationships and scope Manager and Product Manager Page Level Primary Preconditions 1. administrator needs to log into the system 2. Click on the product manager Post conditions in words System display information of all product Trigger Admin click product manager page Main successful scenario Actor Action System Action 1. Manager login into the System 2. System validate admin login and redirected to manager page 3. Manager click on the product manager page 4. The system will display the product information page Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) System redirect to Login page and manager need to log into the system Developer Tangvv last modified date 22/03/2012 User Case No : UC03 User Case Name View Category Group 2 Page 24 Auto Ancillaries Limited
  • 25. Aptech Computer Education eProject Document Actor Dinh Tri Duc Purpose (1 phrase) View information of all Category Relationships and scope Manager and Category Manager Page Level Primary Preconditions 1. administrator needs to log into the system 2. Click on the Category manager Post conditions in words System display information of all Category Trigger Admin click product manager page Main successful scenario Actor Action System Action 1. Manager login into the System 2. System validate admin login and redirected to manager page 3. Manager click on the category manager page 4. The system will display the Category information page Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) System redirect to Login page and manager need to log into the system Developer Tangvv last modified date 22/03/2012 User Case No : UC04 User Case Name View warehouses Group 2 Page 25 Auto Ancillaries Limited
  • 26. Aptech Computer Education eProject Document Actor Dinh Tri Duc Purpose (1 phrase) View information of all wasehouse Relationships and scope Manager and warehouses Manager Page Level Primary Preconditions 1. administrator needs to log into the system 2. Click on the warehouses manager Post conditions in words System display information of all warehouses Trigger Admin click wasehouse manager page Main successful scenario Actor Action System Action 1. Manager login into the System 2. System validate admin login and redirected to manager page 3. Manager click on the warehouses manager page 4. The system will display the warehouses information page Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) System redirect to Login page and manager need to log into the system Developer Tangvv last modified date 22/03/2012 User Case No : UC05 User Case Name Add product Actor Dinh Tri Duc Purpose (1 phrase) Insert product into database Group 2 Page 26 Auto Ancillaries Limited
  • 27. Aptech Computer Education eProject Document Relationships and scope Manager and product Manager Page Level Primary Preconditions 1. Administrator needs to log into the system 2. Click on add button in product manager page Post conditions in words System redirected to add products page Trigger Admin click on add button Main successful scenario Actor Action System Action 1. Manager login into the System 2. System validate admin login and redirected to manager page 3. Manager enter product information and click to button submit 4. System check validate and show message return to manager Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) 2. Add fails (primary key already exists) 1. System redirect to Login page and manager need to log into the system 2. System return message Developer Tangvv last modified date 22/03/2012 Group 2 Page 27 Auto Ancillaries Limited
  • 28. Aptech Computer Education eProject Document User Case No : UC06 User Case Name Add category Actor Dinh Tri Duc Purpose (1 phrase) Insert category into database Relationships and scope Manager and category Manager Page Level Primary Preconditions 1. Administrator needs to log into the system 2. Click on add category in category manager page Post conditions in words System redirected to add category page Trigger Admin click on add button Main successful scenario Actor Action System Action 1. Manager login into the System 2. System validate admin login and redirected to manager page 3. Manager enter category information and click to button submit 4. System check validate and show message return to manager Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) 2. Add fails (primary key 1. System redirect to Login page and manager need to log into the system 2. System return message Group 2 Page 28 Auto Ancillaries Limited
  • 29. Aptech Computer Education eProject Document already exists) Developer Tangvv last modified date 22/03/2012 User Case No : UC07 User Case Name Add warehouses Actor Dinh Tri Duc Purpose (1 phrase) Insert warehouses into database Relationships and scope Manager and warehouses Manager Page Level Primary Preconditions 1. Administrator needs to log into the system 2. Click on add warehouses in warehouses manager page Post conditions in words System redirected to add warehouses page Trigger Admin click on add button Main successful scenario Actor Action System Action 1. Manager login into the System 2. System validate admin login. 3. Manager enter warehouses information and click to button submit 4. System check validate and show message return to manager Unsuccessful scenarios Conditions Actions Group 2 Page 29 Auto Ancillaries Limited
  • 30. Aptech Computer Education eProject Document 1. Login fails (value is invalid or does not exist) 2. Add fails (primary key already exists) 1. System redirect to Login page and manager need to log into the system 2. System return message Developer Tangvv last modified date 22/03/2012 User Case No : UC08 User Case Name Update product Actor Dinh Tri Duc Purpose (1 phrase) Update product into database Relationships and scope Manager and product Manager Page Level Primary Preconditions 1. Administrator needs to log into the system 2. Click on update button in product manager page Post conditions in words System redirected to update product page Trigger Admin click on update button Main successful scenario Actor Action System Action 1. Manager login into the System 2. System validate admin login and redirected to manager page 3. Manager enter product information and click to button submit Group 2 Page 30 Auto Ancillaries Limited
  • 31. Aptech Computer Education eProject Document 4. System check validate and show message return to manager Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) System redirect to Login page and manager need to log into the system Developer Tangvv last modified date 22/03/2012 User Case No : UC09 User Case Name Update category Actor Dinh Tri Duc Purpose (1 phrase) Update category into database Relationships and scope Manager and category Manager Page Level Primary Preconditions 1. Administrator needs to log into the system 2. Click on update button in category manager page Post conditions in words System redirected to update category page Trigger Admin click on update button Main successful scenario Actor Action System Action 1. Manager login into the System 2. System validate admin login and redirected to manager page Group 2 Page 31 Auto Ancillaries Limited
  • 32. 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 Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) System redirect to Login page and manager need to log into the system Developer Tangvv last modified date 22/03/2012 User Case No : UC10 User Case Name Update warehouses Actor Dinh Tri Duc Purpose (1 phrase) Update warehouses into database Relationships and scope Manager and warehouses Manager Page Level Primary Preconditions 1. Administrator needs to log into the system 2. Click on update button in warehouses manager page Post conditions in words System redirected to update warehouses page Trigger Admin click on update button Main successful scenario Actor Action System Action 1. Manager login into the System Group 2 Page 32 Auto Ancillaries Limited
  • 33. 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 Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) System redirect to Login page and manager need to log into the system Developer Tangvv last modified date 22/03/2012 User Case No : UC11 User Case Name Search object Actor Dinh Tri Duc Purpose (1 phrase) Search products by keywords Relationships and scope Manager Level Primary Preconditions 1. Administrator or Customer enter keyword to search Post conditions in words System display the list ofresult for user Trigger Enter key word to search Actor Action System Action Group 2 Page 33 Auto Ancillaries Limited
  • 34. Aptech Computer Education eProject Document Main successful scenario 1. Admin or Customer enter keyword to search 2. System search in the database and return list of result 3. system display result on page Unsuccessful scenarios Conditions Actions 1. Data does not exist System return a message Developer Tangvv last modified date 22/03/2012 User Case No : UC12 User Case Name Add Order Actor Dinh Tri Duc Purpose (1 phrase) Insert Order into database Relationships and scope Manager and Manager Page Level Primary Preconditions 1. Administrator needs to log into the system 2. Click on add Order in Order manager page Post conditions in words System redirected to update Order page Trigger Admin click on add button Main successful scenario Actor Action System Action 1. Manager login into the System 2. System validate admin login. Group 2 Page 34 Auto Ancillaries Limited
  • 35. 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 Unsuccessful scenarios Conditions Actions 3. Login fails (value is invalid or does not exist) 4. Add fails (primary key already exists) 3. System redirect to Login page and manager need to log into the system 4. System return message Developer Tangvv last modified date 22/03/2012 User Case No : UC13 User Case Name Update Order Actor Dinh Tri Duc Purpose (1 phrase) Update Order into database Relationships and scope Manager and Order Manager Page Level Primary Preconditions 3. Administrator needs to log into the system 4. Click on update button in Order manager page Post conditions in words System redirected to update Order page Trigger Admin click on update button Actor Action System Action Group 2 Page 35 Auto Ancillaries Limited
  • 36. Aptech Computer Education eProject Document Main successful scenario 5. Manager login into the System 6. System validate admin login and redirected to manager page 7. Manager enter Order information and click to button submit 8. System check validate and show message return to manager Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) System redirect to Login page and manager need to log into the system Developer Tangvv last modified date 22/03/2012 User Case No : UC14 User Case Name Delete Order Actor Dinh Tri Duc Purpose (1 phrase) Delete Order into database Relationships and scope Manager and Order Manager Page Level Primary Group 2 Page 36 Auto Ancillaries Limited
  • 37. Aptech Computer Education eProject Document Preconditions 1. Administrator needs to log into the system 2. Click on Delete button in Order manager page Post conditions in words Trigger Admin click on Delete button Main successful scenario Actor Action System Action 1. Manager login into the System 2. System validate admin login and redirected to manager page 3. Manager selected value should be deleted and click to button delete 4. System check validate and show message return to manager Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) System redirect to Login page and manager need to log into the system Developer Tangvv last modified date 22/03/2012 User Case No : UC15 User Case Name Delete Product Group 2 Page 37 Auto Ancillaries Limited
  • 38. Aptech Computer Education eProject Document Actor Dinh Tri Duc Purpose (1 phrase) Delete Product into database Relationships and scope Manager and Product Manager Page Level Primary Preconditions 3. Administrator needs to log into the system 4. Click on Delete button in Product manager page Post conditions in words Trigger Admin click on Delete button Main successful scenario Actor Action System Action 5. Manager login into the System 6. System validate admin login and redirected to manager page 7. Manager selected value should be deleted and click to button delete 8. System check validate and show message return to manager Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) System redirect to Login page and manager need to log into the system Developer Tangvv last modified date 22/03/2012 Group 2 Page 38 Auto Ancillaries Limited
  • 39. Aptech Computer Education eProject Document User Case No : UC16 User Case Name Delete Category Actor Dinh Tri Duc Purpose (1 phrase) Delete Category into database Relationships and scope Manager and Category Manager Page Level Primary Preconditions 5. Administrator needs to log into the system 6. Click on Delete button in Category manager page Post conditions in words Trigger Admin click on Delete button Main successful scenario Actor Action System Action 9. Manager login into the System 10. System validate admin login and redirected to manager page 11. Manager selected value should be deleted and click to button delete 12. System check validate and show message return to manager Unsuccessful scenarios Conditions Actions Group 2 Page 39 Auto Ancillaries Limited
  • 40. Aptech Computer Education eProject Document 1. Login fails (value is invalid or does not exist) System redirect to Login page and manager need to log into the system Developer Tangvv last modified date 22/03/2012 User Case No : UC17 User Case Name Delete Warehouse Actor Dinh Tri Duc Purpose (1 phrase) Delete Warehouse into database Relationships and scope Manager and Warehouse Manager Page Level Primary 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 Main successful scenario Actor Action System Action 13. Manager login into the System 14. System validate admin login and redirected to manager page Group 2 Page 40 Auto Ancillaries Limited
  • 41. 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 Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) System redirect to Login page and manager need to log into the system Developer Tangvv last modified date 22/03/2012 User Case No : UC18 User Case Name Register Customers Actor Dinh Tri Duc Purpose (1 phrase) Register Customers success Relationships and scope Customer and Website Level Primary 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 Page 41 Auto Ancillaries Limited
  • 42. Aptech Computer Education eProject Document Trigger Customer click on Register button Main successful scenario Actor Action System Action 1. Customer click on Register button in website 2. Customer enter information in Register page 3. System validate customer register and return message 4. Register success , redirect to Home page Unsuccessful scenarios Conditions Actions 1. register fails (value is invalid or does not exist) System redirect to register page Developer Tangvv last modified date 27/03/2012 User Case No : UC19 User Case Name Customers Login Actor Dinh Tri Duc Purpose (1 phrase) Login in website Relationships and scope Customer and Login Page Level Primary Preconditions 1. Click on Login button in website 2. Customer enter username and password Post conditions in words System redirected Home Page Trigger Customer click on Login button Group 2 Page 42 Auto Ancillaries Limited
  • 43. Aptech Computer Education eProject Document Main successful scenario Actor Action System Action 1. Customer click on Login button in website 2. Enter username and password information 3. System validate customer Login and redirected to home page Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) System redirect to Login page Developer Tangvv last modified date 27/03/2012 User Case No : UC20 User Case Name Customers Change personal Information Actor Dinh Tri Duc Purpose (1 phrase) Change personal Information Relationships and scope Custormer and Change information Page Level Primary Preconditions 1. Click on Login button in website 2. Click on Change information button Post conditions in words System redirected Home Page Group 2 Page 43 Auto Ancillaries Limited
  • 44. Aptech Computer Education eProject Document Trigger Customer click on change button Main successful scenario Actor Action System Action 1. Customer click on Login button in website 2. System validate customer Login and redirected to home page 3. Customer click on Change Information button in website 4. System validate Change information and redirected to home page Unsuccessful scenarios Conditions Actions 1. Login fails (value is invalid or does not exist) 2. Change information fails 1. System redirect to Login page 2.System return a message Developer Tangvv last modified date 27/03/2012 User Case No : UC21 User Case Name Customers View Product Detail Actor Dinh Tri Duc Group 2 Page 44 Auto Ancillaries Limited
  • 45. Aptech Computer Education eProject Document Purpose (1 phrase) Display product information to the user Relationships and scope Customer and Product Detail Level Primary 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 Main successful scenario Actor Action System Action 1. Customer click on Login button in website 2. System validate customer Login and redirected to home page 3. Click on product name or product image 4. details of the products are displayed Unsuccessful scenarios Conditions Actions 1. Login fails 2. System redirect to Login Page Developer Tangvv last modified date 27/03/2012 Group 2 Page 45 Auto Ancillaries Limited
  • 46. Aptech Computer Education eProject Document User Case No : UC22 User Case Name Booking Actor Dinh Tri Duc Purpose (1 phrase) Booking online Relationships and scope Customer,Manager ,product and Order Level Primary Preconditions 1. Login 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 scenario Actor Action System Action 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 Page 46 Auto Ancillaries Limited
  • 47. Aptech Computer Education eProject Document 6. systems to transfer orders for management 7. management check order status 8. Management update status order after shipped Unsuccessful scenarios Conditions Actions 1. Login fails 1. System redirect to login page Developer Tangvv last modified date 27/03/2012 User Case No : UC23 User Case Name Customers cancel Orders Actor Dinh Tri Duc Purpose (1 phrase) Cancel Order Relationships and scope Customer , manager and order Level Primary 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 Page 47 Auto Ancillaries Limited
  • 48. Aptech Computer Education eProject Document Main successful scenario 1. Customer click on Login button in website 2. System validate customers login and redirected to home page 3. Customer click on view orders 4. Customer check on order status and click delete button 5. System check validate status order and processing Unsuccessful scenarios Conditions Actions 1. Login fails 2. Goods have been transported 1. System redirect to login page 2. System return a message Developer Tangvv last modified date 27/03/2012 User Case No : UC24 User Case Name View order Actor Dinh Tri Duc Purpose (1 phrase) View order for customer Relationships and scope Customer and ViewOrderPage Group 2 Page 48 Auto Ancillaries Limited
  • 49. Aptech Computer Education eProject Document Level Primary Preconditions 1. Login success 2. Click view all orders Post conditions in words System redirected Order Detail Page Trigger Customer click on view order Main successful scenario Actor Action System Action 1. Customer click on Login button in website 2. System validate customers login and redirected to home page 3. Customer click on view order button in website 4. System display a list of orders Unsuccessful scenarios Conditions Actions 1. Login fails 1. System redirect to login page Developer Tangvv last modified date 27/03/2012 User Case No : UC25 User Case Name Feedback Group 2 Page 49 Auto Ancillaries Limited
  • 50. Aptech Computer Education eProject Document Actor Dinh Tri Duc Purpose (1 phrase) Send feedback to the manager Relationships and scope Customer and manager Level Primary Preconditions Login success Post conditions in words System redirected FeedBack Page Trigger Customer click on feedback button Main successful scenario Actor Action System Action 1. Customer click on Login button in website 2. System validate customers login and redirected to home page 3. Customer click on Feedback button in website 4. The customer writes the feedback contents 5. System send to manager Unsuccessful scenarios Conditions Actions 1. Login fails 1. System redirect to login page Developer Tangvv last modified date 27/03/2012 Group 2 Page 50 Auto Ancillaries Limited
  • 51. Aptech Computer Education eProject Document User Case No : UC26 User Case Name View payment voucher Actor Dinh Tri Duc Purpose (1 phrase) View payment voucher Relationships and scope Customer and website Level Primary Preconditions Login success Post conditions in words System redirected Bills Page Trigger Customer click on buy Product button Main successful scenario Actor Action System Action 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 Page 51 Auto Ancillaries Limited
  • 52. Aptech Computer Education eProject Document Unsuccessful scenarios Conditions Actions 1. Login fails 2. System redirect to login page Developer Tangvv last modified date 27/03/2012 User Case No : UC27 User Case Name Automatic order buy product Actor Dinh Tri Duc Purpose (1 phrase) Automatic order buy product Relationships and scope Login page Level Primary Preconditions Login success Post conditions in words System redirected Stock Page Trigger No Main successful scenario Actor Action System Action 1. Customer click on Login button in website Group 2 Page 52 Auto Ancillaries Limited
  • 53. 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 Unsuccessful scenarios Conditions Actions 3. Login fails 4. System redirect to login page Developer Tangvv last modified date 27/03/2012 User Case No : UC28 User Case Name View Bills Actor Dinh Tri Duc Purpose (1 phrase) View bill information Relationships and scope Manager And Customer Level Primary Preconditions 1. Manager and customer need to Login 2. View bill information Post conditions in words System redirected Bills Page Trigger Click on view bills information Actor Action System Action Group 2 Page 53 Auto Ancillaries Limited
  • 54. Aptech Computer Education eProject Document Main successful scenario 1. Customer click on Login button in website 2. System validate customers login and redirected to home page 3. View bill information Unsuccessful scenarios Conditions Actions 1.Login fails 1. System redirect to login page Developer Tangvv last modified date 27/03/2012 4. System Architecture : The application will be made of Web-based distributed three-tier architecture to support multiple user transaction at the same time. Group 2 Page 54 Auto Ancillaries Limited Presentation Tier Implementation Technologles(HTML/JSF/CSS) Web-Tier Middle-Tier
  • 55. Aptech Computer Education eProject Document Figure16. Web-Based Distributed 3-Tier Architecture of the Project Group 2 Page 55 Auto Ancillaries Limited Business Tier Implementation Technologles(JSF) Database-Tier Persistence Tier Implementation Technologles(SQL server 2005,SQL server 2008)
  • 56. Aptech Computer Education eProject Document 5. Entity Relationship Diagram : Figure 17 . Entity Relationship Diagram Group 2 Page 56 Auto Ancillaries Limited
  • 57. 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 Page 57 Auto Ancillaries Limited
  • 58. 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) 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 Page 58 Auto Ancillaries Limited Tải bản FULL (109 trang): https://bit.ly/34hOGH0 Dự phòng: fb.com/TaiHo123doc.net
  • 59. 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) Table: Roles Column Data Type Description r_ID Int Primary key r_Name Varchar(50) Group 2 Page 59 Auto Ancillaries Limited Tải bản FULL (109 trang): https://bit.ly/34hOGH0 Dự phòng: fb.com/TaiHo123doc.net
  • 60. 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) Group 2 Page 60 Auto Ancillaries Limited 3832118