Difference between revisions of "Field: Phone number types"

From Catglobe Wiki
Jump to: navigation, search
Line 3: Line 3:
  
 
==Field: Phone number types==
 
==Field: Phone number types==
 +
<table width="1189" cellspacing="0" cellpadding="2" border="0" style="border-collapse:collapse" class="tableintopic">
 +
<tbody><tr>
 +
<td width="168" height="0"></td>
 +
<td width="1020" height="0"></td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="1189" colspan="2" style="border:1px solid #010101;"><h2 class="heading2">Field: Phone number types</h2>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="168" style="border:1px solid #010101;"><p class="bodytext">Type</p>
 +
</td>
 +
<td width="1021" style="border:1px solid #010101;"><p class="bodytext">String</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="168" style="border:1px solid #010101;"><p class="bodytext">General Description</p>
 +
</td>
 +
<td width="1021" style="border:1px solid #010101;"><p class="bodytext">There exists 13 ‘phone number’ types that appear in the Import Phone Number section. These 13 work in exactly the same way so they will all be explained in this help file. </p>
 +
<p class="bodytext">The 13 types are:</p>
 +
<ul class="listbullet"><li class="listbullet">Phone number not identified, </li><li class="listbullet">Phone number home 1, </li><li class="listbullet">Phone number home 2, </li><li class="listbullet">Phone number mobile 1, </li><li class="listbullet">Phone number mobile 2, </li><li class="listbullet">Phone number business 1, </li><li class="listbullet">Phone number business 2, </li><li class="listbullet">Fax number home fax, </li><li class="listbullet">Fax number business fax, </li><li class="listbullet">Phone number main 1, </li><li class="listbullet">Phone number main 2, </li><li class="listbullet">Fax number 1,</li><li class="listbullet">Fax number 2.</li></ul></td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="168" style="border:1px solid #010101;"><p class="bodytext">Import Group</p>
 +
</td>
 +
<td width="1021" style="border:1px solid #010101;"><p class="bodytext">Import phone number on user &amp; answer sheet import job</p>
 +
</td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="168" style="border:1px solid #010101;"><p class="bodytext">Business Rules</p>
 +
</td>
 +
<td width="1021" style="border:1px solid #010101;"><ul class="listbullet"><li class="listbullet">Catglobe does not separate fax numbers from phone numbers in the business rules it applies.</li><li class="listbullet">One phone number type is unique for one user. If importing a phone number type for an existing user, any existing number of that type will be overwritten. To update this field for an existing user, you must select a User_Id column in step 1 of the import wizard. The value in this column will be used to determine which user’s record to update</li><li class="listbullet">If user choose to import phone number information, there will appear a drop down list and user could choose a source column (on excel file) which will be used as country code for imported user's phone number.</li><li class="listbullet">Phone numbers are always imported along with a country code. There are three ways that this country code can be established. </li><li class="listbullet">The first way, if source phone number value starts with “+”, it will consider that this value includes country_code already. </li><li class="listbullet">The second way, if the source phone number value doesn't start with “+”. Country code will be file in source country column which is mapped in step 2.</li><li class="listbullet">The last one, If you do not select a country code in the drop down list or source value is blank, the system will look up the ‘DefaultCountryCodeForImportedUsers’ setting, as described in the ‘web.config’ help file, as the country code of the imported user's phone number.</li><li class="listbullet">-Importing an empty string means that any number which may exist for the user will be kept. If you instead wish any existing number to be erased then insert "#ERASE" into the field.</li></ul></td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="168" style="border:1px solid #010101;"><p class="bodytext">Auto mapping</p>
 +
</td>
 +
<td width="1021" style="border:1px solid #010101;"><p class="bodytext">In order to ensure auto mapping then the column name in the Excel must fit with the given name in import. This name is language dependent as shown: </p>
 +
<p class="bodytext">UK:</p>
 +
<ul class="listbullet"><li class="listbullet">PhoneType_NotIdentified</li><li class="listbullet">PhoneType_Home1</li><li class="listbullet">PhoneType_Home2</li><li class="listbullet">PhoneType_Mobile1</li><li class="listbullet">PhoneType_Mobile2</li><li class="listbullet">PhoneType_Business1</li><li class="listbullet">PhoneType_Business2</li><li class="listbullet">PhoneType_HomeFax</li><li class="listbullet">PhoneType_BusinessFax</li><li class="listbullet">PhoneType_Main1</li><li class="listbullet">PhoneType_Main2</li><li class="listbullet">PhoneType_Fax1</li><li class="listbullet">PhoneType_Fax2</li></ul><p class="bodytext">DK: Bruger_Brugernavn</p>
 +
<ul class="listbullet"><li class="listbullet">TelefonType_IkkeIdentificeret</li><li class="listbullet">TelefonType_Hjemme1</li><li class="listbullet">TelefonType_Hjemme2</li><li class="listbullet">TelefonType_Mobil1</li><li class="listbullet">TelefonType_Mobil2</li><li class="listbullet">TelefonType_Arbejde1</li><li class="listbullet">TelefonType_Arbejde2</li><li class="listbullet">TelefonType_Fax(Hjemme)</li><li class="listbullet">TelefonType_Fax(Arbejde)</li><li class="listbullet">TelefonType_Hovednummer1</li><li class="listbullet">TelefonType_Hovednummer2</li><li class="listbullet">TelefonType_Fax1</li><li class="listbullet">TelefonType_Fax2</li></ul></td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="168" style="border:1px solid #010101;"><p class="bodytext">Validation</p>
 +
</td>
 +
<td width="1021" style="border:1px solid #010101;"><ul class="listbullet"><li class="listbullet">Country code must be in the range of available values in table Country in database. If country code is not in the legal values, error message will be shown on the correct line to let the system user know. Error type: ERROR (the import job will not be allowed to be executed).</li><li class="listbullet">An extensive phone number formatting logic has been implemented from version 5.4. To read more on how phone number formats are validated compared to the country they come from please <a target="_self" href="4433.htm" title="Phone number validation rules" class="" id="h4434">click here</a>.</li></ul></td>
 +
</tr>
 +
<tr valign="top" align="left">
 +
<td width="168" style="border:1px solid #010101;"><p class="bodytext">Notes</p>
 +
</td>
 +
<td width="1021" style="border:1px solid #010101;"><ul class="listbullet"><li class="listbullet">For more information on importing country code please refer to the help file on Country.</li></ul></td>
 +
</tr>
  
 +
</tbody></table>
  
  
 
<!-- imported from file: 514.htm-->
 
<!-- imported from file: 514.htm-->

Revision as of 06:31, 19 December 2011



Field: Phone number types

<tbody> </tbody>

Field: Phone number types

Type

String

General Description

There exists 13 ‘phone number’ types that appear in the Import Phone Number section. These 13 work in exactly the same way so they will all be explained in this help file.

The 13 types are:

  • Phone number not identified,
  • Phone number home 1,
  • Phone number home 2,
  • Phone number mobile 1,
  • Phone number mobile 2,
  • Phone number business 1,
  • Phone number business 2,
  • Fax number home fax,
  • Fax number business fax,
  • Phone number main 1,
  • Phone number main 2,
  • Fax number 1,
  • Fax number 2.

Import Group

Import phone number on user & answer sheet import job

Business Rules

  • Catglobe does not separate fax numbers from phone numbers in the business rules it applies.
  • One phone number type is unique for one user. If importing a phone number type for an existing user, any existing number of that type will be overwritten. To update this field for an existing user, you must select a User_Id column in step 1 of the import wizard. The value in this column will be used to determine which user’s record to update
  • If user choose to import phone number information, there will appear a drop down list and user could choose a source column (on excel file) which will be used as country code for imported user's phone number.
  • Phone numbers are always imported along with a country code. There are three ways that this country code can be established.
  • The first way, if source phone number value starts with “+”, it will consider that this value includes country_code already.
  • The second way, if the source phone number value doesn't start with “+”. Country code will be file in source country column which is mapped in step 2.
  • The last one, If you do not select a country code in the drop down list or source value is blank, the system will look up the ‘DefaultCountryCodeForImportedUsers’ setting, as described in the ‘web.config’ help file, as the country code of the imported user's phone number.
  • -Importing an empty string means that any number which may exist for the user will be kept. If you instead wish any existing number to be erased then insert "#ERASE" into the field.

Auto mapping

In order to ensure auto mapping then the column name in the Excel must fit with the given name in import. This name is language dependent as shown:

UK:

  • PhoneType_NotIdentified
  • PhoneType_Home1
  • PhoneType_Home2
  • PhoneType_Mobile1
  • PhoneType_Mobile2
  • PhoneType_Business1
  • PhoneType_Business2
  • PhoneType_HomeFax
  • PhoneType_BusinessFax
  • PhoneType_Main1
  • PhoneType_Main2
  • PhoneType_Fax1
  • PhoneType_Fax2

DK: Bruger_Brugernavn

  • TelefonType_IkkeIdentificeret
  • TelefonType_Hjemme1
  • TelefonType_Hjemme2
  • TelefonType_Mobil1
  • TelefonType_Mobil2
  • TelefonType_Arbejde1
  • TelefonType_Arbejde2
  • TelefonType_Fax(Hjemme)
  • TelefonType_Fax(Arbejde)
  • TelefonType_Hovednummer1
  • TelefonType_Hovednummer2
  • TelefonType_Fax1
  • TelefonType_Fax2

Validation

  • Country code must be in the range of available values in table Country in database. If country code is not in the legal values, error message will be shown on the correct line to let the system user know. Error type: ERROR (the import job will not be allowed to be executed).
  • An extensive phone number formatting logic has been implemented from version 5.4. To read more on how phone number formats are validated compared to the country they come from please <a target="_self" href="4433.htm" title="Phone number validation rules" class="" id="h4434">click here</a>.

Notes

  • For more information on importing country code please refer to the help file on Country.