you are required to develop a simple HR application for a small
accounting firm that wishes
to keep track of all the employees at the firm; storing details
about their salary, phone numbers
and Date of Birth. The firm has many departments and there are 5 to
20 employees in each
department. The department information includes department name,
description and total
number of employees in that department. The company also provides
vehicles for some of its
employees. An employee maybe allocated one car. To ensure timely
maintenance of vehicle,
the company would like to store the following details of the
vehicle: make, model,
next_maintenance_date.
Each employee has a position (manager, accountant, administrator,
clerk, etc.). Various
allowances are allocated to each position. For example, the
managers have fuel allowance,
house allowance, social allowance and managers allowance. On the
other hand, the
administrators have house allowance and social allowance. Clerks
have social allowance and
uniform allowance. The name and description of each allowance needs
to be stored.
The HR system keeps track of all Projects in the organization. Each
department is assigned to
one or more project. Project can be assigned to one or more
department (Interdisciplinary
projects).
Each HR Employee has his own credentials to login into the system
to manipulate the database.
The HR credentials are stored in a table (Login). You will also
need a table to store transactions
(Transaction Date/Time and User Name).
The system must store employees’ grades. Each employee will have a
grade (Example A, B,
C). The grade should have a predefined salary range.
You need to have the following constraints in your system: The
employee’s salary should be
between the grade range (Example: Grade A - Salary between
30000-50000). Employee’s
phone number and Date of Birth should not be empty. Vehicle next
maintenance is within 6
month of current date. Each position should not exceed the
predefined allowances.
Part A:
Include the following before drawing the ERD:
a. Write the business rules.
b. Identify all Entities and attributes
c. Identify Primary key and Foreign Key in each table/Entity
d. Identify the Relationships between Entities.
e. Resolve any M:N relationship between the entities.
Part B:
Draw the ERD using any Data Modelling Software
Part A:
Rule #1: Department will have minimum 5 to maximum 20 employees
Rule #2: Employees will have unique Emp_ID
Rule #3: Some employees of HR_Employee type will have username and password.
Rule #4: Car can be assigned to one or none employee.
Rule #5: Employee can have 0 or one car.
Rule #6: Multiple allowances will be given to multiple employees
Rule #7: Multiple departments will handle multiple projects.
Rule #8: A project can be assigned to multiple departments.
Rule #9: An employee will has assigned Grade.
Rule #10: Transactions will be stored for HR_Employees
The listed relationships under d) has below relationships of M:N cardinalities:
Emp_Allowance(Emp_ID, Allowance_Name)
Primary key: (Emp_ID, Allowance_Name)
Foreign key: Emp_ID from Employee
Allowance_Name from Allowance
Department_Projects(Department_name, Project_ID, start_date, end_date)
Primary key(Department_name , Project_ID)
Department_name foreign key from Department
project_ID foreign key from Project
Part B: Drawing ERD
Below are the final Entities obtained in Part A:
**Primary keys are underlined and bold. Foreign key has (fk) next to column name.
ERD for the above entities is given as below:
you are required to develop a simple HR application for a small accounting firm that wishes...
. Create the ERD in your drawing tool for microsoft visio for the following problem; Construct an ERD to represent employees and positions. For employees, the ERD should record the unique employee number, first name, last name, department name, office number, hire date, and date of birth. For position, the ERD should record the unique position number, position name, and step number. Positions can be classified as management, associate, or other. Management positions have a salary range (minimum and maximum)...
Projects inc. is an engineering firm with approximately 50 employees A database is required to keep track of all employees, their skills, projects assigned and departments worked in. Every employee has a unique number assigned by the firm, required to store her or his name and data of birth. If an employee is currentty married to another employee of Projects tnc. the data of the marriage and who the employee is married to must be stored. Howeer no record of...
JAVA ONLY. For this assignment you will create an employee application, containing contact information, salary, and position. You will also define the type of company. Is it an engineering firm, a supermarket, or a call center? Once the application has been completed, I should be able to perform a query for any piece of information associated with each employee. For instance, if I search for employees who make over $50,000, all of the employees whose salaries are greater than $50,000 should...
Problem 3. Given the following business scenario, create a Crow’s Foot ERD using a specialization hierarchy if appropriate. Granite Sales Company keeps information on employees and the departments that they work in. For each department, the department name, internal mail box number, and office phone extension are kept. A department can have many assigned employees, and each employee is assigned to only one department. Employees can be salaried employees, hourly employees, or contract employees. All employees are assigned an employee number. This...
TM-315 DATABASE SYSTEMS Please help me to draw an ERD and the Relational Schema and please mark the Primary and Foreign Key ..... Deliverable: Word document with grade sheet followed by Part 1 ERD and the Part 2 relational schema. Part 1: Draw the ERD for the following situation. 8 pts Be sure to: Convert all many-to-many relationships to associative entities. Make sure each regular entity has an appropriate identifier. Make sure attribute names are unique within the ERD Wally...
Financial Accounting AC1130 Question #1 Complete the Payroll Register using the following information: Required: You are the Payroll Manager for Potter Corp. Complete the payroll register for the month ending January 31, 2020. Note: • Hours in excess of 160 in any given month are paid at time and a half to all employees, including salaried employees • The Qatari employees receive QR 700 Social Allowance per month • All Canadian employees contribute QR 60 towards social club fees. Ron...
13.7 please 13.7 Table 13.3 (page 602) identifies three risks typically encountered when updating the general ledger Required (a) Analyse the degree of exposure to each of these risks for the update the general ledger process at AB Hi-Fi. update general ledger process at AB Hi-Fi. the update the general ledger process is, and how comprehensive the current internal (b) Determine how many of the common controls described in table 13.3 are present in the (c) Prepare a short report...
The owner of a small chain of appliance stores wants to build a database to help track data about its regions, stores, employees and jobs. The chain has divided the map of where its stores exists into various regions. Each region has a description (of boundaries). Each store is named, has an average market size (expressed in dollars) and belongs to s specific region. Each store also has an address, city, state, and zip. The database should...
New to DB's Please help! You are designing and creating a database named COMPANY for an HR (Human Resource) Dept of a Software Consulting Company to manage their employees and their assigned work (projects) in the company First Step to Design and Create a Database is Creating an E-R Diagram by Identifying Entities, Attributes and Relationships between any two Entities to Create a Company Database Scheme. 1. Create an E-R Diagram for the Company database from the raw data files...
Case Study C & S Department Store is the second largest clothing and retail store chain in Jamaica. At present, they have 5 clothing and retail stores in all 14 parishes and are planning to expand to 7 stores per parish in the next 3 years. C & S Department Store has a centralized Human Resource Department located at its main office in Kingston. Unfortunately, although the HR processes are managed centrally, there are many HR tasks, policies and procedures...