Class SaleHistorySaleHistoryExtender
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public class SaleHistorySaleHistoryExtender : ActivityExtenderBase<SaleHistTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
SaleHistorySaleHistoryExtender()
Construct the object and instantiate the SaleTableInfo
Declaration
public SaleHistorySaleHistoryExtender()
Fields
_colAmount
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colAmount
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colAmountWeighted
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colAmountWeighted
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colCompetitor
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colCompetitor
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colCredited
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colCredited
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colCurrency
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colCurrency
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colCurrencyId
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colCurrencyId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colEarning
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colEarning
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colEarningPercent
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colEarningPercent
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colHeading
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colHeading
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colLostReason
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colLostReason
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colNextDueDate
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colNextDueDate
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colNumber
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colNumber
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colProbPercent
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colProbPercent
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colReopenDate
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colReopenDate
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colSaleStatus
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colSaleStatus
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colSaleType
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colSaleType
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colSoldReason
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colSoldReason
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colSource
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colSource
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colStage
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colStage
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colStalledReason
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
protected ArchiveColumnInfo _colStalledReason
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
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
TableToExtend
Return the free-standing SaleHist table instance
Declaration
public override TableInfo TableToExtend { get; }
Property Value
Type | Description |
---|---|
TableInfo |
Overrides
VisibleForTable
This class essentially converts a Sale History extender into a primary query provider. This is done by having the SetJoin method return a free-standing SaleHistTableInfo instance that is not joined to anything, and overriding the TableToExtend property to return the same TableInfo.
Declaration
public VisibleForTableInfo VisibleForTable { get; }
Property Value
Type | Description |
---|---|
VisibleForTableInfo |
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
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
SetJoin()
Return the free-standing SaleHist table instance
Declaration
protected override SaleHistTableInfo SetJoin()
Returns
Type | Description |
---|---|
SaleHistTableInfo | TableInfo instance to be used by the base class |