The
ColAction-global,
ColAction-batch and
ColAction-partner tables let you configure rules to automatically replace and modify rate values during the import. All they have the similar set of columns.
The
ColAction-global actions are applied globally for all imported files. The
ColAction-partner table contains rules associated with partners from the
Parsing config table. When 5gVision receives an email from a partner or you assign a partner to a manually imported rate file, the System copies these rules from the partner config to the
ColActions-batch table, where they are assigned to a specific batch. Once copied, these rules become valid for this batch only and changes in the batch rules do not affect the partner rules and vice versa. The only way to copy them back to
ColActions-partner is to use the
Save config for Partner button in the
Match columns window.
A rule basically consists of two parts: a condition and an action. In the condition part, you may define the inspected column (
Action column), the condition proper (
Action condition) and the condition value (
Condition value). The action part lets you specify what to do when the condition is satisfied. You may find and replace the value in the
Action column (
Replace find and
Replace with), update the
Processing policy 5g column (
Update policy 5g) or any other column for that matter (
Update column N and
Update value N). If it is required, you can set
Case sensitive. It applies to both the
Condition value and the
Replace find value.
Suppose you need to set up two rules:
- Rule 1 - correct the spelling error in the name "New Zealand" when it is written as "Newzealand".
- Rule 2 - mark rates as "blocked" when the Changed column in rate file contains "Deleted".
For the first rule you need the following parameters:
- Action columns = Area name in file.
- Action condition = if contains.
- Condition value = Newzealand.
- Replace find = Newzealand.
- Replace with = New Zealand.
This will look for the word "Newzealand" in
Area name in file and replace it with "New Zealand".
For the second rule you need the following parameters:
- Action columns = Changed.
- Action condition = if contains.
- Condition value = Deleted.
- Update policy 5g = Block.
- Update column 1 = Processing policy ext.
- Update value 1 = block.
This will look for the word "Deleted" in the
Changed column, mark such rate as blocked for 5gVision and add a comment "block" in the
Processing policy ext column. The latter may be useful if you plan to export the file into CSV and load it into your billing system. In this way, you can tell your billing system to block this rate.