CH 5
CH 5
• Steps in database design include the • Accountants may provide the greatest value by
following: taking responsibility for data modeling—the
– Planning process of defining a database to faithfully
– Requirements analysis represent all aspects of the organization,
– Design including interactions with the external
– Coding environment.
– Implementation – Occurs during both requirements analysis and design
– Operation and maintenance stage
– Two important tools to facilitate data modeling:
• Entity-relationship diagramming
• REA data model
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart 2 of 138 © 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart 3 of 138
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart 4 of 138 © 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart 5 of 138
THE REA DATA MODEL THE REA DATA MODEL
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart 7 of 138 © 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart 8 of 138
• Three Basic Types of Entities • Can you identify the resources in this diagram?.
– The REA data model is so named because it
classifies entities into three distinct Inventory Sales Employee
categories:
• Resources that the organization acquires and
uses.
• Events in which the organization engages Customer
• Agents participating in these events
• Includes people and organizations who
participate in events and about whom Cash Receive
information is desired for planning, Employee
Accounts Cash
control, and evaluation purposes.
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart 9 of 138 © 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart 10 of 138
STEP THREE: DETERMINE STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS CARDINALITIES OF RELATIONSHIPS
• In other words, the choice of cardinalities • Now let’s go back to the REA diagram for
is not arbitrary. the revenue cycle and see if we can
• It reflects facts about the organization that complete the cardinalities.
are obtained during the requirements
definition stage of the database design
process.
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart 20 of 138 © 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart 21 of 138
Inventory
Customer
Sale
Employee
Receive
Cash Customer
Cash
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart 42 of 138