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()
Provider for selecting a stage. AdditionalInfo is used as criteria to filter stages based on SaleType.
Declaration
public SaleStageProvider()
Remarks
Sold(-2) and Lost(-1) items are appended at the end of the list.
AdditionalInfo "SaleTypeID=123&GetDeletedStages=true&HideOptionalRows=false&GetDeletedStageLinks=true"Fields
ProviderName
Provider name
Declaration
public const string ProviderName = "SaleStage"
Field Value
Type | Description |
---|---|
String |
Remarks
Sold(-2) and Lost(-1) items are appended at the end of the list.
AdditionalInfo "SaleTypeID=123&GetDeletedStages=true&HideOptionalRows=false&GetDeletedStageLinks=true"Methods
BuildMdoCollections()
Provider for selecting a stage. AdditionalInfo is used as criteria to filter stages based on SaleType.
Declaration
protected override void BuildMdoCollections()
Overrides
Remarks
Sold(-2) and Lost(-1) items are appended at the end of the list.
AdditionalInfo "SaleTypeID=123&GetDeletedStages=true&HideOptionalRows=false&GetDeletedStageLinks=true"Construct(String, String, Int32[], Boolean, String, Boolean)
Provider for selecting a stage. AdditionalInfo is used as criteria to filter stages based on SaleType.
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
Remarks
Sold(-2) and Lost(-1) items are appended at the end of the list.
AdditionalInfo "SaleTypeID=123&GetDeletedStages=true&HideOptionalRows=false&GetDeletedStageLinks=true"GetItemExtraInfo(ListTableRow)
Provider for selecting a stage. AdditionalInfo is used as criteria to filter stages based on SaleType.
Declaration
protected override string GetItemExtraInfo(ListTableRow row)
Parameters
Type | Name | Description |
---|---|---|
ListTableRow | row |
Returns
Type | Description |
---|---|
String |
Overrides
Remarks
Sold(-2) and Lost(-1) items are appended at the end of the list.
AdditionalInfo "SaleTypeID=123&GetDeletedStages=true&HideOptionalRows=false&GetDeletedStageLinks=true"GetRankField()
Provider for selecting a stage. AdditionalInfo is used as criteria to filter stages based on SaleType.
Declaration
protected override FieldInfo GetRankField()
Returns
Type | Description |
---|---|
FieldInfo |
Overrides
Remarks
Sold(-2) and Lost(-1) items are appended at the end of the list.
AdditionalInfo "SaleTypeID=123&GetDeletedStages=true&HideOptionalRows=false&GetDeletedStageLinks=true"GetSimpleListQuery()
Provider for selecting a stage. AdditionalInfo is used as criteria to filter stages based on SaleType.
Declaration
protected override ListTableRows.CustomSearch GetSimpleListQuery()
Returns
Type | Description |
---|---|
ListTableRows.CustomSearch |
Overrides
Remarks
Sold(-2) and Lost(-1) items are appended at the end of the list.
AdditionalInfo "SaleTypeID=123&GetDeletedStages=true&HideOptionalRows=false&GetDeletedStageLinks=true"