Upload
cameron-humphrey
View
27
Download
2
Embed Size (px)
DESCRIPTION
Burn-IT Solution Package. Integrated Solution. part. LL. 0,N. Item Category. 0,N. 0,1. can-be-put-into. 0,N. code. whole. start- time. end- time. 0,N. description. name. id. ssn. HL. takes. 1,1. HL. 0,1. 1,N. Item. Packing Event. Employee. 0,1. 0,N. 0,1. 1,1. - PowerPoint PPT Presentation
Citation preview
Burn-ITSolution Package
Integrated Solution
Item
ItemCategory
id
description
1,1
0,N
can-be-put-into
PackingEvent
takes
puts_into
0,1 1,N
1,10,1
id
start-time
end-time
0,1 0,NEmployee
ssnname
LoadingEvent
id end-time
0,1 1,N
start-time
1,1 0,NTruck
id capacity
1,1 0,NCarrier
code
name
code
description
Transportation1,N 0,N
Distributorcode
name
1,1
1,1
start-timeend-time
CashDisbursement Cash Cash
Receipt
0,1
0,N
0,N
0,N
HL
part
whole
1,1
1,N
0,1 0,N
id
amount
A/R0,N
1,1number
amount
date
accountnumber
description balance
numberamount date
0,N 1,1
1,1
0,N1,1 0,N
HL
LL
LL
HL
ItemItem
Category1,1 0,N
C
A I further classify each item as being of category CD, box, or pallet
C Obviously, most of our items are CD’s.
A B
1
B I don’t have any items of category container yet.
ItemPacking
Event
AFirst, a packing event takes one or more items … .Each packing event takes one or more items (at least one).
B First, a packing event … and puts them into another item.A packing event puts items into exactly one item (logistic unit).
C Not all items are packed. For example, we don’t pack pallets.
A
2
takes
puts-into
0,1 1,N
0,1 1,1
B
D An item can be packed only once.
E A CD cannot be used as a logistic unit.
F Logistic units such as boxes and pallets are packed at once; i.e,. they participate in one ‘packing event’ only.
C D
E F
We expect more than 85% of our items being packed.G
HL
G
PackingEvent
Employee0,1 0,N
A …. we assign exactly one ‘supervising’ employee to each packing event …
C
B While we assign exactly one ‘supervising’ employee to each packing event, we don’t always record that information. I would be happy if we could record a supervising employee for 90% of our packing events.
C Todd, one of our employees, supervised more than 100 packing events yesterday.
A D
3
B
Melissa, our accountant (and thus an employee) never gets involved with packing events.
D
HL
ItemCategory
0,N
A Not all item categories can be put into other item categories. For example, ‘Pallet’ does not occur in the left column of the ‘can-be-put-into’ table.
C
B Not all item categories can be logistic units. For example, ‘CD’ does not occur in the right clumn of the ‘can-be-put-into’ table.
C “ … an item category can be put into more than one (other) item category and vice versa.”
A
B
4
can_be_put_into
part
whole 0,N
C
ItemLoading
Event
1,N
A In essence, a loading event puts a number of pallets (at least one) on a truck.
C A pallet can be loaded only once.
A
5
0,1
B C
B “In essence, a loading event puts a number of pallets (at least one) on a truck.” Other items, such as CDs and boxes, do not participate in the relationship with “loading event”; we are only interested in recording which pallets are loaded.
D Only pallets are loaded; so, we expect to record a loading event for less than 10% of our items.
D LL
Loading Event
Truck
1,1 0,N
A There is exactly one truck per loading event.
B We ask all carriers to provide us with a list of their truck IDs. A new carrier needs to submit this information (truck IDs) to us at least one week before we schedule a first loading event with that carrier.
C Most trucks participate in hundreds of loading events.
6
CBA
Loading Event
Carrier
1,1
A
7
A There is exactly one carrier per loading event.
B We ask all carriers to provide us with a list of their truck IDs. A new carrier needs to submit this information (truck IDs) to us at least one week before we schedule a first loading event with that carrier.
0,N
CB
C “Most trucks participate in hundreds of loading events. There is exactly one carrier per truck.” So, most carriers participate in many loading events.
Truck Carrier
1,1 1,N
A There is exactly one carrier per truck.
B
8
A
C All carriers we work with have a large fleet of trucks; at least 25 trucks.
B Only carriers for which we know at least one truck are recorded in our database.
C
LoadingEvent
Distributor
1,N 0,N
A We also want to record the distribution centers for each of the loading events. So, more than one distribution center can be associated with the same loading event.
B9
A
C We have 15 loading events scheduled this week for our biggest distributor; Rock-And-More (located in New Jersey).
B Finally, we would like to record all distribution centers in the North-East and Mid-Atlantic, even when they don’t do business with us.
C
amount
D We record the total ($) amount per loading event per distributor.
D
A We also have to know which pallet goes to which distributor and this information needs to be recorded in the database. We don’t record distributor information for CDs and boxes (optional participation)
B There is only one distributor per pallet.
Item Distributor
10
0,1 0,N
BA
D Many pallets are of course assigned to the same distributor.
C
DC
Finally, we would like to record all distribution centers in the North-East and Mid-Atlantic, even when they don’t do business with us.
E Only pallets are assigned to distributors
ELL
TransportationLoading
Event
A There is exactly one loading event per transportation event.
B There is exactly one transportation event per loading event.
1,1 1,1
11
BB
DistributorCash
Receipt
1,10,N
A
A
B We have received five payments from Rock-And-More this month.
C We record exactly one distributor for each cash receipt.
B
12
C
Finally, we like to record all distribution centers in the North-East and Mid-Atlantic, even when they don’t do business with us.
13
CashReceipt
Cash
1,1 0,N
A We record exactly one account for each cash receipt.
B
B We created a new account yesterday but did not deposit any money in it yet.
C We put all payments from distributors into the same account.
CA
14
TransportationCash
Disbursement
0,1 0,N
A We pay each of the carriers at the end of the month for all transportation services they have provided during the month. We send them a (one) check at the end of the month.
B Not al cash disbursements (payments) are for transportation services.
A AB
More than 95% of the transportation events have been paid. C
C
HL
15
CashDisbursement
Cash
1,1 0,N
A There is exactly one account for each cash disbursement.
B
B C
C We currently use one account for all our payments (cash disbursements).
A
We created a new account yesterday but did not deposit any money in it yet.
16
CashDisbursement
Carrier
1,1 0,N
A There is exactly one carrier for each cash disbursement.
B
B C
C Obviously, we need to record many payments for most of our carriers.
A
We ask all carriers to provide us with a list of their truck IDs (and that information needs to be recorded into the database). A new carrier needs to submit this information (truck IDs) to us at least one week before we schedule a first loading event with that carrier.
id description
Item
code description
ItemCategory
ITEMCATEGORY
ItemCategory-ItemCategory (can-be-put-into)
ITEMCATEGORY(whole)
S
ITEMCATEGORY(part)
PACKING EVENT (takes)
id start-time
PackingEvent
end-time
1
1 E ITEM (puts-into)
EMPLOYEE ssn name
Employee
S
S
S
id start-time
LoadingEvent
end-timeLOADINGEVENTITEM E2
2 S
TRUCK
id capacity
Truck
code name
Carrier
S S
CARRIER
CARRIER Eid start-time
Transportation
end-time LOADINGEVENT
E
CASHDISBURSEMENT
number amount
Cash Disbursement
date
S
accountnumber description
Cash
balance name
Distributor
A/R
DISTRIBUTORITEM
Item-Distributor3
4
4S
3
LOADINGEVENTDISTRIBUTOR
S E 5
5
amount
CASH
number amount
Cash Disbursement
date CASH
S
DISTRIBUTOR
S
S
S 6
6
code
S