Class SaleProbability
MDO list provider for the probability list of the Sale dialog. This list extends the basic ProbRow list with a leading 'lost' and a trailing 'sold' item, and specialized icons. It also adds the probability as part of the text, and again in the extraInfo field.
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("SaleProbability")]
public class SaleProbability : ListWithLiteralItemsBase, ISoListProvider, ISoList
Constructors
SaleProbability()
MDO list provider for the probability list of the Sale dialog. This list extends the basic ProbRow list with a leading 'lost' and a trailing 'sold' item, and specialized icons. It also adds the probability as part of the text, and again in the extraInfo field.
Declaration
public SaleProbability()
Methods
GetInnerListProviderName(string)
Return the name of the actual base list
Declaration
protected override string GetInnerListProviderName(string outerListname)
Parameters
Type | Name | Description |
---|---|---|
string | outerListname | Outer list name, must be 'SaleProbability' |
Returns
Type | Description |
---|---|
string | 'Prob' |
Overrides
Exceptions
Type | Condition |
---|---|
SoException | Thrown if the outer list name is not 'SaleProbability' |
GetLeadingRootItems(List<ISoListItem>)
Add the leading 'lost' item
Declaration
protected override void GetLeadingRootItems(List<ISoListItem> leadingItems)
Parameters
Type | Name | Description |
---|---|---|
List<ISoListItem> | leadingItems | Leading items list to fill |
Overrides
GetTrailingRootItems(List<ISoListItem>)
Add the trailing 'sold' item
Declaration
protected override void GetTrailingRootItems(List<ISoListItem> trailingItems)
Parameters
Type | Name | Description |
---|---|---|
List<ISoListItem> | trailingItems | Trailing items list to fill |
Overrides
ProcessHistoryItem(ISoListItem)
Add the proper icon hint, and the probability data, to each history item
Declaration
protected override void ProcessHistoryItem(ISoListItem item)
Parameters
Type | Name | Description |
---|---|---|
ISoListItem | item | Item to modify |
Overrides
ProcessItem(ISoListItem)
Add the proper icon hint, and the probability data, to each item
Declaration
protected override void ProcessItem(ISoListItem item)
Parameters
Type | Name | Description |
---|---|---|
ISoListItem | item | Item to modify |