Class SimpleSaleInfo
Inheritance
SimpleSaleInfo
Assembly: SoDataBase.dll
Syntax
public class SimpleSaleInfo : ISaleInfo2, ISaleInfo
Constructors
SimpleSaleInfo()
Declaration
Properties
Amount
Declaration
public double Amount { get; set; }
Property Value
Associate
Declaration
public string Associate { get; set; }
Property Value
AssociateId
Declaration
public int AssociateId { get; set; }
Property Value
Competitor
Main Competitor for sale - an MDO list item name
Declaration
public string Competitor { get; set; }
Property Value
Cost
Declaration
public double Cost { get; set; }
Property Value
CreatedAssociate
Declaration
public string CreatedAssociate { get; set; }
Property Value
Credited
Credited to - an MDO list item name
Declaration
public string Credited { get; set; }
Property Value
Currency
Declaration
public string Currency { get; set; }
Property Value
Earning
Declaration
public double Earning { get; set; }
Property Value
EarningPercent
Declaration
public double EarningPercent { get; set; }
Property Value
HasGuide
Declaration
public bool HasGuide { get; set; }
Property Value
HasStakeHolders
Declaration
public bool HasStakeHolders { get; set; }
Property Value
NextDueDate
Date of the first uncompleted activity.
Declaration
public string NextDueDate { get; set; }
Property Value
Number
Declaration
public string Number { get; set; }
Property Value
Probability
Probability percent - default derived from Stage list item.
Declaration
public short Probability { get; set; }
Property Value
PublishActiveDate
Declaration
public DateTime PublishActiveDate { get; set; }
Property Value
PublishEndDate
Sale, start date for publishing
Declaration
public string PublishEndDate { get; set; }
Property Value
PublishStartDate
Sale, end date for publishing
Declaration
public string PublishStartDate { get; set; }
Property Value
Reason
Reason the sale is lost/sold etc
Declaration
public string Reason { get; set; }
Property Value
Registered
Declaration
public string Registered { get; set; }
Property Value
SaleDate
Declaration
public string SaleDate { get; set; }
Property Value
SaleId
Primary key of the sale record
Declaration
public int SaleId { get; set; }
Property Value
SaleText
Declaration
public string SaleText { get; set; }
Property Value
Source
Declaration
public string Source { get; set; }
Property Value
Stage
Sale stage - an MDO list item name
Declaration
public string Stage { get; set; }
Property Value
Status
Declaration
public string Status { get; set; }
Property Value
Title
Declaration
public string Title { get; set; }
Property Value
Type
Sale type - an MDO list item name
Declaration
public string Type { get; set; }
Property Value
UdefDecimal
Set the value of a user-defined DECIMAL field, identified by the field number (1-10)
Declaration
public InfoUdefDict UdefDecimal { get; set; }
Property Value
UdefInt
Set the value of a user-defined INT field, identified by the field number (1-60)
Declaration
public InfoUdefDict UdefInt { get; set; }
Property Value
UdefString
Set the value of a user-defined STRING field, identified by the field number.
Number 1-40 are short strings, 41-49 are long strings
Declaration
public InfoUdefDict UdefString { get; set; }
Property Value
Methods
GetUserDefinedDecimal(int)
User-defined field 1-10 of the decimal (.NET double) number type.
Declaration
public string GetUserDefinedDecimal(int fieldNo)
Parameters
Type |
Name |
Description |
int |
fieldNo |
Field number (1-10).
|
Returns
Type |
Description |
string |
User-defined field value.
|
GetUserDefinedDecimal(string)
NOT SUPPORTED: Get the decimal udef value based on the prog.id name of the udef field.
Declaration
public double GetUserDefinedDecimal(string progId)
Parameters
Type |
Name |
Description |
string |
progId |
|
Returns
GetUserDefinedInt(int)
Get user-defined field 1-60 of the whole (.NET Int32) number type.
Declaration
public string GetUserDefinedInt(int fieldNo)
Parameters
Type |
Name |
Description |
int |
fieldNo |
Field number (1-60).
|
Returns
Type |
Description |
string |
User-defined field value.
|
GetUserDefinedInt(string)
NOT SUPPORTED: Get the int udef value based on the prog.id name of the udef field.
Declaration
public int GetUserDefinedInt(string progId)
Parameters
Type |
Name |
Description |
string |
progId |
|
Returns
GetUserDefinedString(int)
Get user-defined field 1-49 of the text (.NET string) type.
Declaration
public string GetUserDefinedString(int fieldNo)
Parameters
Type |
Name |
Description |
int |
fieldNo |
Field number (1-39).
|
Returns
Type |
Description |
string |
User-defined field value.
|
GetUserDefinedString(string)
NOT SUPPORTED: Get the string udef value based on the prog.id name of the udef field.
Declaration
public string GetUserDefinedString(string progId)
Parameters
Type |
Name |
Description |
string |
progId |
|
Returns
Implements
Extension Methods