Class SaleStageProvider
Provider for selecting a stage. AdditionalInfo is used as criteria to filter stages based on SaleType.
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("SaleStage")]
[MDOAdditionalInfoSeparator("&")]
[MDOAdditionalInfo("SaleTypeID", "Sale type to get stages for", "1234")]
[MDOAdditionalInfo("GetDeletedStages", "Include deleted stages", true)]
[MDOAdditionalInfo("GetDeletedStageLinks", "Filter out deleted sale stage links", false)]
[MDOAdditionalInfo("HideOptionalRows", "Filter out optional stages", false)]
public class SaleStageProvider : GuideStepProvider, ISoListProvider, ISoList, IPlugin, IEnumerable<ISoListItem>, IEnumerable
Remarks
Sold(-2) and Lost(-1) items are appended at the end of the list.
AdditionalInfo "SaleTypeID=123&GetDeletedStages=true&HideOptionalRows=false&GetDeletedStageLinks=true"
Constructors
SaleStageProvider()
Declaration
public SaleStageProvider()
Fields
ProviderName
Provider name
Declaration
public const string ProviderName = "SaleStage"
Field Value
Type | Description |
---|---|
String |
Methods
BuildMdoCollections()
Declaration
protected override void BuildMdoCollections()
Overrides
Construct(String, String, Int32[], Boolean, String, Boolean)
Declaration
public override void Construct(string tableName, string additionalInfo, int[] historyIDs, bool onlyReadHistory, string searchValue, bool forceFlatList)
Parameters
Type | Name | Description |
---|---|---|
String | tableName | |
String | additionalInfo | |
Int32[] | historyIDs | |
Boolean | onlyReadHistory | |
String | searchValue | |
Boolean | forceFlatList |
Overrides
GetItemExtraInfo(ListTableRow)
Declaration
protected override string GetItemExtraInfo(ListTableRow row)
Parameters
Type | Name | Description |
---|---|---|
ListTableRow | row |
Returns
Type | Description |
---|---|
String |
Overrides
GetRankField()
Declaration
protected override FieldInfo GetRankField()
Returns
Type | Description |
---|---|
FieldInfo |
Overrides
GetSimpleListQuery()
Declaration
protected override ListTableRows.CustomSearch GetSimpleListQuery()
Returns
Type | Description |
---|---|
ListTableRows.CustomSearch |
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)
IEnumerableExtensions.ForEach<T>(System.Collections.Generic.IEnumerable<T>, System.Action<T>)
IEnumerableExtensions.ContainsAny<T>(System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEnumerable<T>)
IEnumerableExtensions.Batch<T>(System.Collections.Generic.IEnumerable<T>, System.Int32)
IEnumerableExtensions.IndexOf<T>(System.Collections.Generic.IEnumerable<T>, T, System.Int32)
IEnumerableExtensions.IndexOf<T>(System.Collections.Generic.IEnumerable<T>, System.Func<T, System.Boolean>, System.Int32)
IEnumerableExtensions.Permute<T>(System.Collections.Generic.IEnumerable<T>, System.Int32)
IEnumerableExtensions.PermissiveToDictionary<T, K, V>(System.Collections.Generic.IEnumerable<T>, System.Func<T, K>, System.Func<T, V>)
IEnumerableExtensions.PermissiveToDictionary<T, K, V>(System.Collections.Generic.IEnumerable<T>, System.Func<T, K>, System.Func<T, V>, System.Collections.Generic.IEqualityComparer<K>)
IEnumerableExtensions.GetDifferentCombinations<T>(System.Collections.Generic.IEnumerable<T>, System.Int32)