Here are some sample stories for a typical on-line store application:
--------------------------------------------------------------------------------
If the customer has entered a valid Tax Exemption ID, do not charge sales tax.
--------------------------------------------------------------------------------
If the Customer ID is on the Preferred Customer list, do not charge for shipping, except for Next Day service.
--------------------------------------------------------------------------------
On the System Status Page, show the number of orders in the past 24 hours, the total revenue, and list the top ten
items in order of quantity ordered.
--------------------------------------------------------------------------------
If the delivery address of a purchase is in any of the states in the attached table, calculate, display, and charge
sales tax using the corresponding percentage.
|