...
This page describes the activities that make up step in steps 3.1 and 3.2 in the table above.
Warning |
---|
Knowledge of CDRator Product Configuration is a prerequisite for understanding this page. |
...
If there are no missing or misconfigured items in each of the above steps the rating process will result in the creation of an invoice detail line based on the standard prices. The process will eventually continue with involving campaigns and bundles according to the price configuration.
Warning |
---|
At this point of the process the invoice detail line is not yet persistent in the database. |
Rating (campaign)
General
How does rating know that a campaign needs to be involved?
In order for rating to involve a campaign:
- The subscriber must be assigned to an active campaign.
- The campaign must have one bundle mapped to the very same plan element (or one of its ancestors) used during the standard prices rating.
In that case the bundle's rating logic is involved in the process:
- the price (invoice detail lines) by standard configuration is input to the bundle rating;
- the output of the bundle rating depends on the bundle itself, but generally can be:
- an updated version of the original invoice detail line (e.g. zero-rated or 50% discounted)
- an updated version of the original invoice detail line with a new public representation (e.g. the discounted phone calls are listed under a new invoice level which contains only the discounted lines)
- the same original price plus another invoice detail line which gives the subscriber a credit of the same amount
- the original price if e.g. the customer has finished the bonus
Restrict Active Framework