Oracle Final Project - Sample - Report
Oracle Final Project - Sample - Report
Faculty of Engineering
King Abdul-Aziz University
IE323
Section (GA)
Final Project
Industrial Engineering Bookstore
(IEBK)
Name ID #
Date of Submission:
Sunday 18/04/2021
Contents
Introduction: ..........................................................................................1
How this project will support the environment: ...................................1
How this project will support the society: ............................................1
How this project contributes to health and safety: ................................1
Comparison between C# and Oracle: ....................................................1
Estimated cost for project:.....................................................................2
The sustainability of the project: ...........................................................2
Created tables: .......................................................................................2
Codes for the procedures of all the innovations: ..................................8
Reports: ................................................................................................27
Table of comparison between alternatives: .........................................28
Table of innovations: ...........................................................................29
Conclusion: ..........................................................................................30
Reference: ............................................................................................30
Introduction:
Nowadays, the internet and computers made our life easier especially in the business field.
Customers can buy anything, from anywhere by only few clicks. Business owners also are
making a huge amount of profit by selling their products on the internet. One of online business
are bookstores. Starting an online bookstore business needs to take the supply and demand into
account to provide the right number of books to the customers without any financial loss. This
project’s goal is to establish an online bookstore for industrial engineering students at King
Abdul-Aziz University called industrial engineering bookstore. The project aims to help the
students to find the books for their courses and to help the business owners in making a simple
data analysis based on the orders and this will be done through oracle forms and other tools.
1
Estimated cost for project:
The project started in March 30, 2021 and a lot of tasks were involved in this project such as:
brainstorming for project’s idea, creating logo for the project, creating tables, searching and
learning about new innovations, testing and writing the report. To complete the project I
needed an average of 3 hours daily. 18 working days * 3 hours per day = 54 total working
hours. If the cost per hour is equal to SAR 70, the total estimated cost would be = 54 total
working hours * SAR 70 cost per hour = SAR 3,780
Created tables:
1-Books
2
2- Students
3- orders
3
alter table orders
add (CARD_EX_M number(2) not null);
4- Admins
create table admins (
user_id varchar2(10) constraint AD_UQ unique,
a_password varchar2(20) not null);
4
After login as student:
2- Books search engine form
3- Ordering form
5
4- Completing the order
6
2- Adding a new book
7
4- Showing all the received orders
8
2- Login for students:
9
3- Alert when trying to exit the ordering process:
10
4- Search box with changeable images depending on the book:
11
Search by book’s ISBN:
12
5- Student cannot proceed with the order if the book is out of stock:
13
6- A timer to close the payment form after 5 minutes if its not filled for
security reasons:
14
After a timer of 300,000 milliseconds (5 minutes) was created, a message will appear and the
form will be closed when the timer is expired as shown in the following image:
15
7- Calendar:
16
9- Unique order number for each order:
17
10- Dynamic total price that changes depending on the quantity:
18
11- Updating the available quantity after each order.
This innovation was done by calling a global variable of the quantity from the
previous form:
19
Then, when the quantity is changed the available quantity will be subtracted from
quantity into a non-visible item box:
After that, a post insert trigger is initiated to update the quantity in the data base with
the new value, the value of the non-visible text item.
20
12- Order cannot be done if the quantity exceeds the number of books on
stock:
21
13- Establishing a SQL plus database connection with Microsoft
office via Devart tool:
To establish a connection after installing the Devart tool, we can open an excel
sheet then go to devart tool
An import data wizard window will appear, we need to fill the text items
with the SQL plus user, password and server.
22
After that we will have the access to all the tables in the server, we can
choose which table we want to import from object option.
The data of chosen table from the data base will be previewed before
inserting them in the following image:
23
The following image shows the data after the importing process:
Now, the excel sheet is connected with orders table that is on SQL plus, if the
data on SQL plus is changed or updated all what we have to do in excel sheet is
to refresh the page through the refresh button on Devart section:
24
14- A button to open a specific excel file
25
15- Changeable image depending on the book:
26
Reports:
27
Table of comparison between alternatives:
Alternative designs
S.No Criteria for Comparison Oracle & C#
developer
28
Table of innovations:
Innovations:
S.NO Problem / Need for the What is the How it has improved Level of
innovation innovation added the project. complexity
1. Register to access the Create an account Make the order process Moderate
system much easier
2. Login to Access the Login [1] Make the order process Moderate
system much easier
3. Exiting the system Alert to confirm. [2] The user will not lose Easy
without placing an order any progress if the exit
button was pressed by
mistake.
4. Finding a book by course Search box [3] Facilitate the search High
number or ISBN to order process
5. Order can be proceeded Order cannot be It helped the project to Easy
even when no books were completed if the be more realistic
available available quantity =0
6. Secure sensitive A timer that closes It increases the security Moderate
information the payment form level
when it expired after
5 minutes [4]
7. Entering the date in Calendar [5] It facilitates the date High
wrong format entry
8. Choosing an arrival date Inserting an arrival It will help the Easy
before the order date date less than the employees not to waste
order date will clear time and effort in the
the item box of the review orders process
arrival date
9. |Distinguishing between Generating a unique It facilitates the delivery Easy
orders number for each and order tracking
order [6] process.
10. Calculating the total price Dynamic total price The total price will be Easy
depending on quantity that changes calculated automatically
depending on the and stored into the data
quantity base without wasting
time and effort from the
employees.
11. Available quantity not Updating the The available number of High
changed after each order available quantity books on the data base
after each order will reflect the number
in reality.
12. Orders exceeds the An order cannot be It helps to make a more Easy
available quantity done if the chosen logical project that
quantity exceeds the reflects the reality.
number of books
available
13. Data analysis for orders Establishing a SQL The orders data will be High
plus database analyzed to have a
connection with better picture and
Microsoft office via visualization about the
Devart tool [7] orders’ future.
29
14. Open a specific excel Creating a button that The data analysis excel Easy
sheet from oracle forms open that specific file sheet will be opened
on the system [8] directly and easily from
the forms.
15. See the cover of the book Changeable image Reducing the Moderate
before procced to buy depending on the probability of choosing
book [9] the wrong book
Conclusion:
At the end of the project, I learned a lot of things about oracle environment, and I also applied
what I learned in the course. In addition, many of innovations were leaned from the internet
and applied in this project. Finally, I hope this project will help universities for establishing
their own bookstores.
Reference:
1- Log in
https://www.youtube.com/watch?v=hdNe3QDFbzE
2- Alert
https://www.youtube.com/watch?v=1Bt-2SCsMKQ
3- Search box
https://www.youtube.com/watch?v=mW20yGlgl1U
4- Timer
https://www.youtube.com/watch?v=If6UXgWJGi8
5- Calendar
https://www.youtube.com/watch?v=k_wvOT8zkAI&t=323s
6- Generating unique number
https://www.youtube.com/watch?v=jVoPJD4ALCA
7- Devart tool for establishing connection between excel and SQL plus
https://www.devart.com/
https://www.youtube.com/watch?v=RTxD704odIQ
8- Open a specific excel file
https://www.araboug.org/ib/topic/9049-%D9%85%D9%85%D9%83%D9%86-
%D8%B4%D8%B1%D8%AD-%D8%B9%D9%86-
%D8%A7%D9%84%D8%A8%D8%A7%D9%83%D9%8A%D8%AC-dde/
9- Animated button
https://www.youtube.com/watch?v=Z4qAyUOq70o
10- changeable image depending on the book
https://www.youtube.com/watch?v=44hVrrB2_nQ
30