9684

Management of a variety store has decided to implement a computerized Inventory System to give the store capability to track and record every transaction from the purchase of goods from suppliers, purchases made by customers, available stock, and when to replenish stocks. Management will receive reports daily and monthly summary reports on purchase orders, invoices, customer purchases and stock inventory. Stock levels will be updated immediately that purchases and sales are made to give a clear indication of the amount of stock to be ordered within a timely manner.

A Purchase Order is prepared by a Clerk and sent to a Supplier via e-Mail. The Purchase Order gives the quantity required, a description of the various items, the cost of each batch and the total cost which includes the Value Added Tax (VAT), and the date on which the goods should be delivered. All Purchase Orders are entered into a Purchase Orders database. On receipt of the Purchase Order, the supplier acknowledges receipt via e-Mail as well as confirms that the goods will be delivered on the date requested. If the price of any item is different to that stated on the Purchase Order, the Supplier quotes the correct price on an Invoice which is e-mailed with the acknowledgement. The Clerk uses the supplier invoice to generate several individual invoices in an Invoices database and updates the original purchase order in the Purchase Orders database with updated prices where necessary. The Clerk creates a separate invoice for each individual item on a Purchase Order. One invoice can be created for the same item on more than one purchase order.

Each item in the Stock Inventory database has a unique bar code identifier. When delivering the goods the Supplier delivers a Delivery Notice listing all individual items. On receipt of the ordered goods, one item from each batch purchased is scanned to the system and the Inventory database updated with the quantity purchased. At the end of stocktaking, a notification is sent to the Accounts Department and to the Supplier on a Delivery Form indicating the quantity of each item of goods received and the items considered ‘unfit for sale’. The Delivery Form indicates whether or not all goods received were in good order for sale to customers. The Supplier e-mails an updated Invoice to the Purchasing Department and the Clerk updates the individual invoices where necessary. The Accounts Department will make payment to the supplier based on the final invoice received.

Each item purchased by a customer is captured in a separate database. The cash registers are linked to the Inventory System so that when the cashier at the Store scans each item purchased by a customer, the stock level of the item is reduced by the amount purchased. This allows the Purchasing Department to know when to order a particular item and in what quantity. The customer is provided with a receipt when payment is made and all receipts are written to a database.

You must use the DIA Software and also export to word document to gain any marks. failure to draw in DIA software will result in an immediate 0

1) Assume you are required to design an Entity-Relationship diagram for a database in which all information pertaining to the inventory system is to be stored. Given the information in the case, state all the E-R entities and use them to sketch an E-R Diagram showing both maximum and minimum cardinalities for each relationship in the diagram. State ALL assumptions made to arrive at the cardinalities.


2) For all E-R entities, provide the primary key attribute and three (3) or more other attributes (make up these where the information from the case proves insufficient).


3) For all relationships in your E-R diagram above, show the database tables for a relational database design. Provide at least one attribute along with the primary key attribute for any new table derived.

otal: 20

E-R Entities

20

All E-R Entities from the case study correct with proper names.

15

75% or more of all E-R Entities from the case study correct with proper names.

10

50% or more of all E-R Entities from the case study correct with proper names.

5

25% or more of all E-R Entities from the case study correct with proper names.

0

Less than 25 % or more of all E-R Entities from the case study correct with proper names.

Deduct 2 marks for each incorrect ER entity given over the maximum number of entities.

Total: 20

Attributes

20

Primary keys identified and all attributes in table with appropriate names.

15

Primary keys identified and 75% or more of all attributes in tables with appropriate names.

10

Primary keys identified and 50% or more of all attributes in tables with appropriate names.

5

Primary keys identified and 25% or more of all attributes in tables with appropriate names.

0

Primary keys not identified and less than 25% attributes in tables with appropriate names.

Deduct 2 marks for each incorrect attribute given over the maximum number of attributes.

Total: 10

Entity Relationship Diagram

10

All relationships appropriately named and proper symbols used.

5

50% or more of all relationships appropriately named and proper symbols used.

0

Less than 50% Relationships inappropriately named and proper symbols not used.
Deduct 2 marks for each incorrect relationship given over the maximum number of relationships.

Total: 20

Cardinalities (4 per relationship)

20

All assumptions stated with correct symbols used for MIN and MAX cardinalities.

15

75% or more of assumptions stated with correct symbols used for MIN and MAX cardinalities.

10

50% or more of assumptions stated with correct symbols used for MIN and MAX cardinalities.

5

25% or more of assumptions stated with correct symbols used for MIN and MAX cardinalities.

0

Less than 25 % of assumptions stated with correct symbols used for MIN and MAX cardinalities

Total: 20

Database Design

20

Proper rules for 1:1, 1: M and M: N relationships used and unchanged tables in database.

15

75% or more of the proper rules for 1:1, 1: M and M: N relationships used.

10

50% or more of the proper rules for 1:1, 1: M and M: N relationships used.

5

25% or more of the proper rules for 1:1, 1: M and M: N relationships used.

0

Less than 25% or more of the proper rules for 1:1, 1: M and M: N relationships used.

Total: 10

General Presentation

10

MS Word file with Context Diagram and High Level diagram uploaded, the Dia file uploaded with stipulated filename format and proper ERD symbols used.

5

MS Word file with Context Diagram and High Level diagram uploaded, the Dia file uploaded and any one of the other conditions mentioned above not satisfied.

0

Document uploaded not an MS Word or No Dia file uploaded.