proposed database for loretta’s university cleaners

25
Proposed Database for Loretta’s University Cleaners Kwame Ampem Paitrick Lawyer Brandon Zachary April 15, 2011

Upload: henrik

Post on 06-Jan-2016

33 views

Category:

Documents


1 download

DESCRIPTION

Proposed Database for Loretta’s University Cleaners. Kwame Ampem Paitrick Lawyer Brandon Zachary. April 15, 2011. Objective. The objective of this project is to assist a local client in enhancing their DBMS for more efficient storage, accesses and security. Current System. - PowerPoint PPT Presentation

TRANSCRIPT

Lorettas University Cleaners (Phase 2)

Proposed Database for Lorettas University CleanersKwame AmpemPaitrick LawyerBrandon Zachary

April 15, 2011ObjectiveThe objective of this project is to assist a local client in enhancing their DBMS for more efficient storage, accesses and security.Current SystemFabriCare Management SystemWindows-based application that provides dry cleaning/laundry software for dry cleaning businesses with an average sized clienteleData is stored in Microsoft Access DBMSEasy to maintainSystem Overview

Current System

This screenshot shows the possible types of alterations that can be done on a given set of garments.Current System

This screenshot shows the laundry services that are provided by Lorettas University Cleaners.Current System

This screenshot shows the shoe repair menu. Once an option is selected, you will be asked to enter more information about the shoe.Current System

This screenshot shows an in-depth look at what happens after selecting a type of shoe. You are allowed to enter information about the shoe (ex. shoe color).Normalization Forms

Normalization Forms

Normalization Forms

Normalization Forms

Normalization FormsRelations:INVOICE(IvoiceNo, Name, Number, StreetName, City, ZipCode, {Quantity, GarmentType, ServiceType, Price})INVENTORY(ItemName, Quantity, Cost)ORDERFORM(OrderNo, OrderDate, Quantity, Price, ItemName, SupplierName, SupplierAdd, SupplierNum)

1NF NormalizationINVOICEInvoiceNum & GarmentType & ServiceType -> All AttributesGarmentType & ServiceType -> Price Name & Phone -> StreetName, City, ZipPrimary Key:Invoice & GarmentType & ServiceTypePartial Functional Dependency:GarmentType & ServiceType are apart of primary and price depends on those attributes

1NF NormalizationINVENTORYItemName -> Quantity, CostPrimary Key:ItemNamePartial Functional Dependency:There are none for this Relation1NF NormalizationORDERFORMOrderNo & SupplierNum -> all attributesSupplierNum -> SupplierName, SupplierAddress Primary Key:OrderNo & SupplierNumPartial Functional Dependency:SupplierNum is a part of the primary key but supplierName a SupplierAddress depend on that attribute

2NF NormalizationRemoved Partial Functional DependenciesINVOICE(InvoiceNo, Name, Phone, GarmentType, ServiceType, Quantity)GARMENT(InvoiceNo, GarmentType, ServiceType, Price)CUSTOMERINFO(Name, Phone, StreetName, City, Zip)2NF NormalizationINVENTORY(ItemName, Quantity, Cost)ORDER(OrderNo, SupplierName, OrderDate, Quantity, Price, ItemName)SUPPLIERINFO(SupplierName, SupplierAddress)

3NF NormalizationNo Transitive Functional DependenciesINVOICE(InvoiceNo, Name, Phone, GarmentType, ServiceType, Quantity)GARMENT(InvoiceNo, GarmentType, ServiceType, Price)CUSTOMERINFO(Name, Phone, StreetName, City, Zip)INVENTORY(ItemName, Quantity, CostORDER(OrderNo, SupplierName, OrderDate, Quantity, Price, ItemName)SUPPLIERINFO(SupplierName, SupplierAddress)

AlterationsShoe RepairPressLaundryStaffBack OfficeServicesSuperclassCreatesReceivesRendersHas{Mandatory, Or}{Mandatory, Or}Front Office1 .. *Invoice1 .. 11 .. *1 .. *Inventory* .. 1* .. *1 .. *GathersCustomer InfoInvoiceNo (PK)ItemName (PK)Lorettas University CleanersPlease enter your ID:Employee Login ScreenThe user will enter his/her ID to gain access to the system. If the user ID exists, the user will have permissions to certain aspects of the system, depending on his/her position. ENTERLorettas University CleanersWhat would you like to do?Employee ViewIf the user is an employee who does not handle transactions, he/she will only have the above options. For security assurance, he/she will not be able to access what other users may.CLOCK INVIEW TIMECARD CLOCK OUTVIEW ORDERLorettas University CleanersWhat would you like to do?Employee ViewIf the user is an employee who handles transactions, he/she will have the above options. For security assurance, he/she will not possess the same privileges as the manager user(s).CLOCK INVIEW TIMECARD CLOCK OUTVIEW ORDERDRY CLEANLAUNDRYHOUSEHOLD PRESS ONLYHOUSEHOLDPRESS ONLYALTERATIONSSHOE REPAIRCHANGE ORDER CASH OUTVIEW INVOICELorettas University CleanersWhat would you like to do?Manager ViewIf the user is an employee who is a manager, he/she will have the above options. CLOCK INVIEW TIMECARD CLOCK OUTVIEW ORDERDRY CLEANLAUNDRYHOUSEHOLD PRESS ONLYHOUSEHOLDPRESS ONLYALTERATIONSSHOE REPAIRCHANGE ORDER CASH OUTVIEW INVENTORYQUOTESEARCHLorettas University CleanersPlease enter name or invoice number:Search ViewThis is a sample of the capabilities of the search function for the manager or employee with similar privilege. They may search for a previous invoice for whatever the need may be, and he/she will receive near real-time results.ENTERDoeInvoice #NamePick Up DateOperation56255Doe, JohnMar 12, 2011Laundry41203Doe, JaneApr 20, 2009Press Only17834Doel, SamJune 23, 2004Shoe Repair