Show / Hide Table of Contents

Class SaleListItem

PersonListItem contains the attributes for the person list item used in PersonList.

Inheritance
Object
ListItemBase<SaleList.SaleListQuery>
SaleListItem
Inherited Members
ListItemBase<SaleList.SaleListQuery>.AddFieldProperty(String, FieldProperty)
ListItemBase<SaleList.SaleListQuery>.HandleFieldRights(String, SentryCollection, FieldInfo, Type, EFieldRight, Boolean)
ListItemBase<SaleList.SaleListQuery>.AssignFromReader(SoDataReader, FieldInfo, Int32, String)
ListItemBase<SaleList.SaleListQuery>.AssignFromReader(SoDataReader, FieldInfo, String, String)
ListItemBase<SaleList.SaleListQuery>.AssignFromReader<T>(SoDataReader, FieldInfo, T, String)
ListItemBase<SaleList.SaleListQuery>.TableRight
ListItemBase<SaleList.SaleListQuery>.FieldProperties
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Archives
Assembly: SoDataBase.dll
Syntax
public sealed class SaleListItem : ListItemBase<SaleList.SaleListQuery>

Constructors

SaleListItem(SaleList.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
Int32

Completed

The saletype id

Declaration
public short Completed { get; }
Property Value
Type Description
Int16

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
Int32

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

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
Int32

Probability

The Probability

Declaration
public short Probability { get; }
Property Value
Type Description
Int16

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
Int32

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
Int32

SaleTypeId

The saletype id

Declaration
public int SaleTypeId { get; }
Property Value
Type Description
Int32

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(Int32)

Declaration
public static SaleListItem GetSaleListItem(int saleId)
Parameters
Type Name Description
Int32 saleId
Returns
Type Description
SaleListItem

Initialize()

Initializes all class-members.

Declaration
protected override void Initialize()
Overrides
SuperOffice.CRM.Lists.ListItemBase<SuperOffice.CRM.Archives.SaleList.SaleListQuery>.Initialize()

Load(SaleList.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.

Overrides
SuperOffice.CRM.Lists.ListItemBase<SuperOffice.CRM.Archives.SaleList.SaleListQuery>.Load(SuperOffice.CRM.Archives.SaleList.SaleListQuery, SuperOffice.Data.SoDataReader)

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top