Introduction
This chapter extends the basic concepts to a variety of other types of
businesses and transaction cycles.
Additional Events
Figure 19-1 separates the warehouse activity of filling an order from
the activity of actually shipping or delivering that order to the
customer.
The relationship between the Take Customer Order and Fill Customer Order
event is represented as being one-to-many (1:N).
The minimum cardinalities reflect the fact that two events occur
sequentially.
The maximum cardinalities reflect the fact that sometimes the company
may be out of stock of one or more items that were ordered.
Page 1 of 10
The maximum cardinality from the Fill Customer Order event to the Take
Customer Order event is 1.
The relationship between the Fill Customer Order and Ship Order events
is 1:1.
The minimum cardinalities reflect the fact that the two events are
sequential.
The maximum cardinality from the Fill Customer Order event to the Ship
Order event is 1 because once all the items that were ordered and in
stock have been picked and packed, that entire package is shipped intact
to the customer.
For proper accountability, each Ship Order event is linked to one, and
only one, Fill Customer Order event.
Attribute Placement
Table 19-1 shows that the primary key of the shipping event is the
shipment number.
The primary key for Call on Customer is the Call Number. The Call
Number is also the foreign key for Take Customer Order.
The primary key for Take Customer Order is the Sales Order Number.
The Sales Order Number is also the foreign key for Fill Customer
Order.
The primary key for Fill Customer Order is the Picking Ticket
Number. The Picking Ticket Number is also the foreign key for Ship
Order.
The primary key for Ship Order is the Shipment Number.
The primary key for Receive Cash is the Remittance Number.
Note that the unit cost for each item is an attribute in the
Inventory Table.
The unit list price is an attribute in the Inventory Table and the
Inventory-Take Customer Order Table.
Page 2 of 10
Sale of Services
Now we will switch from selling a product to providing a service.
Figure 19-3 provides an REA diagram of a partial revenue cycle for a
service type business.
The Service Table would provide a row for each type of service.
For example, an automotive repair shop would have individual rows
for such services as oil changes and brake replacement.
The inventory involved would include oil and brake shoes.
The relationship between the Sales and Services resources
would be modeled as M:N because most businesses provide the
same types of services to many different customers. The
relationship between Sales and Inventory would also be M:N
as there would be many types of parts used for the same
types of services.
For another example, a CPA firm could include rows for tax
services, audits, consulting services, and financial planning. The
firm could also breakdown audits into financial statement,
compliance, and operational audits.
The inventory in this case would not involve identifiable
inventory parts. Only the professional and administrative
labor would be mainly involved.
The relationship between Sales and Services resources would
remain the same as mentioned above at M:N. However, the
relationship between Sales and Inventory would now be a
minimum cardinality of 0.
Digital Assets
What about digital assets? Companies sell software, music, or digital
photographs over the Internet.
These types of companies only sell the copies, but not the actual
resource.
You would still need an Inventory Table so that customers
can see what products are available for sale.
The Inventory table is almost the same as that for
businesses that sell merchandise. The difference is
that there is no need for attributes such as quantity
on hand, quantity available, and reorder point and
reorder quantity because they are only selling copies.
Page 3 of 10
Rental Transactions
Some businesses rent items rather then selling them. This involves only
the temporary use of a resource. Thus, the rental transaction involves
receipt of the returned item and receipt of cash.
Figure 19-5 provides an REA diagram for a partial revenue cycle for
rental transactions.
Businesses need to track each rental item or equipment separately.
The primary key for rental equipment would be the serial number.
Attributes in the Rental Inventory table would include the date and time
it was rented, rental price and terms of the rental agreement.
Figure 19-5 shows that the Rent Item event is linked to both the Receive
Cash and Return Item events.
The minimum cardinality of 1 reflects that customers normally pay first.
The maximum cardinality is N because there may be additional charges
when an item is returned.
The cardinality from the Receive Cash event to the Rent Item event is a
minimum of 0 and maximum of 1.
The relationship between the Rent Item and Return Item events is 1:1.
Additional Events
Figure 19-4 is similar to the REA diagram in 18-2, except that we have
one new event, Request Inventory at the beginning of the REA diagram.
There is also one new corresponding table, Request Inventory.
Request Inventory event provides a way to collect data about the request
sent by activities or departments to the purchasing department.
The cardinality pair from the Request Inventory event to the Order event
has a minimum cardinality of 0 and maximum of N.
The 0 minimum reflects the fact that the purchase request occurs
before the purchase order.
The N maximum reflects the fact that some requests involve items
from more then one vendor, requiring more than one purchase order.
Going back to the Request Inventory event from the Order event
also has a 0 minimum and N maximum.
Page 4 of 10
Attribute Placement
There is only one attribute, Quantity Requested, in the new table,
Inventory-Request_Inventory.
The unit costs and quantity-on-hand attributes are provided in the
Inventory Table. The quantity ordered attribute is provided in the
Inventory-Order_Inventory Table. This will be needed in calculating the
cost of goods sold and the inventory value as various valuation methods
(FIFO, LIFO, weighted-average, or specific identification).
Page 5 of 10
The relationship between the acquisition event and the resource entity
is modeled as 1:N because in most cases each service is acquired from a
different supplier.
Rental Transactions
Many organizations rent office spaces and warehouses.
Information about the payment event is included in the Disburse Cash
table.
A separate Rent Resource event may be created to represent the
acquisition of the resource.
Rented and owned resources may be represented in separate entities.
In addition, if the rented resource must be returned, then another event
will need to be included in the REA diagram.
In that case, the Rent Resource event would be linked to two
events: 1) Disburse Cash and 2) the Return of the resource.
Page 6 of 10
Page 7 of 10
HR Cycle Entities
The Employee entity is linked to almost every other entity in the
diagram.
The Employee entity stores much of the data typically found in the
employee master file
The Skills entity contains data about the different job skills of
interest to the organization.
The relationship between Skills and Employees is modeled as being M:N
because on employee may possess a number of job skills and several
employees may possess the same skill.
The Training event entity represents the various workshops, training
programs, and other opportunities provided for employees to develop and
maintain their skills.
The relationship between the Employees and Training entities is M:N.
The relationship between the Skills and Training entities is 1:N.
The Recruiting event entity stores data about activities performed to
notify the public of job openings.
The M:N relationship between Skills and Recruiting reflects the fact
that each advertisement may seek several specific skills and that, over
time, there may be several advertisements for a given skill.
The relationship between the Recruiting event and Job Applicants is
modeled as being M:N
The Interview event stores detailed data about each job interview. It is
linked to the Hire Employees event in a 1:N relationship.
Page 8 of 10
Page 9 of 10
Page 10 of 10