Class SaleListItem
PersonListItem contains the attributes for the person list item used in PersonList.
Inherited Members
Namespace: SuperOffice.CRM.Archives
Assembly: SoDataBase.dll
Syntax
public sealed class SaleListItem : ListItemBase<SaleList.SaleListQuery>
Constructors
SaleListItem(SaleListQuery, SoDataReader)
Default constructor
Declaration
public SaleListItem(SaleList.SaleListQuery query, SoDataReader reader)
Parameters
Type | Name | Description |
---|---|---|
SaleList.SaleListQuery | query | |
SoDataReader | reader |
Properties
Amount
The amount
Declaration
public double Amount { get; }
Property Value
Type | Description |
---|---|
double |
AssociateFullName
The associates's fullname (firsname, middlename, lastname) culture formatted
Declaration
public string AssociateFullName { get; }
Property Value
Type | Description |
---|---|
string |
AssociateId
The associate id
Declaration
public int AssociateId { get; }
Property Value
Type | Description |
---|---|
int |
Completed
The saletype id
Declaration
public short Completed { get; }
Property Value
Type | Description |
---|---|
short |
Contact
The contact's department
Declaration
public string Contact { get; }
Property Value
Type | Description |
---|---|
string |
ContactId
The contact id
Declaration
public int ContactId { get; }
Property Value
Type | Description |
---|---|
int |
Currency
The currency
Declaration
public string Currency { get; }
Property Value
Type | Description |
---|---|
string |
Description
The name of the contact
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
string |
Earning
The earning
Declaration
public double Earning { get; }
Property Value
Type | Description |
---|---|
double |
EarningPercent
The earning in percent
Declaration
public double EarningPercent { get; }
Property Value
Type | Description |
---|---|
double |
Number
PersonListItem contains the attributes for the person list item used in PersonList.
Declaration
public string Number { get; }
Property Value
Type | Description |
---|---|
string |
PersonFullName
The person's fullname (firsname, middlename, lastname) culture formatted
Declaration
public string PersonFullName { get; }
Property Value
Type | Description |
---|---|
string |
PersonId
Id of the sale person
Declaration
public int PersonId { get; }
Property Value
Type | Description |
---|---|
int |
Probability
The Probability
Declaration
public short Probability { get; }
Property Value
Type | Description |
---|---|
short |
Project
The project
Declaration
public string Project { get; }
Property Value
Type | Description |
---|---|
string |
ProjectId
The project id
Declaration
public int ProjectId { get; }
Property Value
Type | Description |
---|---|
int |
SaleDate
The Saledate
Declaration
public DateTime SaleDate { get; }
Property Value
Type | Description |
---|---|
DateTime |
SaleId
The unique identifier for the contact
Declaration
public int SaleId { get; }
Property Value
Type | Description |
---|---|
int |
SaleTypeId
The saletype id
Declaration
public int SaleTypeId { get; }
Property Value
Type | Description |
---|---|
int |
SaleTypeName
The saletype id
Declaration
public string SaleTypeName { get; }
Property Value
Type | Description |
---|---|
string |
Status
The status
Declaration
public SaleStatus Status { get; }
Property Value
Type | Description |
---|---|
SaleStatus |
Title
The title
Declaration
public string Title { get; }
Property Value
Type | Description |
---|---|
string |
WeightedAmount
The weighted amount
Declaration
public double WeightedAmount { get; }
Property Value
Type | Description |
---|---|
double |
Methods
GetSaleListItem(int)
PersonListItem contains the attributes for the person list item used in PersonList.
Declaration
public static SaleListItem GetSaleListItem(int saleId)
Parameters
Type | Name | Description |
---|---|---|
int | saleId |
Returns
Type | Description |
---|---|
SaleListItem |
Initialize()
Initializes all class-members.
Declaration
protected override void Initialize()
Overrides
Load(SaleListQuery, 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(SaleList.SaleListQuery query, SoDataReader reader)
Parameters
Type | Name | Description |
---|---|---|
SaleList.SaleListQuery | query | |
SoDataReader | reader | The reader contains the items data. |