Page 24 - AIS access_chang_ingraham
P. 24

22     CHAPTER 2  DATA MODELS AND RELATIONAL DATABASES




                       Expenditure Cycle                                                     Revenue Cycle
                  (0, N) ,..------------------------------,
























                         FIGURE 2-2 Comprehensive REA Data Model for Cherokee Art and Antique Store



                         from Chapter 1 that we do not need to track in\ormation about Jesse since he is the only
                         person conducting sales. Therefore, it is not necessary to have a table to store data about
                         Jesse. If there were more than one salesperson, this would be necessary. In general, how-
                         ever, we need to create a table for each entity in the REA diagram to store data important
                         to the company.
                               Each column of a table represents an attribute (or characteristic) ofits entity. For exam-
                         ple, the attributes for the Customer Table may include Customer ID, Customer Name,




                              Resource                             Event                             Agent


                                                                                                      Jesse
                                                                                                   1          1
                                                                                                   1          1
                                                                                                   ...........1
                            Inventory                         Sale






                                                                                                    Customer





                             Cash
                             (Bank                           Cash
                            Account)                        Receipt





                         FIGURE 2-3 Complete REA Diagram for Cherokee's Revenue Cycle
   19   20   21   22   23   24   25   26   27   28   29