Class SaleProbability
MDO list provider for the probability list of the Sale dialog. This list extends the basic
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("SaleProbability")]
public class SaleProbability : ListWithLiteralItemsBase, ISoListProvider, ISoList, IPlugin
Constructors
SaleProbability()
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 |
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)