Setting up a translation table

Create, open, or modify a translation table before setting it up. A translation table window must be open.

 

Important: Order of rows in a translation table.

When a translation table is used in a price plan, a charging plan, a pricing macro, or in the refill logic, a Table Operator component compares row by row the input columns of the translation table with price plan properties. The comparison stops when the price plan properties match at least one row of the input columns of the translation table; therefore, the order of the rows in the translation table is important.

 

Note: Once you have saved a translation table, you can no longer modify its name or structure. You can only modify the Table Instance tab by adding content to it.

Translation Table window

To set up a translation table, you must fill in or modify the Table Schema tab and the Table Instance tab.

Table Schema tab

This tab allows you to create the structure of your translation table which can consists of one to five input columns and one to fifteen output columns. Use the icons to fill in the tab.

Name: Type the unique identifier of the table.

Description: Describe the translation table if necessary.

Start and end dates can be specified for each row: If selected, this option adds the columns Start Date and End Date to the table in the Table Instance tab. This option is used in combination with the field Reference Date of a table operator component. You use this option as an additional criterion to sort the items of the table. You can, for example, fix the price of phone calls depending on prefixes and call dates.

Disallow duplicate input values for the same time: If selected, this option prevent you from adding two rows containing the same input values. An error message is displayed when two rows containing the same values are added to the table. If the option Start and end dates can be specified for each row is selected, two rows are considered as duplicated if they contain the same input values and if the periods delimited by Start date and End date overlap.

Example of duplicate input values

I1

I2

I3

Start date

End date

John

Jane

Harry

null (*)

null

John

Jane

Harry

null

null

(*): Null represents an unspecified date in the past or the future.

 

I1

I2

I3

Start date

End date

John

null (*)

Harry

2007-01-01

2007-02-01

John

null

Harry

2007-01-15

2007-02-07

(*): Null represents an empty cell.

 

I1

I2

I3

Start date

End date

John

Peter

Harry

2007-01-01-10:48:05

null

John

Peter

Harry

null

2007-01-01-10:48:06 (*)

(*): An overlap of 1 second is enough.

Input Columns

Output Columns

Table Instance tab

Note: Double-clicking a column sorts the data in that column, and the entire table is updated accordingly. Double-click a second time the column sorts the column (and the table) in reverse order.

Once you have created the structure of your translation table in the Table Schema tab, you can add one or more rows to the table, and then fill in the cells of each row with appropriate values. When adding a new row to the table, each cell of the input columns is assigned the default value "Any" that represents any value. You can replace "Any" by any value of your choice.

If you have selected the Start and end dates can be specified for each row option, two additional columns Start Date and End Date appear in the table. After you add a row, click the cell of each column to open a calendar, and then select a date if necessary. Depending on your choice, the item of the table is defined as follows:

Use the icons to fill in the data.

Note: Instead of manually typing all of the data in the columns, you can import existing data from external .CSV type files by clicking .