Class NSPerson
Carrier object for Person.
Syntax
Constructors
NSPerson()
Initializes a new instance of the NSPerson class.
Declaration
Methods
GetActiveErpLinks()
How many active ERP links are there for this person?
Declaration
Integer GetActiveErpLinks()
Returns
Examples
NSPerson thing;
Integer activeErpLinks = thing.GetActiveErpLinks();
GetActiveInterests()
Number of records in pintr table; select count(*) from pintr pi where pi.person_id = this.person_id == activeInterests is always true
Declaration
Integer GetActiveInterests()
Returns
Examples
NSPerson thing;
Integer activeInterests = thing.GetActiveInterests();
GetAssociateId()
ID of the item's owner (Associate id)
Declaration
Returns
Examples
NSPerson thing;
Integer associateId = thing.GetAssociateId();
GetAssociateName()
Name of the person's owner
Declaration
String GetAssociateName()
Returns
Examples
NSPerson thing;
String associateName = thing.GetAssociateName();
GetCategoryName()
The category list item name
Declaration
Returns
Examples
NSPerson thing;
String categoryName = thing.GetCategoryName();
The persons contact country ID
Declaration
Integer GetContactCountryId()
Returns
NSPerson thing;
Integer contactCountryId = thing.GetContactCountryId();
The persons contact department
Declaration
String GetContactDepartment()
Returns
NSPerson thing;
String contactDepartment = thing.GetContactDepartment();
Actual phone number as entered by the user
Declaration
Returns
NSPerson thing;
String contactFax = thing.GetContactFax();
Company full name + department
Declaration
String GetContactFullName()
Returns
NSPerson thing;
String contactFullName = thing.GetContactFullName();
Declaration
Returns
NSPerson thing;
Integer contactId = thing.GetContactId();
Declaration
Returns
NSPerson thing;
String contactName = thing.GetContactName();
The persons contact organization number
Declaration
Returns
NSPerson thing;
String contactOrgNr = thing.GetContactOrgNr();
Returns the direct phone that belong to the persons contact.
Declaration
Returns
NSPerson thing;
String contactPhone = thing.GetContactPhone();
GetCountryId()
Declaration
Returns
Examples
NSPerson thing;
Integer countryId = thing.GetCountryId();
GetDescription()
Info text/description on person.
Declaration
Returns
Examples
NSPerson thing;
String description = thing.GetDescription();
GetDirectPhone()
Returns the direct phone that belong to the contact person.
Declaration
Returns
Examples
NSPerson thing;
String directPhone = thing.GetDirectPhone();
GetEmail()
First email on contact person.
Declaration
Returns
Examples
NSPerson thing;
String email = thing.GetEmail();
GetEmailName()
Declaration
Returns
Examples
NSPerson thing;
String emailName = thing.GetEmailName();
GetFaxPhone()
Returns the fax phone that belong to the contact person.
Declaration
Returns
Examples
NSPerson thing;
String faxPhone = thing.GetFaxPhone();
GetFirstname()
Declaration
Returns
Examples
NSPerson thing;
String firstname = thing.GetFirstname();
Gets formal name for a person, as used in labels. (Full name + person title + academic title)
Declaration
Returns
NSPerson thing;
String formalName = thing.GetFormalName();
GetFullName()
Gets the persons full name (internal name used in clients for employees).
Declaration
Returns
Examples
NSPerson thing;
String fullName = thing.GetFullName();
GetKanafname()
Kana first name, used in Japanese versions only
Declaration
Returns
Examples
NSPerson thing;
String kanafname = thing.GetKanafname();
GetKanalname()
Kana last name, used in Japanese versions only
Declaration
Returns
Examples
NSPerson thing;
String kanalname = thing.GetKanalname();
GetLastname()
Declaration
Returns
Examples
NSPerson thing;
String lastname = thing.GetLastname();
GetMiddleName()
Middle name or 'van' etc.
Declaration
Returns
Examples
NSPerson thing;
String middleName = thing.GetMiddleName();
GetMobilePhone()
Returns the mobile phone that belong to the contact person.
Declaration
Returns
Examples
NSPerson thing;
String mobilePhone = thing.GetMobilePhone();
GetMrmrs()
Carrier object for Person.
Declaration
Returns
Examples
NSPerson thing;
String mrmrs = thing.GetMrmrs();
GetPersonId()
Declaration
Returns
Examples
NSPerson thing;
Integer personId = thing.GetPersonId();
GetPosition()
The position. This is a predefined SuperOffice value, different from Title
Declaration
Returns
Examples
NSPerson thing;
String position = thing.GetPosition();
GetPost1()
Postal address, used in Japanese versions only
Declaration
Returns
Examples
NSPerson thing;
String post1 = thing.GetPost1();
GetPost2()
Postal address, used in Japanese versions only
Declaration
Returns
Examples
NSPerson thing;
String post2 = thing.GetPost2();
GetPost3()
Postal address, used in Japanese versions only
Declaration
Returns
Examples
NSPerson thing;
String post3 = thing.GetPost3();
GetRank()
Display sort sequence for default sort order
Declaration
Returns
Examples
NSPerson thing;
Integer rank = thing.GetRank();
GetRetired()
1 = the user is retired and should have no rights, not appear in lists, etc.
Declaration
Returns
Examples
NSPerson thing;
Integer retired = thing.GetRetired();
GetSupportAssociateId()
Our support contact for this person
Declaration
Integer GetSupportAssociateId()
Returns
Examples
NSPerson thing;
Integer supportAssociateId = thing.GetSupportAssociateId();
GetSupportLanguageId()
Declaration
Integer GetSupportLanguageId()
Returns
Examples
NSPerson thing;
Integer supportLanguageId = thing.GetSupportLanguageId();
GetTicketPriorityId()
Declaration
Integer GetTicketPriorityId()
Returns
Examples
NSPerson thing;
Integer ticketPriorityId = thing.GetTicketPriorityId();
GetTitle()
Declaration
Returns
Examples
NSPerson thing;
String title = thing.GetTitle();
GetUsePersonAddress()
If 1, use person's address for mailing instead of company address
Declaration
Bool GetUsePersonAddress()
Returns
Examples
NSPerson thing;
Bool usePersonAddress = thing.GetUsePersonAddress();
SetActiveErpLinks(Integer)
How many active ERP links are there for this person?
Declaration
Void SetActiveErpLinks(Integer activeErpLinks)
Parameters
Type |
Name |
Description |
Integer |
activeErpLinks |
|
Returns
Examples
NSPerson thing;
Integer activeErpLinks;
thing.SetActiveErpLinks(activeErpLinks);
SetActiveInterests(Integer)
Number of records in pintr table; select count(*) from pintr pi where pi.person_id = this.person_id == activeInterests is always true
Declaration
Void SetActiveInterests(Integer activeInterests)
Parameters
Type |
Name |
Description |
Integer |
activeInterests |
|
Returns
Examples
NSPerson thing;
Integer activeInterests;
thing.SetActiveInterests(activeInterests);
SetAssociateId(Integer)
ID of the item's owner (Associate id)
Declaration
Void SetAssociateId(Integer associateId)
Parameters
Type |
Name |
Description |
Integer |
associateId |
|
Returns
Examples
NSPerson thing;
Integer associateId;
thing.SetAssociateId(associateId);
SetAssociateName(String)
Name of the person's owner
Declaration
Void SetAssociateName(String associateName)
Parameters
Type |
Name |
Description |
String |
associateName |
|
Returns
Examples
NSPerson thing;
String associateName;
thing.SetAssociateName(associateName);
SetCategoryName(String)
The category list item name
Declaration
Void SetCategoryName(String categoryName)
Parameters
Type |
Name |
Description |
String |
categoryName |
|
Returns
Examples
NSPerson thing;
String categoryName;
thing.SetCategoryName(categoryName);
The persons contact country ID
Declaration
Void SetContactCountryId(Integer contactCountryId)
Parameters
Type |
Name |
Description |
Integer |
contactCountryId |
|
Returns
NSPerson thing;
Integer contactCountryId;
thing.SetContactCountryId(contactCountryId);
The persons contact department
Declaration
Void SetContactDepartment(String contactDepartment)
Parameters
Type |
Name |
Description |
String |
contactDepartment |
|
Returns
NSPerson thing;
String contactDepartment;
thing.SetContactDepartment(contactDepartment);
Actual phone number as entered by the user
Declaration
Void SetContactFax(String contactFax)
Parameters
Type |
Name |
Description |
String |
contactFax |
|
Returns
NSPerson thing;
String contactFax;
thing.SetContactFax(contactFax);
Company full name + department
Declaration
Void SetContactFullName(String contactFullName)
Parameters
Type |
Name |
Description |
String |
contactFullName |
|
Returns
NSPerson thing;
String contactFullName;
thing.SetContactFullName(contactFullName);
Declaration
Void SetContactId(Integer contactId)
Parameters
Type |
Name |
Description |
Integer |
contactId |
|
Returns
NSPerson thing;
Integer contactId;
thing.SetContactId(contactId);
Declaration
Void SetContactName(String contactName)
Parameters
Type |
Name |
Description |
String |
contactName |
|
Returns
NSPerson thing;
String contactName;
thing.SetContactName(contactName);
The persons contact organization number
Declaration
Void SetContactOrgNr(String contactOrgNr)
Parameters
Type |
Name |
Description |
String |
contactOrgNr |
|
Returns
NSPerson thing;
String contactOrgNr;
thing.SetContactOrgNr(contactOrgNr);
Returns the direct phone that belong to the persons contact.
Declaration
Void SetContactPhone(String contactPhone)
Parameters
Type |
Name |
Description |
String |
contactPhone |
|
Returns
NSPerson thing;
String contactPhone;
thing.SetContactPhone(contactPhone);
SetCountryId(Integer)
Declaration
Void SetCountryId(Integer countryId)
Parameters
Type |
Name |
Description |
Integer |
countryId |
|
Returns
Examples
NSPerson thing;
Integer countryId;
thing.SetCountryId(countryId);
SetDescription(String)
Info text/description on person.
Declaration
Void SetDescription(String description)
Parameters
Type |
Name |
Description |
String |
description |
|
Returns
Examples
NSPerson thing;
String description;
thing.SetDescription(description);
SetDirectPhone(String)
Returns the direct phone that belong to the contact person.
Declaration
Void SetDirectPhone(String directPhone)
Parameters
Type |
Name |
Description |
String |
directPhone |
|
Returns
Examples
NSPerson thing;
String directPhone;
thing.SetDirectPhone(directPhone);
SetEmail(String)
First email on contact person.
Declaration
Void SetEmail(String email)
Parameters
Type |
Name |
Description |
String |
email |
|
Returns
Examples
NSPerson thing;
String email;
thing.SetEmail(email);
SetEmailName(String)
Declaration
Void SetEmailName(String emailName)
Parameters
Type |
Name |
Description |
String |
emailName |
|
Returns
Examples
NSPerson thing;
String emailName;
thing.SetEmailName(emailName);
SetFaxPhone(String)
Returns the fax phone that belong to the contact person.
Declaration
Void SetFaxPhone(String faxPhone)
Parameters
Type |
Name |
Description |
String |
faxPhone |
|
Returns
Examples
NSPerson thing;
String faxPhone;
thing.SetFaxPhone(faxPhone);
SetFirstname(String)
Declaration
Void SetFirstname(String firstname)
Parameters
Type |
Name |
Description |
String |
firstname |
|
Returns
Examples
NSPerson thing;
String firstname;
thing.SetFirstname(firstname);
Gets formal name for a person, as used in labels. (Full name + person title + academic title)
Declaration
Void SetFormalName(String formalName)
Parameters
Type |
Name |
Description |
String |
formalName |
|
Returns
NSPerson thing;
String formalName;
thing.SetFormalName(formalName);
SetFullName(String)
Gets the persons full name (internal name used in clients for employees).
Declaration
Void SetFullName(String fullName)
Parameters
Type |
Name |
Description |
String |
fullName |
|
Returns
Examples
NSPerson thing;
String fullName;
thing.SetFullName(fullName);
SetKanafname(String)
Kana first name, used in Japanese versions only
Declaration
Void SetKanafname(String kanafname)
Parameters
Type |
Name |
Description |
String |
kanafname |
|
Returns
Examples
NSPerson thing;
String kanafname;
thing.SetKanafname(kanafname);
SetKanalname(String)
Kana last name, used in Japanese versions only
Declaration
Void SetKanalname(String kanalname)
Parameters
Type |
Name |
Description |
String |
kanalname |
|
Returns
Examples
NSPerson thing;
String kanalname;
thing.SetKanalname(kanalname);
SetLastname(String)
Declaration
Void SetLastname(String lastname)
Parameters
Type |
Name |
Description |
String |
lastname |
|
Returns
Examples
NSPerson thing;
String lastname;
thing.SetLastname(lastname);
SetMiddleName(String)
Middle name or 'van' etc.
Declaration
Void SetMiddleName(String middleName)
Parameters
Type |
Name |
Description |
String |
middleName |
|
Returns
Examples
NSPerson thing;
String middleName;
thing.SetMiddleName(middleName);
SetMobilePhone(String)
Returns the mobile phone that belong to the contact person.
Declaration
Void SetMobilePhone(String mobilePhone)
Parameters
Type |
Name |
Description |
String |
mobilePhone |
|
Returns
Examples
NSPerson thing;
String mobilePhone;
thing.SetMobilePhone(mobilePhone);
SetMrmrs(String)
Carrier object for Person.
Declaration
Void SetMrmrs(String mrmrs)
Parameters
Type |
Name |
Description |
String |
mrmrs |
|
Returns
Examples
NSPerson thing;
String mrmrs;
thing.SetMrmrs(mrmrs);
SetPersonId(Integer)
Declaration
Void SetPersonId(Integer personId)
Parameters
Type |
Name |
Description |
Integer |
personId |
|
Returns
Examples
NSPerson thing;
Integer personId;
thing.SetPersonId(personId);
SetPosition(String)
The position. This is a predefined SuperOffice value, different from Title
Declaration
Void SetPosition(String position)
Parameters
Type |
Name |
Description |
String |
position |
|
Returns
Examples
NSPerson thing;
String position;
thing.SetPosition(position);
SetPost1(String)
Postal address, used in Japanese versions only
Declaration
Void SetPost1(String post1)
Parameters
Type |
Name |
Description |
String |
post1 |
|
Returns
Examples
NSPerson thing;
String post1;
thing.SetPost1(post1);
SetPost2(String)
Postal address, used in Japanese versions only
Declaration
Void SetPost2(String post2)
Parameters
Type |
Name |
Description |
String |
post2 |
|
Returns
Examples
NSPerson thing;
String post2;
thing.SetPost2(post2);
SetPost3(String)
Postal address, used in Japanese versions only
Declaration
Void SetPost3(String post3)
Parameters
Type |
Name |
Description |
String |
post3 |
|
Returns
Examples
NSPerson thing;
String post3;
thing.SetPost3(post3);
SetRank(Integer)
Display sort sequence for default sort order
Declaration
Void SetRank(Integer rank)
Parameters
Returns
Examples
NSPerson thing;
Integer rank;
thing.SetRank(rank);
SetRetired(Integer)
1 = the user is retired and should have no rights, not appear in lists, etc.
Declaration
Void SetRetired(Integer retired)
Parameters
Type |
Name |
Description |
Integer |
retired |
|
Returns
Examples
NSPerson thing;
Integer retired;
thing.SetRetired(retired);
SetSupportAssociateId(Integer)
Our support contact for this person
Declaration
Void SetSupportAssociateId(Integer supportAssociateId)
Parameters
Type |
Name |
Description |
Integer |
supportAssociateId |
|
Returns
Examples
NSPerson thing;
Integer supportAssociateId;
thing.SetSupportAssociateId(supportAssociateId);
SetSupportLanguageId(Integer)
Declaration
Void SetSupportLanguageId(Integer supportLanguageId)
Parameters
Type |
Name |
Description |
Integer |
supportLanguageId |
|
Returns
Examples
NSPerson thing;
Integer supportLanguageId;
thing.SetSupportLanguageId(supportLanguageId);
SetTicketPriorityId(Integer)
Declaration
Void SetTicketPriorityId(Integer ticketPriorityId)
Parameters
Type |
Name |
Description |
Integer |
ticketPriorityId |
|
Returns
Examples
NSPerson thing;
Integer ticketPriorityId;
thing.SetTicketPriorityId(ticketPriorityId);
SetTitle(String)
Declaration
Void SetTitle(String title)
Parameters
Type |
Name |
Description |
String |
title |
|
Returns
Examples
NSPerson thing;
String title;
thing.SetTitle(title);
SetUsePersonAddress(Bool)
If 1, use person's address for mailing instead of company address
Declaration
Void SetUsePersonAddress(Bool usePersonAddress)
Parameters
Type |
Name |
Description |
Bool |
usePersonAddress |
|
Returns
Examples
NSPerson thing;
Bool usePersonAddress;
thing.SetUsePersonAddress(usePersonAddress);