SlideShare a Scribd company logo
1 of 114
Download to read offline
Traditional Approaches:
         User-View Orientation
• When data-modeling and IS design is too oriented
  toward the user’s views, problems arise:
   – multiple information systems
   – duplication of data
   – restricted user-view leads to poor decision-
     making
   – inability to support change
Resources, Events, and Agents
                Model

• REA is an approach to database design meant to
  overcome problems with traditional approaches:
   – formalized data modeling and design of IS
   – use of centralized database
   – use of relational database structure
   – collects detailed financial and non-financial data
   – supports accounting and non-accounting
     analysis
   – supports multiple user views
   – supports enterprise-wide planning
INTRODUCTION
• Accountants may provide the greatest value by
  taking responsibility for data modeling—the
  process of defining a database to faithfully
  represent all aspects of the organization,
  including interactions with the external
  environment.
  – Occurs during both requirements analysis and design
    stage.
  – Two important tools to facilitate data modeling:
     • Entity-relationship diagramming
     • REA data model
THE REA DATA MODEL
• The REA data model was developed specifically
  for use in designing accounting information
  systems.
  – Focuses on business semantics underlying an
    organization’s value chain activities.
  – Provides guidance for:
     • Identifying the entities to be included in a database.
     • Structuring the relationships among the entities.
• REA data models are usually depicted in the
  form of E-R diagrams.
• Therefore, we refer to E-R diagrams developed
  with the REA model as REA diagrams.
THE REA DATA MODEL
• Three basic types of entities
  – The REA data model is so named because it
    classifies entities into three distinct
    categories:
    • Resources that the organization acquires and
      uses.  • Resources are things that have
                economic value to the organization.
THE REA DATA MODEL
• Three basic types of entities
  – The REA data model is so named because it
    classifies entities into three distinct
    categories:
    • Resources that the organization acquires and
      uses.
    • Events in which the organization engages.
             •   These are the various business activities
                 about which management wants to
                 collect information for planning or
                 control purposes.
THE REA DATA MODEL
• Three basic types of entities
  – The REA data model is so named because it
    classifies entities into three distinct
    categories:
    • Resources that the organization acquires and
      uses.
    • Events in which the organization engages
    • Agents participating in these events.
             •   Includes people and organizations who
                 participate in events and about whom
                 information is desired for planning,
                 control, and evaluation purposes.
THE REA DATA MODEL
• Can you identify the resources in this diagram?


 Inventory            Sales             Employee



                                        Customer



   Cash              Receive
                                        Employee
 Accounts             Cash
THE REA DATA MODEL
• Can you identify the resources in this diagram?


 Inventory            Sales              Employee



                                         Customer



   Cash              Receive
                                         Employee
 Accounts             Cash
THE REA DATA MODEL
• Can you identify the events in this diagram?


 Inventory            Sales             Employee



                                        Customer



   Cash              Receive
                                        Employee
 Accounts             Cash
THE REA DATA MODEL
• Can you identify the events in this diagram?


 Inventory            Sales              Employee



                                         Customer



   Cash              Receive
                                         Employee
 Accounts             Cash
THE REA DATA MODEL
• Can you identify the agents in this diagram?


 Inventory            Sales             Employee



                                        Customer



   Cash              Receive
                                        Employee
 Accounts             Cash
THE REA DATA MODEL
• Can you identify the agents in this diagram?


 Inventory            Sales              Employee



                                         Customer



   Cash              Receive
                                         Employee
 Accounts             Cash
THE REA DATA MODEL
• Structuring relationships: The basic
  REA template
  – The REA data model prescribes a basic
    pattern for how the three types of entities
    (resources, events, and agents) should relate
    to one another.
    • Rule 1: Each event is linked to at least one
      resource that it affects.
THE REA DATA MODEL


Resource A   Event A




Resource B   Event B
THE REA DATA MODEL
• Structuring relationships: The basic
  REA template
  – The REA data model prescribes a basic
    pattern for how the three types of entities
    (resources, events, and agents) should relate
    to one another.
    • Rule 1: Each event is linked to at least one
      resource that it affects.
    • Rule 2: Each event is linked to at least one
      other event.
THE REA DATA MODEL


Resource A   Event A




Resource B   Event B
THE REA DATA MODEL
• Structuring relationships: The basic
  REA template
  – The REA data model prescribes a basic
    pattern for how the three types of entities
    (resources, events, and agents) should relate
    to one another.
    • Rule 1: Each event is linked to at least one resource
      that it affects.
    • Rule 2: Each event is linked to at least one other event.
    • Rule 3: Each event is linked to at least two agents.
THE REA DATA MODEL


Resource A   Event A   Agent A



                       Agent B



Resource B   Event B   Agent C
THE REA DATA MODEL
• Let’s take a closer look at each of
  these three rules.
THE REA DATA MODEL
• Rule 1: Every event entity must be linked to
  at least one resource entity.
  – Events must be linked to at least one resource that
    they affect.
     • Some events affect the quantity of a resource:
         – If they increase the quantity of a resource, they are called a
           “get” event.
         – If they decrease the quantity of a resource they are called a
           “give” event.
         – Example: If you purchase inventory for cash:
             » The get event is that you receive inventory.
             » The give event is that you pay cash.
         – Relationships that affect the quantity of a resource are
           sometimes referred to as stockflow relationships.
THE REA DATA MODEL
• Not every event directly alters the quantity of a
  resource.
• If a customer orders goods but has not paid and
  has not received goods, this activity is called a
  commitment event.
   – Organizations track the effects of commitments to
     provide better service and for planning purposes.
THE REA DATA MODEL
• Rule 2: Every event entity must be linked to
  at least one other event entity.
  – Give and get events are linked together in what is
    labeled an economic duality relationship.
  – These relationships reflect the basic business
    principle that organizations engage in activities that
    use up resources in hopes of acquiring other
    resources in exchange.
  – Each accounting cycle can be described in terms of
    give-to-get economic duality relationships.
THE REA DATA MODEL
• The revenue cycle involves interactions
  with your customers.
• You sell goods or services and get cash.



         Give                  Get
      Inventory               Cash
THE REA DATA MODEL
• The expenditure cycle involves
  interactions with your suppliers.
• You buy goods or services and pay cash.



        Give                  Get
        Cash               Inventory
THE REA DATA MODEL
• In the production cycle, raw materials, labor, and
  machinery and equipment time are transformed
  into finished goods.
         Give (Use)
            Raw
         Materials

         Give (Use)               Get Finished
         Employee                    Goods
           Time                    Inventory

         Give (Use)
        Machinery &
        Equipment
THE REA DATA MODEL
• The human resources cycle involves
  interactions with your employees.
• Employees are hired, trained, paid,
  evaluated, promoted, and terminated.

        Give                  Get
        Cash               Employee
                             Time
THE REA DATA MODEL
• The financing cycle involves interactions with
  investors and creditors.
• You raise capital (through stock or debt), repay
  the capital, and pay a return on it (interest or
  dividends).


         Give                       Get
         Cash                      Cash
THE REA DATA MODEL
• Not every relationship between two events
  represents a give-to-get economic duality.
  – Commitment events are linked to other events
    to reflect sequential cause-effect
    relationships.
  – Example:
     • Take customer order (commitment), which leads
        to:
     • Deliver inventory (give event) and receive cash
       (get event).
THE REA DATA MODEL
• Rule 3: Every event entity must be
  linked to at least two participating
  agents.
  – For accountability, organizations need to be
    able to track actions of employees.
  – Also need to monitor the status of
    commitments and exchanges with outside
    parties.
  – Each event links to at least two participating
    agents.
THE REA DATA MODEL
• For events that involve transactions with external
  parties:
  – The internal agent is the employee responsible for the
    affected resource.
  – The external agent is the outside party to the
    transaction.
• For internal events, such as transferring raw
  materials to the production floor:
  – The internal agent is the employee who gives up
    responsibility or custody for the resource.
  – The external agent is the one who receives it.
DEVELOPING AN REA
          DIAGRAM
• To design an REA diagram for an entire
  AIS, one would develop a model for each
  transaction cycle and then integrate the
  separate diagrams into an enterprise-wide
  model.
• In this chapter, we focus on the individual
  transaction cycles.
DEVELOPING AN REA
          DIAGRAM
• Developing an REA diagram for a specific
  transaction cycle consists of three steps:
  – STEP ONE: Identify the events about which
    management wants to collect information.
  – STEP TWO: Identify the resources affected by
    the events and the agents who participated.
  – STEP THREE: Determine the cardinalities
    between the relationships.
• Let’s walk through an example.
DEVELOPING AN REA
          DIAGRAM
• Developing an REA diagram for a specific
  transaction cycle consists of three steps:
  – STEP ONE: Identify the events about which
    management wants to collect information.
  – STEP TWO: Identify the resources affected by
    the events and the agents who participated.
  – STEP THREE: Determine the cardinalities
    between the relationships.
• Let’s walk through an example.
STEP ONE: IDENTIFY RELEVANT
           EVENTS
• At a minimum, every REA model must include
  the two events that represent the basic “give-to-
  get” economic exchange performed in that
  transaction cycle.
• The give event reduces one of the organization’s
  resources.
• The get event increases a resource.
• There are usually other events that management
  is interested in planning, controlling, and
  monitoring. These should be included in the
  model.
STEP ONE: IDENTIFY RELEVANT
           EVENTS
• Example: Typical activities in the revenue
  cycle include:
  – Take customer order
  – Fill customer order
  – Bill customer
  – Collect payment
STEP ONE: IDENTIFY RELEVANT
           EVENTS
• Example: Typical activities in the revenue
  cycle include:          • Taking the customer
  – Take customer order      order does not involve
                             giving or taking a
  – Fill customer order      resource. It is a
                             commitment event.
  – Bill customer
  – Collect payment
STEP ONE: IDENTIFY RELEVANT
           EVENTS
• Example: Typical activities in the revenue
  cycle include:
  – Take customer order   •   Filling the order
                              involves a reduction in
  – Fill customer order       the company’s
  – Bill customer             inventory. It is a give
                              event.
  – Collect payment
STEP ONE: IDENTIFY RELEVANT
           EVENTS
• Example: Typical activities in the revenue
  cycle include:
  – Take customer order
  – Fill customer order
                        •   Billing customers
  – Bill customer           involves the exchange
  – Collect payment         of information with an
                            external party but does
                            not affect resources.
STEP ONE: IDENTIFY RELEVANT
           EVENTS
• Example: Typical activities in the revenue
  cycle include:
  – Take customer order
  – Fill customer order
  – Bill customer
                        • Collecting payment
  – Collect payment       results in an increase in
                             cash. It is a get event.
STEP ONE: IDENTIFY RELEVANT
           EVENTS
• Example: Typical activities in the revenue
  cycle include:
  – Take customer order
                          •   The give-to-get, then, is:
  – Fill customer order        – Fill customer order
  – Bill customer                (often referred to as
                                 “sale”);
  – Collect payment            – Collect cash (often
                                 referred to as “cash
                                 receipt”).
STEP ONE: IDENTIFY RELEVANT
           EVENTS
• Example: Typical activities in the revenue
  cycle include:
  – Take customer order
  – Fill customer order
  – Bill customer       •   Should “take customer
                            order” and “bill
  – Collect payment         customer” be included
                            in the model?
STEP ONE: IDENTIFY RELEVANT
           EVENTS
• Example: Typical activities in the revenue
  cycle include:          • Taking an order requires
  – Take customer order           that we set resources
                                  aside.
  – Fill customer order       •   That information should
                                  be included in our
  – Bill customer                 model.
  – Collect payment
STEP ONE: IDENTIFY RELEVANT
           EVENTS
• Example: Typical activities in the revenue
                       • Printing and mailing
  cycle include:          invoices does not directly
                                affect an economic
   – Take customer order        resource.
   – Fill customer order    •   It does not represent a
                                commitment on the part of
   – Bill customer              the company to a future
                                exchange.
   – Collect payment
                            •   It is an information
                                retrieval event and should
                                not alter the contents of
                                the database.
                            •   Does not need to be
                                included in the model.
STEP ONE: IDENTIFY RELEVANT
           EVENTS
• Although accounts receivable is an asset
  in financial reporting, it is not represented
  as a resource in an REA model.
  – It represents the difference between total
    sales to a customer and total cash collections
    from the customer.
  – The information to calculate an accounts
    receivable balance is already there because
    the sales and cash receipt information is
    captured.
STEP ONE: IDENTIFY RELEVANT
           EVENTS
• Events that pertain to “entering” data or
  “re-packaging” data in some way do not
  appear on the REA model.
  – They are not primarily value-chain activities.
  – What is modeled is the business event and
    the facts management wants to collect about
    the event, not the data entry process.
STEP ONE: IDENTIFY RELEVANT
           EVENTS
• In completing the first step of an REA
  diagram, the event entities are typically
  drawn from top to bottom in the sequence
  in which they normally occur.
STEP ONE: IDENTIFY RELEVANT
           EVENTS
          Take Order




            Sale




           Receive
            Cash
DEVELOPING AN REA
          DIAGRAM
• Developing an REA diagram for a specific
  transaction cycle consists of three steps:
  – STEP ONE: Identify the events about which
    management wants to collect information.
  – STEP TWO: Identify the resources affected
    by the events and the agents who
    participated.
  – STEP THREE: Determine the cardinalities
    between the relationships.
• Let’s walk through an example.
STEP TWO: IDENTIFY
   RESOURCES AND AGENTS
• When the relevant events have been
  diagrammed in the center of the REA
  diagram, the resources that are affected
  by those events need to be identified.
• Involves determining:
  – The resource(s) reduced by the give event.
  – The resource(s) increased by the get event.
  – The resources that are affected by a
    commitment event.
STEP TWO: IDENTIFY
RESOURCES AND AGENTS
       Take Order

                    •   What is the
                        give event?


         Sale




        Receive
         Cash
STEP TWO: IDENTIFY
RESOURCES AND AGENTS
       Take Order

                    •   What is the
                        give event?


         Sale




        Receive
         Cash
STEP TWO: IDENTIFY
   RESOURCES AND AGENTS
            Take Order

                         •   What resource
Inventory                    is reduced by
                             the give event?

              Sale




             Receive
              Cash
STEP TWO: IDENTIFY
   RESOURCES AND AGENTS
            Take Order

                         •   What is the get
Inventory                    event?


              Sale




             Receive
              Cash
STEP TWO: IDENTIFY
   RESOURCES AND AGENTS
            Take Order

                         •   What is the get
Inventory                    event?


              Sale




             Receive
              Cash
STEP TWO: IDENTIFY
   RESOURCES AND AGENTS
            Take Order


Inventory


              Sale
                         •   What resource
                             is increased by
                             the get event?

             Receive
  Cash
              Cash
STEP TWO: IDENTIFY
   RESOURCES AND AGENTS
            Take Order


Inventory


              Sale
                         •   Is there a
                             commitment
                             event?

             Receive
  Cash
              Cash
STEP TWO: IDENTIFY
   RESOURCES AND AGENTS
            Take Order


Inventory


              Sale
                         •   Is there a
                             commitment
                             event?

             Receive
  Cash
              Cash
STEP TWO: IDENTIFY
   RESOURCES AND AGENTS
            Take Order


Inventory


              Sale
                         •   What resource
                             is affected by
                             the
                             commitment
             Receive         event?
  Cash
              Cash
STEP TWO: IDENTIFY
   RESOURCES AND AGENTS
• The agents who participate in each event
  should also be identified.
  – There will always be at least one internal
    agent (employee).
  – In most cases, there will also be an external
    agent (e.g., customer or supplier) who
    participates.
STEP TWO: IDENTIFY
   RESOURCES AND AGENTS
                   • What agents
                          are involved in
                          the sale?
             Take Order


Inventory
                              Customer

               Sale

                             Employee


              Receive
  Cash
               Cash
STEP TWO: IDENTIFY
   RESOURCES AND AGENTS
                   • What agents
                          are involved in
                          the receipt of
             Take Order   cash?


Inventory
                              Customer

               Sale

                             Employee


              Receive
  Cash                        Customer
               Cash
STEP TWO: IDENTIFY
•      RESOURCES AND AGENTS
    What agents
    are involved in
    taking the
    order?       Take Order   Employee


    Inventory
                              Customer

                   Sale

                              Employee


                  Receive
      Cash                    Customer
                   Cash
DEVELOPING AN REA
          DIAGRAM
• Developing an REA diagram for a specific
  transaction cycle consists of three steps:
  – STEP ONE: Identify the events about which
    management wants to collect information.
  – STEP TWO: Identify the resources affected by
    the events and the agents who participated.
  – STEP THREE: Determine the cardinalities
    between the relationships.
• Let’s walk through an example.
STEP THREE: DETERMINE
        CARDINALITIES OF
         RELATIONSHIPS
• The final step in an REA diagram for a
  transaction cycle is to add information about the
  relationship cardinalities.
• A cardinality describes the nature of the
  relationship between two entities.
  – It indicates how many instances of one entity can be
    linked to a specific instance of another entity.
  – For example, the cardinality between the event Sales
    and the agent Customer answers the question:
     • For each sale a company makes, how many customers are
       associated with that sale?
STEP THREE: DETERMINE
       CARDINALITIES OF
        RELATIONSHIPS
• Unfortunately, there is no universal
  standard for diagramming cardinalities.
• In this text, we adopt the graphical “crow’s
  feet” notation style because:
  – It is becoming increasingly popular.
  – It is used by many software design tools.
STEP THREE: DETERMINE
       CARDINALITIES OF
        RELATIONSHIPS
• Using the crow’s feet notation:
  – The symbol for zero is a circle: O
STEP THREE: DETERMINE
       CARDINALITIES OF
        RELATIONSHIPS
• Using the crow’s feet notation:
  – The symbol for zero is a circle: O
  – The symbol for one is a single stroke: |
STEP THREE: DETERMINE
       CARDINALITIES OF
        RELATIONSHIPS
• Using the crow’s feet notation:
  – The symbol for zero is a circle: O
  – The symbol for one is a single stroke: |
  – The symbol for many is the crow’s foot:
STEP THREE: DETERMINE
   CARDINALITIES OF
    RELATIONSHIPS


 Sale                                    Customer


        •   There is typically a minimum and
            maximum cardinality for each entity
            participating in a relationship.
STEP THREE: DETERMINE
   CARDINALITIES OF
    RELATIONSHIPS


 Sale                                    Customer


        •   The minimum cardinality can be
            either zero or one.
        •   The symbols for the minimum
            cardinalities are shown above in
            red.
STEP THREE: DETERMINE
   CARDINALITIES OF
    RELATIONSHIPS


 Sale                                    Customer


        •   The minimum cardinality symbol
            next to customer is the symbol for
            one.
        •   This symbol means that for every
            occurrence of a sale, there must be
            a minimum of one customer
            involved.
STEP THREE: DETERMINE
       CARDINALITIES OF
        RELATIONSHIPS


     Sale                                  Customer


•   The minimum cardinality symbol next to sale is the
    symbol for zero.
•   This symbol means that for every customer in the
    database, there must be a minimum of zero sales. This
    minimum of zero allows the company to add a customer
    to its database before any sales have been made to that
    customer, i.e., a prospective customer can be included.
STEP THREE: DETERMINE
   CARDINALITIES OF
    RELATIONSHIPS


 Sale                                    Customer


        •   The maximum cardinality can be
            either one or N (many).
        •   The symbols for the maximum
            cardinalities are shown above in
            red.
STEP THREE: DETERMINE
   CARDINALITIES OF
    RELATIONSHIPS


 Sale                                    Customer


        •   The maximum cardinality symbol
            next to customer is the symbol for
            one.
        •   This symbol means that for every
            occurrence of a sale, there can be
            no more than one customer
            involved.
STEP THREE: DETERMINE
       CARDINALITIES OF
        RELATIONSHIPS


     Sale                                 Customer


•   The maximum cardinality symbol next to sale is the
    symbol for many.
•   This symbol means that for every customer in the
    database, there can be many sales involved. Obviously,
    a company can make multiple sales to an individual
    customer.
STEP THREE: DETERMINE
       CARDINALITIES OF
        RELATIONSHIPS
• Three types of relationships
  – Three types of relationships are possible between
    entities.
  – Relationships depend on the maximum cardinality on
    each side of a relationship.
     • A one-to-one relationship (1:1) exists when the maximum
       cardinality for each entity in the relationship is one.
STEP THREE: DETERMINE
   CARDINALITIES OF
    RELATIONSHIPS
       Take Order

                    •   Both maximums
                        are one, so this is
                        a one-to-one
                        relationship.


         Sale
STEP THREE: DETERMINE
       CARDINALITIES OF
        RELATIONSHIPS
• Three types of relationships
  – Three types of relationships are possible between
    entities.
  – Relationships depend on the maximum cardinality on
    each side of a relationship.
     • A one-to-one relationship (1:1) exists when the maximum
       cardinality for each entity in the relationship is one.
     • A one-to-many (1:N) relationship exists when the
       maximum cardinality on one side is one and the
       maximum on the other side is many.
STEP THREE: DETERMINE
       CARDINALITIES OF
        RELATIONSHIPS


     Sale                                Customer


•   The maximum number of customers that can be
    involved in each sale is one.
•   The maximum number of sales that can be associated
    with any individual customer is many.
•   This is a one-to-many (1:N) relationship.
STEP THREE: DETERMINE
       CARDINALITIES OF
        RELATIONSHIPS
• Three types of relationships
  – Three types of relationships are possible between
    entities.
  – Relationships depend on the maximum cardinality on
    each side of a relationship.
     • A one-to-one relationship (1:1) exists when the maximum
       cardinality for each entity in the relationship is one.
     • A one-to-many (1:N) relationship exists when the maximum
       cardinality on one side is one and the maximum on the other
       side is many.
     • A many-to-many (M:N) relationship exists when the
       maximum on both sides is many.
STEP THREE: DETERMINE
       CARDINALITIES OF
        RELATIONSHIPS


Inventory                                   Sale


•   The maximum number of inventory items that can be
    sold in one sale is many.
•   The maximum number of sales that can occur for a
    particular inventory item is many.
•   This is a many-to-many (M:N) relationship.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

• It is not a “one size fits all” world for
  relationships and cardinalities. The
  cardinalities between two entities can vary
  based on how the particular company
  does business.
• Let’s look at some examples.
STEP THREE: DETERMINE
   CARDINALITIES OF
    RELATIONSHIPSCustomers pay
                 •
            Sale         for each sale with
                         a maximum of
                         one payment
                         (typical for retail
                         stores).
                     •   Each cash receipt
                         from a customer
            Cash         relates to one
           Receipt       (and only one)
                         sale.
                     •   The relationship
                         between sales
                         and cash receipts
                         is 1:1.
STEP THREE: DETERMINE
   CARDINALITIES OF
    RELATIONSHIPSCustomers pay
                 •
            Sale         for each sale with
                         a maximum of
                         many payments
                         (installments).
                     •   Each cash receipt
                         from a customer
                         relates to one
            Cash         (and only one)
           Receipt       sale.
                     •   The relationship
                         between sales
                         and cash receipts
                         is 1:N.
STEP THREE: DETERMINE
   CARDINALITIES OF
    RELATIONSHIPSCustomers make
                 •
            Sale         only one payment
                         for a sale.
                     •   Each cash receipt
                         from a customer
                         can relate to
                         multiple sales
                         (e.g., they pay for
            Cash         all sales that
           Receipt       month in one
                         payment).
                     •   The relationship
                         between sales
                         and cash receipts
                         is 1:N.
STEP THREE: DETERMINE
   CARDINALITIES OF
    RELATIONSHIPSCustomers may
                 •
            Sale         make multiple
                         payments for a
                         particular sale.
                     •   A cash receipt
                         from a customer
                         may relate to
                         more than one
            Cash         sale.
           Receipt   •   The relationship
                         between sales
                         and cash receipts
                         is M:N.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

• In other words, the choice of cardinalities
  is not arbitrary.
• It reflects facts about the organization that
  are obtained during the requirements
  definition stage of the database design
  process.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

• Now let’s go back to the REA diagram for
  the revenue cycle and see if we can
  complete the cardinalities.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

            Take Order   Employee


Inventory
                         Customer

              Sale

                         Employee


             Receive
  Cash                   Customer
              Cash
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS
• In relationships between events and
  agents:
  – For each event that occurs, the cardinality
    between event and agent is typically (1:1).
  – Example: When a sale occurs:
    • There is usually one and only one customer.
    • There is usually one and only one salesperson.
      This practice makes it more feasible for the
      organization to establish employee accountability
      for the event.
STEPa THREE: DETERMINE
• Can you think of
 CARDINALITIES OF RELATIONSHIPS
  scenario in which the
 cardinality between
 event and agent might
 not be (1:1)?           Take Order   Employee


 Inventory
                                      Customer

                           Sale

                                      Employee


                          Receive
   Cash                               Customer
                           Cash
STEP THREE: DETERMINE
• How many employees
 CARDINALITIES OF RELATIONSHIPS
  would be involved in a
 “take order” event if
 the customer placed
 the order online?       Take Order   Employee


 Inventory
                                      Customer

                           Sale

                                      Employee


                          Receive
    Cash                              Customer
                           Cash
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS
• For each agent the cardinality between agent
  and event is typically (0:N).
  – Example: For a particular salesperson:
     • There is typically a minimum of zero sales (allows for
       inclusion of a new salesperson who has not yet made any
       sales).
     • A salesperson can have a maximum of many sales.
  – Or: For a particular customer:
     • There is typically a minimum of zero sales (to allow for the
       inclusion of prospective customers who haven’t bought
       anything yet) and a maximum of many sales.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

            Take Order   Employee


Inventory
                         Customer

              Sale

                         Employee


             Receive
  Cash                   Customer
              Cash
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

• Let’s now look at the relationship between
  events and resources.
  – In the cardinality between event and resource,
    the minimum cardinality is typically one,
    because an event can’t occur without
    affecting at least one resource.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

            Take Order   Employee


Inventory
                         Customer

              Sale

                         Employee


             Receive
  Cash                   Customer
              Cash
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS
• The maximum could be one or zero.
  – In this particular story, each sale can involve
    many items of inventory, so the maximum is
    many.
  – However, every receipt of cash is deposited to
    one and only one cash account, so the
    maximum there is one.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

            Take Order   Employee


Inventory
                         Customer

              Sale

                         Employee


             Receive
  Cash                   Customer
              Cash
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

• In the cardinality between event and
  resource, the minimum is typically zero.
  – A company can have an inventory item for
    which there has never been a sale.
  – When the company’s cash account is new,
    there has never been a cash receipt
    deposited in it.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

            Take Order   Employee


Inventory
                         Customer

              Sale

                         Employee


             Receive
  Cash                   Customer
              Cash
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS
• In the cardinality between event and
  resource, the maximum is typically many.
  – Most inventory items can be sold many times.
    (An exception might occur if each inventory
    item is one unique item, such as a piece of
    real estate.)
  – The company’s cash account can have many
    cash receipts.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

            Take Order   Employee


Inventory
                         Customer

              Sale

                         Employee


             Receive
  Cash                   Customer
              Cash
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS
• Finally, let’s look at the relationships between events.
• When events occur in a sequence, the minimum
  cardinality between the first event and the second event
  is always zero, because there is a span of time (although
  possibly quite short) when the first event has occurred
  but there are zero occurrences of the second event.
• Examples:
   – When an order is first taken, there have been no deliveries of
     goods (sale event) to the customer.
   – When goods are delivered to the customer, there is a span of
     time, however brief, in which there is no cash receipt from the
     customer.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

            Take Order   Employee


Inventory
                         Customer

              Sale

                         Employee


             Receive
  Cash                   Customer
              Cash
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS
• The minimum cardinality between the
  second event and the first event is
  typically one, because the second event
  can’t occur without the first event having
  occurred.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS
            Take Order   Employee


Inventory
                         Customer

              Sale

                         Employee


             Receive
  Cash                   Customer
              Cash
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS
• An exception could occur if the first event
  is not required for the second event to
  occur.
• Example: If a sale can be made without
  first taking an order, then the minimum
  cardinality between sale and take order
  could be zero.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS
• The maximums in the cardinalities between
  events can be either one or many, and these
  maximums vary based on business practices.
• We saw this when we looked at the four different
  possibilities for the relationships between sales
  and cash receipts previously.
• On the following slides, see if you can explain
  the maximums between the three events.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

            Take Order   Employee


Inventory
                         Customer

              Sale

                         Employee


             Receive
  Cash                   Customer
              Cash
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS
• Uniqueness of REA diagrams
  – Each organization will have its own unique
    REA diagram.
    • Business practices differ across companies, so
      cardinalities and relationships will differ.
    • A given organization can change business
      practices, leading to a change in its REA diagram:
       – A change in practice could cause a change in
         cardinalities.
       – Could even lead to the inclusion of different entities on
         the diagram.
STEP THREE: DETERMINE
CARDINALITIES OF RELATIONSHIPS

• Data modeling can be complex and
  repetitive.
  – Data modelers must discuss their drafts of
    models with intended users to ensure that:
    • Key dimensions are not omitted or misunderstood.
    • Terminology is consistent.
SUMMARY
• In this chapter, you’ve learned about the steps to
  follow in designing and implementing a database
  system.
• You’ve learned how the REA data model is used
  to design an AIS database and how an entity-
  relationship diagram of an AIS database is
  drawn.
• You’ve also learned how to read REA diagrams
  and what they reveal about the activities and
  policies of the organization being modeled.

More Related Content

What's hot

Dimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM Solution
Dimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM SolutionDimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM Solution
Dimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM SolutionInnovusPartners
 
Business Intelligence: Data Warehouses
Business Intelligence: Data WarehousesBusiness Intelligence: Data Warehouses
Business Intelligence: Data WarehousesMichael Lamont
 
Mis405 1301 a-01 ph 3 gp final draft for grading
Mis405 1301 a-01 ph 3 gp final draft for gradingMis405 1301 a-01 ph 3 gp final draft for grading
Mis405 1301 a-01 ph 3 gp final draft for gradingSabrina Mergenthaler
 
Hyperion financial management: Application design for performance
Hyperion financial management: Application design for performanceHyperion financial management: Application design for performance
Hyperion financial management: Application design for performanceAlithya
 
Oracle Hyperion and Planning Public Sector Budgeting
Oracle Hyperion and Planning Public Sector BudgetingOracle Hyperion and Planning Public Sector Budgeting
Oracle Hyperion and Planning Public Sector BudgetingIssam Hejazin
 
Oracle Hyperion Planning Best Practices
Oracle Hyperion Planning Best PracticesOracle Hyperion Planning Best Practices
Oracle Hyperion Planning Best PracticesIssam Hejazin
 
Business Intelligence Data Warehouse System
Business Intelligence Data Warehouse SystemBusiness Intelligence Data Warehouse System
Business Intelligence Data Warehouse SystemKiran kumar
 
Business Intelligence - A Management Perspective
Business Intelligence - A Management PerspectiveBusiness Intelligence - A Management Perspective
Business Intelligence - A Management Perspectivevinaya.hs
 
Bi ppt version 3.6.2
Bi ppt version 3.6.2Bi ppt version 3.6.2
Bi ppt version 3.6.2p_SarafiGohar
 
Oracle strategic workforce planning cloud (hcmswp)
Oracle strategic workforce planning cloud (hcmswp)Oracle strategic workforce planning cloud (hcmswp)
Oracle strategic workforce planning cloud (hcmswp)Rati Sharma
 
BI Masterclass slides (Reference Architecture v3)
BI Masterclass slides (Reference Architecture v3)BI Masterclass slides (Reference Architecture v3)
BI Masterclass slides (Reference Architecture v3)Syaifuddin Ismail
 

What's hot (18)

Oracle hyperion financial management
Oracle hyperion financial managementOracle hyperion financial management
Oracle hyperion financial management
 
Data warehousing
Data warehousingData warehousing
Data warehousing
 
Dimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM Solution
Dimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM SolutionDimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM Solution
Dimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM Solution
 
Business Intelligence: Data Warehouses
Business Intelligence: Data WarehousesBusiness Intelligence: Data Warehouses
Business Intelligence: Data Warehouses
 
Mis405 1301 a-01 ph 3 gp final draft for grading
Mis405 1301 a-01 ph 3 gp final draft for gradingMis405 1301 a-01 ph 3 gp final draft for grading
Mis405 1301 a-01 ph 3 gp final draft for grading
 
Hyperion financial management: Application design for performance
Hyperion financial management: Application design for performanceHyperion financial management: Application design for performance
Hyperion financial management: Application design for performance
 
Bi concepts
Bi conceptsBi concepts
Bi concepts
 
Journal web
Journal webJournal web
Journal web
 
Oracle Hyperion and Planning Public Sector Budgeting
Oracle Hyperion and Planning Public Sector BudgetingOracle Hyperion and Planning Public Sector Budgeting
Oracle Hyperion and Planning Public Sector Budgeting
 
Business analysis
Business analysisBusiness analysis
Business analysis
 
Database 2 External Schema
Database 2   External SchemaDatabase 2   External Schema
Database 2 External Schema
 
Oracle Hyperion Planning Best Practices
Oracle Hyperion Planning Best PracticesOracle Hyperion Planning Best Practices
Oracle Hyperion Planning Best Practices
 
Business Intelligence Data Warehouse System
Business Intelligence Data Warehouse SystemBusiness Intelligence Data Warehouse System
Business Intelligence Data Warehouse System
 
Business Intelligence - A Management Perspective
Business Intelligence - A Management PerspectiveBusiness Intelligence - A Management Perspective
Business Intelligence - A Management Perspective
 
Bi ppt version 3.6.2
Bi ppt version 3.6.2Bi ppt version 3.6.2
Bi ppt version 3.6.2
 
Oracle strategic workforce planning cloud (hcmswp)
Oracle strategic workforce planning cloud (hcmswp)Oracle strategic workforce planning cloud (hcmswp)
Oracle strategic workforce planning cloud (hcmswp)
 
Erp glossary appendixe
Erp glossary appendixeErp glossary appendixe
Erp glossary appendixe
 
BI Masterclass slides (Reference Architecture v3)
BI Masterclass slides (Reference Architecture v3)BI Masterclass slides (Reference Architecture v3)
BI Masterclass slides (Reference Architecture v3)
 

Viewers also liked

Ais Romney 2006 Slides 16 Implementing An Rea
Ais Romney 2006 Slides 16 Implementing An ReaAis Romney 2006 Slides 16 Implementing An Rea
Ais Romney 2006 Slides 16 Implementing An Reasharing notes123
 
Ais Romney 2006 Slides 15 Database Design Using The Rea
Ais Romney 2006 Slides 15 Database Design Using The ReaAis Romney 2006 Slides 15 Database Design Using The Rea
Ais Romney 2006 Slides 15 Database Design Using The Reasharing notes123
 
Lecture 6 evolution of ais chapter 1 jamed a hall
Lecture 6  evolution of  ais  chapter 1 jamed a hallLecture 6  evolution of  ais  chapter 1 jamed a hall
Lecture 6 evolution of ais chapter 1 jamed a hallHabib Ullah Qamar
 
The REA-invention of Double Entry Bookkeeping - Moving Accounting Back to the...
The REA-invention of Double Entry Bookkeeping - Moving Accounting Back to the...The REA-invention of Double Entry Bookkeeping - Moving Accounting Back to the...
The REA-invention of Double Entry Bookkeeping - Moving Accounting Back to the...CONFENIS 2012
 
Accounting information sysytem @ DOMS
Accounting information sysytem @ DOMS Accounting information sysytem @ DOMS
Accounting information sysytem @ DOMS Babasab Patil
 
How to read a data model
How to read a data modelHow to read a data model
How to read a data modelsanksh
 
Steve Blank’s Petal Diagram vs. Rod King’s Value Engine Map: Visual Tools for...
Steve Blank’s Petal Diagram vs. Rod King’s Value Engine Map: Visual Tools for...Steve Blank’s Petal Diagram vs. Rod King’s Value Engine Map: Visual Tools for...
Steve Blank’s Petal Diagram vs. Rod King’s Value Engine Map: Visual Tools for...Rod King, Ph.D.
 
Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)tameemyousaf
 
Smartphone industry samsung market analysis
Smartphone industry samsung market analysisSmartphone industry samsung market analysis
Smartphone industry samsung market analysisTaylor Pickering
 

Viewers also liked (15)

Ais Romney 2006 Slides 16 Implementing An Rea
Ais Romney 2006 Slides 16 Implementing An ReaAis Romney 2006 Slides 16 Implementing An Rea
Ais Romney 2006 Slides 16 Implementing An Rea
 
James hall ch 10
James hall ch 10James hall ch 10
James hall ch 10
 
James hall ch 9
James hall ch 9James hall ch 9
James hall ch 9
 
Ais Romney 2006 Slides 15 Database Design Using The Rea
Ais Romney 2006 Slides 15 Database Design Using The ReaAis Romney 2006 Slides 15 Database Design Using The Rea
Ais Romney 2006 Slides 15 Database Design Using The Rea
 
Lecture 6 evolution of ais chapter 1 jamed a hall
Lecture 6  evolution of  ais  chapter 1 jamed a hallLecture 6  evolution of  ais  chapter 1 jamed a hall
Lecture 6 evolution of ais chapter 1 jamed a hall
 
ME2011 presentation by Zikra
ME2011 presentation by ZikraME2011 presentation by Zikra
ME2011 presentation by Zikra
 
Sppt chap008
Sppt chap008Sppt chap008
Sppt chap008
 
The REA-invention of Double Entry Bookkeeping - Moving Accounting Back to the...
The REA-invention of Double Entry Bookkeeping - Moving Accounting Back to the...The REA-invention of Double Entry Bookkeeping - Moving Accounting Back to the...
The REA-invention of Double Entry Bookkeeping - Moving Accounting Back to the...
 
Accounting information sysytem @ DOMS
Accounting information sysytem @ DOMS Accounting information sysytem @ DOMS
Accounting information sysytem @ DOMS
 
James hall ch 8
James hall ch 8James hall ch 8
James hall ch 8
 
How to read a data model
How to read a data modelHow to read a data model
How to read a data model
 
Steve Blank’s Petal Diagram vs. Rod King’s Value Engine Map: Visual Tools for...
Steve Blank’s Petal Diagram vs. Rod King’s Value Engine Map: Visual Tools for...Steve Blank’s Petal Diagram vs. Rod King’s Value Engine Map: Visual Tools for...
Steve Blank’s Petal Diagram vs. Rod King’s Value Engine Map: Visual Tools for...
 
Erd practice exercises
Erd practice exercisesErd practice exercises
Erd practice exercises
 
Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
 
Smartphone industry samsung market analysis
Smartphone industry samsung market analysisSmartphone industry samsung market analysis
Smartphone industry samsung market analysis
 

Similar to Plugin rea-romney

Ashley Ohmann--Data Governance Final 011315
Ashley Ohmann--Data Governance Final 011315Ashley Ohmann--Data Governance Final 011315
Ashley Ohmann--Data Governance Final 011315Ashley Ohmann
 
Automating Business Insights on AWS,
Automating Business Insights on AWS, Automating Business Insights on AWS,
Automating Business Insights on AWS, Amazon Web Services
 
Data Governance That Drives the Bottom Line
Data Governance That Drives the Bottom LineData Governance That Drives the Bottom Line
Data Governance That Drives the Bottom LinePrecisely
 
Business intelligence systems
Business intelligence systemsBusiness intelligence systems
Business intelligence systemsUMaine
 
Auxilium Advanced Analytics Brochure 2019
Auxilium Advanced Analytics Brochure 2019Auxilium Advanced Analytics Brochure 2019
Auxilium Advanced Analytics Brochure 2019Michael Van Luven
 
countingChickens-HerdingCats-2015
countingChickens-HerdingCats-2015countingChickens-HerdingCats-2015
countingChickens-HerdingCats-2015Richard Scrivener
 
SQL Saturday STL 2016 Presentation
SQL Saturday STL 2016 PresentationSQL Saturday STL 2016 Presentation
SQL Saturday STL 2016 PresentationMatthew W. Bowers
 
The final frontier v3
The final frontier v3The final frontier v3
The final frontier v3Terry Bunio
 
Dimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM Solution
Dimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM SolutionDimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM Solution
Dimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM SolutionInnovusPartners
 
Strategy Basecamp's IT Diagnostic - Six Steps to Improving Your Technology
Strategy Basecamp's IT Diagnostic - Six Steps to Improving Your TechnologyStrategy Basecamp's IT Diagnostic - Six Steps to Improving Your Technology
Strategy Basecamp's IT Diagnostic - Six Steps to Improving Your TechnologyPaul Osterberg
 

Similar to Plugin rea-romney (20)

REA.pptx
REA.pptxREA.pptx
REA.pptx
 
CHAPTER 18.pptx
CHAPTER 18.pptxCHAPTER 18.pptx
CHAPTER 18.pptx
 
Deliver Business Change and Realize Results
Deliver Business Change and Realize ResultsDeliver Business Change and Realize Results
Deliver Business Change and Realize Results
 
Ashley Ohmann--Data Governance Final 011315
Ashley Ohmann--Data Governance Final 011315Ashley Ohmann--Data Governance Final 011315
Ashley Ohmann--Data Governance Final 011315
 
Erp and related technologies
Erp and related technologiesErp and related technologies
Erp and related technologies
 
Automating Business Insights on AWS,
Automating Business Insights on AWS, Automating Business Insights on AWS,
Automating Business Insights on AWS,
 
Data Governance That Drives the Bottom Line
Data Governance That Drives the Bottom LineData Governance That Drives the Bottom Line
Data Governance That Drives the Bottom Line
 
Business intelligence systems
Business intelligence systemsBusiness intelligence systems
Business intelligence systems
 
Auxilium Advanced Analytics Brochure 2019
Auxilium Advanced Analytics Brochure 2019Auxilium Advanced Analytics Brochure 2019
Auxilium Advanced Analytics Brochure 2019
 
Finance NI Nividh
Finance NI NividhFinance NI Nividh
Finance NI Nividh
 
Finance Bi Nividh
Finance Bi NividhFinance Bi Nividh
Finance Bi Nividh
 
countingChickens-HerdingCats-2015
countingChickens-HerdingCats-2015countingChickens-HerdingCats-2015
countingChickens-HerdingCats-2015
 
SQL Saturday STL 2016 Presentation
SQL Saturday STL 2016 PresentationSQL Saturday STL 2016 Presentation
SQL Saturday STL 2016 Presentation
 
Data Analytics course.pptx
Data Analytics course.pptxData Analytics course.pptx
Data Analytics course.pptx
 
Architect Business Change
Architect Business ChangeArchitect Business Change
Architect Business Change
 
#ImpactSalesforceSaturday: All about Data Preparation
#ImpactSalesforceSaturday: All about Data Preparation#ImpactSalesforceSaturday: All about Data Preparation
#ImpactSalesforceSaturday: All about Data Preparation
 
The final frontier v3
The final frontier v3The final frontier v3
The final frontier v3
 
Dimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM Solution
Dimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM SolutionDimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM Solution
Dimension Decisions: A Guide to Defining Dimensions for Your Oracle EPM Solution
 
Data mining wrhousing-lec
Data mining wrhousing-lecData mining wrhousing-lec
Data mining wrhousing-lec
 
Strategy Basecamp's IT Diagnostic - Six Steps to Improving Your Technology
Strategy Basecamp's IT Diagnostic - Six Steps to Improving Your TechnologyStrategy Basecamp's IT Diagnostic - Six Steps to Improving Your Technology
Strategy Basecamp's IT Diagnostic - Six Steps to Improving Your Technology
 

More from donasiilmu

More from donasiilmu (20)

Penjelasan strukturdata
Penjelasan strukturdataPenjelasan strukturdata
Penjelasan strukturdata
 
Isi
IsiIsi
Isi
 
Dftr isi
Dftr isiDftr isi
Dftr isi
 
Pengantar
PengantarPengantar
Pengantar
 
9 materisim komputer
9 materisim komputer9 materisim komputer
9 materisim komputer
 
Interaksi manusia dan komputer
Interaksi manusia dan komputerInteraksi manusia dan komputer
Interaksi manusia dan komputer
 
Makalah jaringan-komputer2
Makalah jaringan-komputer2Makalah jaringan-komputer2
Makalah jaringan-komputer2
 
Makalah jaringan-komputer2
Makalah jaringan-komputer2Makalah jaringan-komputer2
Makalah jaringan-komputer2
 
Apsi
ApsiApsi
Apsi
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
Erd
ErdErd
Erd
 
Norma lisasi
Norma lisasiNorma lisasi
Norma lisasi
 
Pertemuan4
Pertemuan4Pertemuan4
Pertemuan4
 
Pertemuan5
Pertemuan5Pertemuan5
Pertemuan5
 
Pertemuan6
Pertemuan6Pertemuan6
Pertemuan6
 
Pertemuan7
Pertemuan7Pertemuan7
Pertemuan7
 
Pertemuan9
Pertemuan9Pertemuan9
Pertemuan9
 
Pertemuan10
Pertemuan10Pertemuan10
Pertemuan10
 
Pertemuan10
Pertemuan10Pertemuan10
Pertemuan10
 
Pertemuan11
Pertemuan11Pertemuan11
Pertemuan11
 

Recently uploaded

Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 

Recently uploaded (20)

Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 

Plugin rea-romney

  • 1.
  • 2. Traditional Approaches: User-View Orientation • When data-modeling and IS design is too oriented toward the user’s views, problems arise: – multiple information systems – duplication of data – restricted user-view leads to poor decision- making – inability to support change
  • 3. Resources, Events, and Agents Model • REA is an approach to database design meant to overcome problems with traditional approaches: – formalized data modeling and design of IS – use of centralized database – use of relational database structure – collects detailed financial and non-financial data – supports accounting and non-accounting analysis – supports multiple user views – supports enterprise-wide planning
  • 4. INTRODUCTION • Accountants may provide the greatest value by taking responsibility for data modeling—the process of defining a database to faithfully represent all aspects of the organization, including interactions with the external environment. – Occurs during both requirements analysis and design stage. – Two important tools to facilitate data modeling: • Entity-relationship diagramming • REA data model
  • 5. THE REA DATA MODEL • The REA data model was developed specifically for use in designing accounting information systems. – Focuses on business semantics underlying an organization’s value chain activities. – Provides guidance for: • Identifying the entities to be included in a database. • Structuring the relationships among the entities. • REA data models are usually depicted in the form of E-R diagrams. • Therefore, we refer to E-R diagrams developed with the REA model as REA diagrams.
  • 6. THE REA DATA MODEL • Three basic types of entities – The REA data model is so named because it classifies entities into three distinct categories: • Resources that the organization acquires and uses. • Resources are things that have economic value to the organization.
  • 7. THE REA DATA MODEL • Three basic types of entities – The REA data model is so named because it classifies entities into three distinct categories: • Resources that the organization acquires and uses. • Events in which the organization engages. • These are the various business activities about which management wants to collect information for planning or control purposes.
  • 8. THE REA DATA MODEL • Three basic types of entities – The REA data model is so named because it classifies entities into three distinct categories: • Resources that the organization acquires and uses. • Events in which the organization engages • Agents participating in these events. • Includes people and organizations who participate in events and about whom information is desired for planning, control, and evaluation purposes.
  • 9. THE REA DATA MODEL • Can you identify the resources in this diagram? Inventory Sales Employee Customer Cash Receive Employee Accounts Cash
  • 10. THE REA DATA MODEL • Can you identify the resources in this diagram? Inventory Sales Employee Customer Cash Receive Employee Accounts Cash
  • 11. THE REA DATA MODEL • Can you identify the events in this diagram? Inventory Sales Employee Customer Cash Receive Employee Accounts Cash
  • 12. THE REA DATA MODEL • Can you identify the events in this diagram? Inventory Sales Employee Customer Cash Receive Employee Accounts Cash
  • 13. THE REA DATA MODEL • Can you identify the agents in this diagram? Inventory Sales Employee Customer Cash Receive Employee Accounts Cash
  • 14. THE REA DATA MODEL • Can you identify the agents in this diagram? Inventory Sales Employee Customer Cash Receive Employee Accounts Cash
  • 15. THE REA DATA MODEL • Structuring relationships: The basic REA template – The REA data model prescribes a basic pattern for how the three types of entities (resources, events, and agents) should relate to one another. • Rule 1: Each event is linked to at least one resource that it affects.
  • 16. THE REA DATA MODEL Resource A Event A Resource B Event B
  • 17. THE REA DATA MODEL • Structuring relationships: The basic REA template – The REA data model prescribes a basic pattern for how the three types of entities (resources, events, and agents) should relate to one another. • Rule 1: Each event is linked to at least one resource that it affects. • Rule 2: Each event is linked to at least one other event.
  • 18. THE REA DATA MODEL Resource A Event A Resource B Event B
  • 19. THE REA DATA MODEL • Structuring relationships: The basic REA template – The REA data model prescribes a basic pattern for how the three types of entities (resources, events, and agents) should relate to one another. • Rule 1: Each event is linked to at least one resource that it affects. • Rule 2: Each event is linked to at least one other event. • Rule 3: Each event is linked to at least two agents.
  • 20. THE REA DATA MODEL Resource A Event A Agent A Agent B Resource B Event B Agent C
  • 21. THE REA DATA MODEL • Let’s take a closer look at each of these three rules.
  • 22. THE REA DATA MODEL • Rule 1: Every event entity must be linked to at least one resource entity. – Events must be linked to at least one resource that they affect. • Some events affect the quantity of a resource: – If they increase the quantity of a resource, they are called a “get” event. – If they decrease the quantity of a resource they are called a “give” event. – Example: If you purchase inventory for cash: » The get event is that you receive inventory. » The give event is that you pay cash. – Relationships that affect the quantity of a resource are sometimes referred to as stockflow relationships.
  • 23. THE REA DATA MODEL • Not every event directly alters the quantity of a resource. • If a customer orders goods but has not paid and has not received goods, this activity is called a commitment event. – Organizations track the effects of commitments to provide better service and for planning purposes.
  • 24. THE REA DATA MODEL • Rule 2: Every event entity must be linked to at least one other event entity. – Give and get events are linked together in what is labeled an economic duality relationship. – These relationships reflect the basic business principle that organizations engage in activities that use up resources in hopes of acquiring other resources in exchange. – Each accounting cycle can be described in terms of give-to-get economic duality relationships.
  • 25. THE REA DATA MODEL • The revenue cycle involves interactions with your customers. • You sell goods or services and get cash. Give Get Inventory Cash
  • 26. THE REA DATA MODEL • The expenditure cycle involves interactions with your suppliers. • You buy goods or services and pay cash. Give Get Cash Inventory
  • 27. THE REA DATA MODEL • In the production cycle, raw materials, labor, and machinery and equipment time are transformed into finished goods. Give (Use) Raw Materials Give (Use) Get Finished Employee Goods Time Inventory Give (Use) Machinery & Equipment
  • 28. THE REA DATA MODEL • The human resources cycle involves interactions with your employees. • Employees are hired, trained, paid, evaluated, promoted, and terminated. Give Get Cash Employee Time
  • 29. THE REA DATA MODEL • The financing cycle involves interactions with investors and creditors. • You raise capital (through stock or debt), repay the capital, and pay a return on it (interest or dividends). Give Get Cash Cash
  • 30. THE REA DATA MODEL • Not every relationship between two events represents a give-to-get economic duality. – Commitment events are linked to other events to reflect sequential cause-effect relationships. – Example: • Take customer order (commitment), which leads to: • Deliver inventory (give event) and receive cash (get event).
  • 31. THE REA DATA MODEL • Rule 3: Every event entity must be linked to at least two participating agents. – For accountability, organizations need to be able to track actions of employees. – Also need to monitor the status of commitments and exchanges with outside parties. – Each event links to at least two participating agents.
  • 32. THE REA DATA MODEL • For events that involve transactions with external parties: – The internal agent is the employee responsible for the affected resource. – The external agent is the outside party to the transaction. • For internal events, such as transferring raw materials to the production floor: – The internal agent is the employee who gives up responsibility or custody for the resource. – The external agent is the one who receives it.
  • 33. DEVELOPING AN REA DIAGRAM • To design an REA diagram for an entire AIS, one would develop a model for each transaction cycle and then integrate the separate diagrams into an enterprise-wide model. • In this chapter, we focus on the individual transaction cycles.
  • 34. DEVELOPING AN REA DIAGRAM • Developing an REA diagram for a specific transaction cycle consists of three steps: – STEP ONE: Identify the events about which management wants to collect information. – STEP TWO: Identify the resources affected by the events and the agents who participated. – STEP THREE: Determine the cardinalities between the relationships. • Let’s walk through an example.
  • 35. DEVELOPING AN REA DIAGRAM • Developing an REA diagram for a specific transaction cycle consists of three steps: – STEP ONE: Identify the events about which management wants to collect information. – STEP TWO: Identify the resources affected by the events and the agents who participated. – STEP THREE: Determine the cardinalities between the relationships. • Let’s walk through an example.
  • 36. STEP ONE: IDENTIFY RELEVANT EVENTS • At a minimum, every REA model must include the two events that represent the basic “give-to- get” economic exchange performed in that transaction cycle. • The give event reduces one of the organization’s resources. • The get event increases a resource. • There are usually other events that management is interested in planning, controlling, and monitoring. These should be included in the model.
  • 37. STEP ONE: IDENTIFY RELEVANT EVENTS • Example: Typical activities in the revenue cycle include: – Take customer order – Fill customer order – Bill customer – Collect payment
  • 38. STEP ONE: IDENTIFY RELEVANT EVENTS • Example: Typical activities in the revenue cycle include: • Taking the customer – Take customer order order does not involve giving or taking a – Fill customer order resource. It is a commitment event. – Bill customer – Collect payment
  • 39. STEP ONE: IDENTIFY RELEVANT EVENTS • Example: Typical activities in the revenue cycle include: – Take customer order • Filling the order involves a reduction in – Fill customer order the company’s – Bill customer inventory. It is a give event. – Collect payment
  • 40. STEP ONE: IDENTIFY RELEVANT EVENTS • Example: Typical activities in the revenue cycle include: – Take customer order – Fill customer order • Billing customers – Bill customer involves the exchange – Collect payment of information with an external party but does not affect resources.
  • 41. STEP ONE: IDENTIFY RELEVANT EVENTS • Example: Typical activities in the revenue cycle include: – Take customer order – Fill customer order – Bill customer • Collecting payment – Collect payment results in an increase in cash. It is a get event.
  • 42. STEP ONE: IDENTIFY RELEVANT EVENTS • Example: Typical activities in the revenue cycle include: – Take customer order • The give-to-get, then, is: – Fill customer order – Fill customer order – Bill customer (often referred to as “sale”); – Collect payment – Collect cash (often referred to as “cash receipt”).
  • 43. STEP ONE: IDENTIFY RELEVANT EVENTS • Example: Typical activities in the revenue cycle include: – Take customer order – Fill customer order – Bill customer • Should “take customer order” and “bill – Collect payment customer” be included in the model?
  • 44. STEP ONE: IDENTIFY RELEVANT EVENTS • Example: Typical activities in the revenue cycle include: • Taking an order requires – Take customer order that we set resources aside. – Fill customer order • That information should be included in our – Bill customer model. – Collect payment
  • 45. STEP ONE: IDENTIFY RELEVANT EVENTS • Example: Typical activities in the revenue • Printing and mailing cycle include: invoices does not directly affect an economic – Take customer order resource. – Fill customer order • It does not represent a commitment on the part of – Bill customer the company to a future exchange. – Collect payment • It is an information retrieval event and should not alter the contents of the database. • Does not need to be included in the model.
  • 46. STEP ONE: IDENTIFY RELEVANT EVENTS • Although accounts receivable is an asset in financial reporting, it is not represented as a resource in an REA model. – It represents the difference between total sales to a customer and total cash collections from the customer. – The information to calculate an accounts receivable balance is already there because the sales and cash receipt information is captured.
  • 47. STEP ONE: IDENTIFY RELEVANT EVENTS • Events that pertain to “entering” data or “re-packaging” data in some way do not appear on the REA model. – They are not primarily value-chain activities. – What is modeled is the business event and the facts management wants to collect about the event, not the data entry process.
  • 48. STEP ONE: IDENTIFY RELEVANT EVENTS • In completing the first step of an REA diagram, the event entities are typically drawn from top to bottom in the sequence in which they normally occur.
  • 49. STEP ONE: IDENTIFY RELEVANT EVENTS Take Order Sale Receive Cash
  • 50. DEVELOPING AN REA DIAGRAM • Developing an REA diagram for a specific transaction cycle consists of three steps: – STEP ONE: Identify the events about which management wants to collect information. – STEP TWO: Identify the resources affected by the events and the agents who participated. – STEP THREE: Determine the cardinalities between the relationships. • Let’s walk through an example.
  • 51. STEP TWO: IDENTIFY RESOURCES AND AGENTS • When the relevant events have been diagrammed in the center of the REA diagram, the resources that are affected by those events need to be identified. • Involves determining: – The resource(s) reduced by the give event. – The resource(s) increased by the get event. – The resources that are affected by a commitment event.
  • 52. STEP TWO: IDENTIFY RESOURCES AND AGENTS Take Order • What is the give event? Sale Receive Cash
  • 53. STEP TWO: IDENTIFY RESOURCES AND AGENTS Take Order • What is the give event? Sale Receive Cash
  • 54. STEP TWO: IDENTIFY RESOURCES AND AGENTS Take Order • What resource Inventory is reduced by the give event? Sale Receive Cash
  • 55. STEP TWO: IDENTIFY RESOURCES AND AGENTS Take Order • What is the get Inventory event? Sale Receive Cash
  • 56. STEP TWO: IDENTIFY RESOURCES AND AGENTS Take Order • What is the get Inventory event? Sale Receive Cash
  • 57. STEP TWO: IDENTIFY RESOURCES AND AGENTS Take Order Inventory Sale • What resource is increased by the get event? Receive Cash Cash
  • 58. STEP TWO: IDENTIFY RESOURCES AND AGENTS Take Order Inventory Sale • Is there a commitment event? Receive Cash Cash
  • 59. STEP TWO: IDENTIFY RESOURCES AND AGENTS Take Order Inventory Sale • Is there a commitment event? Receive Cash Cash
  • 60. STEP TWO: IDENTIFY RESOURCES AND AGENTS Take Order Inventory Sale • What resource is affected by the commitment Receive event? Cash Cash
  • 61. STEP TWO: IDENTIFY RESOURCES AND AGENTS • The agents who participate in each event should also be identified. – There will always be at least one internal agent (employee). – In most cases, there will also be an external agent (e.g., customer or supplier) who participates.
  • 62. STEP TWO: IDENTIFY RESOURCES AND AGENTS • What agents are involved in the sale? Take Order Inventory Customer Sale Employee Receive Cash Cash
  • 63. STEP TWO: IDENTIFY RESOURCES AND AGENTS • What agents are involved in the receipt of Take Order cash? Inventory Customer Sale Employee Receive Cash Customer Cash
  • 64. STEP TWO: IDENTIFY • RESOURCES AND AGENTS What agents are involved in taking the order? Take Order Employee Inventory Customer Sale Employee Receive Cash Customer Cash
  • 65. DEVELOPING AN REA DIAGRAM • Developing an REA diagram for a specific transaction cycle consists of three steps: – STEP ONE: Identify the events about which management wants to collect information. – STEP TWO: Identify the resources affected by the events and the agents who participated. – STEP THREE: Determine the cardinalities between the relationships. • Let’s walk through an example.
  • 66. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • The final step in an REA diagram for a transaction cycle is to add information about the relationship cardinalities. • A cardinality describes the nature of the relationship between two entities. – It indicates how many instances of one entity can be linked to a specific instance of another entity. – For example, the cardinality between the event Sales and the agent Customer answers the question: • For each sale a company makes, how many customers are associated with that sale?
  • 67. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • Unfortunately, there is no universal standard for diagramming cardinalities. • In this text, we adopt the graphical “crow’s feet” notation style because: – It is becoming increasingly popular. – It is used by many software design tools.
  • 68. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • Using the crow’s feet notation: – The symbol for zero is a circle: O
  • 69. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • Using the crow’s feet notation: – The symbol for zero is a circle: O – The symbol for one is a single stroke: |
  • 70. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • Using the crow’s feet notation: – The symbol for zero is a circle: O – The symbol for one is a single stroke: | – The symbol for many is the crow’s foot:
  • 71. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Sale Customer • There is typically a minimum and maximum cardinality for each entity participating in a relationship.
  • 72. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Sale Customer • The minimum cardinality can be either zero or one. • The symbols for the minimum cardinalities are shown above in red.
  • 73. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Sale Customer • The minimum cardinality symbol next to customer is the symbol for one. • This symbol means that for every occurrence of a sale, there must be a minimum of one customer involved.
  • 74. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Sale Customer • The minimum cardinality symbol next to sale is the symbol for zero. • This symbol means that for every customer in the database, there must be a minimum of zero sales. This minimum of zero allows the company to add a customer to its database before any sales have been made to that customer, i.e., a prospective customer can be included.
  • 75. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Sale Customer • The maximum cardinality can be either one or N (many). • The symbols for the maximum cardinalities are shown above in red.
  • 76. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Sale Customer • The maximum cardinality symbol next to customer is the symbol for one. • This symbol means that for every occurrence of a sale, there can be no more than one customer involved.
  • 77. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Sale Customer • The maximum cardinality symbol next to sale is the symbol for many. • This symbol means that for every customer in the database, there can be many sales involved. Obviously, a company can make multiple sales to an individual customer.
  • 78. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • Three types of relationships – Three types of relationships are possible between entities. – Relationships depend on the maximum cardinality on each side of a relationship. • A one-to-one relationship (1:1) exists when the maximum cardinality for each entity in the relationship is one.
  • 79. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Take Order • Both maximums are one, so this is a one-to-one relationship. Sale
  • 80. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • Three types of relationships – Three types of relationships are possible between entities. – Relationships depend on the maximum cardinality on each side of a relationship. • A one-to-one relationship (1:1) exists when the maximum cardinality for each entity in the relationship is one. • A one-to-many (1:N) relationship exists when the maximum cardinality on one side is one and the maximum on the other side is many.
  • 81. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Sale Customer • The maximum number of customers that can be involved in each sale is one. • The maximum number of sales that can be associated with any individual customer is many. • This is a one-to-many (1:N) relationship.
  • 82. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • Three types of relationships – Three types of relationships are possible between entities. – Relationships depend on the maximum cardinality on each side of a relationship. • A one-to-one relationship (1:1) exists when the maximum cardinality for each entity in the relationship is one. • A one-to-many (1:N) relationship exists when the maximum cardinality on one side is one and the maximum on the other side is many. • A many-to-many (M:N) relationship exists when the maximum on both sides is many.
  • 83. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Inventory Sale • The maximum number of inventory items that can be sold in one sale is many. • The maximum number of sales that can occur for a particular inventory item is many. • This is a many-to-many (M:N) relationship.
  • 84. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • It is not a “one size fits all” world for relationships and cardinalities. The cardinalities between two entities can vary based on how the particular company does business. • Let’s look at some examples.
  • 85. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPSCustomers pay • Sale for each sale with a maximum of one payment (typical for retail stores). • Each cash receipt from a customer Cash relates to one Receipt (and only one) sale. • The relationship between sales and cash receipts is 1:1.
  • 86. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPSCustomers pay • Sale for each sale with a maximum of many payments (installments). • Each cash receipt from a customer relates to one Cash (and only one) Receipt sale. • The relationship between sales and cash receipts is 1:N.
  • 87. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPSCustomers make • Sale only one payment for a sale. • Each cash receipt from a customer can relate to multiple sales (e.g., they pay for Cash all sales that Receipt month in one payment). • The relationship between sales and cash receipts is 1:N.
  • 88. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPSCustomers may • Sale make multiple payments for a particular sale. • A cash receipt from a customer may relate to more than one Cash sale. Receipt • The relationship between sales and cash receipts is M:N.
  • 89. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • In other words, the choice of cardinalities is not arbitrary. • It reflects facts about the organization that are obtained during the requirements definition stage of the database design process.
  • 90. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • Now let’s go back to the REA diagram for the revenue cycle and see if we can complete the cardinalities.
  • 91. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Take Order Employee Inventory Customer Sale Employee Receive Cash Customer Cash
  • 92. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • In relationships between events and agents: – For each event that occurs, the cardinality between event and agent is typically (1:1). – Example: When a sale occurs: • There is usually one and only one customer. • There is usually one and only one salesperson. This practice makes it more feasible for the organization to establish employee accountability for the event.
  • 93. STEPa THREE: DETERMINE • Can you think of CARDINALITIES OF RELATIONSHIPS scenario in which the cardinality between event and agent might not be (1:1)? Take Order Employee Inventory Customer Sale Employee Receive Cash Customer Cash
  • 94. STEP THREE: DETERMINE • How many employees CARDINALITIES OF RELATIONSHIPS would be involved in a “take order” event if the customer placed the order online? Take Order Employee Inventory Customer Sale Employee Receive Cash Customer Cash
  • 95. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • For each agent the cardinality between agent and event is typically (0:N). – Example: For a particular salesperson: • There is typically a minimum of zero sales (allows for inclusion of a new salesperson who has not yet made any sales). • A salesperson can have a maximum of many sales. – Or: For a particular customer: • There is typically a minimum of zero sales (to allow for the inclusion of prospective customers who haven’t bought anything yet) and a maximum of many sales.
  • 96. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Take Order Employee Inventory Customer Sale Employee Receive Cash Customer Cash
  • 97. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • Let’s now look at the relationship between events and resources. – In the cardinality between event and resource, the minimum cardinality is typically one, because an event can’t occur without affecting at least one resource.
  • 98. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Take Order Employee Inventory Customer Sale Employee Receive Cash Customer Cash
  • 99. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • The maximum could be one or zero. – In this particular story, each sale can involve many items of inventory, so the maximum is many. – However, every receipt of cash is deposited to one and only one cash account, so the maximum there is one.
  • 100. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Take Order Employee Inventory Customer Sale Employee Receive Cash Customer Cash
  • 101. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • In the cardinality between event and resource, the minimum is typically zero. – A company can have an inventory item for which there has never been a sale. – When the company’s cash account is new, there has never been a cash receipt deposited in it.
  • 102. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Take Order Employee Inventory Customer Sale Employee Receive Cash Customer Cash
  • 103. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • In the cardinality between event and resource, the maximum is typically many. – Most inventory items can be sold many times. (An exception might occur if each inventory item is one unique item, such as a piece of real estate.) – The company’s cash account can have many cash receipts.
  • 104. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Take Order Employee Inventory Customer Sale Employee Receive Cash Customer Cash
  • 105. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • Finally, let’s look at the relationships between events. • When events occur in a sequence, the minimum cardinality between the first event and the second event is always zero, because there is a span of time (although possibly quite short) when the first event has occurred but there are zero occurrences of the second event. • Examples: – When an order is first taken, there have been no deliveries of goods (sale event) to the customer. – When goods are delivered to the customer, there is a span of time, however brief, in which there is no cash receipt from the customer.
  • 106. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Take Order Employee Inventory Customer Sale Employee Receive Cash Customer Cash
  • 107. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • The minimum cardinality between the second event and the first event is typically one, because the second event can’t occur without the first event having occurred.
  • 108. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Take Order Employee Inventory Customer Sale Employee Receive Cash Customer Cash
  • 109. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • An exception could occur if the first event is not required for the second event to occur. • Example: If a sale can be made without first taking an order, then the minimum cardinality between sale and take order could be zero.
  • 110. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • The maximums in the cardinalities between events can be either one or many, and these maximums vary based on business practices. • We saw this when we looked at the four different possibilities for the relationships between sales and cash receipts previously. • On the following slides, see if you can explain the maximums between the three events.
  • 111. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS Take Order Employee Inventory Customer Sale Employee Receive Cash Customer Cash
  • 112. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • Uniqueness of REA diagrams – Each organization will have its own unique REA diagram. • Business practices differ across companies, so cardinalities and relationships will differ. • A given organization can change business practices, leading to a change in its REA diagram: – A change in practice could cause a change in cardinalities. – Could even lead to the inclusion of different entities on the diagram.
  • 113. STEP THREE: DETERMINE CARDINALITIES OF RELATIONSHIPS • Data modeling can be complex and repetitive. – Data modelers must discuss their drafts of models with intended users to ensure that: • Key dimensions are not omitted or misunderstood. • Terminology is consistent.
  • 114. SUMMARY • In this chapter, you’ve learned about the steps to follow in designing and implementing a database system. • You’ve learned how the REA data model is used to design an AIS database and how an entity- relationship diagram of an AIS database is drawn. • You’ve also learned how to read REA diagrams and what they reveal about the activities and policies of the organization being modeled.