LOGO Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA King Saud University Noura Al.Madi 1.

Slides:



Advertisements
Similar presentations
BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
Advertisements

Documenting Information Systems
Chapter 6 UNDERSTANDING AND DESIGNING QUERIES AND REPORTS.
Jones Rama Accounting information system A Business process approach FREDERICK L. JONES DASARATHA V. RAMA.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 5-1 Accounting Information Systems 9 th Edition Marshall.
Chapter 7 UNDERSTANDING AND DESIGNING FORMS. Input Forms: Content and Organization Need for forms Event analysis and forms Relationship between input.
Chapter 7 Using Data Flow Diagrams
Technology Review-II Professor Martin Professor Xiong CSUS
7-1 PowerPoint Presentation by Douglas Cloud Professor Emeritus of Accounting Pepperdine University © Copyright 2007 Thomson South-Western, a part of The.
Databases and Processing Modes. Fundamental Data Storage Concepts and Definitions What is an entity? An entity is something about which information is.
LOGO By : Hayat al – yafie UNDERSTANDING AND DESIGNING FORMS.
Accounting Databases Chapter 2 The Crossroads of Accounting & IT
Chapter 9 Using Data Flow Diagrams
1 SYSTEMS INVESTIGATION Pertemuan 3 s.d 6 Matakuliah: A0554/Analisa dan Perancangan Sistem Informasi Akuntansi Tahun: 2006.
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
1 SYSTEMS DESIGN Pertemuan 13 s.d 20 Matakuliah: A0554/Analisa dan Perancangan Sistem Informasi Akuntansi Tahun: 2006.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Chapter 3: Data Modeling
Implementing an REA Model in a Relational Database
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 18-1.
Chapter 4 IDENTIFYING RISKS AND CONTROLS IN BUSINESS PROCESSES.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
© 2008 Prentice Hall Business Publishing Accounting Information Systems, 11/e Romney/Steinbart1 of 138 C HAPTER 15 Database Design Using the REA Data Model.
Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.
Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA.
Page 1 ISMT E-120 Desktop Applications for Managers Introduction to Microsoft Access.
Microsoft Access Lesson 3
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
1 Accounting Information Systems: A Business Process Approach Chapter Five: Understanding and Designing Accounting Data.
Introduction to Accounting Information Systems
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
The REA Model. The REA model provides structure for developing an accounting database It helps to identify It helps to The REA Model.
Accounting Information Systems 9th Edition
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart1 of 96 C HAPTER 17 Special Topics in REA Modeling for the.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
Chapter 3-1 Ch. 3 –Data Modeling Designing an efficient and effective database that meets users’ needs.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Accounting Information Systems 9 th Edition Marshall.
Implementing an REA Model in a Relational Database
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
Chapter 5 Flowcharting Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Implementing an REA Model in a Relational Database
Exploring Microsoft Access Chapter 6 Many-to-Many Relationships: A More Complex System.
Introduction to Database using Microsoft Access 2013 Part 7 November 19, 2014.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
Lesson 2: Designing a Database and Creating Tables.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 18-1.
Database Planning Database Design Normalization.
Rationale Databases are an integral part of an organization. Aspiring Database Developers should be able to efficiently design and implement databases.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.
Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA
Implementing an REA Model in a Relational Database
Implementing an REA Model in a Relational Database
Implementing an REA Model in a Relational Database
Accounting Information Systems 9th Edition
Database Design Using the REA Data Model
Accounting System Design
Database Design Chapters 17 and 18.
Accounting System Design
Database Design Chapter 7.
Presentation transcript:

LOGO Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA King Saud University Noura Al.Madi 1

Contents Introduction Identifying and Documenting files Attributes and Relationships Developing UML Class Diagram 2

Introduction Relational database: database in which data are represented as a set of two-dimensional tables with columns representing attributes and rows representing records Attributes: The smallest units of data that can have meaning to a user. The columns in a relational database that are equivalent to fields in a file. Attribute (Filed) Row (record) 3

Identifying and Documenting Files Transaction files: Used to record information about events in a business process. Attributes include: –Transaction date –Agents associated with transaction –Description of products/services associated with event 4

Identifying and Documenting Files Master files: Store reference data Store summary data Events and transaction files: First, identify the events in the business process Then, identify the need for transaction files in the AIS 5

Identifying and Documenting Files UML class diagram: 1.Shows relationships between transaction and master files 2.Each box represents a file 3.Connecting lines between files indicate file relationships 4.Can be used to document: –Tables in an AIS –Relationships between tables –Attributes of tables Order Order_Date shipment Invoice Cash collection Table (File) Name Attributes (fields) 1 m Relationship 6

Identifying and Documenting Files Guidelines for identifying need for transaction tables: 1: Determine the events in the process 2: Exclude events that do not need to be recorded in the computer system 3: Exclude query and reporting events because they involve using data that have already been recorded in the AIS 4: Exclude maintenance events 7

Identifying and Documenting Files Events and master tables: Typical master tables: –Products/services - master tables Describe products/services offered Identify costs and/or prices of products/services –Agents - master tables describe External agents Internal agents 8

Identifying and Documenting Files –Cash - master file describes where cash is stored –General ledger master file - needed if general ledger system is Automated and Integrated with the revenue or acquisition cycle. Generally, master tables are used to store relatively permanent data about an entity (continued) 9

Identifying and Documenting Files Benefits of master tables: Save data entry time Save storage space Simplify making changes to data Simplify deleting transaction records 10

Identifying and Documenting Files Structure UML class Diagram (example) General Ledger Goods/ Service EventsAgents Order Shipment Invoice Cash Collection CustomerInventory General Ledger 11

Identifying and Documenting Files -Agent associated with events on the right side of events. -Goods/service associated with the event on the left side of the event. -If required Cash Master File, it would be included in the table in the same column as the inventory. -General Ledger master table to the left of goods/services. -Arranging the transaction tables according to the sequence of events make it easier to read the diagram. Guidelines 12

Attributes And Relationships Three important concepts: 1.Primary keys 2.Linking attributes (foreign keys) 3.Relationship cardinalities 13

Attributes And Relationships This tables applies concepts: Customer #NameAddress Contact_ PersonTelephone # 3450Brownsville C.CBrownsville, TXSmith Educate, Inc.Fairhaven, MACosta Bunker Hill C.CBunker Hill, MALanfranc Customer Table Order #Order_DataCustomer # /11/ /15/ /15/ Order Table Foreign key Primary key 14 Primary key

Attributes And Relationships 1.Primary key: Attribute(s) that uniquely identifies a record in a table 2.Foreign key: A field in a table that is the primary key in some other table –Used to link one table to another –Link event records to master records –Link two events that occur in a sequence 15

Attributes And Relationships 3.Cardinality of the relationship: Cardinality is an expression of the relationship between common fields (attributes) in two tables. Important in designing a database Represents how many occurrences of one type of entity are associated with another type of entity This relationship can be one-to-one (1,1), one-to- many (1,m), or many-to-many (m,m). 16

Attributes And Relationships  One-to-one relationships (1,1) - not nearly as common as one-to-many relationships 17 (continued) ShipmentInvoice 1 invoice per shipment 1 shipment per invoice 11  One-to-many relationships (1,m) - common in accounting systems OrderCustomer 1 customer per order many orders per customer over time m1

Attributes And Relationships  Many-to-many relationships (m,m) - can be converted into two one-to-many relationships by adding a “junction table” 18 (continued) InventoryOrder many orders per product over time many product per order mm InventoryOrder many detail record per order; 1 order per detail record 1 product per detail record; many detail record per product mm Order Detail 11

Attributes And Relationships Significance of concepts for database applications: 1. Implementing documents and reports 2. Implementing input forms –Input forms are used to make data entry more accurate/efficient –Form designs rely on primary and foreign keys and relationships between tables 19

Attributes And Relationships 3. Controlling AIS data – referential integrity –For one-to-many relationships we can specify if we want referential integrity enforced on relationship –Control most effective with two other controls: Segregation of duties and Access controls 20 (continued)

Developing A UML Class Diagram Example: Fairhaven convenience Store sells gasoline and other products. Customer select product and bring them to the manager. The manager scan the selected products, and the total amount due is displayed on the cash register. The customer give cash to the manager who puts it in the cash register. He gives change (if any) to the customer. Four managers work at the gas station, but only one manager is in the station at any one time. The manager who is in the third shift places the cash in an envelope and drops it in a deposit slot at the bank. 21

Developing A UML Class Diagram Four basic steps in Developing A UML Class Diagram Step 1: Place the required transaction tables (files) on the UML class diagram. A. Identify events in a business process. B. Decide which events will need transaction tables. 22 EventIs a transaction tables needed? Make saleYes, The sale and cash collection data should be record in the AIS. Deposit cashPossibly. The company could record the data of the deposit, the amount, and the manager who made the deposit.

Developing A UML Class Diagram C. Start the UML class diagram by showing a box for each event requiring transaction tables 23 (continue step 1) sale Deposit

Developing A UML Class Diagram Step 2: Place required master tables (files) on UML class diagram A.For each event on the diagram (from Step 1), determine related goods, services, or agent entities 24 EventProduct/ServiceInternal AgentExternal Agent Make saleInventoryManagerCustomer Deposit cashCashManagerBank Teller

Developing A UML Class Diagram B. Determine which identified entities require master tables. 25 (continue step 2) Two master table are needed: Inventory Master Table Manager Master Table Not create master table for: Customer: Customers names and address are not needed because the company will not bill customer since they must pay cash and no advertising will be sent to them. Bank teller: There is no need to identify the bank teller to whom a deposit is made.

Developing A UML Class Diagram C. Consider using master tables to track location of cash and effect of events on account balances in the general ledger 26 The store does not need a master table for cash since all cash collections are deposited at the same bank. Currently, the general ledger system is not automated, so no General_Ledger master table will be needed in the system. (continue step 2)

Developing A UML Class Diagram D. Add required master tables to appropriate side of the UML class diagram 27 Manager Sale Deposit Inventory (continue step 2)

Developing A UML Class Diagram Step 3: Determine required relationship between tables A.For each connecting lines, determine cardinality of the relationship between tables B.Write cardinalities next to line between entities 28 m,1 Manager Sale Deposit Inventory m,1 m,m

Developing A UML Class Diagram C. If there are any many-to-many relationships, convert them to one-to-many relationships by adding junction table (The junction table must include the primary keys of each of the tables in the many-to-many relationship) 29 Manager Sale Deposit Inventory m,1 Sales Detail m,1 1,m (continue step 3)

Developing A UML Class Diagram Step 4: Determine required attributes by: A.Assigning a primary key to each tables B.Linking related tables by adding a foreign key to one of the pair in the relationship (Linking depends on cardinality of the relationship. 30 Manager Sale Deposit Inventory (m,1) Sales Detail (m,1) (1,m) Sale # SSN Deposit # SSN Sale # Product #

Developing A UML Class Diagram C. Assign other attributes as needed for providing information content 31 TableInformation attributes neededPrimary Key Foreign Key ManagerLast_Name, First_Name, Address, Fill stats (tax filing status), Exemptions SSN InventoryDescription, supplier, Reorder_Point, Quantity_on_hand Product # SaleDate, Sales_TaxSale #SSN Sale Detail Quantity_Sold, PriceSale #/ Product # Sale #/ Product # DepositDate, AmountDeposit #SSN (continue step 4)

Developing A UML Class Diagram Other Consideration in data design: Simplifying the data design: 1. One master table instead of two If different tables have similar purposes and similar or identical structure 32 Server Customer Take Order Cook Prepare Meal

Developing A UML Class Diagram 2. Eliminate redundant relationships Delete a line indicating a relationship between two tables if the relationship can be determined from others that occurred earlier. 33 Order Shipment Customer (continued)

Developing A UML Class Diagram 3. One event table instead of two If there is a one-to-one relationship between events in a sequence, the designer has the option Option A: Two records in two tables 34 Rental_Transaction #Videotape #Data_RentedCustomer # /14/ Rentals Table (used to record rentals only) Return_Transaction #Videotape #Data_Rented /14/2003 Return Table (used to record return only) (continued)

Developing A UML Class Diagram Option B: One record in one table 35 Rental_Transaction #Videotape #Data_RentedDate_Returned /14/200305/17/2003 Rentals and Return Table (continued) 4. Recording agent data in event tables

Developing A UML Class Diagram Communicating the data design: Guidelines in preparing documentation: 1. Be consistent in naming entities 2. Name boxes so can easily correlate UML diagram with preceding documentation 3. Help reader understand how each part of the documentation relates to other parts 36

Developing A UML Class Diagram Proper layout can also enhance readability 1. Start each part on a separate page 2. Clearly label each part 3. Write a brief explanation of the information obtainable by reviewing diagram 4. Use bulleted lists to explain linkages between diagrams 5. Use same style throughout 37

LOGO 38