Show / Hide Table of Contents

Class Person

Carrier object for Person. Services for the Person Carrier is available from the Person Agent.

Inheritance
object
Person
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.8.0.0")]
public class Person : Carrier
Examples

Get Person 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new PersonAgent();
   var person = agent.GetPerson( 123 );
}

Constructors

Person()

Default constructor

Declaration
public Person()
See Also
IPersonAgent

Properties

ActiveErpLinks

How many active ERP links are there for this person?

Declaration
[DataMember]
public virtual int ActiveErpLinks { get; set; }
Property Value
Type Description
int
See Also
IPersonAgent

ActiveInterests

Number of records in pintr table; select count(*) from pintr pi where pi.person_id = this.person_id == activeInterests is always true

Declaration
[DataMember]
public virtual short ActiveInterests { get; set; }
Property Value
Type Description
short
See Also
IPersonAgent

AssociateId

Id of the item's owner (Associate id)

Declaration
[DataMember]
public virtual int AssociateId { get; set; }
Property Value
Type Description
int
See Also
IPersonAgent

AssociateName

Name of the person's owner

Declaration
[DataMember]
public virtual string AssociateName { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

CategoryName

The category list item name

Declaration
[DataMember]
public virtual string CategoryName { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

ContactCountryId

The persons contact country id

Declaration
[DataMember]
public virtual int ContactCountryId { get; set; }
Property Value
Type Description
int
See Also
IPersonAgent

ContactDepartment

The persons contact department

Declaration
[DataMember]
public virtual string ContactDepartment { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

ContactFax

Actual phone number as eneterd by the user

Declaration
[DataMember]
public virtual string ContactFax { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

ContactFullName

Company full name + department

Declaration
[DataMember]
public virtual string ContactFullName { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

ContactId

Owning contact ID

Declaration
[DataMember]
public virtual int ContactId { get; set; }
Property Value
Type Description
int
See Also
IPersonAgent

ContactName

The persons company name

Declaration
[DataMember]
public virtual string ContactName { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

ContactOrgNr

The persons contact organization number

Declaration
[DataMember]
public virtual string ContactOrgNr { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

ContactPhone

Returns the direct phone that belong to the persons contact.

Declaration
[DataMember]
public virtual string ContactPhone { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

CountryId

Country

Declaration
[DataMember]
public virtual int CountryId { get; set; }
Property Value
Type Description
int
See Also
IPersonAgent

Description

Info text/description on person.

Declaration
[DataMember]
public virtual string Description { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

DirectPhone

Returns the direct phone that belong to the contact person.

Declaration
[DataMember]
public virtual string DirectPhone { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

Email

First email on contact person.

Declaration
[DataMember]
public virtual string Email { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

EmailName

E-mail description

Declaration
[DataMember]
public virtual string EmailName { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

FaxPhone

Returns the fax phone that belong to the contact person.

Declaration
[DataMember]
public virtual string FaxPhone { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

Firstname

First name

Declaration
[DataMember]
public virtual string Firstname { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

FormalName

Get formal name for a person, as used in labels. (Full name + person title + academic title)

Declaration
[DataMember]
public virtual string FormalName { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

FullName

Get the persons full name (internal name used in clients for employees).

Declaration
[DataMember]
public virtual string FullName { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

Kanafname

Kana first name, used in Japanese versions only

Declaration
[DataMember]
public virtual string Kanafname { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

Kanalname

Kana last name, used in Japanese versions only

Declaration
[DataMember]
public virtual string Kanalname { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

Lastname

Last name

Declaration
[DataMember]
public virtual string Lastname { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

MiddleName

Middle name or 'van' etc.

Declaration
[DataMember]
public virtual string MiddleName { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

MobilePhone

Returns the mobile phone that belong to the contact person.

Declaration
[DataMember]
public virtual string MobilePhone { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

Mrmrs

e.g. Mrs sex_title

Declaration
[DataMember]
public virtual string Mrmrs { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

PersonId

Primary key

Declaration
[DataMember]
public virtual int PersonId { get; set; }
Property Value
Type Description
int
See Also
IPersonAgent

PersonNumber

Alphanumeric user field

Declaration
[DataMember]
public virtual string PersonNumber { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

Position

The position. This is a predefined SuperOffice value, different from Title

Declaration
[DataMember]
public virtual string Position { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

Post1

Postal address, used in Japanese versions only

Declaration
[DataMember]
public virtual string Post1 { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

Post2

Postal address, used in Japanese versions only

Declaration
[DataMember]
public virtual string Post2 { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

Post3

Postal address, used in Japanese versions only

Declaration
[DataMember]
public virtual string Post3 { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

Rank

Display sort sequence for default sort order

Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
Type Description
short
See Also
IPersonAgent

Retired

1 = the user is retired and should have no rights, not appear in lists, etc.

Declaration
[DataMember]
public virtual short Retired { get; set; }
Property Value
Type Description
short
See Also
IPersonAgent

SupportAssociateId

Our support contact for this person

Declaration
[DataMember]
public virtual int SupportAssociateId { get; set; }
Property Value
Type Description
int
See Also
IPersonAgent

SupportLanguageId

Support priority ID

Declaration
[DataMember]
public virtual int SupportLanguageId { get; set; }
Property Value
Type Description
int
See Also
IPersonAgent

TicketPriorityId

Ticket priority ID

Declaration
[DataMember]
public virtual int TicketPriorityId { get; set; }
Property Value
Type Description
int
See Also
IPersonAgent

Title

Title

Declaration
[DataMember]
public virtual string Title { get; set; }
Property Value
Type Description
string
See Also
IPersonAgent

UsePersonAddress

If 1, use person's address for mailing instead of company address

Declaration
[DataMember]
public virtual bool UsePersonAddress { get; set; }
Property Value
Type Description
bool
See Also
IPersonAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IPersonAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
IPersonAgent

See Also

IPersonAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top