Difference between revisions of "Column: Customer country"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Resource data caches]]
 

 

  
Line 40: Line 40:
 
Typically the axis for this column will look something like the below:
 
Typically the axis for this column will look something like the below:
  
Axis text: "CustomerCountry"Math base: "CustomerCountry"Pct base: "CustomerCountry!=empty"
+
Axis text: "CustomerCountry"
 +
<br>Math base: "CustomerCountry"
 +
<br>Pct base: "CustomerCountry!=empty"
  
Option 1: Name="Germany"; Value="CustomerCountry==12"Option 2: Name="...."; Value="CustomerCountry==...", etc.
+
Option 1: Name="Germany"; Value="CustomerCountry==12"
 +
<br>Option 2: Name="...."; Value="CustomerCountry==...", etc.
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="228" bgcolor="#FFC20E" |
 
| style="border: 1px solid #010101" width="228" bgcolor="#FFC20E" |
Line 48: Line 51:
 
| style="border: 1px solid #010101" width="839" |
 
| style="border: 1px solid #010101" width="839" |
 
N/A
 
N/A
 
Back to: [[ Column: Customer ]]
 
__NOTOC__
 
 
<!-- imported from file: 7755.htm-->
 
<!-- imported from file: 7755.htm-->

Latest revision as of 06:05, 26 April 2011



Column: Customer country

Column

Customer country

Source

The country id of the group set as customer of the returned invoice resource

Automatically given column name

CustomerCountry

Column type

Number

Resource types that use it

Invoice

How axis set information is built

This column is what we call a "search string dependent axis option". This means that the axis set for it is rebuilt each time that the resource cache is rebuilt. The reason for this is, that the number of possible option outcomes for the column is changing each time the column is updated. For this column it will not make sense if you try to update its options directly in the axis set, since these will be reset on resource cache rebuild anyway.

The axis set is built upon first extracting all the IDs that are in the "Country" column, then creating one option in the axis set for each unique value. The option will be named the same as the country in catglobe that owns the ID. Let us say that the system finds the value "12" in this column. The system will then look up the name of the country record with this ID and create an option in the axis automatically generated for the column.

Typically the axis for this column will look something like the below:

Axis text: "CustomerCountry"
Math base: "CustomerCountry"
Pct base: "CustomerCountry!=empty"

Option 1: Name="Germany"; Value="CustomerCountry==12"
Option 2: Name="...."; Value="CustomerCountry==...", etc.

Comment

N/A