Class SaleExtenderBase
Base class for Extenders that handle the Sale table
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public abstract class SaleExtenderBase : ActivityExtenderBase<SaleTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
Constructors
SaleExtenderBase()
Base class for Extenders that handle the Sale table
Declaration
protected SaleExtenderBase()
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
SaleExtenderBase(Features)
Base class for Extenders that handle the Sale table
Declaration
protected SaleExtenderBase(SaleExtenderBase.Features features)
Parameters
Type | Name | Description |
---|---|---|
SaleExtenderBase.Features | features |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
Fields
ColSaleType
Base class for Extenders that handle the Sale table
Declaration
public const string ColSaleType = "saleType"
Field Value
Type | Description |
---|---|
string |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colActiveErpLinks
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colActiveErpLinks
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colAmount
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colAmount
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colAmountWeighted
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colAmountWeighted
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colCompetitor
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colCompetitor
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colCredited
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colCredited
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colCurrency
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colCurrency
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colCurrencyId
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colCurrencyId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colDescription
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colDescription
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colEarning
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colEarning
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colEarningPercent
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colEarningPercent
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colHasGuide
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colHasGuide
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colHasQuote
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colHasQuote
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colHasStakeholders
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colHasStakeholders
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colHeading
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colHeading
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colLostReason
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colLostReason
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colNextDueDate
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colNextDueDate
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colNumber
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colNumber
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colOriginalStage
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colOriginalStage
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colProbPercent
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colProbPercent
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colReopenDate
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colReopenDate
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colSaleStatus
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colSaleStatus
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colSaleType
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colSaleType
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colSaleTypeCategory
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colSaleTypeCategory
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colSoldReason
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colSoldReason
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colSource
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colSource
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colStage
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colStage
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colStageRank
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colStageRank
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
_colStalledReason
Base class for Extenders that handle the Sale table
Declaration
protected ArchiveColumnInfo _colStalledReason
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
Properties
MainTableName
The name of the table that this node is the handler for
Declaration
public override string MainTableName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
TableToExtend
Return the table to extend, as defined by THIS extender class.
Declaration
public override TableInfo TableToExtend { get; }
Property Value
Type | Description |
---|---|
TableInfo |
Overrides
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
VisibleForTable
Base class for Extenders that handle the Sale table
Declaration
public VisibleForTableInfo VisibleForTable { get; }
Property Value
Type | Description |
---|---|
VisibleForTableInfo |
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
Methods
InnerModifyQuery()
Template method called from ModifyQuery() during query processing; subclasses should implement it to build their queries. It will ONLY be called if IsQueryNeeded returns true.
Declaration
protected override void InnerModifyQuery()
Overrides
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Derived classes should implement the population of ColumnData items for columns that are NOT handled by this base class in this method. Whether a column is handled by this base class is part of its database binding information, set by the various MapXXX methods.
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | Data reader with the query result (one row) |
ArchiveRow | row | archive row to be populated |
Overrides
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
ModifyQuery()
Interface implementation, called from outer query provider to build the query
Declaration
public override void ModifyQuery()
Overrides
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
ProcessOrderBy()
Process order by information during query modification. For each order by column that matches a known database binding, add the orderby clause to the query. If the column has a separate fieldinfo specified for its orderby (as specified by MapOrderByField(FieldInfo, ArchiveColumnInfo), this field is used, otherwise the display field is used).
Declaration
protected override void ProcessOrderBy()
Overrides
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.
SetOrderBy(ArchiveOrderByInfo[])
Override: OrderBy on the stage and originalStage columns needs special processing, since they can't be processed as ordinary lists. The reason: the list name and table name DO NOT agree, and that kill the normal base class logic and its auto-join-list feature
Declaration
public override void SetOrderBy(ArchiveOrderByInfo[] orderBy)
Parameters
Type | Name | Description |
---|---|---|
ArchiveOrderByInfo[] | orderBy |
Overrides
Remarks
This base class is the one that defines all columns from the Sale table, adds on various child extenders to handle person, contact, project, associate and udef relations; provides population logic for complex fields like Text, and generally handles all things Sale-related.