Class SaleGuideStage
MDO provider for the stage list, customized for the sale guide stage button row
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("SaleGuideStage")]
[MDOAdditionalInfoSeparator("&")]
[MDOAdditionalInfo("sale_id", "Sale to get stages for", "1234")]
[MDOAdditionalInfo("saletype_id", "Sale Type to get stages for", "234")]
[MDOAdditionalInfo("prob_id", "Sale Stage id", "234")]
public class SaleGuideStage : AnyTableListProviderBase, ISoListProvider, ISoList, IPlugin
Remarks
AdditionalInfo is a name/value string, and can be either sale_id=<id> or saletype_id=<id>. If sale_id is given,
then you get back all the stages valid for this sale, with stylehint currentStage for the current one; if saletype_id is given,
you get back all stages valid for this sale type, but (obviously) with no current indication.
If no additionalInfo is given, all stages are returned. The 'special' stages Open, Lost and Sold are not included in this
provider; use the SaleStage provider for those.
Constructors
SaleGuideStage()
MDO provider for the stage list, customized for the sale guide stage button row
Declaration
public SaleGuideStage()
Remarks
AdditionalInfo is a name/value string, and can be either sale_id=<id> or saletype_id=<id>. If sale_id is given,
then you get back all the stages valid for this sale, with stylehint currentStage for the current one; if saletype_id is given,
you get back all stages valid for this sale type, but (obviously) with no current indication.
If no additionalInfo is given, all stages are returned. The 'special' stages Open, Lost and Sold are not included in this
provider; use the SaleStage provider for those.
Fields
ProviderName
MDO provider for the stage list, customized for the sale guide stage button row
Declaration
public const string ProviderName = "SaleGuideStage"
Field Value
Type | Description |
---|---|
String |
Remarks
AdditionalInfo is a name/value string, and can be either sale_id=<id> or saletype_id=<id>. If sale_id is given,
then you get back all the stages valid for this sale, with stylehint currentStage for the current one; if saletype_id is given,
you get back all stages valid for this sale type, but (obviously) with no current indication.
If no additionalInfo is given, all stages are returned. The 'special' stages Open, Lost and Sold are not included in this
provider; use the SaleStage provider for those.
Properties
TableInfo
MDO provider for the stage list, customized for the sale guide stage button row
Declaration
protected override TableInfo TableInfo { get; }
Property Value
Type | Description |
---|---|
TableInfo |
Overrides
Remarks
AdditionalInfo is a name/value string, and can be either sale_id=<id> or saletype_id=<id>. If sale_id is given,
then you get back all the stages valid for this sale, with stylehint currentStage for the current one; if saletype_id is given,
you get back all stages valid for this sale type, but (obviously) with no current indication.
If no additionalInfo is given, all stages are returned. The 'special' stages Open, Lost and Sold are not included in this
provider; use the SaleStage provider for those.
Methods
GetMainQuery()
MDO provider for the stage list, customized for the sale guide stage button row
Declaration
protected override Select GetMainQuery()
Returns
Type | Description |
---|---|
Select |
Overrides
Remarks
AdditionalInfo is a name/value string, and can be either sale_id=<id> or saletype_id=<id>. If sale_id is given,
then you get back all the stages valid for this sale, with stylehint currentStage for the current one; if saletype_id is given,
you get back all stages valid for this sale type, but (obviously) with no current indication.
If no additionalInfo is given, all stages are returned. The 'special' stages Open, Lost and Sold are not included in this
provider; use the SaleStage provider for those.
Init()
MDO provider for the stage list, customized for the sale guide stage button row
Declaration
protected override void Init()
Overrides
Remarks
AdditionalInfo is a name/value string, and can be either sale_id=<id> or saletype_id=<id>. If sale_id is given,
then you get back all the stages valid for this sale, with stylehint currentStage for the current one; if saletype_id is given,
you get back all stages valid for this sale type, but (obviously) with no current indication.
If no additionalInfo is given, all stages are returned. The 'special' stages Open, Lost and Sold are not included in this
provider; use the SaleStage provider for those.
OnRead(SoDataReader, Int16)
MDO provider for the stage list, customized for the sale guide stage button row
Declaration
protected override ISoListItem OnRead(SoDataReader reader, short lastRank)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | |
Int16 | lastRank |
Returns
Type | Description |
---|---|
ISoListItem |
Overrides
Remarks
AdditionalInfo is a name/value string, and can be either sale_id=<id> or saletype_id=<id>. If sale_id is given,
then you get back all the stages valid for this sale, with stylehint currentStage for the current one; if saletype_id is given,
you get back all stages valid for this sale type, but (obviously) with no current indication.
If no additionalInfo is given, all stages are returned. The 'special' stages Open, Lost and Sold are not included in this
provider; use the SaleStage provider for those.
SetSearchRestriction(Select, String)
MDO provider for the stage list, customized for the sale guide stage button row
Declaration
protected override void SetSearchRestriction(Select sql, string searchValue)
Parameters
Type | Name | Description |
---|---|---|
Select | sql | |
String | searchValue |
Overrides
Remarks
AdditionalInfo is a name/value string, and can be either sale_id=<id> or saletype_id=<id>. If sale_id is given,
then you get back all the stages valid for this sale, with stylehint currentStage for the current one; if saletype_id is given,
you get back all stages valid for this sale type, but (obviously) with no current indication.
If no additionalInfo is given, all stages are returned. The 'special' stages Open, Lost and Sold are not included in this
provider; use the SaleStage provider for those.