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
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
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)
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