Show / Hide Table of Contents

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
object
ExtensibleColumnsBase
ExtenderBase<SaleHistTableInfo>
ActivityExtenderBase<SaleHistTableInfo>
SaleHistorySaleHistoryExtender
Implements
IArchiveProviderQueryMapping
IArchiveExtender
IArchiveProviderDoesExtend
IArchiveProviderHasColumns
IArchiveProviderExtensible
Inherited Members
ActivityExtenderBase<SaleHistTableInfo>._colCompleted
ActivityExtenderBase<SaleHistTableInfo>._colIcon
ActivityExtenderBase<SaleHistTableInfo>._colDate
ActivityExtenderBase<SaleHistTableInfo>._colTime
ActivityExtenderBase<SaleHistTableInfo>._colType
ActivityExtenderBase<SaleHistTableInfo>._colRecordType
ActivityExtenderBase<SaleHistTableInfo>._colText
ActivityExtenderBase<SaleHistTableInfo>._colAssociateId
ActivityExtenderBase<SaleHistTableInfo>._colContactId
ActivityExtenderBase<SaleHistTableInfo>._colPersonId
ActivityExtenderBase<SaleHistTableInfo>._colProjectId
ActivityExtenderBase<SaleHistTableInfo>._colSaleId
ActivityExtenderBase<SaleHistTableInfo>._colUserGroup
ActivityExtenderBase<SaleHistTableInfo>._colWho
ActivityExtenderBase<SaleHistTableInfo>._colUpdatedBy
ActivityExtenderBase<SaleHistTableInfo>._colUpdatedByFullName
ActivityExtenderBase<SaleHistTableInfo>._colUpdatedDate
ActivityExtenderBase<SaleHistTableInfo>._colRegisteredBy
ActivityExtenderBase<SaleHistTableInfo>._colRegisteredByFullName
ActivityExtenderBase<SaleHistTableInfo>._colRegisteredDate
ActivityExtenderBase<SaleHistTableInfo>.ColumnSuggestedDocumentId
ActivityExtenderBase<SaleHistTableInfo>.ColumnSuggestedAppointmentId
ActivityExtenderBase<SaleHistTableInfo>.ToggleCompletedLinkHint(string, int, FieldRight)
ActivityExtenderBase<SaleHistTableInfo>.CompletedTooltipHint(string, int)
ActivityExtenderBase<SaleHistTableInfo>.SetDesiredColumns(params string[])
ActivityExtenderBase<SaleHistTableInfo>.PopulateRowFromReaderAsync(SoDataReader, ArchiveRow, CancellationToken)
ExtenderBase<SaleHistTableInfo>.ModifyQuery()
ExtenderBase<SaleHistTableInfo>.GetRankRestriction(FieldInfo)
ExtenderBase<SaleHistTableInfo>.StyleHintPrefix
ExtensibleColumnsBase._minuteFields
ExtensibleColumnsBase.Visible
ExtensibleColumnsBase.Invisible
ExtensibleColumnsBase.AllowOrderBy
ExtensibleColumnsBase.DenyOrderBy
ExtensibleColumnsBase.GetAllRestriction
ExtensibleColumnsBase.GetNoneRestriction
ExtensibleColumnsBase.GetNameOrOverrideName(string)
ExtensibleColumnsBase.SetParent(IArchiveProviderExtensible)
ExtensibleColumnsBase.AddAvailableColumn(params ArchiveColumnInfo[])
ExtensibleColumnsBase.GetAvailableColumns()
ExtensibleColumnsBase.SetOrderBy(ArchiveOrderByInfo[])
ExtensibleColumnsBase.SetOrderByMapping(string, params string[])
ExtensibleColumnsBase.SetOrderByMapping(ArchiveColumnInfo, params ArchiveColumnInfo[])
ExtensibleColumnsBase.SetPrefixes(string, string)
ExtensibleColumnsBase.SetLocalAbsolutePrefixes(string, string)
ExtensibleColumnsBase.SetIconHint(string)
ExtensibleColumnsBase.SetRestriction(params ArchiveRestrictionInfo[])
ExtensibleColumnsBase.AddLocalRestriction(params ArchiveRestrictionInfo[])
ExtensibleColumnsBase.AddExtensionProvider(IArchiveExtender)
ExtensibleColumnsBase.GetExtensionProviders()
ExtensibleColumnsBase.GetTableInfosFromExtensionProviders()
ExtensibleColumnsBase.SuppressTableResults(SoDataReader, TableInfo)
ExtensibleColumnsBase.SuppressDeepTableResults(SoDataReader, TableInfo)
ExtensibleColumnsBase.AddColumnNameOverride(string, string)
ExtensibleColumnsBase.ApplyColumnNameOverridesToRestrictions()
ExtensibleColumnsBase.ApplyColumnNameOverrides(ArchiveRow)
ExtensibleColumnsBase.AddSubExtenderMapping(string, params ExtensibleColumnsBase[])
ExtensibleColumnsBase.WantColumnForOutput(params string[])
ExtensibleColumnsBase.WantColumnForOutput(params ArchiveColumnInfo[])
ExtensibleColumnsBase.WantColumnForOutput(List<ArchiveColumnInfo>)
ExtensibleColumnsBase.WantColumnForRestriction(params string[])
ExtensibleColumnsBase.WantColumnForRestriction(params ArchiveColumnInfo[])
ExtensibleColumnsBase.WantColumnForOrderBy(params string[])
ExtensibleColumnsBase.GetColumnOrderBy(string)
ExtensibleColumnsBase.WantColumnForOrderBy(params ArchiveColumnInfo[])
ExtensibleColumnsBase.WantColumnForAnything(params string[])
ExtensibleColumnsBase.WantColumnForAnything(params ArchiveColumnInfo[])
ExtensibleColumnsBase.IsQueryNeeded()
ExtensibleColumnsBase.IsQueryRestriction()
ExtensibleColumnsBase.GetLeftOuterOrInnerJoin(Equal)
ExtensibleColumnsBase.GetLeftOuterOrInnerJoin(Equal, Restriction)
ExtensibleColumnsBase.SetLeftOuterJoin(Equal)
ExtensibleColumnsBase.SetLeftOuterJoin(Equal, Restriction)
ExtensibleColumnsBase.SetLeftOuterOrInnerJoin(Equal)
ExtensibleColumnsBase.SetLeftOuterOrInnerJoin(Equal, Restriction)
ExtensibleColumnsBase.MapReturnField(ArchiveSelect, FieldInfo, bool, string, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapIdField(FieldInfo)
ExtensibleColumnsBase.MapAssociateField(FieldInfo, ArchiveColumnInfo, bool)
ExtensibleColumnsBase.MapEjUserField(FieldInfo, ArchiveColumnInfo)
ExtensibleColumnsBase.MapSimpleReturnField(FieldInfo, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapSimpleImageField(FieldInfo, ArchiveColumnInfo, int, int)
ExtensibleColumnsBase.MapPictureBlob(FieldInfo, ArchiveColumnInfo, BlobLinkType, int, int, int)
ExtensibleColumnsBase.MapSimpleCustomField(FieldInfo, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapSimpleListReturnField(FieldInfo, string, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapOrderByField(FieldInfo, ArchiveColumnInfo)
ExtensibleColumnsBase.ActivateAsLinkField(string, params ArchiveColumnInfo[])
ExtensibleColumnsBase.HasAvailableColumn(string)
ExtensibleColumnsBase.AddAndInitializeExtensionProvider<ExtenderType>(ExtenderType, string, string)
ExtensibleColumnsBase.AddAndInitializeExtensionProvider<ExtenderType>(ExtenderType)
ExtensibleColumnsBase.HasRestriction(string)
ExtensibleColumnsBase.ExtractRestrictions(string)
ExtensibleColumnsBase.ExtractRestrictions(ArchiveColumnInfo)
ExtensibleColumnsBase.ExtractRestriction(string)
ExtensibleColumnsBase.ExtractRestriction(ArchiveColumnInfo)
ExtensibleColumnsBase.ProcessRestrictions()
ExtensibleColumnsBase.ProcessOrderBy()
ExtensibleColumnsBase.PopulateSimpleFieldsAsync(SoDataReader, ArchiveRow, CancellationToken)
ExtensibleColumnsBase.CalculateOrderbyValue(string, SoDataReader, ArchiveColumnData)
ExtensibleColumnsBase.AddDbInfo(ArchiveColumnData, FieldInfo)
ExtensibleColumnsBase.AddDbInfo(ArchiveColumnData, int)
ExtensibleColumnsBase.ForceDisable()
ExtensibleColumnsBase.GetAssociateData(int)
ExtensibleColumnsBase.GetEjUserData(int)
ExtensibleColumnsBase.GetColumnIndex(ArchiveColumnInfo)
ExtensibleColumnsBase.GetColumnIndexFromReader(SoDataReader, FieldInfo, ref int)
ExtensibleColumnsBase.ConvertDbTypeToString(object, ExtensibleColumnsBase.DbColumnBinding)
ExtensibleColumnsBase.GetStandardTooltipHint(SoDataReader, FieldInfo)
ExtensibleColumnsBase.GetLinkHint(SoDataReader, string)
ExtensibleColumnsBase.SetNonZeroBoolRestriction(ArchiveColumnInfo)
ExtensibleColumnsBase.AddUpdatedByMapping(ArchiveColumnInfo, FieldInfo, FieldInfo)
ExtensibleColumnsBase.AddRegisteredMapping(ArchiveColumnInfo, FieldInfo, ArchiveColumnInfo, FieldInfo)
ExtensibleColumnsBase.AddLastUpdatedMapping(ArchiveColumnInfo, FieldInfo, FieldInfo)
ExtensibleColumnsBase.AddUpdatedBy(SoDataReader, ArchiveRow, ArchiveColumnInfo, FieldInfo, FieldInfo)
ExtensibleColumnsBase.AddUpdatedDate(SoDataReader, ArchiveRow, ArchiveColumnInfo, FieldInfo, FieldInfo, bool)
ExtensibleColumnsBase.AddAssociateFullName(SoDataReader, ArchiveRow, ArchiveColumnInfo, params FieldInfo[])
ExtensibleColumnsBase.GetIdFieldTag(SoDataReader)
ExtensibleColumnsBase.GetArchiveColumnName(SoField)
ExtensibleColumnsBase.ExtensibleHelper
ExtensibleColumnsBase.ColumnHelper
ExtensibleColumnsBase.RestrictionHelper
ExtensibleColumnsBase.Parent
ExtensibleColumnsBase.DisableSubtreeIfNoRestriction
ExtensibleColumnsBase.RestrictionSetForSubtree
ExtensibleColumnsBase.ForceQueryNeeded
ExtensibleColumnsBase.ForceRestriction
ExtensibleColumnsBase.BlockOrderBy
ExtensibleColumnsBase.IdField
ExtensibleColumnsBase.LastSubExtenderWins
ExtensibleColumnsBase.ParentPrimaryKey
ExtensibleColumnsBase.QuoteAlternativeId
ExtensibleColumnsBase.SaleId
ExtensibleColumnsBase.NamePrefix
ExtensibleColumnsBase.DisplayNamePrefix
ExtensibleColumnsBase.RootQuery
ExtensibleColumnsBase.OrderBySlots
ExtensibleColumnsBase.PopulateDisplayValue
ExtensibleColumnsBase.PopulateTooltipHint
ExtensibleColumnsBase.DebugXML
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.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
ExtenderBase<SaleHistTableInfo>.MainTableName

TableToExtend

Return the free-standing SaleHist table instance

Declaration
public override TableInfo TableToExtend { get; }
Property Value
Type Description
TableInfo
Overrides
ExtensibleColumnsBase.TableToExtend

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
ExtenderBase<SaleHistTableInfo>.InnerModifyQuery()

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
ExtensibleColumnsBase.InnerPopulateRowFromReader(SoDataReader, ArchiveRow)

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

Overrides
ExtenderBase<SaleHistTableInfo>.SetJoin()

Implements

IArchiveProviderQueryMapping
IArchiveExtender
IArchiveProviderDoesExtend
IArchiveProviderHasColumns
IArchiveProviderExtensible

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top