Show / Hide Table of Contents

Class PersonListItem

PersonListItem contains the attributes for the person list item used in PersonList.

Inheritance
Object
ListItemBase<PersonList.PersonListQuery>
PersonListItem
Inherited Members
ListItemBase<PersonList.PersonListQuery>.AddFieldProperty(String, FieldProperty)
ListItemBase<PersonList.PersonListQuery>.HandleFieldRights(String, SentryCollection, FieldInfo, Type, EFieldRight, Boolean)
ListItemBase<PersonList.PersonListQuery>.AssignFromReader(SoDataReader, FieldInfo, Int32, String)
ListItemBase<PersonList.PersonListQuery>.AssignFromReader(SoDataReader, FieldInfo, String, String)
ListItemBase<PersonList.PersonListQuery>.AssignFromReader<T>(SoDataReader, FieldInfo, T, String)
ListItemBase<PersonList.PersonListQuery>.TableRight
ListItemBase<PersonList.PersonListQuery>.FieldProperties
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Archives
Assembly: SoDataBase.dll
Syntax
public sealed class PersonListItem : ListItemBase<PersonList.PersonListQuery>

Constructors

PersonListItem(PersonList.PersonListQuery, SoDataReader)

Default constructor

Declaration
public PersonListItem(PersonList.PersonListQuery query, SoDataReader reader)
Parameters
Type Name Description
PersonList.PersonListQuery query
SoDataReader reader

Properties

ActiveErpLinks

Declaration
public int ActiveErpLinks { get; }
Property Value
Type Description
Int32

AssociateId

Associate id for the person

Declaration
public int AssociateId { get; }
Property Value
Type Description
Int32

AssociateName

Associate name for the person

Declaration
public string AssociateName { get; }
Property Value
Type Description
String

CategoryName

Persons category name - may be inherited from Contact

Declaration
public string CategoryName { get; }
Property Value
Type Description
String

ContactCountryId

Country for persons contact (company)

Declaration
public int ContactCountryId { get; }
Property Value
Type Description
Int32

ContactDepartment

Department of persons contact (company)

Declaration
public string ContactDepartment { get; }
Property Value
Type Description
String

ContactFax

Faxnumber for persons contact (company)

Declaration
public string ContactFax { get; }
Property Value
Type Description
String

ContactId

The contact the contact person is registered on. This is required.

Declaration
public int ContactId { get; }
Property Value
Type Description
Int32

ContactName

Name of persons Contact (company)

Declaration
public string ContactName { get; }
Property Value
Type Description
String

ContactOrgNr

Org.nr for persons contact (company)

Declaration
public string ContactOrgNr { get; }
Property Value
Type Description
String

ContactPhone

Phonenumber for persons contact (company)

Declaration
public string ContactPhone { get; }
Property Value
Type Description
String

CountryId

Country ID for person

Declaration
public int CountryId { get; }
Property Value
Type Description
Int32

CustomerLanguageId

Declaration
public int CustomerLanguageId { get; }
Property Value
Type Description
Int32

DirectPhone

Persons direct phone number

Declaration
public string DirectPhone { get; }
Property Value
Type Description
String

EmailAddress

Persons email address

Declaration
public string EmailAddress { get; }
Property Value
Type Description
String

EmailAddressName

Persons email address

Declaration
public string EmailAddressName { get; }
Property Value
Type Description
String

Fax

Persons direct fax number

Declaration
public string Fax { get; }
Property Value
Type Description
String

FirstName

The persons first name.

Declaration
public string FirstName { get; }
Property Value
Type Description
String

FullName

The persons full name.

Declaration
public string FullName { get; }
Property Value
Type Description
String

HasInfo

Does the person list items any text in the info field?

Declaration
public bool HasInfo { get; }
Property Value
Type Description
Boolean

HasInterests

Determine if person has any registered interests

Declaration
public bool HasInterests { get; }
Property Value
Type Description
Boolean

Info

Addidional infomation associated with person

Declaration
public string Info { get; }
Property Value
Type Description
String

Kanafname

Kana first name, used in Japanese versions only

Declaration
public string Kanafname { get; }
Property Value
Type Description
String

Kanalname

Kana last name, used in Japanese versions only

Declaration
public string Kanalname { get; }
Property Value
Type Description
String

LastName

The persons last name

Declaration
public string LastName { get; }
Property Value
Type Description
String

MiddleName

The persons middle name

Declaration
public string MiddleName { get; }
Property Value
Type Description
String

MobilePhone

Persons mobile phone number

Declaration
public string MobilePhone { get; }
Property Value
Type Description
String

MrMrs

The persons Mr Mrs field

Declaration
public string MrMrs { get; }
Property Value
Type Description
String

NumberOfInterests

Number of interests registered on person

Declaration
public int NumberOfInterests { get; }
Property Value
Type Description
Int32

PersonId

The unique identifier for the person (Person_Id)

Declaration
public int PersonId { get; }
Property Value
Type Description
Int32

Position

Persons position

Declaration
public string Position { get; }
Property Value
Type Description
String

Post1

Postal address, used in Japanese versions only

Declaration
public string Post1 { get; }
Property Value
Type Description
String

Post2

Postal address, used in Japanese versions only

Declaration
public string Post2 { get; }
Property Value
Type Description
String

Post3

Postal address, used in Japanese versions only

Declaration
public string Post3 { get; }
Property Value
Type Description
String

Retired

Is the person marked as Retired?

Declaration
public short Retired { get; }
Property Value
Type Description
Int16

SortRank

Display sort sequence; person with rank 1 has special role in selections (rank is unique within each contact and starts on 1).

Declaration
public short SortRank { get; }
Property Value
Type Description
Int16

SupportAssociateId

Declaration
public int SupportAssociateId { get; }
Property Value
Type Description
Int32

TicketPriorityId

Declaration
public int TicketPriorityId { get; }
Property Value
Type Description
Int32

Title

The Contact person dialog has a title field that may be used to register the person’s professional title.

Declaration
public string Title { get; }
Property Value
Type Description
String

UsePersonAddress

Use this persons address as mailing address

Declaration
public short UsePersonAddress { get; }
Property Value
Type Description
Int16

Methods

GetPersonListItem(Int32)

Declaration
public static PersonListItem GetPersonListItem(int personId)
Parameters
Type Name Description
Int32 personId
Returns
Type Description
PersonListItem

GetPersonListItems(Int32[])

Declaration
public static PersonListItem[] GetPersonListItems(int[] personIds)
Parameters
Type Name Description
Int32[] personIds
Returns
Type Description
PersonListItem[]

Initialize()

Initializes all class-members.

Declaration
protected override void Initialize()
Overrides
SuperOffice.CRM.Lists.ListItemBase<SuperOffice.CRM.Archives.PersonList.PersonListQuery>.Initialize()

Load(PersonList.PersonListQuery, SoDataReader)

Responsible for reading the current row in the data reader and insert the value in the right part ob the object.

Declaration
protected override void Load(PersonList.PersonListQuery query, SoDataReader reader)
Parameters
Type Name Description
PersonList.PersonListQuery query
SoDataReader reader

The reader contains the items data.

Overrides
SuperOffice.CRM.Lists.ListItemBase<SuperOffice.CRM.Archives.PersonList.PersonListQuery>.Load(SuperOffice.CRM.Archives.PersonList.PersonListQuery, SuperOffice.Data.SoDataReader)

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top