BCIS 4660 Homework 9

advertisement
qwertyuiopasdfghjklzxcvbnmqwerty
uiopasdfghjklzxcvbnmqwertyuiopas
dfghjklzxcvbnmqwertyuiopasdfghjkl
BCIS 4660 Homework 9
zxcvbnmqwertyuiopasdfghjklzxcvbn
By: Coleman Barkley, Daniel Donnell, James
mqwertyuiopasdfghjklzxcvbnmqwer
Konderla, Sean Sanbury, and Ya Qiu
tyuiopasdfghjklzxcvbnmqwertyuiop
asdfghjklzxcvbnmqwertyuiopasdfghj
klzxcvbnmqwertyuiopasdfghjklzxcvb
nmqwertyuiopasdfghjklzxcvbnmqw
ertyuiopasdfghjklzxcvbnmqwertyuio
pasdfghjklzxcvbnmqwertyuiopasdfg
hjklzxcvbnmqwertyuiopasdfghjklzxc
vbnmqwertyuiopasdfghjklzxcvbnmq
wertyuiopasdfghjklzxcvbnmqwertyu
iopasdfghjklzxcvbnmrtyuiopasdfghj
12/3/2012
qwertyuiopasdfghjklzxcvbnmqwerty
uiopasdfghjklzxcvbnmqwertyuiopas
dfghjklzxcvbnmqwertyuiopasdfghjkl
BCIS 4660 Homework 9
zxcvbnmqwertyuiopasdfghjklzxcvbn
By: Coleman Barkley, Daniel Donnell, James
mqwertyuiopasdfghjklzxcvbnmqwer
Konderla, Sean Sanbury, and Ya Qiu
tyuiopasdfghjklzxcvbnmqwertyuiop
asdfghjklzxcvbnmqwertyuiopasdfghj
klzxcvbnmqwertyuiopasdfghjklzxcvb
nmqwertyuiopasdfghjklzxcvbnmqw
ertyuiopasdfghjklzxcvbnmqwertyuio
pasdfghjklzxcvbnmqwertyuiopasdfg
hjklzxcvbnmqwertyuiopasdfghjklzxc
vbnmqwertyuiopasdfghjklzxcvbnmq
wertyuiopasdfghjklzxcvbnmqwertyu
iopasdfghjklzxcvbnmrtyuiopasdfghj
12/3/2012
Table of Contents
Tab 1 – Data Relation Definitions ................................................................................................................. 3
Executive Summary................................................................................................................................... 4
Overview of Premier Products .................................................................................................................. 6
Premier Products Entity-Relationship Diagram (ERD) .............................................................................. 7
Premier Products Relation List.................................................................................................................. 8
Fact Table .............................................................................................................................................. 8
Dimension Tables .................................................................................................................................. 8
Project Plan (Gantt Chart) ......................................................................................................................... 0
Menu System (Hierarchy Diagram) ........................................................................................................... 0
Database Documenter .............................................................................................................................. 1
Tab 2 – Data Loads ...................................................................................................................................... 38
Transformational Maps........................................................................................................................... 39
SQL Statements ................................................................................................................................... 39
Loaded Tables (First 2 Pages ONLY) ........................................................................................................ 41
Tab 3 – Reports ............................................................................................................................................. 0
Total Sales By Month ................................................................................................................................ 1
SQL Statements ..................................................................................................................................... 1
Generated Report ................................................................................................................................. 2
Sales By Customer By Month (2011) ........................................................................................................ 4
SQL Statements ..................................................................................................................................... 4
Generated Report ................................................................................................................................. 5
Sales by Rep By Month for 2011 (Subtotal By Name)............................................................................. 17
SQL Statements ................................................................................................................................... 17
Generated Report ............................................................................................................................... 18
Total Sales by Month by Rep .................................................................................................................. 27
SQL Statements ................................................................................................................................... 27
Generated Report ............................................................................................................................... 28
Total Sales by PartNum by Territory ....................................................................................................... 31
SQL Statements ................................................................................................................................... 31
Generated Report ............................................................................................................................... 32
Total Sales by Product by Year ................................................................................................................ 44
Team 9
BCIS 4660.001 - Final Project
ToC 1
SQL Statements ................................................................................................................................... 44
Generated Report ............................................................................................................................... 45
Total Sales by Rep by Year ...................................................................................................................... 48
SQL Statements ................................................................................................................................... 48
Generated Report ............................................................................................................................... 49
Total Sales by Customer by Year ............................................................................................................. 51
SQL Statements ................................................................................................................................... 51
Generated Report ............................................................................................................................... 52
Total Sales by Territory by Year .............................................................................................................. 54
SQL Statements ................................................................................................................................... 54
Generated Report ............................................................................................................................... 55
Total Sales by Rep by Quarter ................................................................................................................. 56
SQL Statements ................................................................................................................................... 56
Generated Report ............................................................................................................................... 57
Total Sales by Team ID (Bonus) ............................................................................................................... 59
SQL Statements ................................................................................................................................... 59
Generated Report ............................................................................................................................... 60
Presentation Slides (2 per Page) ............................................................................................................... 0
Team 9
BCIS 4660.001 - Final Project
ToC 2
Tab 1 – Data Relation Definitions
Team 9
BCIS 4660.001 - Final Project
Page 1
Executive Summary
Premier Products (PP) is a multifaceted distributor of goods. These goods include
appliances, housewares, and sporting goods. They have been experiencing a high growth rate
as of late, and this has brought forth some problems in the data processing areas. PP has relied
on the use of spreadsheets up to now to maintain their records. Problems facing PP due to their
use of spreadsheets included:
•
Redundancy – The duplication of data in more than once place
•
Difficulty accessing related data
•
Limited security features
•
Size limitations (which are relevant due to the current growth in PP)
As we will illustrate throughout our project, the addition of a Database Management System
(DBMS) will prove to aid in the flow of information throughout the different areas of the
business.
We have created a database which consists of information concerning order details,
sales rep information, inventory information, and we have even made it possible to break down
into different sales territories. Through these different tables of information, we are quickly
able to generate many types of reports pertinent to our business. These reports include:
Team 9
•
Territory Reports
•
Sales by Year
BCIS 4660.001 - Final Project
Page 2
•
Sales by Customer
•
Sales by Rep
•
Sales by Part Number
•
Sales by Month
Each one of these reports will benefit PP by allowing them to see what is selling, where it is
selling, and who is buying it. It will also allow PP to keep track of Customer Rep performance,
which could in turn be used in figuring sales bonuses or any other such pay incentive.
Throughout the report we will illustrate how we built this database through loading of
other teams data with SQL, our own data creation, and the aforementioned report generation.
As with any new information system’s installation, the new DBMS’s transition would be
costly, but the benefits to the business would easily outweigh the costs.
Team 9
BCIS 4660.001 - Final Project
Page 3
Overview of Premier Products
Premier Products is a distributor of appliances, housewares, and sporting goods. The
company has been using spreadsheets to track sales, and keep other such information.
However, due to a significant increase in sales volume, Premier Products has started to
encounter some issues with information flow. If no changes in information management occur,
and volume continues to increase, the problems will keep piggybacking on top of each other.
Premier products operates throughought the country, and is divided up regionally.
Territories include Northwest, Southwest, Midwest, Southeast, and Northeast. Different teams
consisting of certain Rep’s, and different sales goals are dispersed through these territories.
The future of the company is looking way up. Sales and revenues are substantially
increasing. Of course this is a good thing, but it is also going to bring forth some necessary
changes with the companies information systems. Premier Products is soon expecting to
upgrade to a Database Management System to track all sales, customers, and inventory for all
territories. With the new systems in place, Premier Products will be able to handle the
increasing volume, while more efficiently handling all of its business information.
If continued growth is maintained, Premier Products can look to expand to more states
and maybe start to look internationally.
Team 9
BCIS 4660.001 - Final Project
Page 4
Premier Products Entity-Relationship Diagram (ERD)
Team 9
BCIS 4660.001 - Final Project
Page 5
Premier Products Relation List
Fact Table
•
OrderDetail (OrderNum, PartNum, OrderDate, CustNo, RepNo, NumOrdered, Price)
Dimension Tables
•
•
•
•
•
Team 9
Customer (CustNum, CustName, Street, City, State, Zip, Balance, CreditLimit)
Rep (RepNum, LastName, FirstName, Street, City, State, Zip, Commission, Rate)
Part (PartNum, Desc, OnHand, Class, Warehouse, Price)
Time2008-2012 (TimeKey, Date, Day_of_Week, Month, Cal_Year, Quarter, Day_Of_Week_Num)
Territory (TerritoryID, TeamID, TerritoryName, StateID, StateName)
BCIS 4660.001 - Final Project
Page 6
Project Plan (Gantt Chart)
Assumptions in the project schedule (Gantt Chart):
•
•
•
Team 9
It is assumed that the DBMS has already been selected by the company as Microsoft Access 2010 and was included in the project
requirements
It is assumed the DBMS is already installed
It is assumed that the maintenance of the DBMS will be conducted by in-house staff (ie. our projects ends after Implementation) and
requires a Live Handoff after Implementation
BCIS 4660.001 - Final Project
Page 7
Menu System (Hierarchy Diagram)
Team 9
BCIS 4660.001 - Final Project
Page 8
Database Documenter
Team 9
BCIS 4660.001 - Final Project
Page 9
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Customer
Properties
AlternateBackShade:
95
AlternateBackTint:
100
BackTint:
100
DatasheetGridlinesThemeCol
PM
DefaultView:
2
FilterOnLoad:
False
HideNewField:
NameMap:
OrderByOnLoad:
PublishToWeb:
RecordCount:
TotalsRow:
False
Long binary data
True
1
51
False
Sunday, November 25, 2012
Page: 1
AlternateBackThemeColorInd 1
BackShade:
100
DatasheetForeThemeColorIn 0
3
DateCreated:
11/6/2012 2:27:55
DisplayViewsOnSharePointSit 1
GUID:
{guid {B76CF870-C1A5-425685D8-54253F7B5D8C}}
LastUpdated:
11/20/2012 3:11:04 PM
OrderByOn:
False
Orientation:
Left-to-Right
ReadOnlyWhenDisconnected: False
ThemeFontIndex:
1
Updatable:
True
Columns
Team 9
Name
CustomerNum
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Type
Text
-1
False
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {C9F79278-E964-44FC-8B77-A71804D70AFE}}
0
3
0
False
0
CustomerNum
Customer
General
False
CustomerName
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text
BCIS 4660.001 - Final Project
Size
3
255
Page 10
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
Sunday, November 25, 2012
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Customer
Page: 2
DisplayControl:
Text Box
GUID:
{guid {867FEBA8-D373-4DD2-82E0-64AF3BDC6261}}
IMEMode:
0
IMESentenceMode:
3
OrdinalPosition:
1
Required:
False
ResultType:
0
SourceField:
CustomerName
SourceTable:
Customer
TextAlign:
General
UnicodeCompression:
True
Street
City
Team 9
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {E235A011-A95B-49D1-9373-7B08FC0A8F6D}}
0
3
2
False
0
Street
Customer
General
True
255
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {81ACE8F5-CD90-4098-BE81-F74875A043F6}}
0
3
3
False
0
City
Customer
255
BCIS 4660.001 - Final Project
Page 11
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Customer
TextAlign:
General
UnicodeCompression:
True
State
Zip
Balance
Team 9
Sunday, November 25, 2012
Page: 3
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {ED413D14-CA81-4EBD-B137-CBBA5F7BBCDB}}
0
3
4
False
0
State
Customer
General
True
255
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {1F459B68-08D7-4614-8FED-E8FA15FC70D1}}
0
3
5
False
0
Zip
Customer
General
True
255
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
-1
False
False
Fixed Size
General
Currency
BCIS 4660.001 - Final Project
8
Page 12
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
Sunday, November 25, 2012
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Customer
Page: 4
ColumnHidden:
False
ColumnOrder:
Default
ColumnWidth:
Default
CurrencyLCID:
1033
DataUpdatable:
False
DecimalPlaces:
Auto
Format:
$#,##0.00;($#,##0.00)
GUID:
{guid {6843F314-4E8B-4E6C-A3F0-D776A08A318B}}
OrdinalPosition:
6
Required:
False
ResultType:
0
SourceField:
Balance
SourceTable:
Customer
TextAlign:
General
Team 9
CreditLimit
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
Format:
GUID:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
ValidationRule:
ValidationText:
Currency
-1
False
False
Fixed Size
General
False
Default
Default
1033
False
Auto
$#,##0.00;($#,##0.00)
{guid {BB3D5192-EB8C-4507-850A-0EA15DBAD542}}
7
False
0
CreditLimit
Customer
General
=5000 Or =7500 Or =10000 Or =15000
Must be $5,000, $7,500, $10,000, or $15,000
8
RepNum
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {13DBA107-1A60-4BE9-BA9F-AA8DE0015DF4}}
0
3
8
False
255
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
BCIS 4660.001 - Final Project
Page 13
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Customer
ResultType:
0
SourceField:
RepNum
SourceTable:
Customer
TextAlign:
General
UnicodeCompression:
True
Sunday, November 25, 2012
Page: 5
Relationships
CustomerOrderDetail
Customer
CustomerNum
Attributes:
RelationshipType:
Table Indexes
Name
Customer
Clustered:
DistinctCount:
Foreign:
IgnoreNulls:
Name:
Primary:
Required:
Unique:
Fields:
CustomerNum
CustomerName
Clustered:
DistinctCount:
Foreign:
IgnoreNulls:
Name:
Primary:
Required:
Unique:
Fields:
CustomerName
PrimaryKey
Clustered:
DistinctCount:
Foreign:
IgnoreNulls:
Name:
Primary:
Required:
Unique:
Team 9
1
OrderDetail
∞ CustomerNum
Enforced
One-To-Many
Number of Fields
1
False
51
False
False
Customer
False
False
False
Ascending
1
False
51
False
False
CustomerName
False
False
False
Ascending
1
False
51
False
False
PrimaryKey
True
True
True
BCIS 4660.001 - Final Project
Page 14
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Customer
Fields:
CustomerNum
Ascending
RepNum
1
Clustered:
False
DistinctCount:
13
Foreign:
False
IgnoreNulls:
False
Name:
RepNum
Primary:
False
Required:
False
Unique:
False
Fields:
RepNum
Ascending
Team 9
BCIS 4660.001 - Final Project
Sunday, November 25, 2012
Page: 6
Page 15
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: OrderDetail
Properties
AlternateBackShade:
95
AlternateBackTint:
100
BackTint:
100
DatasheetGridlinesThemeCol
PM
DefaultView:
2
FilterOnLoad:
False
HideNewField:
NameMap:
OrderByOnLoad:
PublishToWeb:
RecordCount:
TotalsRow:
False
Long binary data
True
1
109
False
Sunday, November 25, 2012
Page: 7
AlternateBackThemeColorInd 1
BackShade:
100
DatasheetForeThemeColorIn 0
3
DateCreated:
11/6/2012 2:51:29
DisplayViewsOnSharePointSit 1
GUID:
{guid {02C25041-BE38-4BB08ABB-7138511786D8}}
LastUpdated:
11/20/2012 3:11:04 PM
OrderByOn:
False
Orientation:
Left-to-Right
ReadOnlyWhenDisconnected: False
ThemeFontIndex:
1
Updatable:
True
Columns
Name
OrderNum
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
PartNum
Team 9
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
Type
Text
Size
-1
True
False
Variable Length
General
False
1
Default
0
False
Text Box
{guid {25CC72DC-99B0-43FA-B262-6A5C212FF523}}
0
3
0
False
0
OrderNum
OrderDetail
General
False
-1
True
False
Variable Length
General
False
2
Default
0
False
Text
BCIS 4660.001 - Final Project
255
255
Page 16
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
Sunday, November 25, 2012
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: OrderDetail
Page: 8
DisplayControl:
Text Box
GUID:
{guid {208B9E60-DE16-431F-9274-DDCEBB369CAD}}
IMEMode:
0
IMESentenceMode:
3
OrdinalPosition:
1
Required:
False
ResultType:
0
SourceField:
PartNum
SourceTable:
OrderDetail
TextAlign:
General
UnicodeCompression:
True
Team 9
OrderDate
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
ShowDatePicker:
SourceField:
SourceTable:
TextAlign:
Date/Time
-1
False
False
Fixed Size
General
False
3
Default
0
False
{guid {1F74964C-028B-453A-96C8-4FB31B39B7B3}}
0
3
2
False
0
For dates
OrderDate
OrderDetail
General
8
CustomerNum
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
Text
-1
True
False
Variable Length
General
False
4
Default
0
False
Text Box
{guid {992FA9D3-11E4-4741-A940-F9A0E09108E4}}
0
3
3
False
0
CustomerNum
OrderDetail
General
255
BCIS 4660.001 - Final Project
Page 17
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: OrderDetail
UnicodeCompression:
True
RepNum
Team 9
Sunday, November 25, 2012
Page: 9
Text
-1
True
False
Variable Length
General
False
5
Default
0
False
Text Box
{guid {9A9AC1AF-F921-420B-9FF3-378D1A46F732}}
0
3
4
False
0
RepNum
OrderDetail
General
True
255
NumOrdered
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Text
-1
True
False
Variable Length
General
False
6
Default
0
False
Text Box
{guid {2CCFEE0D-09F3-4DCB-BC17-93D8C099AF26}}
0
3
5
False
0
NumOrdered
OrderDetail
General
True
255
QuotedPrice
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
-1
False
False
Fixed Size
General
False
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Currency
BCIS 4660.001 - Final Project
8
Page 18
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
Sunday, November 25, 2012
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: OrderDetail
Page: 10
ColumnOrder:
7
ColumnWidth:
Default
CurrencyLCID:
1033
DataUpdatable:
False
DecimalPlaces:
Auto
Format:
$#,##0.00;($#,##0.00)
GUID:
{guid {A86FC817-98BE-47F2-9299-54F04849FBED}}
OrdinalPosition:
6
Required:
False
ResultType:
0
SourceField:
QuotedPrice
SourceTable:
OrderDetail
TextAlign:
General
TeamID
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
DisplayControl:
GUID:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
Integer
-1
False
False
Fixed Size
General
False
8
Default
0
False
Auto
Text Box
{guid {B64AC88B-BE23-480F-987A-A09995204FDE}}
7
False
0
TeamID
OrderDetail
General
2
Relationships
CustomerOrderDetail
Customer
CustomerNum
Attributes:
RelationshipType:
Team 9
1
OrderDetail
∞ CustomerNum
Enforced
One-To-Many
BCIS 4660.001 - Final Project
Page 19
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: OrderDetail
Sunday, November 25, 2012
Page: 11
PartOrderDetail
Part
PartNum
1
Attributes:
RelationshipType:
OrderDetail
∞ PartNum
Enforced
One-To-Many
RepOrderDetail
Rep
RepNum
1
Attributes:
RelationshipType:
OrderDetail
∞ RepNum
Enforced
One-To-Many
TerritoryOrderDetail
Territory
TeamID
Attributes:
RelationshipType:
1
OrderDetail
∞ TeamID
Enforced
One-To-Many
Time2008-2012OrderDetail
Time2008-2012
Date
Attributes:
RelationshipType:
Table Indexes
Name
CustomerNum
Clustered:
DistinctCount:
Foreign:
IgnoreNulls:
Name:
Primary:
Required:
Unique:
Team 9
1
OrderDetail
∞ OrderDate
Enforced
One-To-Many
Number of Fields
1
False
34
False
False
CustomerNum
False
False
False
BCIS 4660.001 - Final Project
Page 20
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: OrderDetail
Fields:
CustomerNum
Ascending
CustomerOrderDetail
1
Clustered:
False
DistinctCount:
34
Foreign:
True
IgnoreNulls:
False
Name:
CustomerOrderDetail
Primary:
False
Required:
False
Unique:
False
Fields:
CustomerNum
Ascending
NumOrdered
1
Clustered:
False
DistinctCount:
29
Foreign:
False
IgnoreNulls:
False
Name:
NumOrdered
Primary:
False
Required:
False
Unique:
False
Fields:
NumOrdered
Ascending
OrderDate
1
Clustered:
False
DistinctCount:
53
Foreign:
False
IgnoreNulls:
False
Name:
OrderDate
Primary:
False
Required:
False
Unique:
False
Fields:
OrderDate
Ascending
PartNum
1
Clustered:
False
DistinctCount:
33
Foreign:
False
IgnoreNulls:
False
Name:
PartNum
Primary:
False
Required:
False
Unique:
False
Fields:
PartNum
Ascending
PartOrderDetail
1
Clustered:
False
DistinctCount:
33
Foreign:
True
IgnoreNulls:
False
Name:
PartOrderDetail
Primary:
False
Team 9
BCIS 4660.001 - Final Project
Sunday, November 25, 2012
Page: 12
Page 21
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: OrderDetail
Required:
False
Unique:
False
Fields:
PartNum
Ascending
PrimaryKey
2
Clustered:
False
DistinctCount:
109
Foreign:
False
IgnoreNulls:
False
Name:
PrimaryKey
Primary:
True
Required:
True
Unique:
True
Fields:
OrderNum
Ascending
PartNum
Ascending
RepNum
1
Clustered:
False
DistinctCount:
13
Foreign:
False
IgnoreNulls:
False
Name:
RepNum
Primary:
False
Required:
False
Unique:
False
Fields:
RepNum
Ascending
RepOrderDetail
1
Clustered:
False
DistinctCount:
13
Foreign:
True
IgnoreNulls:
False
Name:
RepOrderDetail
Primary:
False
Required:
False
Unique:
False
Fields:
RepNum
Ascending
TerritoryID
1
Clustered:
False
DistinctCount:
2
Foreign:
False
IgnoreNulls:
False
Name:
TerritoryID
Primary:
False
Required:
False
Unique:
False
Fields:
TeamID
Ascending
TerritoryOrderDetail
1
Clustered:
False
DistinctCount:
2
Foreign:
True
Team 9
BCIS 4660.001 - Final Project
Sunday, November 25, 2012
Page: 13
Page 22
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: OrderDetail
IgnoreNulls:
False
Name:
TerritoryOrderDetail
Primary:
False
Required:
False
Unique:
False
Fields:
TeamID
Ascending
Time2008-2012OrderDetail
1
Clustered:
False
DistinctCount:
53
Foreign:
True
IgnoreNulls:
False
Name:
Time2008-2012OrderDetail
Primary:
False
Required:
False
Unique:
False
Fields:
OrderDate
Ascending
Team 9
BCIS 4660.001 - Final Project
Sunday, November 25, 2012
Page: 14
Page 23
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Part
Properties
AlternateBackShade:
95
AlternateBackTint:
100
BackTint:
100
DatasheetGridlinesThemeCol
PM
DefaultView:
2
FilterOnLoad:
False
HideNewField:
False
NameMap:
Long binary data
OrderByOn:
True
Orientation:
Left-to-Right
ReadOnlyWhenDisconnected:
ThemeFontIndex:
1
Updatable:
True
Sunday, November 25, 2012
Page: 15
AlternateBackThemeColorInd 1
BackShade:
100
DatasheetForeThemeColorIn 0
3
DateCreated:
11/6/2012 2:32:45
DisplayViewsOnSharePointSit 1
GUID:
{guid {3DE63212-EC40-4254BB40-BA52C93535B3}}
LastUpdated:
11/20/2012 3:11:04 PM
OrderBy:
[Part].[PartNum]
OrderByOnLoad:
True
PublishToWeb:
1
False
RecordCount:
33
TotalsRow:
False
Columns
Name
PartNum
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Description
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
Team 9
Type
Text
Size
-1
True
False
Variable Length
General
False
1
Default
0
False
Text Box
{guid {DB1C386E-F425-4813-B71D-BEEC1B8E4694}}
0
3
0
False
0
PartNum
Part
General
False
-1
True
False
Variable Length
General
False
Default
Default
0
Text
BCIS 4660.001 - Final Project
255
255
Page 24
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
Sunday, November 25, 2012
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Part
Page: 16
DataUpdatable:
False
DisplayControl:
Text Box
GUID:
{guid {DA733F95-2EEB-4FCC-8179-659C18ACCD88}}
IMEMode:
0
IMESentenceMode:
3
OrdinalPosition:
1
Required:
False
ResultType:
0
SourceField:
Description
SourceTable:
Part
TextAlign:
General
UnicodeCompression:
True
OnHand
Class
Team 9
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
DisplayControl:
GUID:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
Long Integer
-1
False
False
Fixed Size
General
False
Default
Default
0
False
Auto
Text Box
{guid {86D5A874-8E56-4F73-94A4-5C66EDA39641}}
2
False
0
OnHand
Part
General
4
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {809BF630-DAEC-45E2-8974-F558B59CE63E}}
0
3
3
False
0
Class
Part
General
255
BCIS 4660.001 - Final Project
Page 25
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Part
UnicodeCompression:
True
Warhouse
Price
Sunday, November 25, 2012
Page: 17
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {D26D7615-B2A2-40B5-9453-0CC5810DE5C4}}
0
3
4
False
0
Warhouse
Part
General
True
255
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
Format:
GUID:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
Currency
-1
False
False
Fixed Size
General
False
Default
Default
1033
False
Auto
$#,##0.00;($#,##0.00)
{guid {D586F69B-861C-42D5-9108-2C256B8A57D9}}
5
False
0
Price
Part
General
8
Relationships
Team 9
BCIS 4660.001 - Final Project
Page 26
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Part
Sunday, November 25, 2012
Page: 18
PartOrderDetail
Part
PartNum
Attributes:
RelationshipType:
Table Indexes
Name
Class
Clustered:
DistinctCount:
Foreign:
IgnoreNulls:
Name:
Primary:
Required:
Unique:
Fields:
Class
Description
Clustered:
DistinctCount:
Foreign:
IgnoreNulls:
Name:
Primary:
Required:
Unique:
Fields:
Description
Part
Clustered:
DistinctCount:
Foreign:
IgnoreNulls:
Name:
Primary:
Required:
Unique:
Fields:
PartNum
PrimaryKey
Clustered:
DistinctCount:
Foreign:
IgnoreNulls:
Name:
Primary:
Team 9
1
OrderDetail
∞ PartNum
Enforced
One-To-Many
Number of Fields
1
False
3
False
False
Class
False
False
False
Ascending
1
False
33
False
False
Description
False
False
False
Ascending
1
False
33
False
False
Part
False
False
False
Ascending
1
False
33
False
False
PrimaryKey
True
BCIS 4660.001 - Final Project
Page 27
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Part
Required:
True
Unique:
True
Fields:
PartNum
Ascending
Team 9
BCIS 4660.001 - Final Project
Sunday, November 25, 2012
Page: 19
Page 28
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Rep
Properties
AlternateBackShade:
95
AlternateBackTint:
100
BackTint:
100
DatasheetGridlinesThemeCol
PM
DefaultView:
2
FilterOnLoad:
False
HideNewField:
NameMap:
OrderByOnLoad:
PublishToWeb:
RecordCount:
TotalsRow:
False
Long binary data
True
1
13
False
Sunday, November 25, 2012
Page: 20
AlternateBackThemeColorInd 1
BackShade:
100
DatasheetForeThemeColorIn 0
3
DateCreated:
11/6/2012 2:33:39
DisplayViewsOnSharePointSit 1
GUID:
{guid {256200D1-2143-49A49D4F-822F9172DE5F}}
LastUpdated:
11/20/2012 3:11:04 PM
OrderByOn:
False
Orientation:
Left-to-Right
ReadOnlyWhenDisconnected: False
ThemeFontIndex:
1
Updatable:
True
Columns
Name
RepNum
LastName
Team 9
Type
Text
Size
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
-1
True
False
Variable Length
General
False
1
Default
0
False
Text Box
{guid {B85B8D2C-99EA-455A-B038-994A0578BCC8}}
0
3
0
False
0
RepNum
Rep
General
False
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text
BCIS 4660.001 - Final Project
255
255
Page 29
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
Sunday, November 25, 2012
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Rep
Page: 21
DisplayControl:
Text Box
GUID:
{guid {FF71AFC3-DA81-4727-9683-201074A47E43}}
IMEMode:
0
IMESentenceMode:
3
OrdinalPosition:
1
Required:
False
ResultType:
0
SourceField:
LastName
SourceTable:
Rep
TextAlign:
General
UnicodeCompression:
True
FirstName
Street
Team 9
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {64340735-FBA1-42E5-90D6-D8177790F05D}}
0
3
2
False
0
FirstName
Rep
General
True
255
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {2587D0DF-9165-4FF2-A7ED-7B48F6754352}}
0
3
3
False
0
Street
Rep
255
BCIS 4660.001 - Final Project
Page 30
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Rep
TextAlign:
General
UnicodeCompression:
True
City
State
Zip
Team 9
Sunday, November 25, 2012
Page: 22
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {FCC47370-FD38-41C5-85CD-BE2E4A1FCF73}}
0
3
4
False
0
City
Rep
General
True
255
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {FBE6033E-0BBC-4360-A1D3-49C7B8EA08D4}}
0
3
5
False
0
State
Rep
General
True
255
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
-1
True
False
Variable Length
General
Text
BCIS 4660.001 - Final Project
255
Page 31
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
Sunday, November 25, 2012
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Rep
Page: 23
ColumnHidden:
False
ColumnOrder:
Default
ColumnWidth:
Default
CurrencyLCID:
0
DataUpdatable:
False
DisplayControl:
Text Box
GUID:
{guid {5FCBC186-654F-4A79-976B-CED9F6BF94EE}}
IMEMode:
0
IMESentenceMode:
3
OrdinalPosition:
6
Required:
False
ResultType:
0
SourceField:
Zip
SourceTable:
Rep
TextAlign:
General
UnicodeCompression:
True
Team 9
Commission
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
Format:
GUID:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
Currency
-1
False
False
Fixed Size
General
False
Default
Default
1033
False
Auto
$#,##0.00;($#,##0.00)
{guid {42480B34-163F-49D3-82A4-86C1F4E3559B}}
7
False
0
Commission
Rep
General
8
Rate
Long Integer
-1
False
False
Fixed Size
General
False
Default
Default
0
False
Auto
Text Box
{guid {507F5A4E-DDD5-4D56-8A74-286BEB6966C2}}
8
False
0
4
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
DisplayControl:
GUID:
OrdinalPosition:
Required:
ResultType:
BCIS 4660.001 - Final Project
Page 32
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Rep
SourceField:
Rate
SourceTable:
Rep
TextAlign:
General
Sunday, November 25, 2012
Page: 24
Relationships
RepOrderDetail
Rep
RepNum
Attributes:
RelationshipType:
Table Indexes
Name
CustomerName
Clustered:
DistinctCount:
Foreign:
IgnoreNulls:
Name:
Primary:
Required:
Unique:
Fields:
LastName
FirstName
PrimaryKey
Clustered:
DistinctCount:
Foreign:
IgnoreNulls:
Name:
Primary:
Required:
Unique:
Fields:
RepNum
ZipCode
Clustered:
DistinctCount:
Foreign:
IgnoreNulls:
Name:
Primary:
Required:
Unique:
Fields:
Zip
Team 9
1
OrderDetail
∞ RepNum
Enforced
One-To-Many
Number of Fields
2
False
13
False
False
CustomerName
False
False
False
Ascending
Ascending
1
False
13
False
False
PrimaryKey
True
True
True
Ascending
1
False
13
False
False
ZipCode
False
False
False
Ascending
BCIS 4660.001 - Final Project
Page 33
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Rep
Team 9
BCIS 4660.001 - Final Project
Sunday, November 25, 2012
Page: 25
Page 34
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Territory
Properties
AlternateBackShade:
95
AlternateBackTint:
100
BackTint:
100
DatasheetGridlinesThemeCol
PM
DefaultView:
2
FilterOnLoad:
False
Sunday, November 25, 2012
Page: 26
AlternateBackThemeColorInd 1
BackShade:
100
DatasheetForeThemeColorIn 0
3
DateCreated:
11/6/2012 3:12:05
DisplayViewsOnSharePointSit 1
GUID:
{guid {AF99C4F0-0181-42A0AC54-99E6BDD81A5B}}
LastUpdated:
11/20/2012 3:11:04 PM
OrderBy:
[Territory].[TeamID]
OrderByOnLoad:
True
PublishToWeb:
1
False
RecordCount:
20
TotalsRow:
False
HideNewField:
False
NameMap:
Long binary data
OrderByOn:
False
Orientation:
Left-to-Right
ReadOnlyWhenDisconnected:
ThemeFontIndex:
1
Updatable:
True
Columns
Name
TerritoryID
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
TeamID
Team 9
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
Type
Text
Size
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {04E8A1E5-6DD1-4048-9406-CE751E53A5C1}}
0
3
0
False
0
TerritoryID
Territory
General
False
-1
False
False
Fixed Size
General
False
Default
Default
0
Integer
BCIS 4660.001 - Final Project
255
2
Page 35
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
Sunday, November 25, 2012
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Territory
Page: 27
DataUpdatable:
False
DecimalPlaces:
Auto
DisplayControl:
Text Box
GUID:
{guid {71B2B3FB-85F4-4901-8F9E-10CD94D86BBD}}
OrdinalPosition:
1
Required:
False
ResultType:
0
SourceField:
TeamID
SourceTable:
Territory
TextAlign:
General
Team 9
TerritoryName
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Text
-1
True
False
Variable Length
General
False
Default
1785
0
False
Text Box
{guid {58FAD245-816A-433B-83FF-61E93DAF4DCE}}
0
3
2
False
0
TerritoryName
Territory
General
True
255
StateID
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {84854B87-5B2C-4752-88A4-A75628F1DE3E}}
0
3
3
False
0
StateID
Territory
General
255
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
BCIS 4660.001 - Final Project
Page 36
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Territory
UnicodeCompression:
True
StateName
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Sunday, November 25, 2012
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
{guid {2242EAE9-F77F-41A4-BF03-7922299651D4}}
0
3
4
False
0
StateName
Territory
General
True
Page: 28
255
Relationships
TerritoryOrderDetail
Territory
TeamID
Attributes:
RelationshipType:
Table Indexes
Name
PrimaryKey
Clustered:
DistinctCount:
Foreign:
IgnoreNulls:
Name:
Primary:
Required:
Unique:
Fields:
TeamID
TeamID
Clustered:
DistinctCount:
Team 9
1
OrderDetail
∞ TeamID
Enforced
One-To-Many
Number of Fields
1
False
20
False
False
PrimaryKey
True
True
True
Ascending
1
False
20
BCIS 4660.001 - Final Project
Page 37
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Territory
Foreign:
False
IgnoreNulls:
False
Name:
TeamID
Primary:
False
Required:
False
Unique:
False
Fields:
TeamID
Ascending
TerritoryID
1
Clustered:
False
DistinctCount:
5
Foreign:
False
IgnoreNulls:
False
Name:
TerritoryID
Primary:
False
Required:
False
Unique:
False
Fields:
TerritoryID
Ascending
TerritoryName
1
Clustered:
False
DistinctCount:
4
Foreign:
False
IgnoreNulls:
False
Name:
TerritoryName
Primary:
False
Required:
False
Unique:
False
Fields:
TerritoryName
Ascending
Team 9
BCIS 4660.001 - Final Project
Sunday, November 25, 2012
Page: 29
Page 38
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Time2008-2012
Properties
AlternateBackShade:
100
AlternateBackTint:
100
BackTint:
100
DatasheetGridlinesThemeCol
PM
DefaultView:
2
FilterOnLoad:
False
HideNewField:
NameMap:
OrderByOnLoad:
PublishToWeb:
RecordCount:
TotalsRow:
False
Long binary data
True
1
1827
False
Sunday, November 25, 2012
Page: 30
AlternateBackThemeColorInd -1
BackShade:
100
DatasheetForeThemeColorIn -1
-1
DateCreated:
11/6/2012 2:50:59
DisplayViewsOnSharePointSit 1
GUID:
{guid {E110B285-9A31-4EAABCDF-B6557C21A727}}
LastUpdated:
11/20/2012 3:11:04 PM
OrderByOn:
False
Orientation:
Left-to-Right
ReadOnlyWhenDisconnected: False
ThemeFontIndex:
-1
Updatable:
True
Columns
Name
Time_key
Date
Team 9
Type
Integer
Size
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
DisplayControl:
GUID:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
-1
False
False
Fixed Size
General
False
Default
Default
0
False
Auto
Text Box
{guid {FC209387-BB76-4524-BE69-9CAE1E277132}}
0
False
0
Time_key
Time2008-2012
General
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
Format:
GUID:
Date/Time
-1
False
False
Variable Length
General
False
Default
Default
0
False
dd-mmm-yy
{guid {A12EF98E-2D2F-4E0B-B527-4092975980F7}}
BCIS 4660.001 - Final Project
2
8
Page 39
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Time2008-2012
IMEMode:
0
IMESentenceMode:
3
OrdinalPosition:
1
Required:
False
ResultType:
0
ShowDatePicker:
For dates
SourceField:
Date
SourceTable:
Time2008-2012
TextAlign:
General
Team 9
Sunday, November 25, 2012
Page: 31
Day_of_Week
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
Format:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
UnicodeCompression:
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
@
{guid {55C27574-E1A8-41BA-B5BA-0EB5D5C33DBE}}
0
3
2
False
0
Day_of_Week
Time2008-2012
General
False
9
Month
Text
-1
True
False
Variable Length
General
False
Default
Default
0
False
Text Box
@
{guid {43D3FCF0-10F8-4C8A-B64D-BD1C480761A9}}
0
3
3
False
0
Month
Time2008-2012
3
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DisplayControl:
Format:
GUID:
IMEMode:
IMESentenceMode:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
BCIS 4660.001 - Final Project
Page 40
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Time2008-2012
TextAlign:
General
UnicodeCompression:
False
Cal_Year
Page: 32
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
DisplayControl:
GUID:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
Integer
-1
False
False
Fixed Size
General
False
Default
Default
0
False
Auto
Text Box
{guid {1352C127-D09E-406A-9578-EE89F21B8814}}
4
False
0
Cal_Year
Time2008-2012
General
2
Fiscal_Year
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
DisplayControl:
GUID:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
Integer
-1
False
False
Fixed Size
General
False
Default
Default
0
False
Auto
Text Box
{guid {54EE090E-9C09-4B6A-9B82-8CB15445CE4E}}
5
False
0
Fiscal_Year
Time2008-2012
General
2
Quarter
Team 9
Sunday, November 25, 2012
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
-1
False
False
Fixed Size
General
False
Default
Default
0
Integer
BCIS 4660.001 - Final Project
2
Page 41
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
Sunday, November 25, 2012
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Time2008-2012
Page: 33
DataUpdatable:
False
DecimalPlaces:
Auto
DisplayControl:
Text Box
GUID:
{guid {0486B3C8-FAE3-4D32-B2F7-7B409049069F}}
OrdinalPosition:
6
Required:
False
ResultType:
0
SourceField:
Quarter
SourceTable:
Time2008-2012
TextAlign:
General
Team 9
Month_Key
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
DisplayControl:
GUID:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
Integer
-1
False
False
Fixed Size
General
False
Default
Default
0
False
Auto
Text Box
{guid {F296F085-A4FC-4192-B3D0-0DD8FA9449DB}}
7
False
0
Month_Key
Time2008-2012
General
2
Month_Day
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
DisplayControl:
GUID:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
Integer
-1
False
False
Fixed Size
General
False
Default
Default
0
False
Auto
Text Box
{guid {EC3CAD4A-5F8F-4B32-B095-00853319D10A}}
8
False
0
Month_Day
Time2008-2012
General
2
Serial_Num
AggregateType:
-1
Double
BCIS 4660.001 - Final Project
8
Page 42
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
Sunday, November 25, 2012
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Time2008-2012
Page: 34
AllowZeroLength:
False
AppendOnly:
False
Attributes:
Variable Length
CollatingOrder:
General
ColumnHidden:
False
ColumnOrder:
Default
ColumnWidth:
Default
CurrencyLCID:
0
DataUpdatable:
False
DecimalPlaces:
Auto
DisplayControl:
Text Box
Format:
General Number
GUID:
{guid {D3A73721-3542-4DBE-9A75-F93B5DAC467B}}
OrdinalPosition:
9
Required:
False
ResultType:
0
SourceField:
Serial_Num
SourceTable:
Time2008-2012
TextAlign:
General
Team 9
Week_Num
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
DisplayControl:
GUID:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
Integer
-1
False
False
Fixed Size
General
False
Default
Default
0
False
Auto
Text Box
{guid {BC309DE4-81EA-4ECD-9765-2E553630BD12}}
10
False
0
Week_Num
Time2008-2012
General
2
Julian
Integer
-1
False
False
Fixed Size
General
False
Default
Default
0
False
Auto
Text Box
{guid {03DEC533-5B58-462E-A732-DB39D84FE340}}
2
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
DisplayControl:
GUID:
BCIS 4660.001 - Final Project
Page 43
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Time2008-2012
OrdinalPosition:
11
Required:
False
ResultType:
0
SourceField:
Julian
SourceTable:
Time2008-2012
TextAlign:
General
Day_of_Week_Num
AggregateType:
AllowZeroLength:
AppendOnly:
Attributes:
CollatingOrder:
ColumnHidden:
ColumnOrder:
ColumnWidth:
CurrencyLCID:
DataUpdatable:
DecimalPlaces:
DisplayControl:
GUID:
OrdinalPosition:
Required:
ResultType:
SourceField:
SourceTable:
TextAlign:
Sunday, November 25, 2012
Integer
-1
False
False
Fixed Size
General
False
Default
Default
0
False
Auto
Text Box
{guid {DEE6FBA0-D9CC-46FD-9612-668BDF4DC111}}
12
False
0
Day_of_Week_Num
Time2008-2012
General
Page: 35
2
Relationships
Time2008-2012OrderDetail
Time2008-2012
Date
Attributes:
RelationshipType:
Table Indexes
Name
Day_of_Week_Num
Clustered:
DistinctCount:
Foreign:
IgnoreNulls:
Name:
Primary:
Required:
Unique:
Fields:
Day_of_Week_Num
Team 9
1
OrderDetail
∞ OrderDate
Enforced
One-To-Many
Number of Fields
1
False
7
False
False
Day_of_Week_Num
False
False
False
Ascending
BCIS 4660.001 - Final Project
Page 44
C:\Users\James Konderla\Documents\School Stuff\2012-2013\Fall 2012\BCIS
4660\Assignments\Team Assignments\Assignment 8\PPDW_Team1.09.accdb
Table: Time2008-2012
Month_Key
1
Clustered:
False
DistinctCount:
12
Foreign:
False
IgnoreNulls:
False
Name:
Month_Key
Primary:
False
Required:
False
Unique:
False
Fields:
Month_Key
Ascending
PrimaryKey
1
Clustered:
False
DistinctCount:
1827
Foreign:
False
IgnoreNulls:
False
Name:
PrimaryKey
Primary:
True
Required:
True
Unique:
True
Fields:
Date
Ascending
Serial_Num
1
Clustered:
False
DistinctCount:
1827
Foreign:
False
IgnoreNulls:
False
Name:
Serial_Num
Primary:
False
Required:
False
Unique:
False
Fields:
Serial_Num
Ascending
Week_Num
1
Clustered:
False
DistinctCount:
52
Foreign:
False
IgnoreNulls:
False
Name:
Week_Num
Primary:
False
Required:
False
Unique:
False
Fields:
Week_Num
Ascending
Team 9
BCIS 4660.001 - Final Project
Sunday, November 25, 2012
Page: 36
Page 45
Tab 2 – Data Loads
Team 9
BCIS 4660.001 - Final Project
Page 46
Transformational Maps
The Steps we took to Transform the data and load it into the database were as follows:
1. Extract – To Ensure compatibility, we imported each database’s data into our own database.
This allowed each person to review the tables assigned to them and ensure the data was
compatable on a per-team basis.
2. Transform – Using our table as a template, we verified that the data met the minimum
requirements as far as constraints (specifically on the credit limits) and data types. The only
problem in this department seamed to be Team 2, who did not fulfill the requirements for the
orderdetail table, neglecting to include a part number for each order’s line. To remedy this we
added a new part number, 010101, also known as UNLISTED.
3. Load – Once data integrity was verified, we imported each table separately into our own tables
so that we could verify each team’s data.
4. Verification – To verify that all data was copied successfully and was still in the proper
constraints, we used the Select * FROM command for each table to make sure all data was
copied correctly.
Due to the fact that the SQL statements used to generate the reports were never invalidated (we were
not pulling specific data by name, just pulling data that fit requirements), no modification to the report
or SQL Queries was necessary.
SQL Statements
Statements for Loading
•
For Rep, Part, and OrderDetail Tables:
Insert Into <Table>
Select *
From <Table><Number>;
Where Table was the specific table (Rep, Part, OrderDetail) and Number was the team number
(1-16, excluding 3).
•
Team 9
For Customer Tabls:
Insert into Customer
Select *
From Customer<Number>
Where Number was the team number. We performed this step for all Teams except for Team 2,
whose specific code was:
BCIS 4660.001 - Final Project
Page 47
•
Insert Into Customer
Select *
From Customer2
Where ((Customer2.Sales)<>"FL"));
Time Table’s data was assumed verified, as the same time table was used across teams.
Statements for Cleaning
In order to clean up our database, we had to take the step of deleting all the extra tables. We used the
following commands to drop tables from other teams:
• Drop Table Customer<Number>;
• Drop Table Rep<Number>;
• Drop Table Part<Number>;
• Drop Table OrderDetail<Number>;
Where Number is the team number. In all we executed 60 drop statements (15 per table for the
alternate versions of the 4 main tables). The results of loading the tables can be found in the “Loaded
Tables” section, starting on page 46.
Team 9
BCIS 4660.001 - Final Project
Page 48
Loaded Tables (First 2 Pages ONLY)
Team 9
BCIS 4660.001 - Final Project
Page 49
Customer Table
Team 9
BCIS 4660.001 - Final Project
Page 50
Team 9
BCIS 4660.001 - Final Project
Page 51
Team 9
BCIS 4660.001 - Final Project
Page 52
OrderDetail Table
Team 9
BCIS 4660.001 - Final Project
Page 53
Team 9
BCIS 4660.001 - Final Project
Page 54
Rep Table
Team 9
BCIS 4660.001 - Final Project
Page 55
Team 9
BCIS 4660.001 - Final Project
Page 56
Team 9
BCIS 4660.001 - Final Project
Page 57
Part Table
Team 9
BCIS 4660.001 - Final Project
Page 58
Territory Table
Team 9
BCIS 4660.001 - Final Project
Page 59
Rep Table
Team 9
BCIS 4660.001 - Final Project
Page 60
Team 9
BCIS 4660.001 - Final Project
Page 61
Tab 3 – Reports
Team 9
BCIS 4660.001 - Final Project
Page 62
Total Sales By Month
SQL Statements
SELECT [Time2008-2012].Cal_Year, [Time2008-2012].Month, OrderDetail.NumOrdered, [Time20082012].Month_Key, ([NumOrdered]*[QuotedPrice]) AS SummaryPrice
FROM [Time2008-2012] INNER JOIN OrderDetail ON [Time2008-2012].Date = OrderDetail.OrderDate
GROUP BY [Time2008-2012].Cal_Year, [Time2008-2012].Month, OrderDetail.NumOrdered, [Time20082012].Month_Key, ([NumOrdered]*[QuotedPrice]);
Team 9
BCIS 4660.001 - Final Project
Page 63
Generated Report
Team 9
BCIS 4660.001 - Final Project
Page 64
Team 9
BCIS 4660.001 - Final Project
Page 65
Sales By Customer By Month (2011)
SQL Statements
SELECT [Time2008-2012].Cal_Year, [Time2008-2012].Month, Sum(([NumOrdered]*[QuotedPrice])) AS
SummaryPrice, Customer.CustomerName
FROM [Time2008-2012] INNER JOIN (Customer INNER JOIN OrderDetail ON Customer.CustomerNum =
OrderDetail.CustomerNum) ON [Time2008-2012].Date = OrderDetail.OrderDate
GROUP BY [Time2008-2012].Cal_Year, [Time2008-2012].Month, Customer.CustomerName, [Time20082012].Month_Key
HAVING ((([Time2008-2012].Cal_Year)=2011));
Team 9
BCIS 4660.001 - Final Project
Page 66
Generated Report
Team 9
BCIS 4660.001 - Final Project
Page 67
Team 9
BCIS 4660.001 - Final Project
Page 68
Team 9
BCIS 4660.001 - Final Project
Page 69
Team 9
BCIS 4660.001 - Final Project
Page 70
Team 9
BCIS 4660.001 - Final Project
Page 71
Team 9
BCIS 4660.001 - Final Project
Page 72
Team 9
BCIS 4660.001 - Final Project
Page 73
Team 9
BCIS 4660.001 - Final Project
Page 74
Team 9
BCIS 4660.001 - Final Project
Page 75
Team 9
BCIS 4660.001 - Final Project
Page 76
Team 9
BCIS 4660.001 - Final Project
Page 77
Team 9
BCIS 4660.001 - Final Project
Page 78
Sales by Rep By Month for 2011 (Subtotal By Name)
SQL Statements
SELECT Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) AS SummaryPrice, [Rep.FirstName]
& " " & [Rep.LastName] AS FullName, [Time2008-2012].Month, [Time2008-2012].Cal_Year
FROM [Time2008-2012] INNER JOIN (Rep INNER JOIN OrderDetail ON Rep.RepNum =
OrderDetail.RepNum) ON [Time2008-2012].Date = OrderDetail.OrderDate
GROUP BY [Rep.FirstName] & " " & [Rep.LastName], [Time2008-2012].Month, [Time20082012].Cal_Year
HAVING ((([Time2008-2012].Cal_Year)=2011))
ORDER BY Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) DESC;
Team 9
BCIS 4660.001 - Final Project
Page 79
Generated Report
Team 9
BCIS 4660.001 - Final Project
Page 80
Team 9
BCIS 4660.001 - Final Project
Page 81
Team 9
BCIS 4660.001 - Final Project
Page 82
Team 9
BCIS 4660.001 - Final Project
Page 83
Team 9
BCIS 4660.001 - Final Project
Page 84
Team 9
BCIS 4660.001 - Final Project
Page 85
Team 9
BCIS 4660.001 - Final Project
Page 86
Team 9
BCIS 4660.001 - Final Project
Page 87
Team 9
BCIS 4660.001 - Final Project
Page 88
Total Sales by Month by Rep
SQL Statements
SELECT [Time2008-2012].Month, [Time2008-2012].Cal_Year,
Sum(([OrderDetail].[NumOrdered])*([OrderDetail].[QuotedPrice])) AS SummaryPrice
FROM [Time2008-2012] INNER JOIN OrderDetail ON [Time2008-2012].Date = OrderDetail.OrderDate
GROUP BY [Time2008-2012].Month, [Time2008-2012].Cal_Year;
Team 9
BCIS 4660.001 - Final Project
Page 89
Generated Report
Team 9
BCIS 4660.001 - Final Project
Page 90
Team 9
BCIS 4660.001 - Final Project
Page 91
Team 9
BCIS 4660.001 - Final Project
Page 92
Total Sales by PartNum by Territory
SQL Statements
SELECT Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) AS SummaryPrice, Part.Description,
Territory.TerritoryName
FROM [Time2008-2012] INNER JOIN (Territory INNER JOIN (Part INNER JOIN OrderDetail ON
Part.PartNum = OrderDetail.PartNum) ON Territory.TeamID = OrderDetail.TeamID) ON [Time20082012].Date = OrderDetail.OrderDate
GROUP BY Part.Description, Territory.TerritoryName, Part.PartNum, [Time2008-2012].Cal_Year
HAVING ((([Time2008-2012].Cal_Year)=2012))
ORDER BY Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) DESC;
Team 9
BCIS 4660.001 - Final Project
Page 93
Generated Report
Team 9
BCIS 4660.001 - Final Project
Page 94
Team 9
BCIS 4660.001 - Final Project
Page 95
Team 9
BCIS 4660.001 - Final Project
Page 96
Team 9
BCIS 4660.001 - Final Project
Page 97
Team 9
BCIS 4660.001 - Final Project
Page 98
Team 9
BCIS 4660.001 - Final Project
Page 99
Team 9
BCIS 4660.001 - Final Project
Page 100
Team 9
BCIS 4660.001 - Final Project
Page 101
Team 9
BCIS 4660.001 - Final Project
Page 102
Team 9
BCIS 4660.001 - Final Project
Page 103
Team 9
BCIS 4660.001 - Final Project
Page 104
Team 9
BCIS 4660.001 - Final Project
Page 105
Total Sales by Product by Year
SQL Statements
SELECT Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) AS SummaryPrice,
Territory.TerritoryName
FROM [Time2008-2012] INNER JOIN (Territory INNER JOIN OrderDetail ON Territory.TeamID =
OrderDetail.TeamID) ON [Time2008-2012].Date = OrderDetail.OrderDate
GROUP BY Territory.TerritoryName, Territory.TerritoryID, [Time2008-2012].Cal_Year
HAVING ((([Time2008-2012].Cal_Year)=2012))
ORDER BY Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) DESC;
NOTE:
Only the first 4 and last 2 pages were included to demonstrate the functionality and depth/length of the
report.
Team 9
BCIS 4660.001 - Final Project
Page 106
Generated Report
Team 9
BCIS 4660.001 - Final Project
Page 107
Team 9
BCIS 4660.001 - Final Project
Page 108
Team 9
BCIS 4660.001 - Final Project
Page 109
Total Sales by Rep by Year
SQL Statements
SELECT Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) AS SummaryPrice, [Rep.FirstName]
& " " & [Rep.LastName] AS FullName, [Time2008-2012].Cal_Year
FROM [Time2008-2012] INNER JOIN (Rep INNER JOIN OrderDetail ON Rep.RepNum =
OrderDetail.RepNum) ON [Time2008-2012].Date = OrderDetail.OrderDate
GROUP BY [Rep.FirstName] & " " & [Rep.LastName], [Time2008-2012].Cal_Year
ORDER BY Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) DESC;
NOTE:
Only the first 2 and last 2 pages were included to demonstrate the functionality and depth/length of the
report.
Team 9
BCIS 4660.001 - Final Project
Page 110
Generated Report
Team 9
BCIS 4660.001 - Final Project
Page 111
Team 9
BCIS 4660.001 - Final Project
Page 112
Total Sales by Customer by Year
SQL Statements
SELECT Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) AS SummaryPrice, [Time20082012].Cal_Year, Customer.CustomerName
FROM Customer INNER JOIN ([Time2008-2012] INNER JOIN OrderDetail ON [Time2008-2012].Date =
OrderDetail.OrderDate) ON Customer.CustomerNum = OrderDetail.CustomerNum
GROUP BY [Time2008-2012].Cal_Year, Customer.CustomerName
ORDER BY Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) DESC;
NOTE:
Only the first 2 and last 2 pages were included to demonstrate the functionality and depth/length of the
report.
Team 9
BCIS 4660.001 - Final Project
Page 113
Generated Report
Team 9
BCIS 4660.001 - Final Project
Page 114
Team 9
BCIS 4660.001 - Final Project
Page 115
Total Sales by Territory by Year
SQL Statements
SELECT Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) AS SummaryPrice, [Time20082012].Cal_Year, Territory.TerritoryName
FROM Territory INNER JOIN ([Time2008-2012] INNER JOIN OrderDetail ON [Time2008-2012].Date =
OrderDetail.OrderDate) ON Territory.TeamID = OrderDetail.TeamID
GROUP BY [Time2008-2012].Cal_Year, Territory.TerritoryName
ORDER BY Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) DESC;
Team 9
BCIS 4660.001 - Final Project
Page 116
Generated Report
Team 9
BCIS 4660.001 - Final Project
Page 117
Total Sales by Rep by Quarter
SQL Statements
SELECT Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) AS SummaryPrice, [Rep.FirstName]
& " " & [Rep.LastName] AS FullName, [Time2008-2012].Quarter, [Time2008-2012].Cal_Year
FROM [Time2008-2012] INNER JOIN (Rep INNER JOIN OrderDetail ON Rep.RepNum =
OrderDetail.RepNum) ON [Time2008-2012].Date = OrderDetail.OrderDate
GROUP BY [Rep.FirstName] & " " & [Rep.LastName], [Time2008-2012].Quarter, [Time20082012].Cal_Year
HAVING ((([Time2008-2012].Cal_Year)=2011))
ORDER BY Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) DESC;
Team 9
BCIS 4660.001 - Final Project
Page 118
Generated Report
Team 9
BCIS 4660.001 - Final Project
Page 119
Team 9
BCIS 4660.001 - Final Project
Page 120
Total Sales by Team ID (Bonus)
SQL Statements
SELECT Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) AS SummaryPrice,
Territory.TerritoryName, Territory.TeamID
FROM [Time2008-2012] INNER JOIN (Territory INNER JOIN OrderDetail ON Territory.TeamID =
OrderDetail.TeamID) ON [Time2008-2012].Date = OrderDetail.OrderDate
GROUP BY Territory.TerritoryName, Territory.TerritoryID, [Time2008-2012].Cal_Year, Territory.TeamID
HAVING ((([Time2008-2012].Cal_Year)=2012))
ORDER BY Sum((OrderDetail.NumOrdered)*(OrderDetail.QuotedPrice)) DESC;
Team 9
BCIS 4660.001 - Final Project
Page 121
Generated Report
Team 9
BCIS 4660.001 - Final Project
Page 122
Presentation Slides (2 per Page)
Team 9
BCIS 4660.001 - Final Project
Page 123
Team 9
BCIS 4660.001 - Final Project
Page 124
Team 9
BCIS 4660.001 - Final Project
Page 125
Team 9
BCIS 4660.001 - Final Project
Page 126
Team 9
BCIS 4660.001 - Final Project
Page 127
Team 9
BCIS 4660.001 - Final Project
Page 128
---------THIS PAGE LEFT INTENTIONALLY BLANK---------
Download