Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You have been contracted to design and develop a database system for small SME that provides services to local end consumers. The SME provides small
You have been contracted to design and develop a database system for small SME that provides services to local end consumers. The SME provides small home repairs like indoor painting, joinery, etc This familyowned business used to manage all services on pen and paper, yet it has grown to the point where this method has become unfeasible and are looking to professionalise the management of the operation.
You have been contracted to design and deliver a Database system based on Microsoft Access.
The aim is to create a robust database system that efficiently manages core entities, including Services, Customers, Orders, and Payments, to facilitate seamless transactions and enhance the overall user experience.
Data Requirements
The following paragraphs describe the minimum requirements of the database system. It is offered as a starting point and is the result of the first discussion with the owners.
Entities
Client:
The system needs to store client details.
CRUD operations on client details must be allowed through forms
Envisioned schema for this entity is ClientID ClientName, ClientAddress, ClientEmail, ClientMobile
Employee
The system needs to store client details.
CRUD operations on client details must be allowed through forms
Envisioned schema for this entity is EmployeeID EmployeePayrollNumber, EmployeeName, EmployeeMobile
A solution DS is needed to design a way to connect the Employee Entity with the Service Catalogue ne ClientAppointments that is NF compliant and conveys which services can be provided by each employee.
Service Catalogue
The System must maintain a catalogue of service offered Indoor PaintingExterior PaintingJoineryEtc
All services are offered at a base costperhour rate plus expenses.
A solution DS is needed to design a way to connect the Service Entity with the CustomerCataloge ne ServicesProvided that is NF compliant and conveys which services have been performed to each customer on a specific date and reporting the expenses.
Envisioned schema for this entity is ServiceID ServiceName, ServiceDescription, ServiceHourlyRate
Invoice
An invoice is an Entity that provides flexibility to DSThis allows the business to offer discounts and be more competitive in larger jobs.
Envisioned schema for this entity is InvoiceID InvoiceNumber, InvoiceCost, InvoiceDiscount, InvoiceTotal
A solution DS is needed to design a way to connect the Invoice Entity with the ClientAppointments DS that is NF compliant and conveys which appointments have been grouped together to produce and Invoice.
Entity Relationships
As per the description above, the following Entity Relationships have been identified see DS DS and DS The bullets bellow provide the minimum requirements identified for this relationship.
ClientAppointments, a onetomany relationship between Service and Client. Client can have multiple appointments, but each appointment is associated with a single client. This relationship also details the EmployeeID that provides the service, with an integrity constrain that the Employee is able to provide the service.
ServicesProvided, a manytomany relationship between Service and Employee. An employee can provide multiple services.
InvoiceRows, a onetomany relationship between Invoice and ClientAppointments.
Use Cases for the System
CRUD operations for the main entities
Generate an Invoice
Report
Services by month
Income sum of invoice by month.
Tasks
General
You are required to design and implement this database system through data requirements analysis, conceptual design using concepts of the EntityRelationship ER model, logical design using the concepts of the relational model, and implementation and testing using Microsoft Access or newer for Windows.
The specification above details the minimal requirements, you can design above or improve the proposed design. For each change you are required to document the rationale for the improvement.
Task Conceptual Design in ER
Create a conceptual schema for the above database system using the concepts of the EntityRelationship ER model. Show the following design steps:
Draw partial ER diagrams showing each entity and all its attributes individually;
NB: Only primary key attributes should be included in the simplified ER diagram see examples in lecture notes and tutorial solutions Your ER diagram must make use of the building blocks of ER diagrams including primary key simple or composite alternate key, composite attribute, multivalued attribute, attribute of a relationship, recursive relationship, : relationship, :m relationship, and m:n relationship, among others.
Complete the ER diagram by using the notation shown in the example of the Student relation given below:
StudentbannerID fName, lName, address, gender, NIN, compID, DOB, ProgrammeTitle
Primary key: bannerID
Foreign key: ProgrammeTitle references Prog
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started