Class TargetValueExtenderBase
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public abstract class TargetValueExtenderBase : TableExtenderBase<TargetAssignmentValueTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
TargetValueExtenderBase()
Constructor
Declaration
protected TargetValueExtenderBase()
Fields
TargetAssignmentIdColName
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
public const string TargetAssignmentIdColName = "targetAssignmentId"
Field Value
Type | Description |
---|---|
string |
TargetPeriodColName
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
public const string TargetPeriodColName = "targetPeriod"
Field Value
Type | Description |
---|---|
string |
TargetPeriodNumberColName
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
public const string TargetPeriodNumberColName = "targetPeriodNumber"
Field Value
Type | Description |
---|---|
string |
TargetPeriodTypeColName
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
public const string TargetPeriodTypeColName = "targetPeriodType"
Field Value
Type | Description |
---|---|
string |
TargetValueColName
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
public const string TargetValueColName = "targetValue"
Field Value
Type | Description |
---|---|
string |
_colTargetAssignmentDimensionItemId
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetAssignmentDimensionItemId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetAssignmentId
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetAssignmentId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetAssociate
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetAssociate
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetContactId
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetContactId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetCurrency
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetCurrency
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetDimensionEntityType
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetDimensionEntityType
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetDimensionListField
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetDimensionListField
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetDimensionMeasurementUnit
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetDimensionMeasurementUnit
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetDimensionTargetTypeName
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetDimensionTargetTypeName
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetPeriod
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetPeriod
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetPeriodNumber
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetPeriodNumber
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetPeriodType
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetPeriodType
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetUserGroup
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetUserGroup
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetValue
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetValue
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTargetYear
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected ArchiveColumnInfo _colTargetYear
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_targetAssignmentInfoTable
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected TargetAssignmentInfoTableInfo _targetAssignmentInfoTable
Field Value
Type | Description |
---|---|
TargetAssignmentInfoTableInfo |
_targetDimensionTable
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected TargetDimensionTableInfo _targetDimensionTable
Field Value
Type | Description |
---|---|
TargetDimensionTableInfo |
_targetEntityTypeLookup
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected Dictionary<string, ISoListItem> _targetEntityTypeLookup
Field Value
Type | Description |
---|---|
Dictionary<string, ISoListItem> |
_targetGroupTable
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected TargetGroupTableInfo _targetGroupTable
Field Value
Type | Description |
---|---|
TargetGroupTableInfo |
_targetPeriodTable
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
protected TargetPeriodTableInfo _targetPeriodTable
Field Value
Type | Description |
---|---|
TargetPeriodTableInfo |
Properties
EndDate
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
public DateTime EndDate { get; }
Property Value
Type | Description |
---|---|
DateTime |
StartDate
Base extender class that handles target values. Can give you a stream of target values with associate and period/year, based on given criteria.
Declaration
public DateTime StartDate { get; }
Property Value
Type | Description |
---|---|
DateTime |
Methods
InnerModifyQuery()
Add/map return fields to the query
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
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
SetOrderBy(ArchiveOrderByInfo[])
Set the order by parameters. This method sets the order by parameters of this provider, as well as invoking the same call on all known extenders. Recursion will take it to the bottom. This method actually only saves the orderby specification for use during query processing. Any column name overrides are processed, i.e., replaced with the original inner names, so that the inner providers do not see the overrides.
Declaration
public override void SetOrderBy(ArchiveOrderByInfo[] orderBy)
Parameters
Type | Name | Description |
---|---|---|
ArchiveOrderByInfo[] | orderBy | Array of order by criteria |