Professional Documents
Culture Documents
20211221051421D3064 - Ses0304 The REA Data Modeling
20211221051421D3064 - Ses0304 The REA Data Modeling
20211221051421D3064 - Ses0304 The REA Data Modeling
Session 3-4
Acknowledgement
Chapter 19-20-21
Learning Outcome
Student will be able to :
• Describe the model of business process
• Construct an integrated business process
Learning Objectives
After studying this chapter, student will be
able to :
• Discuss the steps for designing and implementing a
database system.
• Explain the nature and use of Entity-Relationship (E-R)
diagrams.
• Explain the content and purpose of the REA data model.
• Read an REA diagram and explain what it reveals about
the business activities and policies of the organization
being modeled.
Database Design Process
data modeling
Defining a database so that it
faithfully represents all key
components of an
organization’s environment.
The objective is to explicitly
capture and store data about
every business activity the
organization wishes to plan,
control, or evaluate.
• Entity-relationship (E-R) diagrams
• REA data model
FIGURE 17-1
Data Modeling in
the Database Design Process
Entity-Relationship Diagrams
• Resources
– Things that have economic value to the
organization (e.g., inventory, cash)
• Events
– Various business activities that management
wants to collect information on
• Agents
– People and organizations that participate in
events (both internal (e.g., employees) and
external (e.g., customers/vendors) to the
organization)
Structuring Relationship:
The Basic REA Template
FIGURE 17-4
Standard REA
Template
Structuring Relationship:
The Basic REA Template
FIGURE 17-5
An AIS Viewed as a Set of Give-to-Get Exchanges
Developing an REA Diagram
For example, Chapter 12 explained that the revenue cycle typically consists of four
sequential activities:
1. Take customer orders
2. Fill customer orders
3. Bill customers
4. Collect payment
from customers
FIGURE 17-6
Partial REA Diagram
for Fred’s Train Shop
Revenue Cycle
Developing an REA Diagram
Cardinality Notation Methods
Cardinalities
Describe the nature of a
database relationship indicating
the number of occurrences of
one entity that may be
associated with a single
occurrence of the other entity.
Three types of cardinalities are
one-to-one, one-to-many, and
many-to-many.
Developing an REA Diagram
Cardinality Notation Methods
Developing an REA Diagram
Cardinality Notation Methods
Developing an REA Diagram
Three Types of Relationships
Three Types
Of Relationships:
1. A one-to-one (1:1)
relationship
2. A one-to-many (1:N)
relationship
3. A many-to-many (M:N)
relationship
Figure 17-7
Examples of Different
Types of Relationships
Key Terms
Figure 18-1
Fred’s Train Shop
Revenue Cycle
Fred’s Train Shop Expenditure Cycle
Figure 18-2
Fred’s Train Shop
Expenditure Cycle
Fred’s Train Shop Payroll Cycle
Figure 18-3
Fred’s Train Shop
Payroll Cycle
Integrated REA Diagram for Fred’s Train Shop
Figure 18-4
Integrated REA
Diagram for
Fred’s Train Shop
Implementing an REA Diagram
in a Relational Database
• Create tables for each distinct entity
and M:N relationship
• Assign attributes to each table
– Identify primary keys
– Concatenated keys for M:N
relationship table
• Use foreign keys to implement 1:1 and
1:N relationships
Implementing an REA Diagram
in a Relational Database
Table 18-1
Table Names and
Attribute Placement
for Figure 18-4
Using REA Diagrams
to Retrieve Information
from a Database
• Journals
– Information contained in event tables
• Ledgers
– Information contained in resource tables
(increment and decrements of events)
• Financial statements
– Information contained in resources and events
using a set of queries
• Management reports
– Financial and nonfinancial information
Key Term
• Concatenated keys
Learning Objectives
After studying this chapter, student will be
able to :
• Create REA data models for the revenue and expenditure
cycles of other types of organizations besides retail stores.
• Extend REA diagrams to include information about
employee roles, M:N agent-event relationships, locations,
and relationships between resources and agents.
• Understand and create an REA diagram for the production
cycle.
• Understand and create an REA diagram for the HR/payroll
cycle.
• Understand and create an REA diagram for the financing
cycle.
REA Extensions
Figure 19-1
Extended Partial
Revenue Cycle REA
Diagram
Additional Revenue and Expenditure
Cycle Modeling Topics
Additional Revenue and Expenditure
Cycle Modeling Topics
Figure 19-2
Extended REA
Diagram for
Expenditure Cycle
Additional Revenue and Expenditure
Cycle Modeling Topics
REA Extensions:
Sales of Services
FIGURE 19-3
Partial Revenue Cycle
for Sale of Services
REA Extensions:
Acquired Services
FIGURE 19-4
Partial Expenditure Cycle for Acquisition of Services
REA Extensions:
Rental Transactions
FIGURE 19-5
Partial Revenue Cycle
for Rental Transactions
Preparation of session 5-6:
• Students learn the material “System
Documentation-System Flowchart” from
Binusmaya and from textbook.
• Watch the video about:
• “System Documentation - Part VI: Creating the Flowchart”
https://www.youtube.com/watch?v=YTcah66oYJU
• Students must take a note at home after they
learned the online material and watched the
video, bring it into session 5&6.
Continued to session 5-6
Thank you