Professional Documents
Culture Documents
Implementing An REA Model in A Relational Database
Implementing An REA Model in A Relational Database
Implementing An REA Model in A Relational Database
18-1
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.
18-2
18-3
18-4
18-5
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
18-6
Payroll Cycle
Revenue Cycle
Expenditure Cycle
18-7
18-8
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
18-9
2.
3.
4.
5.
18-10
Delete
18-11
18-12
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
18-13