Interface ISaleInfo
Interface providing information about a sale.
Namespace: SuperOffice.CRM
Assembly: SuperOffice.Plugins.dll
Syntax
public interface ISaleInfo
Properties
Amount
Sale amount
Declaration
double Amount { get; }
Property Value
Type | Description |
---|---|
Double |
Associate
Owner of the sale
Declaration
string Associate { get; }
Property Value
Type | Description |
---|---|
String |
Competitor
Main Competitor for sale - an MDO list item name
Declaration
string Competitor { get; }
Property Value
Type | Description |
---|---|
String |
Credited
Credited to - an MDO list item name
Declaration
string Credited { get; }
Property Value
Type | Description |
---|---|
String |
Currency
Sale currency
Declaration
string Currency { get; }
Property Value
Type | Description |
---|---|
String |
NextDueDate
Date of the first uncompleted activity.
Declaration
string NextDueDate { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Assumed to be formatted like "yyyyMMdd"
Number
Sale number
Declaration
string Number { get; }
Property Value
Type | Description |
---|---|
String |
Probability
Probability percent - default derived from Stage list item.
Declaration
short Probability { get; }
Property Value
Type | Description |
---|---|
Int16 |
PublishEndDate
Sale, start date for publishing
Declaration
string PublishEndDate { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Assumed to be formatted like "yyyyMMdd"
PublishStartDate
Sale, end date for publishing
Declaration
string PublishStartDate { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Assumed to be formatted like "yyyyMMdd"
Reason
Reason the sale is lost/sold etc
Declaration
string Reason { get; }
Property Value
Type | Description |
---|---|
String |
SaleDate
Expected closing date
Declaration
string SaleDate { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Assumed to be formatted like "yyyyMMdd"
SaleId
Primary key of the sale record
Declaration
int SaleId { get; }
Property Value
Type | Description |
---|---|
Int32 |
Stage
Sale stage - an MDO list item name
Declaration
string Stage { get; }
Property Value
Type | Description |
---|---|
String |
Status
Open/Sold/Lost/Stalled
Declaration
string Status { get; }
Property Value
Type | Description |
---|---|
String |
Title
Title of the sale
Declaration
string Title { get; }
Property Value
Type | Description |
---|---|
String |
Type
Sale type - an MDO list item name
Declaration
string Type { get; }
Property Value
Type | Description |
---|---|
String |
Methods
GetUserDefinedDecimal(Int32)
User-defined field 1-10 of the decimal (.NET double) number type.
Declaration
string GetUserDefinedDecimal(int fieldNo)
Parameters
Type | Name | Description |
---|---|---|
Int32 | fieldNo | Field number (1-10). |
Returns
Type | Description |
---|---|
String | User-defined field value. |
GetUserDefinedDecimal(String)
Get the decimal udef value based on the prog.id name of the udef field.
Declaration
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)
Get user-defined field 1-60 of the whole (.NET Int32) number type.
Declaration
string GetUserDefinedInt(int fieldNo)
Parameters
Type | Name | Description |
---|---|---|
Int32 | fieldNo | Field number (1-60). |
Returns
Type | Description |
---|---|
String | User-defined field value. |
GetUserDefinedInt(String)
Get the int udef value based on the prog.id name of the udef field.
Declaration
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)
Get user-defined field 1-49 of the text (.NET string) type.
Declaration
string GetUserDefinedString(int fieldNo)
Parameters
Type | Name | Description |
---|---|---|
Int32 | fieldNo | Field number (1-39). |
Returns
Type | Description |
---|---|
String | User-defined field value. |
GetUserDefinedString(String)
Get the string udef value based on the prog.id name of the udef field.
Declaration
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 |