report in accounting information system
DESCRIPTION
CHAPTER 9TRANSCRIPT
![Page 1: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/1.jpg)
DATABASE MANAGEMENT
Charlene E. Matubis BSA-IIIAccounting Information Systems
Chapter 9 Reporting
![Page 2: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/2.jpg)
Two Components of Computer Processing
1. Data2. Instructions (programs)
![Page 3: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/3.jpg)
Two methods for designing interface between programs and data:
1. File-oriented (flat-file) processing: A specific data file was created for each application [legacy systems]
2. Data-oriented processing: Create a single data repository to support numerous applications [current systems]
![Page 4: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/4.jpg)
FLAT FILE ENVIRONMENT
![Page 5: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/5.jpg)
DATABASE APPROACH
![Page 6: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/6.jpg)
ADVANTAGES AND DISADVANTAGES OF THE TWO METHODS
![Page 7: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/7.jpg)
Flat-File Problems( Data Redundancy)
Data Storage - creates excessive storage costs of paper documents and/or magnetic formData Updating - any changes or additions must be performed multiple times Currency of Information - potential problem of failing to update all affected filesTask-Data Dependency - user’s inability to obtain additional information as his or her needs change
![Page 8: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/8.jpg)
Advantages of the Database Approach
Data sharing/centralized database resolves flat-file problems:
No data redundancy - Data stored only once, eliminating data redundancy and reducing storage costs.Single update - Because data are in only one place, requires only single update procedure, reducing time/cost of keeping database current.Current values - Change to database made by any (authorized) user yields current data values for all other (authorized) users.Task-data independence - As users’ information needs expand beyond immediate domain, new needs can be more easily satisfied than under flat-file approach.
![Page 9: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/9.jpg)
Disadvantages of the Database Approach
Can be costly to implement additional hardware, software, storage, and network
resources are required – yet these costs continue to drop…
Can only run in certain operating environments may be unsuitable for some existing system
configurations (e.g., legacy systems)
![Page 10: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/10.jpg)
WHAT IS DBMS?
![Page 11: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/11.jpg)
Database management system
Purpose of DBMS is to provide controlled access to database.
DBMS is special software programmed to know which data elements each user is authorized to access and deny unauthorized requests of data.
![Page 12: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/12.jpg)
Three Steps in Designing a Database
1. Prepare conceptual modelIdentify entitiesIdentify relationships between
entitiesPrepare ER diagram (ERD)
![Page 13: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/13.jpg)
Samply Entity Relationship Diagram
![Page 14: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/14.jpg)
2. Specify logical design Select logical database model (which
will always be relational nowadays) Transform conceptual data model using
logical database model
![Page 15: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/15.jpg)
3. Implement physical design
Physical structuresAccess methods
![Page 16: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/16.jpg)
![Page 17: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/17.jpg)
What is the Logical Data Structures?
![Page 18: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/18.jpg)
Logical Data StructuresObjective is to develop structure efficiently so data can be accessed quickly and easily.
Four types of database structures are: hierarchical (tree structure) network relational object-oriented
![Page 19: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/19.jpg)
The Relational Model
![Page 20: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/20.jpg)
Relational model portrays data in form of two dimensional tables (looks like Excel worksheet)
relation - database table attributes/fields (data elements) -
columns tuples (records) - rows data - intersection of rows and columns
![Page 21: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/21.jpg)
Anomalies in Database
![Page 22: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/22.jpg)
Three Types of Anomalies
(Anomalies are found in unnormalized tables)
Insertion Anomaly: New item cannot be added to table until at least one entity uses particular attribute item.Deletion Anomaly: If attribute item used by only one entity is deleted, all information about that attribute item is lost.Update Anomaly: Modification on attribute must be made in each of rows in which attribute appears.(Anomalies can be corrected by creating relational tables)
![Page 23: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/23.jpg)
How to prevent?Through Relational Tables and Normalization ProcessVarious items of interest (customers, inventory, sales) stored in SEPARATE tables in database.Advantages:
Removes all three anomalies Efficient use of space. Flexible. Users can form ad hoc relationships
for queries.
![Page 24: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/24.jpg)
Normalization ProcessProcess that breaks up large, complex tables into smaller tables that meet two conditions:
all nonkey attributes (fields) in table are dependent on primary key (PK)
all nonkey attributes (fields) are independent of other nonkey attributes (fields)
When unnormalized tables are split and reduced to third normal form, they are linked together by foreign keys (secondary keys).
![Page 25: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/25.jpg)
![Page 26: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/26.jpg)
Steps in Normalization
First normalform (1NF)
Second normalform (2NF)
Third normalform (3NF)
1. Remove
repeatinggroups
2. Remove partial
dependencies
3. Removetransitive
dependencies
Does field depend on PK? If no, remove and put in another table.
Only concerns tables with composite PKs.
When field depends on another non-key field in table.
![Page 27: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/27.jpg)
Accountants and Data Normalization
1. Update anomalies can generate conflicting and obsolete database values.2. Insertion anomalies can result in unrecorded transactions and incomplete audit trails.3. Deletion anomalies can cause loss of accounting records and destruction of audit trails.
![Page 28: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/28.jpg)
“Accountants should understand data normalization process and be able to determine whether
database is properly normalized.”
![Page 29: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/29.jpg)
DDP VS CDP
![Page 30: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/30.jpg)
Distributed Data Processing
![Page 31: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/31.jpg)
Disadvantages Loss of control (organization-wide) Mismanagement of organization-wide resources Hardware/software incompatibility Redundant tasks/data Incompatible tasks may be consolidated Lack of standards
Advantages: Cost reductions in hardware and data entry tasks Improved cost control responsibility Improved user satisfaction because control is closer
to user level Backup of data can be improved through use of
multiple data storage sites
![Page 32: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/32.jpg)
Centralized Data Processing
![Page 33: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/33.jpg)
Data are retained in central location. Remote IPUs (workstations) send requests for data.Central site services needs of remote workstations.Actual data processing is performed at remote workstation
![Page 34: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/34.jpg)
Deadlock Phenomenon Especially a problem with partitioned
databases Occurs when multiple sites lock each
other out of data that they are currently using
Special software needed to analyze and resolve conflicts.
![Page 35: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/35.jpg)
![Page 36: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/36.jpg)
SAMPLE DATABASES
![Page 37: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/37.jpg)
Enrollment System
![Page 38: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/38.jpg)
PAYROLL SYSTEM
![Page 39: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/39.jpg)
Accounting Department
![Page 40: Report in Accounting Information System](https://reader036.vdocument.in/reader036/viewer/2022062810/55cf92ef550346f57b9a999f/html5/thumbnails/40.jpg)