Академический Документы
Профессиональный Документы
Культура Документы
A user view is the set of data that a particular user needs to achieve his or
her assigned tasks.
2.
3.
4.
Economic resources are those things of economic value that are both scarce
and under the control of the enterprise.
5.
6.
Support events include control, planning, and management activities that are
related to economic events, but do not directly affect a change in resources.
7.
8.
9.
10.
11.
12.
13.
14.
The four basic forms of cardinality are: zero or one (0,1), one and only one
(1,1), zero or many (0,M), and one or many (1,M).
16.
17.
18.
The primary key of the 1 side table is embedded as a foreign key in the table
of the M side.
19.
20.
DISCUSSION QUESTIONS
1.
2.
The upper cardinalities for each of the two related entities define the overall
association between them. For example, if the cardinality at one end of the
association line is (0,1) and at the other end it is (1,M) then the association
between them is one-to-many (1:M).
3.
The database designer should select a primary key that logically and uniquely
defines the nonkey attributes in the table. In some cases this is accomplished
with a simple sequential code such as an Invoice Number, Check Number, or
Purchase Order number. In other situations block codes, group codes,
alphabetic codes, and mnemonic codes, are better choices.
4.
Each event must be linked to at least one resource and a least two agents.
One of the agents is internal to the organization and the other is usually
external. In some types of transaction, however, the second agent may also be
internal.
5.
7.
8.
An REA model must, as a minimum, include the two economic events that
constitute the give and receive activities that reduce and increase economic
resources in the exchange. In addition it may include support events, which do
not change resources directly.
9.
REA is modeling focuses on value chain activities: those that use cash to
obtain resources such as equipment, materials, and labor and those that
employ these resources to earn new revenues. Traditional accounting events
such as recording a sale in the journal and setting up an account receivable
are not value chain activities and need not be modeled. Capturing transaction
data in sufficient detail adequately serves traditional accounting requirements.
10.
The inclusion of link tables in a REA diagram creates a conflict with the rule
that an event entity should be connected to at least one resource and at least
two agent entities. Although link tables are a technical requirement for
implementing a M:M association in a relational database, they are not a
technical requirement for modeling the database. Including the link table in an
REA diagram disrupts its visual integrity and adds little to the conceptual
model. During implementation, the database designer will create the link tables
needed to make the database function.
11.
Unlike tangible economic resources such as cash and inventory, time does not
have a stock flow element and cannot be stored. It is increased simultaneously
decreased by various employee activities. In situations where employee
services are directly tracked to products produced or services rendered to
clients (i.e., consulting or public accounting) it makes sense to model this
resource. In situations where employee time on the job is not tracked to
specific results then modeling this entity and transforming it into a physical
database table serves no purpose.
MULTIPLE-CHOICE QUESTIONS
1. e
2. d
3. c
4. e
5. c
6. a
7. c
8. c
9. c
10. c
PROBLEMS
1. The three differences between REA diagrams and ER diagrams:
1)
Entities on REA diagram, are divided into three classes (Resources, Events,
and Agents) and organized into constellations by class on the diagram.
Entities in ER diagrams are of one class and their proximity to other entities
is determined by their cardinality and by what is visually pleasing to keep the
diagrams readable.
2)
3)
2.
B is the correct association. Each Sell Auto event could involve one or many
autos but each auto in inventory is unique and can be sold only once or has not
yet been sold.
3.
The proper association is C. Each cash receipt is for only one Sell Auto event
and each Sell Auto event requires one immediate payment in full. Bentley should
never have a situation where a record exists in the Sell Auto table without a
corresponding record in the Receive Cash table.
4.
B is the proper association. Each customer may buy zero or many times from
Bentley but each sale is to only one customer.
5.
Resources
Raw Material
Inventory
Events
Agents
Reduces
Warehouse Clerk
Pick Inventory
Requests
Causes
Finished Goods
inventory
Increases
Produce
Performs
Production Worker
Review Items
Query Availability
Requests
Customer
Related
to
Purchases
Process Order
Reduces
Book
Inventory
Sales
Clerk
Take Order
Duality
Receives Cash
Remits
Customer
Increases
Cash
7.
Process
Order
Reserves
Inventory
Take Order
Causes
Sales Clerk
Ships
Shipping Clerk
Reduces
Ship Product
Receives
Duality
Increases
Cash
Customer
Remits
Receive Cash
Processes
Remittance
Cash Receipts
Clerk
Primary Key
Inventory
Item Number
Cash
Account
Take Order
Order
Ship Product
Invoice
Receive Cash
Remittance
Customer
Customer Number
Supplier
Supplier Number
Employee
Employee Number
Foreign Key(s)
Attributes
Description, Warehouse Location, Quantity on
Hand, Reorder Point, On-Order Quantity, Available
for Sale, Supplier Number, Unit Cost, Retail Price
Balance
Inquiry Number
Customer Number
Employee Number
Order Number
Customer Number
Employee Number
Customer Number
Employee number
Account Number
Linking Tables
Attributes
Table Name
Primary Key
InventoryOrder Link
Item Number
Order Number
Quantity Ordered
InventoryShip Link
Item Number
Invoice Number
Flags Item
Inventory
Processes
Order Product
Purchasing Clerk
Receives
Causes
Ships
Supplier
Increases
Receive Product
Prepares
Duality
Decreases
Cash
Disburse Cash
Receives
Processes
Receiving
Supplier
Cash
Disbursement
Clerk
Table Name
Inventory
Cash
Primary Key
Foreign Key(s)
Item Number
Account
Order Product
Purchase Order
Receive Product
Receiving Report
Disburse Cash
Check Number
Supplier
Supplier Number
Employee
Employee Number
Attributes
Balance
Supplier
Number
Supplier Number
Employee Number
Purch Order Number
Check Number
Supplier Number
Cash Disb Clerk
(EMPL)
Account Number
Amount, Date
Linking Tables
Table Name
Primary Keys
Attributes
Ord-ProdInven Link
Item Number
Purchase Order Number
Order Quantity
Rec-ProdInven Link
Item Number
Receiving Report
9.
NOTE: The task of preparing the payroll register described in the case is not an REA event and
should not be modeled. This is an accounting activity. All attributes needed to perform this
activity are captured in the Get Time and Disburse Cash event tables. The payroll register is
simply a view that may be prepared from these tables.
10.
NOTE: The task of recording depreciation is not an REA event and should not be modeled in an
REA diagram. Depreciation is an accounting technique that arbitrarily allocates some of the cost
of the asset to various periods. Information about the depreciation method and accumulated
depreciation is stored in the Fixed Asset Inventory table to support the task of reporting periodic
depreciation charges. The calculation process is, however, not an event.