Skip to main content
Carrier object for Person.

Constructors

NSPerson()

Initializes a new instance of the NSPerson class.

Methods

How many active ERP links are there for this person?
Returns: CRMScript.Global.Integer Example:

GetActiveInterests()

Number of records in pintr table; select count(*) from pintr pi where pi.person_id = this.person_id == activeInterests is always true
Returns: CRMScript.Global.Integer Example:

GetAssociateId()

ID of the item’s owner (Associate id)
Returns: CRMScript.Global.Integer Example:

GetAssociateName()

Name of the person’s owner
Returns: CRMScript.Global.String Example:

GetCategoryName()

The category list item name
Returns: CRMScript.Global.String Example:

GetContactCountryId()

The persons contact country ID
Returns: CRMScript.Global.Integer Example:

GetContactDepartment()

The persons contact department
Returns: CRMScript.Global.String Example:

GetContactFax()

Actual phone number as entered by the user
Returns: CRMScript.Global.String Example:

GetContactFullName()

Company full name + department
Returns: CRMScript.Global.String Example:

GetContactId()

Owning contact ID
Returns: CRMScript.Global.Integer Example:

GetContactName()

The persons company name
Returns: CRMScript.Global.String Example:

GetContactOrgNr()

The persons contact organization number
Returns: CRMScript.Global.String Example:

GetContactPhone()

Returns the direct phone that belong to the persons contact.
Returns: CRMScript.Global.String Example:

GetCountryId()

Country
Returns: CRMScript.Global.Integer Example:

GetDescription()

Info text/description on person.
Returns: CRMScript.Global.String Example:

GetDirectPhone()

Returns the direct phone that belong to the contact person.
Returns: CRMScript.Global.String Example:

GetEmail()

First email on contact person.
Returns: CRMScript.Global.String Example:

GetEmailName()

Email description
Returns: CRMScript.Global.String Example:

GetFaxPhone()

Returns the fax phone that belong to the contact person.
Returns: CRMScript.Global.String Example:

GetFirstname()

First name
Returns: CRMScript.Global.String Example:

GetFormalName()

Gets formal name for a person, as used in labels. (Full name + person title + academic title)
Returns: CRMScript.Global.String Example:

GetFullName()

Gets the persons full name (internal name used in clients for employees).
Returns: CRMScript.Global.String Example:

GetKanafname()

Kana first name, used in Japanese versions only
Returns: CRMScript.Global.String Example:

GetKanalname()

Kana last name, used in Japanese versions only
Returns: CRMScript.Global.String Example:

GetLastname()

Last name
Returns: CRMScript.Global.String Example:

GetMiddleName()

Middle name or ‘van’ etc.
Returns: CRMScript.Global.String Example:

GetMobilePhone()

Returns the mobile phone that belong to the contact person.
Returns: CRMScript.Global.String Example:

GetMrmrs()

Returns: CRMScript.Global.String Example:

GetPersonId()

Primary key
Returns: CRMScript.Global.Integer Example:

GetPosition()

The position. This is a predefined SuperOffice value, different from Title
Returns: CRMScript.Global.String Example:

GetPost1()

Postal address, used in Japanese versions only
Returns: CRMScript.Global.String Example:

GetPost2()

Postal address, used in Japanese versions only
Returns: CRMScript.Global.String Example:

GetPost3()

Postal address, used in Japanese versions only
Returns: CRMScript.Global.String Example:

GetRank()

Display sort sequence for default sort order
Returns: CRMScript.Global.Integer Example:

GetRetired()

1 = the user is retired and should have no rights, not appear in lists, etc.
Returns: CRMScript.Global.Integer Example:

GetSupportAssociateId()

Our support contact for this person
Returns: CRMScript.Global.Integer Example:

GetSupportLanguageId()

Support priority ID
Returns: CRMScript.Global.Integer Example:

GetTicketPriorityId()

Ticket priority ID
Returns: CRMScript.Global.Integer Example:

GetTitle()

Title
Returns: CRMScript.Global.String Example:

GetUsePersonAddress()

If 1, use person’s address for mailing instead of company address
Returns: CRMScript.Global.Bool Example:
How many active ERP links are there for this person?
Returns: CRMScript.Global.Void Example:

SetActiveInterests(Integer)

Number of records in pintr table; select count(*) from pintr pi where pi.person_id = this.person_id == activeInterests is always true
Returns: CRMScript.Global.Void Example:

SetAssociateId(Integer)

ID of the item’s owner (Associate id)
Returns: CRMScript.Global.Void Example:

SetAssociateName(String)

Name of the person’s owner
Returns: CRMScript.Global.Void Example:

SetCategoryName(String)

The category list item name
Returns: CRMScript.Global.Void Example:

SetContactCountryId(Integer)

The persons contact country ID
Returns: CRMScript.Global.Void Example:

SetContactDepartment(String)

The persons contact department
Returns: CRMScript.Global.Void Example:

SetContactFax(String)

Actual phone number as entered by the user
Returns: CRMScript.Global.Void Example:

SetContactFullName(String)

Company full name + department
Returns: CRMScript.Global.Void Example:

SetContactId(Integer)

Owning contact ID
Returns: CRMScript.Global.Void Example:

SetContactName(String)

The persons company name
Returns: CRMScript.Global.Void Example:

SetContactOrgNr(String)

The persons contact organization number
Returns: CRMScript.Global.Void Example:

SetContactPhone(String)

Returns the direct phone that belong to the persons contact.
Returns: CRMScript.Global.Void Example:

SetCountryId(Integer)

Country
Returns: CRMScript.Global.Void Example:

SetDescription(String)

Info text/description on person.
Returns: CRMScript.Global.Void Example:

SetDirectPhone(String)

Returns the direct phone that belong to the contact person.
Returns: CRMScript.Global.Void Example:

SetEmail(String)

First email on contact person.
Returns: CRMScript.Global.Void Example:

SetEmailName(String)

Email description
Returns: CRMScript.Global.Void Example:

SetFaxPhone(String)

Returns the fax phone that belong to the contact person.
Returns: CRMScript.Global.Void Example:

SetFirstname(String)

First name
Returns: CRMScript.Global.Void Example:

SetFormalName(String)

Gets formal name for a person, as used in labels. (Full name + person title + academic title)
Returns: CRMScript.Global.Void Example:

SetFullName(String)

Gets the persons full name (internal name used in clients for employees).
Returns: CRMScript.Global.Void Example:

SetKanafname(String)

Kana first name, used in Japanese versions only
Returns: CRMScript.Global.Void Example:

SetKanalname(String)

Kana last name, used in Japanese versions only
Returns: CRMScript.Global.Void Example:

SetLastname(String)

Last name
Returns: CRMScript.Global.Void Example:

SetMiddleName(String)

Middle name or ‘van’ etc.
Returns: CRMScript.Global.Void Example:

SetMobilePhone(String)

Returns the mobile phone that belong to the contact person.
Returns: CRMScript.Global.Void Example:

SetMrmrs(String)

Returns: CRMScript.Global.Void Example:

SetPersonId(Integer)

Primary key
Returns: CRMScript.Global.Void Example:

SetPosition(String)

The position. This is a predefined SuperOffice value, different from Title
Returns: CRMScript.Global.Void Example:

SetPost1(String)

Postal address, used in Japanese versions only
Returns: CRMScript.Global.Void Example:

SetPost2(String)

Postal address, used in Japanese versions only
Returns: CRMScript.Global.Void Example:

SetPost3(String)

Postal address, used in Japanese versions only
Returns: CRMScript.Global.Void Example:

SetRank(Integer)

Display sort sequence for default sort order
Returns: CRMScript.Global.Void Example:

SetRetired(Integer)

1 = the user is retired and should have no rights, not appear in lists, etc.
Returns: CRMScript.Global.Void Example:

SetSupportAssociateId(Integer)

Our support contact for this person
Returns: CRMScript.Global.Void Example:

SetSupportLanguageId(Integer)

Support priority ID
Returns: CRMScript.Global.Void Example:

SetTicketPriorityId(Integer)

Ticket priority ID
Returns: CRMScript.Global.Void Example:

SetTitle(String)

Title
Returns: CRMScript.Global.Void Example:

SetUsePersonAddress(Bool)

If 1, use person’s address for mailing instead of company address
Returns: CRMScript.Global.Void Example: