Beruflich Dokumente
Kultur Dokumente
Employee
(Supervisor)
Employee
Time Worked Time
Employees
Employee
Disburse Cash Cash
(Payroll Clerk)
INTEGRATING REA DIAGRAMS ACROSS
CYCLES
• The basic economic exchange:
– Get employee time and skills
Employee – Give a paycheck
(Supervisor)
Employee
Time Worked Time
Employees
Employee
Disburse Cash Cash
(Payroll Clerk)
INTEGRATING REA DIAGRAMS ACROSS
CYCLES • The time worked event must be linked
to a particular employee and
supervisor for a (1,1) cardinality.
Employee
(Supervisor)
Employee
Time Worked Time
Employees
Employee
Disburse Cash Cash
(Payroll Clerk)
INTEGRATING REA DIAGRAMS ACROSS
• However, each agent can be linked to zero or
CYCLES many time worked events. The zero minimum
allows for inclusion of a new employee or
supervisor who has not yet been involved in a
Employee time recording.
(Supervisor)
Employee
Time Worked Time
Employees
Employee
Disburse Cash Cash
(Payroll Clerk)
INTEGRATING REA DIAGRAMS ACROSS
• A similar situation exists with the disburse
CYCLES cash event. (We regard each individual
paycheck as a separate cash disbursement.)
Employee
(Supervisor)
Employee
Time Worked Time
Employees
Employee
Disburse Cash Cash
(Payroll Clerk)
• The assumption is made that employees record time worked
INTEGRATING
on a daily basis. REA DIAGRAMS ACROSS
• Time worked is therefore linked to a maximum of one cash
CYCLES
disbursement, since employees aren’t paid for half a day on
one paycheck and the other half of the day on another
check.
Employee
(Supervisor)
Employee
Time Worked Time
Employees
Employee
Disburse Cash Cash
(Payroll Clerk)
INTEGRATING REA
• DIAGRAMS ACROSS
For each cash disbursement,
however, there are one-to-many
CYCLES time worked events.
• In other words, a paycheck could
pay an employee for anywhere
Employee
from one day’s work to many.
(Supervisor)
Employee
Time Worked Time
Employees
Employee
Disburse Cash Cash
(Payroll Clerk)
INTEGRATING REA DIAGRAMS ACROSS
CYCLES
• The employee time entity requires some explanation.
• The resource being acquired by the time worked event is
the use of an employee’s skills and knowledge for a
Employee
particular period of time.
(Supervisor)
Employee
Time Worked Time
Employees
Employee
Disburse Cash Cash
(Payroll Clerk)
INTEGRATING REA DIAGRAMS ACROSS
• CYCLES
Time is different from
inventory and other
assets in that it cannot be
Employee
stored.
(Supervisor)
• There are only a few
relevant attributes about
employee time: Employee
Time Worked Time
– Hours worked
– How the time was
used
Employees
Employee
Disburse Cash Cash
(Payroll Clerk)
• The time worked and
INTEGRATING
disburse cash events REA DIAGRAMS ACROSS
capture all the information
CYCLES
about employee time that
it is practical to collect
and monitor.
Employee
• Consequently, the
(Supervisor)
employee time resource
entity is almost never
Employee
implemented in an actual Time Worked Time
database, which is why it
is depicted with dotted
lines.Employees
Employee
Disburse Cash Cash
(Payroll Clerk)
• In the relationship between cash disbursement and the cash resource:
INTEGRATING REA DIAGRAMS ACROSS
– This relationship is identical to the expenditure cycle.
– CYCLES
Each check or EFT must be linked to at least one cash account (and
usually only one), leading to a (1:1) cardinality.
– Each cash account can be linked to:
Employee
• As few as zero cash disbursements (e.g., a new account).
(Supervisor)
• And up to many.
• Means a (0,N) cardinality. Employee
Time Worked Time
Employees
Employee
Disburse Cash Cash
(Payroll Clerk)
Mengintregasikan Diagram REA
Antarsiklus
1. Ddd
2. Nnn
3. Mmmm
4. Vnnnnnn
Call on Employees
Customer (Salesperson)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Employees
(Supervisor)
Call on Employees
Customer (Salesperson)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Receive
Suppliers Sales Customer
Inventory
Employees Employees
Disburse Cash Cash Receive Cash
(Cashier) (Cashier)
Customer
Inventory Sale
Employee
Receive
Cash Customer
Cash
EXAMPLE
Our first step is to create a table for each
event, resource, agent, and many-to-many
relationship.
Customer
Inventory Sale
Employee
Receive
Cash Customer
Cash
EXAMPLE
Customer
Inventory Sale
Employee
Receive
Cash Customer
Cash
EXAMPLE
Customer
Inventory Sale
Employee
Receive
Cash Customer
Cash
EXAMPLE
Customer
Inventory Sale
Employee
Receive
Cash Customer
Cash
EXAMPLE
Customer
Inventory Sale
Employee
Receive
Cash Customer
Cash
EXAMPLE
Inventory Sale
Employee
Receive
Cash Customer
Cash
EXAMPLE
Table Name Primary Key Foreign Key Other Attributes
Sale Sale No. Customer No. Date of Sale, Time of Sale,
Total Amount of Sale
Receive Cash Cash Rect. No. Receipt Date, Receipt Time,
Total Amount of Receipt
Inventory Sale
Employee
Receive
Cash Customer
Cash
EXAMPLE
Table Name Primary Key Foreign Key Other Attributes
Sale Sale No. Customer No., Employee No. Date of Sale, Time of Sale,
Total Amount of Sale
Receive Cash Cash Rect. No. Receipt Date, Receipt Time,
Total Amount of Receipt
Inventory Sale
Employee
Receive
Cash Customer
Cash
EXAMPLE
Table Name Primary Key Foreign Key Other Attributes
Sale Sale No. Customer No., Employee No. Date of Sale, Time of Sale,
Total Amount of Sale
Receive Cash Cash Rect. No. Employee No. Receipt Date, Receipt Time,
Total Amount of Receipt
Inventory Sale
Employee
Receive
Cash Customer
Cash
EXAMPLE
Table Name Primary Key Foreign Key Other Attributes
Sale Sale No. Customer No., Employee No. Date of Sale, Time of Sale,
Total Amount of Sale
Receive Cash Cash Rect. No. Employee No., Customer No. Receipt Date, Receipt Time,
Total Amount of Receipt
Inventory Sale
Employee
Receive
Cash Customer
Cash
EXAMPLE
Table Name Primary Key Foreign Key Other Attributes
Sale Sale No. Customer No., Employee No. Date of Sale, Time of Sale,
Total Amount of Sale
Receive Cash Cash Rect. No. Employee No., Customer No., Receipt Date, Receipt Time,
Sale No. Total Amount of Receipt
Inventory Item No. Description, List Price
Cash Account No. Bank, Type of Account
Customer Customer No. Customer Name, Customer
Address, Customer Phone
Employee Employee No. Employee Name, Employee
Address, Employee Phone,
Job Title
Sales-Inventory Sale No.-Item Quantity Sold, Actual Price
No.
EXAMPLE
The relationship between sales and inventory is
a many-to-many relationship and was already
implemented by the creation of a separate table.
Customer
Inventory Sale
Employee
Receive
Cash Customer
Cash
EXAMPLE
In the relationship between cash and receive cash, the
primary key for the event that occurs once (cash) should be
a foreign key in the event that occurs many times (receive
cash).
Customer
Inventory Sale
Employee
Receive
Cash Customer
Cash
EXAMPLE
Table Name Primary Key Foreign Key Other Attributes
Sale Sale No. Customer No., Employee No. Date of Sale, Time of Sale,
Total Amount of Sale
Receive Cash Cash Rect. No. Employee No., Customer No., Receipt Date, Receipt Time,
Sale No., Account No. Total Amount of Receipt
Inventory Item No. Description, List Price
Cash Account No. Bank, Type of Account
Customer Customer No. Customer Name, Customer
Address, Customer Phone
Employee Employee No. Employee Name, Employee
Address, Employee Phone,
Job Title
Sales-Inventory Sale No.-Item Quantity Sold, Actual Price
No.
Menggunakan Diagram REA untuk
memuat infromasi dari sebuah
database
Membuat Jurnal dan Buku Besar
Menghasilkan Laporan Keuangan
Membuat laporan manajerial
LATIHAN
Berapa banyak tabel yang dibutuhkan untuk
mengimplementasikan sebuah model data REA
yang memiliki tujuh entitas berbeda, tiga
hubungan M:N dan lima hubungan 1:N dalam
sebuah database relasional ?
a. 7
b. 10
c. 12
d. 15
LATIHAN
Pengombinasian dua diagram REA
biasanya TIDAK jenis entitas apa ?
a. Sumber Daya
b. Peristiwa
c. Agen
d. Semuanya
LATIHAN
Manakah pernyataan berikut yang benar mengenai
sebuah model data REA terintegrasi ?
a. Setiap peristiwa harus dihubungkan setidaknya ke
dua agen.
b. Setiap peristiwa kenaikan (mendapatkan) harus
dihubungkan setidaknya ke satu peristiwa
penurunan (memberi)
c. Setiap sumber daya harus dihubungkan setidaknya
ke satu peristiwa kenaikan dan setidaknya satu
peristiwa penurunan
d. Setiap sumber daya harus dihubungkan setidaknya
ke satu agen
TUGAS KELOMPOK
Buatlah tabel database dari REA yang
telah anda buat sebelumnya !
TUGAS FINAL SIA 2-6
Bagaimana tampilan dari SIA yang
anda download ?
Laporan apa sajakah yang terdapat
pada SIA yang anda pilih. (minimal 10
laporan)
Jelaskan manfaat dari laporan tersebut
!
TUGAS INDIVIDU
Mengapa diperlukan waktu untuk
mengembangkan diagram REA
terpisah untuk setiap siklus bisnis jika
tujuan utamanya adalah untuk
mengombinasikannya ke dalam satu
model data keseluruhan perusahaan
yang terntegrasi ? Mengapa tidak
berfokus saja pada model terintegrasi
dari awal ?