Class ActivityListItem
Inherited Members
Namespace: SuperOffice.CRM.Archives
Assembly: SoDataBase.dll
Syntax
public sealed class ActivityListItem : ListItemBase<ActivityList.ActivityListQuery>
Constructors
ActivityListItem(ActivityListQuery, SoDataReader)
Default constructor
Declaration
public ActivityListItem(ActivityList.ActivityListQuery query, SoDataReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| ActivityList.ActivityListQuery | query | |
| SoDataReader | reader |
Properties
ActiveDate
Activedate
Declaration
public DateTime ActiveDate { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Amount
Sale amount
Declaration
public string Amount { get; }
Property Value
| Type | Description |
|---|---|
| string |
AssociateInitials
Associate initials
Declaration
public string AssociateInitials { get; }
Property Value
| Type | Description |
|---|---|
| string |
CreatedBy
Created by
Declaration
public string CreatedBy { get; }
Property Value
| Type | Description |
|---|---|
| string |
CreatedByAssociateId
Created by associate id
Declaration
public int CreatedByAssociateId { get; }
Property Value
| Type | Description |
|---|---|
| int |
CreatedByFullName
Created by full name
Declaration
public string CreatedByFullName { get; }
Property Value
| Type | Description |
|---|---|
| string |
CreatedDate
Created date
Declaration
public DateTime CreatedDate { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
CurrentGroup
Current usergroup of the associate that owns this activity
Declaration
public int CurrentGroup { get; }
Property Value
| Type | Description |
|---|---|
| int |
CurrentOwner
Current owner, the associate that owns this activity
Declaration
public int CurrentOwner { get; }
Property Value
| Type | Description |
|---|---|
| int |
FirstName
First name (if the activity is linked to a person)
Declaration
public string FirstName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Id
The unique identifier for the Id
Declaration
public int Id { get; }
Property Value
| Type | Description |
|---|---|
| int |
LastName
Last name (if the activity is linked to a person)
Declaration
public string LastName { get; }
Property Value
| Type | Description |
|---|---|
| string |
MiddleName
Middle name (if the activity is linked to a person)
Declaration
public string MiddleName { get; }
Property Value
| Type | Description |
|---|---|
| string |
PersonId
Person_id (if the activity is linked to a person)
Declaration
public int PersonId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Private
Private, is the activity marked as private for user, group or all
Declaration
public short Private { get; }
Property Value
| Type | Description |
|---|---|
| short |
Probability
Sale probability, if activity is a sale
Declaration
public string Probability { get; }
Property Value
| Type | Description |
|---|---|
| string |
ProjectId
Project_id (if the activity is linked to a project)
Declaration
public int ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| int |
ProjectName
Project name (if the activity is linked to a project)
Declaration
public string ProjectName { get; }
Property Value
| Type | Description |
|---|---|
| string |
RecordType
Record type.
Declaration
public int RecordType { get; }
Property Value
| Type | Description |
|---|---|
| int |
Status
The different statuses an activity may have, from a fixed predefined list.
Declaration
public short Status { get; }
Property Value
| Type | Description |
|---|---|
| short |
Text
Activity text
Declaration
public string Text { get; }
Property Value
| Type | Description |
|---|---|
| string |
TypeName
Type name
Declaration
public string TypeName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Initialize()
Initializes all class-members.
Declaration
protected override void Initialize()
Overrides
Load(ActivityListQuery, 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(ActivityList.ActivityListQuery query, SoDataReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| ActivityList.ActivityListQuery | query | |
| SoDataReader | reader | The reader contains the items data. |