Class NSContact|
Carrier object for Contact.n
Constructors
NSContact()
Initializes a new instance of the NSContact class.
Declaration
NSContact Methods
GetActiveErpLinks()
Declaration
Integer GetActiveErpLinks() Examples
NSContact thing;
Integer activeErpLinks = thing.GetActiveErpLinks();
Returns
| Type | Description |
| Integer | The number of active ERP links. |
GetAddress()
Declaration
NSAddress GetAddress() Examples
NSContact thing;
NSAddress address = thing.GetAddress();
Returns
| Type | Description |
| NSAddress | Contact address as a list of LocalizedFieldList objects. |
GetAssociateFullName()
Declaration
String GetAssociateFullName() Examples
NSContact thing;
String associateFullName = thing.GetAssociateFullName();
Returns
| Type | Description |
| String | The associate's culture formatted fullname (firstname, middleName and lastname). |
GetAssociateId()
Declaration
Integer GetAssociateId() Examples
NSContact thing;
Integer associateId = thing.GetAssociateId();
Returns
| Type | Description |
| Integer | Our contact. |
GetBusinessName()
Declaration
String GetBusinessName() Examples
NSContact thing;
String businessName = thing.GetBusinessName();
Returns
| Type | Description |
| String | The business list item name. |
GetCategoryName()
Declaration
String GetCategoryName() Examples
NSContact thing;
String categoryName = thing.GetCategoryName();
Returns
| Type | Description |
| String | The category list item name. |
GetCity()
Declaration
String GetCity() Examples
NSContact thing;
String city = thing.GetCity();
Returns
| Type | Description |
| String | City corresponding to zip code. |
GetContactId()
Declaration
Integer GetContactId() Examples
NSContact thing;
Integer contactId = thing.GetContactId();
Returns
| Type | Description |
| Integer | Primary key. |
GetCountryId()
Declaration
Integer GetCountryId() Examples
NSContact thing;
Integer countryId = thing.GetCountryId();
Returns
| Type | Description |
| Integer | Country. |
GetCountryName()
Declaration
String GetCountryName() Examples
NSContact thing;
String countryName = thing.GetCountryName();
Returns
| Type | Description |
| String | Name of country in installed language. |
GetDepartment()
Declaration
String GetDepartment() Examples
NSContact thing;
String department = thing.GetDepartment();
Returns
| Type | Description |
| String | Department. |
GetDirectPhone()
Declaration
String GetDirectPhone() Examples
NSContact thing;
String directPhone = thing.GetDirectPhone();
Returns
| Type | Description |
| String | The contacts phone. |
GetEmailAddress()
Declaration
String GetEmailAddress() Examples
NSContact thing;
String emailAddress = thing.GetEmailAddress();
Returns
| Type | Description |
| String | The contact email address. |
GetEmailAddressName()
Declaration
String GetEmailAddressName() Examples
NSContact thing;
String emailAddressName = thing.GetEmailAddressName();
Returns
| Type | Description |
| String | Visible field. |
GetFormattedAddress()
Declaration
String GetFormattedAddress() Examples
NSContact thing;
String formattedAddress = thing.GetFormattedAddress();
Returns
| Type | Description |
| String | The contact's address, formatted with line breaks and spaces into a single string. |
GetFullName()
Declaration
String GetFullName() Examples
NSContact thing;
String fullName = thing.GetFullName();
Returns
| Type | Description |
| String |
GetIsOwnerContact()
Declaration
Bool GetIsOwnerContact() Examples
NSContact thing;
Bool isOwnerContact = thing.GetIsOwnerContact();
Returns
| Type | Description |
| Bool | Is the contact an owner contact? |
GetKananame()
Declaration
String GetKananame() Examples
NSContact thing;
String kananame = thing.GetKananame();
Returns
| Type | Description |
| String | Contact kana name, used in Japanese versions only. |
GetName()
Declaration
String GetName() Examples
NSContact thing;
String name = thing.GetName();
Returns
| Type | Description |
| String | Contact name. |
GetOrgNr()
Declaration
String GetOrgNr() Examples
NSContact thing;
String orgNr = thing.GetOrgNr();
Returns
| Type | Description |
| String | VAT number or similar. |
GetURL()
Declaration
String GetURL() Examples
NSContact thing;
String uRL = thing.GetURL();
Returns
| Type | Description |
| String | The internet address to this contact. |
GetURLName()
Declaration
String GetURLName() Examples
NSContact thing;
String uRLName = thing.GetURLName();
Returns
| Type | Description |
| String | Visible field. |
SetActiveErpLinks(Integer)
Declaration
Void SetActiveErpLinks(Integer activeErpLinks) Examples
NSContact thing;
Integer activeErpLinks;
thing.SetActiveErpLinks(activeErpLinks);
Parameters
| Type | Name | Description |
| Integer | activeErpLinks | The number of active ERP links. |
Returns
| Type | Description |
| Void |
SetAddress(NSAddress)
Declaration
Void SetAddress(NSAddress address) Examples
NSContact thing;
NSAddress address;
thing.SetAddress(address);
Parameters
| Type | Name | Description |
| NSAddress | address | Contact address as a list of LocalizedFieldList objects. |
Returns
| Type | Description |
| Void |
SetAssociateFullName(String)
Declaration
Void SetAssociateFullName(String associateFullName) Examples
NSContact thing;
String associateFullName;
thing.SetAssociateFullName(associateFullName);
Parameters
| Type | Name | Description |
| String | associateFullName | The associate's culture formatted fullname (firstname, middleName and lastname). |
Returns
| Type | Description |
| Void |
SetAssociateId(Integer)
Declaration
Void SetAssociateId(Integer associateId) Examples
NSContact thing;
Integer associateId;
thing.SetAssociateId(associateId);
Parameters
| Type | Name | Description |
| Integer | associateId | Our contact. |
Returns
| Type | Description |
| Void |
SetBusinessName(String)
Declaration
Void SetBusinessName(String businessName) Examples
NSContact thing;
String businessName;
thing.SetBusinessName(businessName);
Parameters
| Type | Name | Description |
| String | businessName | The business list item name. |
Returns
| Type | Description |
| Void |
SetCategoryName(String)
Declaration
Void SetCategoryName(String categoryName) Examples
NSContact thing;
String categoryName;
thing.SetCategoryName(categoryName);
Parameters
| Type | Name | Description |
| String | categoryName | The category list item name. |
Returns
| Type | Description |
| Void |
SetCity(String)
Declaration
Void SetCity(String city) Examples
NSContact thing;
String city;
thing.SetCity(city);
Parameters
| Type | Name | Description |
| String | city | City corresponding to zip code. |
Returns
| Type | Description |
| Void |
SetContactId(Integer)
Declaration
Void SetContactId(Integer contactId) Examples
NSContact thing;
Integer contactId;
thing.SetContactId(contactId);
Parameters
| Type | Name | Description |
| Integer | contactId | Primary key. |
Returns
| Type | Description |
| Void |
SetCountryId(Integer)
Declaration
Void SetCountryId(Integer countryId) Examples
NSContact thing;
Integer countryId;
thing.SetCountryId(countryId);
Parameters
| Type | Name | Description |
| Integer | countryId | Country. |
Returns
| Type | Description |
| Void |
SetCountryName(String)
Declaration
Void SetCountryName(String countryName) Examples
NSContact thing;
String countryName;
thing.SetCountryName(countryName);
Parameters
| Type | Name | Description |
| String | countryName | Name of country in installed language. |
Returns
| Type | Description |
| Void |
SetDepartment(String)
Declaration
Void SetDepartment(String department) Examples
NSContact thing;
String department;
thing.SetDepartment(department);
Parameters
| Type | Name | Description |
| String | department | Department. |
Returns
| Type | Description |
| Void |
SetDirectPhone(String)
Declaration
Void SetDirectPhone(String directPhone) Examples
NSContact thing;
String directPhone;
thing.SetDirectPhone(directPhone);
Parameters
| Type | Name | Description |
| String | directPhone | The contacts phone. |
Returns
| Type | Description |
| Void |
SetEmailAddress(String)
Declaration
Void SetEmailAddress(String emailAddress) Examples
NSContact thing;
String emailAddress;
thing.SetEmailAddress(emailAddress);
Parameters
| Type | Name | Description |
| String | emailAddress | The contact email address. |
Returns
| Type | Description |
| Void |
SetEmailAddressName(String)
Declaration
Void SetEmailAddressName(String emailAddressName) Examples
NSContact thing;
String emailAddressName;
thing.SetEmailAddressName(emailAddressName);
Parameters
| Type | Name | Description |
| String | emailAddressName | Visible field. |
Returns
| Type | Description |
| Void |
SetFormattedAddress(String)
Declaration
Void SetFormattedAddress(String formattedAddress) Examples
NSContact thing;
String formattedAddress;
thing.SetFormattedAddress(formattedAddress);
Parameters
| Type | Name | Description |
| String | formattedAddress | The contact's address, formatted with linebreaks and spaces into a single string. |
Returns
| Type | Description |
| Void |
SetFullName(String)
Declaration
Void SetFullName(String fullName) Examples
NSContact thing;
String fullName;
thing.SetFullName(fullName);
Parameters
| Type | Name | Description |
| String | fullName |
Returns
| Type | Description |
| Void |
SetIsOwnerContact(Bool)
Declaration
Void SetIsOwnerContact(Bool isOwnerContact) Examples
NSContact thing;
Bool isOwnerContact;
thing.SetIsOwnerContact(isOwnerContact);
Parameters
| Type | Name | Description |
| Bool | isOwnerContact | Is the contact an owner contact? |
Returns
| Type | Description |
| Void |
SetKananame(String)
Declaration
Void SetKananame(String kananame) Examples
NSContact thing;
String kananame;
thing.SetKananame(kananame);
Parameters
| Type | Name | Description |
| String | kananame | Contact kana name, used in Japanese versions only. |
Returns
| Type | Description |
| Void |
SetName(String)
Declaration
Void SetName(String name) Examples
NSContact thing;
String name;
thing.SetName(name);
Parameters
| Type | Name | Description |
| String | name | Contact name. |
Returns
| Type | Description |
| Void |
SetOrgNr(String)
Declaration
Void SetOrgNr(String orgNr) Examples
NSContact thing;
String orgNr;
thing.SetOrgNr(orgNr);
Parameters
| Type | Name | Description |
| String | orgNr | VAT number or similar. |
Returns
| Type | Description |
| Void |