Difference between revisions of "Tariff Transformation"
Line 25: | Line 25: | ||
'''HINT''': This function can be used when importing user retail tariff. At first you create fake wholesale Tariff, import Rates into it and transform to user retail Tariff with values 0/0. | '''HINT''': This function can be used when importing user retail tariff. At first you create fake wholesale Tariff, import Rates into it and transform to user retail Tariff with values 0/0. | ||
<br><br> | <br><br> | ||
=See also= | |||
See also | |||
* [[Make Retail Tariff from Wholesale Tariff explained]] | * [[Make Retail Tariff from Wholesale Tariff explained]] |
Revision as of 08:09, 29 September 2009
Wholesale tariffs can be transformed to user retail tariffs. It can be done in main tariffs window pressing on Make user retail tariff (this link appears when tariff has at least one rate):
Enter values you want to add to values from wholesale tariff to retail tariff. 3 cases possible:
Let's say X is wholesale rate
1. You enter value Y into Add amount field then:
Retail rate will be X + Y
2. You enter value Z into Add percent field then:
Retail rate will be X + (X/100 * Z)
3. You enter value Y into Add amount field AND Z into Add percent field then:
Retail rate will be (X + Y) + ((X + Y) / 100 * Z)
NOTE: Largest value from wholesale tariff is taken for Destination group in retail tariff (by prefix) when doing this transformation. For more detailed explanation check here.
HINT: This function can be used when importing user retail tariff. At first you create fake wholesale Tariff, import Rates into it and transform to user retail Tariff with values 0/0.