Designing Frequent Flier Event Types
The following event types illustrate typical events for a frequent flier membership:
SC Event Type
Description
Membership Type
Algorithm System Event
Algorithm
ADDMILES
Add miles to the membership
FFDELTA
Event Creation
Generate Bill Message
Event Creation
Populate Batch Information
Event Cancellation
Event may not be canceled.
This event type assume the following:
A new event should generate a bill message.
Information about the event amount should be interfaced to an external system so batch information should be populated when the event is completed.
Events of this type may not be canceled because the information is interfaced to an external system. Rather, to reverse an event, simply create a new event whose amount is a credit. This credit amount is also interfaced to an external system.
Note: 
Sample Algorithm. The system does not provide a sample cancellation algorithm that prevents the event from being canceled.
There is no validation to ensure that the balance does not fall below zero. Recall that this membership was defined as not requiring a balance.
Notice that only one type of event has been defined for this membership. That is because the credits for this membership are not redeemed via this system. Rather they are accumulated on behalf of an external system.