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