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