Professional Documents
Culture Documents
Team Members:
Amit Shirsat
Suhas Thallam
Ujwal Jhaveri
Vikas Ponnuru
1
Table of Contents
Page numbers
1.Problem Description 2
1.1 Problem Statement 2
1.2 Company overview 2
1.3 Problems in the current system 3
2.Database Scope and Table Description 3
2.1 Category Table 3
2.2 Supplier Table 4
2.3 Customer Table 4
2.4 Shipper Table 5
2.5 Employee Table 5
2.6 Product Table 5
2.7 Order Table 6
2.8 OrderDetail Table 6
3. ER Diagram 7
4. Relational Database Schema 8
5. Forms 12
6. Reports 17
7. Menu 22
8. Contributions 25
2
1. Problem Description
1.1. Problem Statement
In the current world of globalization, small businesses have been facing troubles
going against corporate behemoths such as Amazon, Walmart etc. Our objective
is to help the small businesses by reaching their community with the help of
technology. Whenever a customer orders a product, the system checks for the
product produced by a business community within 50 kilometers of the
customers location (this can be done using the zip code in customers profile). By
getting their products from the local business community, the customers are
helping their local communities at the same time they are availing the benefits of
eCommerce.
3.ER Diagram
8
/*Table Supplier*/
CREATE TABLE Supplier(
SupplierID int NOT NULL,
CompanyName varchar(255) NULL,
FirstName varchar(255) NULL,
LastName varchar(255) NULL,
Address varchar(255) NULL,
City varchar(255) NULL,
Zipcode int NULL,
Country varchar(255) NULL,
Phone int NULL,
Primary key (SupplierID)
)
9
/*Table customer*/
CREATE TABLE Customer(
CustomerID int NOT NULL,
FirstName varchar(255) NULL,
LastName varchar(255) NULL,
Address varchar(255) NULL,
City varchar(255) NULL,
Zipcode int NULL,
Country varchar(255) NULL,
Phone int NULL,
Primary key (CustomerID)
)
/*Table Shipper*/
CREATE TABLE Shipper(
ShipperID int NOT NULL,
Phone int NULL,
CompanyName varchar(255) NULL,
Primary key (ShipperID)
)
10
/*Table Employee*/
CREATE TABLE Employee(
EmployeeID int NOT NULL,
LastName varchar(255) NULL,
FirstName varchar(255) NULL,
Address varchar(255) NULL,
City varchar(255) NULL,
Zipcode int NULL,
Country varchar(255) NULL,
Phone int NULL,
Primary key (EmployeeID)
)
/*Table Product*/
CREATE TABLE Product
(
ProductID int NOT NULL,
ProductName varchar(255) NULL,
SupplierID int NOT NULL CONSTRAINT FK_SupplierID REFERENCES
Suppliers (SupplierID),
ProductPrice int NULL,
CategoryID int NOT NULL CONSTRAINT FK_CategoryID REFERENCES
Categories (CategoryID),
Primary key (ProductID)
)
11
/*Table Order*/
CREATE TABLE Order(
OrderID int NOT NULL,
OrderDate date NULL,
ShippedDate date NULL,
ShipVia varchar(255) NULL,
ShipAddress varchar(255) NULL,
ShipCity varchar(255) NULL,
ShipZipcode int NULL,
ShipCountry varchar(255) NULL,
EmployeeID int NOT NULL CONSTRAINT FK_EmployeeID REFERENCES
Employees (EmployeeID),
CustomerID int NOT NULL CONSTRAINT FK_CustomerID REFERENCES
Customers (CustomerID),
ShipperID int NOT NULL CONSTRAINT FK_ShipperID REFERENCES Shipper
(ShipperID),
Primary key (OrderID)
)
/*Table OrderDetail*/
CREATE TABLE OrderDetail
(
ProductPrice int NULL,
Quantity int NULL,
ProductID int NOT NULL CONSTRAINT FK_ProductID REFERENCES Products
(ProductID),
12
6.Reports
Monthly Top Products by Revenue Contribution:
18
7.Menu Screens
Main Menu:
23
Go to Forms menus:
24
Go to Reports Menu:
25
8.Contributions
Task name Team member
Problem Statement Suhas Thallam
Company overview Vikas Ponnuru
Database Scope and Table Description Suhas Thallam, Vikas Ponnuru
ER Diagram Everyone in group
Relational Database Schema Suhas Thallam, Ujwal Jhaveri
Implementation in MS Access Everyone in group
Queries Amit Shirsat, Ujwal Jhaveri
Forms Amit Shirsat,Vikas Ponnuru
Reports Amit Shirsat,Suhas Thallam
Menus Amit Shirsat
Screen captures Ujwal Jhaveri
Testing Vikas Ponnuru,Ujwal Jhaveri
Documentation Everyone in group