Class PersonListItem
PersonListItem contains the attributes for the person list item used in PersonList.
Inheritance
PersonListItem
Assembly: SoDataBase.dll
Syntax
public sealed class PersonListItem : ListItemBase<PersonList.PersonListQuery>
Constructors
PersonListItem(PersonList.PersonListQuery, SoDataReader)
Declaration
public PersonListItem(PersonList.PersonListQuery query, SoDataReader reader)
Parameters
Properties
ActiveErpLinks
Declaration
public int ActiveErpLinks { get; }
Property Value
AssociateId
Associate id for the person
Declaration
public int AssociateId { get; }
Property Value
AssociateName
Associate name for the person
Declaration
public string AssociateName { get; }
Property Value
CategoryName
Persons category name - may be inherited from Contact
Declaration
public string CategoryName { get; }
Property Value
Country for persons contact (company)
Declaration
public int ContactCountryId { get; }
Property Value
Department of persons contact (company)
Declaration
public string ContactDepartment { get; }
Property Value
Faxnumber for persons contact (company)
Declaration
public string ContactFax { get; }
Property Value
The contact the contact person is registered on. This is required.
Declaration
public int ContactId { get; }
Property Value
Name of persons Contact (company)
Declaration
public string ContactName { get; }
Property Value
Org.nr for persons contact (company)
Declaration
public string ContactOrgNr { get; }
Property Value
Phonenumber for persons contact (company)
Declaration
public string ContactPhone { get; }
Property Value
CountryId
Declaration
public int CountryId { get; }
Property Value
CustomerLanguageId
Declaration
public int CustomerLanguageId { get; }
Property Value
DirectPhone
Persons direct phone number
Declaration
public string DirectPhone { get; }
Property Value
EmailAddress
Declaration
public string EmailAddress { get; }
Property Value
EmailAddressName
Declaration
public string EmailAddressName { get; }
Property Value
Fax
Persons direct fax number
Declaration
public string Fax { get; }
Property Value
FirstName
Declaration
public string FirstName { get; }
Property Value
FullName
Declaration
public string FullName { get; }
Property Value
HasInfo
Does the person list items any text in the info field?
Declaration
public bool HasInfo { get; }
Property Value
HasInterests
Determine if person has any registered interests
Declaration
public bool HasInterests { get; }
Property Value
Info
Addidional infomation associated with person
Declaration
public string Info { get; }
Property Value
Kanafname
Kana first name, used in Japanese versions only
Declaration
public string Kanafname { get; }
Property Value
Kanalname
Kana last name, used in Japanese versions only
Declaration
public string Kanalname { get; }
Property Value
LastName
Declaration
public string LastName { get; }
Property Value
MiddleName
Declaration
public string MiddleName { get; }
Property Value
MobilePhone
Persons mobile phone number
Declaration
public string MobilePhone { get; }
Property Value
MrMrs
Declaration
public string MrMrs { get; }
Property Value
NumberOfInterests
Number of interests registered on person
Declaration
public int NumberOfInterests { get; }
Property Value
PersonId
The unique identifier for the person (Person_Id)
Declaration
public int PersonId { get; }
Property Value
Position
Declaration
public string Position { get; }
Property Value
Post1
Postal address, used in Japanese versions only
Declaration
public string Post1 { get; }
Property Value
Post2
Postal address, used in Japanese versions only
Declaration
public string Post2 { get; }
Property Value
Post3
Postal address, used in Japanese versions only
Declaration
public string Post3 { get; }
Property Value
Retired
Is the person marked as Retired?
Declaration
public short Retired { get; }
Property Value
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
SupportAssociateId
Declaration
public int SupportAssociateId { get; }
Property Value
TicketPriorityId
Declaration
public int TicketPriorityId { get; }
Property Value
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
UsePersonAddress
Use this persons address as mailing address
Declaration
public short UsePersonAddress { get; }
Property Value
Methods
GetPersonListItem(Int32)
Declaration
public static PersonListItem GetPersonListItem(int personId)
Parameters
Type |
Name |
Description |
Int32 |
personId |
|
Returns
GetPersonListItems(Int32[])
Declaration
public static PersonListItem[] GetPersonListItems(int[] personIds)
Parameters
Type |
Name |
Description |
Int32[] |
personIds |
|
Returns
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
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)