Class SaleInfoProvider
Implementation of ISaleInfo2; create through factory (see remarks)
Inheritance
SaleInfoProvider
Assembly: SoDataBase.dll
Syntax
public class SaleInfoProvider : ISaleInfo2, ISaleInfo
Properties
Amount
Declaration
public double Amount { get; }
Property Value
Associate
Declaration
public string Associate { get; }
Property Value
AssociateId
Declaration
public int AssociateId { get; }
Property Value
Competitor
Declaration
public string Competitor { get; }
Property Value
Cost
Declaration
public double Cost { get; }
Property Value
CreatedAssociate
Declaration
public string CreatedAssociate { get; }
Property Value
Credited
Declaration
public string Credited { get; }
Property Value
Currency
Declaration
public string Currency { get; }
Property Value
Earning
Declaration
public double Earning { get; }
Property Value
EarningPercent
Declaration
public double EarningPercent { get; }
Property Value
HasGuide
Declaration
public bool HasGuide { get; }
Property Value
HasStakeHolders
Declaration
public bool HasStakeHolders { get; }
Property Value
NextDueDate
Declaration
public string NextDueDate { get; }
Property Value
Number
Declaration
public string Number { get; }
Property Value
Probability
Declaration
public short Probability { get; }
Property Value
PublishActiveDate
Declaration
public DateTime PublishActiveDate { get; }
Property Value
PublishEndDate
Declaration
public string PublishEndDate { get; }
Property Value
PublishStartDate
Declaration
public string PublishStartDate { get; }
Property Value
Reason
Declaration
public string Reason { get; }
Property Value
Registered
Declaration
public string Registered { get; }
Property Value
Sale
Declaration
public Sale Sale { get; }
Property Value
SaleDate
Declaration
public string SaleDate { get; }
Property Value
SaleId
Declaration
public int SaleId { get; }
Property Value
SaleText
Declaration
public string SaleText { get; }
Property Value
Source
Declaration
public string Source { get; }
Property Value
Stage
Declaration
public string Stage { get; }
Property Value
Status
Declaration
public string Status { get; }
Property Value
Title
Declaration
public string Title { get; }
Property Value
Type
Declaration
public string Type { get; }
Property Value
Methods
GetUserDefinedDecimal(Int32)
Return a user defined value of type decimal
Declaration
public string GetUserDefinedDecimal(int fieldNo)
Parameters
Type |
Name |
Description |
Int32 |
fieldNo |
Index of field to retrieve value for
|
Returns
Type |
Description |
String |
String representation of the value of specified field
|
GetUserDefinedDecimal(String)
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 |
Program name of udef field
|
Returns
Type |
Description |
Double |
double value of field, or NAN if field not found
|
GetUserDefinedInt(Int32)
Return a user defined value of type int
Declaration
public string GetUserDefinedInt(int fieldNo)
Parameters
Type |
Name |
Description |
Int32 |
fieldNo |
Index of field to retrieve value for
|
Returns
Type |
Description |
String |
String representation of the value of specified field
|
GetUserDefinedInt(String)
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 |
Program name of udef field
|
Returns
Type |
Description |
Int32 |
int value of field, or MINVALUE if field not found
|
GetUserDefinedString(Int32)
Return a user defined value of type string
Declaration
public string GetUserDefinedString(int fieldNo)
Parameters
Type |
Name |
Description |
Int32 |
fieldNo |
Index of field to retrieve value for
|
Returns
Type |
Description |
String |
Value of specified field
|
GetUserDefinedString(String)
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 |
Program name of udef field
|
Returns
Type |
Description |
String |
string value of field, or NULL if field not found
|
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)