Example 2b
Instead of creating a specific price object for ACME we can instead use standard price objects and apply PriceDiscounts. The next examples demonstrate this method.
Modeling a 10% discount against a existing standard prices
Before we model an ACME Discount, Below are definitions for standard price objects for various Devices:
Standard Price object for ALL GSM devices (For example, no Discount specified):
Standard Price for Wireless router, no Discount specified:
Creating a specific ACME Price Discount object
We now create a Price Discount object specific to ACME Worldwide and referencing the above standard price objects. We create a discount of 10 Percent for One-Time charges (for example, the price of the device). We make the Discount require the Party "ACME Worldwide", and attach it to the Standard Price Objects that we want the discount to apply to. Finally, we also add the discount to the CFA_1 Corporate Framework Agreement:
Modeling a 10% discount against an existing, standard Tariff
This is another example that shows modeling an ACME specific discount against a more complex price object: the Tariff.
Typically, a Tariff price is composed of a price matrix of charge "bands". A Voice Tariff, for example might be composed of two charge bands:
- For voice usage up to 500 minutes, there is no charge
- For voice usage over 500 minutes, a charge of .10 per minutes is assessed
Typically a Tariff price is composed of a price matrix of charge "bands". A Voice Tariff, for example might be composed of two charge bands:
The detailed charges of the two child records (Voice_0_500, Voice_500_and_Over) is as follows:
Creating a specific ACME Price Discount object
We now create a Price Discount object specific to ACME Worldwide and apply it to this group of Tariff Charges. We create a discount of 10 Percent for "Feature" charges (for example, use of the specified feature on the standard price object). We make the Discount require the Party "ACME Worldwide", and attach it to Voice_Tariff_A price object. Finally, we also add the discount to the CFA_1 Corporate Framework Agreement: