Show / Hide Table of Contents

Class SaleProbability

MDO list provider for the probability list of the Sale dialog. This list extends the basic 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.

Inheritance
Object
ListWithLiteralItemsBase
SaleProbability
Implements
ISoListProvider
ISoList
Inherited Members
ListWithLiteralItemsBase.GetInnerListAdditionalInfo(String)
ListWithLiteralItemsBase.Construct(String, String, Int32[], Boolean, String, Boolean)
ListWithLiteralItemsBase.FilterBySearchValue(IEnumerable<ISoListItem>)
ListWithLiteralItemsBase.InnerList
ListWithLiteralItemsBase.AllItems
ListWithLiteralItemsBase.HistoryInfo
ListWithLiteralItemsBase.HistoryItems
ListWithLiteralItemsBase.RootItems
ListWithLiteralItemsBase.HeadingItems
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("SaleProbability")]
public class SaleProbability : ListWithLiteralItemsBase, ISoListProvider, ISoList, IPlugin

Constructors

SaleProbability()

MDO list provider for the probability list of the Sale dialog. This list extends the basic 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
ListWithLiteralItemsBase.GetInnerListProviderName(String)
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
ListWithLiteralItemsBase.GetLeadingRootItems(List<ISoListItem>)

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
ListWithLiteralItemsBase.GetTrailingRootItems(List<ISoListItem>)

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
ListWithLiteralItemsBase.ProcessHistoryItem(ISoListItem)

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
ListWithLiteralItemsBase.ProcessItem(ISoListItem)

Implements

ISoListProvider
ISoList

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top