Solution for ERD on 8/28/08

advertisement
HLA #1 – ERD Solution
Part 1:
Describe the business rules represented by the
cardinalities in the ERD shown to the right.
For example, in an Expenditure Cycle, you
might see this: Vendor-PO: 1:M
1. Customer-SO: 1:M
2. Customer-Inventory: M:M
3. SO-Inventory: M:M
Part 2: List 3 attributes for each entity. Make sure they are specific to the entity, not common fields (foreign keys). For
example, don’t list Cust # as an attribute for the S.O. entity. That would be a foreign key.
Customer: Cust#, CustName, CustAddr, CustCity, CustST, CustZip, Contact
S.O.: SO#, Date, Quantity, Price
Inventory: Part# (or Item#), QoH, Description
Part 3: Modify the ERD, based on the following information:
An invoice is created for each sales order and the Customer is sent an invoice for each sale. Add 3 attributes for each new
entity.
Attributes:
Invoice #
Quantity
Invoice Date
Also could be:
Unit price
Download