Implementing an REA Model in a Relational Database

Slides:



Advertisements
Similar presentations
Database Design Using the REA Data Model
Advertisements

Business Processes, Data Modeling and Information Systems
Subsidiary Ledgers Special Journals
Chapter 3 Data Modeling Copyright © 2014 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Accounting System Design
Implementing an REA Model in a Relational Database
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 5-1 Accounting Information Systems 9 th Edition Marshall.
FIS 431/631 Financial Information Systems: Analysis and Design REA Modeling Joe Callaghan Oakland University Department of Accounting & Finance.
© 2008 Prentice Hall Business Publishing Accounting Information Systems, 11/e Romney/Steinbart1 of 121 C HAPTER 16 Implementing an REA Model in a Relational.
Technology Review-II Professor Martin Professor Xiong CSUS
7-1 PowerPoint Presentation by Douglas Cloud Professor Emeritus of Accounting Pepperdine University © Copyright 2007 Thomson South-Western, a part of The.
Methodology Logical Database Design for the Relational Model
Accounting Databases Chapter 2 The Crossroads of Accounting & IT
Database Design Chapter 3.
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
The Islamic University of Gaza
Chapter 3: Data Modeling
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 18-1.
Overview of Transaction Processing and Enterprise Resource Planning Systems Chapter 2.
Database Design Using the REA Data Model
Hall, Accounting Information Systems, 7e ©2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly.
© 2008 Prentice Hall Business Publishing Accounting Information Systems, 11/e Romney/Steinbart1 of 138 C HAPTER 15 Database Design Using the REA Data Model.
Database Design Using the REA Data Model
Database Relationships Objective 5.01 Understand database tables used in business.
Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA.
Database Design Using the REA Data Model
Chapter 17 Database Design Using the REA Data Model Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 17-1.
Chapter 17 Database Design Using the REA Data Model Copyright © 2012 Pearson Education 17-1.
McGraw-Hill/Irwin Copyright © 2005 by The McGraw-Hill Companies, Inc. All rights reserved. ENTERPRISE INFORMATION SYSTEMS A PATTERN BASED APPROACH Chapter.
Introduction to Accounting Information Systems
© 2008 Prentice Hall Business Publishing Accounting Information Systems, 11/e Romney/Steinbart1 of 138 C HAPTER 15 Database Design Using the REA Data Model.
The REA Model. The REA model provides structure for developing an accounting database It helps to identify It helps to The REA Model.
Accounting Information Systems 9th Edition
Concepts and Terminology Introduction to Database.
Introduction to Transaction Processing and Documentation Techniques COPYRIGHT © 2007 Thomson South-Western, a part of The Thomson Corporation. Thomson,
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart1 of 131 C HAPTER 16 Implementing an REA Model In a Relational.
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart1 of 96 C HAPTER 17 Special Topics in REA Modeling for the.
Chapter 3-1 Ch. 3 –Data Modeling Designing an efficient and effective database that meets users’ needs.
PLUG IT IN 3 Fundamentals of Relational Database Operations.
MS Access: Creating Relational Databases Instructor: Vicki Weidler Assistant: Joaquin Obieta.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Access Module 1 Workshop 2 Tables, Keys, and Relationships Series Editor Amy Kinser.
Data Models and Relational Databases Chapter 2. Learning Objectives Identify primary and foreign keys for each entity and relevant relationships in the.
Acct 316 Acct 316 Acct 316 Data Modeling and Database Design 5 UAA – ACCT 316 Accounting Information Systems Dr. Fred Barbee Chapter.
1 n 1 n 1 1 n n Schema for part of a business application relational database.
Implementing an REA Model in a Relational Database
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
Implementing an REA Model in a Relational Database
Advanced Accounting Information Systems Day 7 Database Modeling.
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
Relational Database. I. Relational Database 1. Introduction 2. Database Models 3. Relational Database 4. Entity-Relationship Models 5. RDB Design Principles.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
1 © Prentice Hall, 2002 ITD1312 Database Principles Chapter 4B: Logical Design for Relational Systems -- Transforming ER Diagrams into Relations Modern.
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 18-1.
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart1 of 131 C HAPTER 16 Implementing an REA Model In a Relational.
Microsoft Access CS 110 Fall Entity Relationship Model Entities Entities Principal data object about which information is to be collectedPrincipal.
Database Design Chapters 17 and 18.
Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA
Implementing an REA Model in a Relational Database
View Integration and Implementation Compromises
Implementing an REA Model in a Relational Database
Database Design Using the REA Data Model
Implementing an REA Model in a Relational Database
Accounting Information Systems 9th Edition
Database Design Using the REA Data Model
Accounting System Design
Database Design Chapters 17 and 18.
Accounting System Design
Database Design Chapter 7.
Presentation transcript:

Implementing an REA Model in a Relational Database Chapter 18 Implementing an REA Model in a Relational Database Copyright © 2012 Pearson Education

Learning Objectives Integrate separate REA diagrams for individual business cycles into a single, comprehensive organization-wide REA diagram. Build a set of tables to implement an REA model of an AIS in a relational database. Explain how to write queries to retrieve information from an AIS relational database built according to the REA data model. Copyright © 2012 Pearson Education

REA Diagram—Revenue Cycle Copyright © 2012 Pearson Education

REA Diagram—Expenditure Cycle Copyright © 2012 Pearson Education

REA Diagram—Payroll Cycle Copyright © 2012 Pearson Education

REA Redundancies Separate REA for an organization will have redundant entities Resource Each resource entity must be connected to: The resource entity is linked to event entities in one business cycle and to event entities in the other cycle One event that increases the resource and, One event that decreases the resource No effect on cardinality Events Alters the minimum cardinalities associated with the other events that are related to the merged event May be linked to either an event that is part of one business cycle or to an event that is part of another cycle but cannot be linked to both events The minimum cardinality associated with the other events must be 0 in the integrated REA diagram Copyright © 2012 Pearson Education

Integrated REA Diagram Expenditure Cycle Revenue Cycle Payroll Cycle Copyright © 2012 Pearson Education

Cardinality Effect of Merging Resources Cardinalities between resource and entities remain the same. Copyright © 2012 Pearson Education

Cardinality Effect of Merging Events The cardinality between Disburse Cash and Supplier and Employee (as payee) is now 0 to 1, that is, a disbursement can be made to the supplier or the employee but not both! Copyright © 2012 Pearson Education

Rules for Creating Integrated REA Diagram Every event must be linked to at least one resource. Every event must be linked to two agents who participate in that event. Every event that involves the disposition of a resource must be linked to an event that involves the acquisition of a resource. Every resource must be linked to at least one event that increments that resource and to at least one event that decrements that resource. If event A can be linked to more than one other event, but cannot be linked simultaneously to all of those other events, then the REA diagram should show that event A is linked to a minimum of 0 of each of those other events. Copyright © 2012 Pearson Education

Using REA Diagram to Create Relational Database Advantage: Ensures the elimination of anomalies: Update Insert Delete Copyright © 2012 Pearson Education

REA to Database Steps Create a table for each distinct entity in the diagram and for each many-to-many relationship. Assign attributes to appropriate tables. Identify primary keys: Attributes that uniquely identifies each record. For M:N relationships the primary key consists of two attributes that represent the primary keys of each entity linked in that relationship. Identify remaining attributes for table. Use foreign keys to implement one-to-one and one-to-many relationships. An attribute of one entity that is itself the primary key of another entity. Copyright © 2012 Pearson Education

Retrieving Information from REA Database Journals Information contained in event tables Ledgers Information contained in resource tables Financial statements Information contained in resources and Information on imbalances Accounts receivable Sales transactions for which customer payments have not yet been received Accounts payable Purchases from suppliers that have not yet been paid for Copyright © 2012 Pearson Education