Entity-Relationship And Relational Database Modelling Techniques For Client Billing System Development In CQR Accounting Practice

Project Specification

To give  you  practical experience in using Entity-Relationship and Relational  Database  modelling techniques
Project Specification: Alan Counting  Edward Quals and Peter  Rofit are in partnership in an accounting practice  CQR. tHE   practice  specialises  in taxation auditing  and financial  advice  for small to medium  sized clients. They started  the pracitce  in 2005  and it has grown to now employ 25 people . These employees include  other accountants and office staff.Alan, Edward  and Peter believe the practice  is headed  for  a period  of significant growth  and have  come to you to help them redevelop their client billing system so that it copes with their workflows  and supports future growth  opportunities.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

      Attached as PDF document.     

  1. It contains the different structures provided by CQR to the clients

CQRStructureTypes(

                                      Structure       varchar(50),

                                      Description    varchar(200)

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

  primaryKey(Structure)

                                      );

  1. It contains the different sectors provided by CQR to group the clents

    CQRSectorTypes(

                                      Sector           varchar(50),

                                      Description    varchar(200)

                                    primaryKey(Sector)

                                      );

  1. It contains the different services provided by CQR to the clients

  CQRServicesTypes(

                             Service         varchar(50),

                             Description    varchar(200)

                           primaryKey(Service)

                             );

  1. ParentClientID is just to have link for individuals who are part of any private client     CQRClientsInfo(

                             ClientID                 varchar(10),

                             Name                     varchar(20),

                             Address                  varchar(100),

                             ContactNumber        varchar(20),

                             ABN                      varchar(20),

                             TFN                       varchar(20),  

                             Structure                varchar(50),

                             Sector                    varchar(50),

                             Service                   varchar(50),

                             ParentClientID         varchar(10)

                             primaryKey(ClientID, Sector, Service)

                             foreignKey(Structure) referenced by CQRStructureTypes(Structure)

                             foreignKey(Service) referenced by CQRStructureTypes(Service)

                             foreignKey(Sector) referenced by CQRStructureTypes(Sector)

  1. It contains information about different domains CQR supports

 CQREmploymentDomains(

                                                EmploymentDomain   varchar(20),

                                                Description             varchar(200)

                                                primaryKey(EmploymentDomain);

                                                );

  1. It contains information about different employee types CQR supports

CQREmpTypes(

                                      EmpType       varchar(20),

                                      Description             varchar(200)

                                      primaryKey(EmpType);

                                      );

  1. It contains emploees information  CQREmployeesIn
  2. EmpID                    varchar(10),

                                      EmploymentDomain   varchar(20),

                                      EmpType                varchar(10),

                                      BillingRate              float,

                                      SupervisorID           varchar(10)

                                      primaryKey(EmpID, EmploymentDomain);

                                      foreignKey(EmploymentDomain) references to                                                                                 CQREmploymentDomains(EmploymentDomain);

 foreignKey(EmpType) references to                                                                                               CQREmpTypes(EmpType);

                                      )

  1. It contins the employee hour rates history

  CQREmployeeHourRatesHostory(

                                      EmpID          varchar(10),

                                      StartDate      Date,

                                      EndDate        Date,

                                      BillingRate     float

                                      foreignKey(EmpID) references to CQREmployeesInfo(EmpID)

                                      );

  1. It contains the work categories those can be done to client

          CQRWorkCategories(

                                      WorkCategory                   varchar(20),

                                      Charge                             flaot      primaryKey(WorkCategory));

  1. It contians the Client billing information

 CQRClientBilling(

                                      ClientID                 varchar(10),

                                      EmpID                    varchar(10),

                                      WorkCategory                   varchar(20),

                                      StartTime                Date,

                                      EndTime                 Date,

                                      Bill                        float

                                      primaryKey(ClientID, EmpID, WorkCategory)

                                      foreignKey(ClientID) references to CQRClientsInfo(ClientID)

                                foreignKey(EmpID) references to CQREmployeesInfo(EmpID)

                             );

 a.

          Many clients can be mapped to same strucure type

 CQRClientsInfo —-many-one——> CQRStructureTypes

 b. same clients can be mapped many sectors and many clients mapped to many secotrs

  CQRClientsInfo —-many-many——> CQRSecotrsTypes

c.

same clients can be mapped many services and many clients mapped to many services

 CQRClientsInfo —-many-many——> CQRServiceTypes

d. same employees mapped to many domains and many employees mapped to many domains

 CQREmployeesInfo —-many-many——> CQREmploymentDomains

e Many employees mapped to one employee type

  CQREmployeesInfo —-one-many——>   CQREmpTypes

f. One client mapped to many works and many clients mapped one work.

CQRClientBilling —-many-many——> CQRWorkCategories

g. CQRClientsInfo is not in 1NF as address field is not atomic

CQRClientsInfo key (ClientID, Sector, Service), rest of the columns depending on ClientID           which is part of the key. It is not in 2NF.

CQREmployeesInfo key (EmpID, EmploymentDomain), rest of the columns depending on                EmpID which is part of the key. It is not in 2NF.

CQRClientBilling key (ClientID, EmpID, WorkCategory), rest of the columns depending     on ClientID which is part of the key, it is not in 2NF.

Rest all other relations maintained in 3NF.

  CQRStructureTypes(Structure, Description,

                                      primaryKey(Structure));

  CQRSectorTypes(Sector, Description,                      

                                      primaryKey(Sector));

CQRServicesTypes(Service, Description,

                                      primaryKey(Service));

CQRClientsInfo(ClientID, Name, StreetName, City, Country, ContactNumber,

                                      ABN, TFN, Structure, ParentClientID,

                                      primaryKey(ClientID),

                                      foreignKey(Structure) referenced by CQRStructureTypes(Structure));       

CQRClientsSectors(ClientID, Sector,

                                      primaryKey(ClientID, Sector),

                                      foreignKey(Sector) referenced by CQRSectorsTypes(Sector));

CQRClientsServices(ClientID, Service,

                                      primaryKey(ClientID, Service),

                                      foreignKey(Service) referenced by CQRServicessTypes(Service));

CQREmployeeHourRatesHostory(EmpID, StartDate, EndDate, BillingRate,

                                      foreignKey(EmpID) references to

CQREmployeesInfo(EmpID));

 CQRWorkCategories(WorkCategory, Charge,

                                      primaryKey(WorkCategory));

 CQRClientBilling(ClientID, StartTime, EndTime,

                                      primaryKey(ClientID));

CQRClientWorkCategories(ClientID, WorkCategory

                   primaryKey(ClientID)

                   foreignKey(WorkCategory) references to

CQRWorkCategories(WorkCategory))

CQRClientEmployees(ClientID, EmpID

                   primaryKey(ClientID)

                   foreignKey(EmpID) references to

CQREmployeesInfo(EmpID));

 References

          Studytonight, 2014, DataBase Management System

          Vangie Beal, 2014, Normalization

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.