Class PersonListItem
PersonListItem contains the attributes for the person list item used in PersonList.
Inheritance
System.Object
PersonListItem
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
Type |
Description |
System.Int32 |
|
AssociateId
Associate id for the person
Declaration
public int AssociateId { get; }
Property Value
Type |
Description |
System.Int32 |
|
AssociateName
Associate name for the person
Declaration
public string AssociateName { get; }
Property Value
Type |
Description |
System.String |
|
CategoryName
Persons category name - may be inherited from Contact
Declaration
public string CategoryName { get; }
Property Value
Type |
Description |
System.String |
|
Country for persons contact (company)
Declaration
public int ContactCountryId { get; }
Property Value
Type |
Description |
System.Int32 |
|
Department of persons contact (company)
Declaration
public string ContactDepartment { get; }
Property Value
Type |
Description |
System.String |
|
Faxnumber for persons contact (company)
Declaration
public string ContactFax { get; }
Property Value
Type |
Description |
System.String |
|
The contact the contact person is registered on. This is required.
Declaration
public int ContactId { get; }
Property Value
Type |
Description |
System.Int32 |
|
Name of persons Contact (company)
Declaration
public string ContactName { get; }
Property Value
Type |
Description |
System.String |
|
Org.nr for persons contact (company)
Declaration
public string ContactOrgNr { get; }
Property Value
Type |
Description |
System.String |
|
Phonenumber for persons contact (company)
Declaration
public string ContactPhone { get; }
Property Value
Type |
Description |
System.String |
|
CountryId
Declaration
public int CountryId { get; }
Property Value
Type |
Description |
System.Int32 |
|
CustomerLanguageId
Declaration
public int CustomerLanguageId { get; }
Property Value
Type |
Description |
System.Int32 |
|
DirectPhone
Persons direct phone number
Declaration
public string DirectPhone { get; }
Property Value
Type |
Description |
System.String |
|
EmailAddress
Declaration
public string EmailAddress { get; }
Property Value
Type |
Description |
System.String |
|
EmailAddressName
Declaration
public string EmailAddressName { get; }
Property Value
Type |
Description |
System.String |
|
Fax
Persons direct fax number
Declaration
public string Fax { get; }
Property Value
Type |
Description |
System.String |
|
FirstName
Declaration
public string FirstName { get; }
Property Value
Type |
Description |
System.String |
|
FullName
Declaration
public string FullName { get; }
Property Value
Type |
Description |
System.String |
|
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
Type |
Description |
System.String |
|
Kanafname
Kana first name, used in Japanese versions only
Declaration
public string Kanafname { get; }
Property Value
Type |
Description |
System.String |
|
Kanalname
Kana last name, used in Japanese versions only
Declaration
public string Kanalname { get; }
Property Value
Type |
Description |
System.String |
|
LastName
Declaration
public string LastName { get; }
Property Value
Type |
Description |
System.String |
|
MiddleName
Declaration
public string MiddleName { get; }
Property Value
Type |
Description |
System.String |
|
MobilePhone
Persons mobile phone number
Declaration
public string MobilePhone { get; }
Property Value
Type |
Description |
System.String |
|
MrMrs
Declaration
public string MrMrs { get; }
Property Value
Type |
Description |
System.String |
|
NumberOfInterests
Number of interests registered on person
Declaration
public int NumberOfInterests { get; }
Property Value
Type |
Description |
System.Int32 |
|
PersonId
The unique identifier for the person (Person_Id)
Declaration
public int PersonId { get; }
Property Value
Type |
Description |
System.Int32 |
|
Position
Declaration
public string Position { get; }
Property Value
Type |
Description |
System.String |
|
Post1
Postal address, used in Japanese versions only
Declaration
public string Post1 { get; }
Property Value
Type |
Description |
System.String |
|
Post2
Postal address, used in Japanese versions only
Declaration
public string Post2 { get; }
Property Value
Type |
Description |
System.String |
|
Post3
Postal address, used in Japanese versions only
Declaration
public string Post3 { get; }
Property Value
Type |
Description |
System.String |
|
Retired
Is the person marked as Retired?
Declaration
public short Retired { get; }
Property Value
Type |
Description |
System.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 |
System.Int16 |
|
SupportAssociateId
Declaration
public int SupportAssociateId { get; }
Property Value
Type |
Description |
System.Int32 |
|
TicketPriorityId
Declaration
public int TicketPriorityId { get; }
Property Value
Type |
Description |
System.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 |
System.String |
|
UsePersonAddress
Use this persons address as mailing address
Declaration
public short UsePersonAddress { get; }
Property Value
Type |
Description |
System.Int16 |
|
Methods
GetPersonListItem(Int32)
Declaration
public static PersonListItem GetPersonListItem(int personId)
Parameters
Type |
Name |
Description |
System.Int32 |
personId |
|
Returns
GetPersonListItems(Int32[])
Declaration
public static PersonListItem[] GetPersonListItems(int[] personIds)
Parameters
Type |
Name |
Description |
System.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)