Show / Hide Table of Contents

Class PersonRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the person table.

Inheritance
object
PersonRecordData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class PersonRecordData
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

PersonRecordData()

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the person table.

Declaration
public PersonRecordData()
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

ActiveErpLinks

The number of Erp Sync connections this record is synced with; count of the ErpExternalKey+ErpInternalKey relations

Declaration
public int ActiveErpLinks
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ActiveInterests

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

Declaration
public short ActiveInterests
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

AssociateId

Our contact, if this is a B2C person, otherwise mirror of contact.assoc_id

Declaration
public int AssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

BlockEmarketing

Do not send E-marketing materials to this person

Declaration
public short BlockEmarketing
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

BusinessIdx

Business if this is a B2C person, otherwise mirror of contact.business_idx

Declaration
public int BusinessIdx
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

CategoryIdx

Category if this is a B2C person, otherwise mirror of contact.category_idx

Declaration
public int CategoryIdx
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ContactId

Owning contact ID

Declaration
public int ContactId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

CountryId

Country

Declaration
public int CountryId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

CreatedByFormId

The form this person was created by

Declaration
public int CreatedByFormId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

DayOfBirth

Birth date (day of month), 0 if not specified

Declaration
public short DayOfBirth
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

DbiAgentId

Integration agent (eJournal)

Declaration
public int DbiAgentId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

DbiKey

The primary key for the integrated entry in the external datasource.

Declaration
public string DbiKey
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

DbiLastModified

When the entry was last modified.

Declaration
public DateTime DbiLastModified
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

DbiLastSyncronized

Last external syncronization.

Declaration
public DateTime DbiLastSyncronized
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

DeletedDate

Datetime (utc) when this record was soft-deleted; if this value is set then the record should not be shown in UTC.

Declaration
public DateTime DeletedDate
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Department

Internal department address

Declaration
public string Department
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Firstname

First name

Declaration
public string Firstname
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Gender

Male/female. No jokes please. To be used for selecting correct salutations & grammar. 0 = unknown, 1 = female, 2 = male

Declaration
public short Gender
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

GroupId

Our contact's original group, if this is a B2C person, otherwise mirror of contact.group_id

Declaration
public int GroupId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Initials

Where Pierre van Mever becomes P. van Mever. Actually, initials to be used in formal addresses, mostly in the Ducth market

Declaration
public string Initials
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Kanafname

Kana last name, used in Japanese versions only

Declaration
public string Kanafname
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Kanalname

Kana last name, used in Japanese versions only

Declaration
public string Kanalname
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Lastname

Last name

Declaration
public string Lastname
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

LeadstatusId

Refinement of categories of lead type. Empty if the category is not a lead type. If this person has a contact, the leadstatus is from the contact and not editable on the person

Declaration
public int LeadstatusId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

MiddleName

Middle name or 'van' etc.

Declaration
public string MiddleName
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ModifiedByWorkflowId

The workflow this person last was modified by

Declaration
public int ModifiedByWorkflowId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ModifiedByWorkflowWhen

When the workflow modified this person in UTC.

Declaration
public DateTime ModifiedByWorkflowWhen
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

MonthOfBirth

Birth month (1-12), 0 if not specified

Declaration
public short MonthOfBirth
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Mrmrs

e.g. Mrs sex_title

Declaration
public string Mrmrs
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Nomailing

Do not send DM's to this person

Declaration
public short Nomailing
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

PersonId

Primary key

Declaration
public int PersonId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

PersonNumber

Alphanumeric user field

Declaration
public string PersonNumber
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

PhonePresent

flag to show there are phone registrations

Declaration
public short PhonePresent
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

PositionIdx

Link to Position list

Declaration
public int PositionIdx
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Post1

Postal address, used in Japanese versions only

Declaration
public string Post1
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Post2

Postal address, used in Japanese versions only

Declaration
public string Post2
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Post3

Postal address, used in Japanese versions only

Declaration
public string Post3
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Rank

Display sort sequence for default sort order

Declaration
public short Rank
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Registered

Registered date in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Retired

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

Declaration
public short Retired
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Salutation

Academic title, populated from Salutation list but can be overwritten with anything at all

Declaration
public string Salutation
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

SentInfo

Has information on username/password been sent (ejournal)

Declaration
public short SentInfo
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ShowContactTickets

Should tickets related to the company be shown to this person

Declaration
public short ShowContactTickets
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Source

How did we get this person? For future integration needs

Declaration
public short Source
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

SupportAssociateId

Our contact, but for support context, not sales/primary contact

Declaration
public int SupportAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

SupportLanguageId

Customers language (does not necessarily map to ISO languages)

Declaration
public int SupportLanguageId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

TextId

Info tab contents

Declaration
public int TextId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

TicketPriorityId

Default ticket priority for new tickets

Declaration
public int TicketPriorityId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Title

Title

Declaration
public string Title
Field Value
Type Description
string
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

TzLocationId

Default timezone location for this person

Declaration
public int TzLocationId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Updated

Last updated date in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedCount

Number of times updated

Declaration
public short UpdatedCount
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Usepersonaddress

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

Declaration
public short Usepersonaddress
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Userdef2Id

User defined table record 2

Declaration
public int Userdef2Id
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UserdefId

User defined table record 1

Declaration
public int UserdefId
Field Value
Type Description
int
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

YearOfBirth

Birth year (4 digit), 0 if not specifed

Declaration
public short YearOfBirth
Field Value
Type Description
short
Remarks

Please use this class instead of a full PersonRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding PersonTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
PersonRecordDataExtensions.ToInsertAsync(PersonRecordData, CancellationToken)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top