Class SaleProvider
Archive provider for Sale type activities. This provider can be used on its own, or can form part of the ActivityArchiveProvider, which mixes sales, appointments, tasks and documents.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("Sale", 1073741823)]
public class SaleProvider : ActivityProviderBase<SaleSaleExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
SaleProvider()
Initialize the instance, the core extender, and set the entity name
Declaration
public SaleProvider()
SaleProvider(ActivityArchiveKind)
This constructor is called via reflection from the DoneNotDoneSplitter to set up non-raw activity archives
Declaration
public SaleProvider(ActivityArchiveKind kind)
Parameters
Type | Name | Description |
---|---|---|
ActivityArchiveKind | kind | Kind of activity archive |
Fields
ProviderName
Archive provider for Sale type activities. This provider can be used on its own, or can form part of the ActivityArchiveProvider, which mixes sales, appointments, tasks and documents.
Declaration
public const string ProviderName = "Sale"
Field Value
Type | Description |
---|---|
string |
_ourSaleTable
Sale table we are processing
Declaration
protected SaleTableInfo _ourSaleTable
Field Value
Type | Description |
---|---|
SaleTableInfo |
Methods
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Populate any custom fields - we add the row level link hint (doubleclick)
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | Data reader with a valid row |
ArchiveRow | row | Row to be populated |
Overrides
PostProcessQuery()
Apply additional restrictions: Activity archive kind-related restrictions
Declaration
public override void PostProcessQuery()