Show / Hide Table of Contents

Class QuoteDocuments

MDO provider for the list of current / candidate "main document" for a given quote

Inheritance
Object
AnyTableListProviderBase
QuoteDocuments
Implements
ISoListProvider
ISoList
Inherited Members
AnyTableListProviderBase.Construct(String, String, Int32[], Boolean, String, Boolean)
AnyTableListProviderBase.GetHistoryItems()
AnyTableListProviderBase.GetRootItems()
AnyTableListProviderBase.OnPreGetRootItems(List<ISoListItem>)
AnyTableListProviderBase.OnPostGetRootItems(List<ISoListItem>)
AnyTableListProviderBase.SetHistoryRestriction(Select)
AnyTableListProviderBase.ExecuteQuery(Select, List<ISoListItem>)
AnyTableListProviderBase.ExecuteReader(SoCommand)
AnyTableListProviderBase.ListName
AnyTableListProviderBase.AdditionalInfo
AnyTableListProviderBase.HistoryIDs
AnyTableListProviderBase.OnlyReadHistory
AnyTableListProviderBase.ExcludeHistory
AnyTableListProviderBase.SearchValue
AnyTableListProviderBase.ForceFlatList
AnyTableListProviderBase.HistoryInfo
AnyTableListProviderBase.HistoryItems
AnyTableListProviderBase.RootItems
AnyTableListProviderBase.HeadingItems
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("QuoteDocuments")]
[MDOAdditionalInfo("QuoteId", "Quote to get documents for.", 123)]
public class QuoteDocuments : AnyTableListProviderBase, ISoListProvider, ISoList, IPlugin
Remarks

We need those document rows that point to documents connected to the same sale as the quote record, with document template of type MainDocument, and we'd like the id, header & long text please.

Pass in QuoteId=<id> to identify the quote you want documents for, in AdditionalInfo.

Constructors

QuoteDocuments()

MDO provider for the list of current / candidate "main document" for a given quote

Declaration
public QuoteDocuments()
Remarks

We need those document rows that point to documents connected to the same sale as the quote record, with document template of type MainDocument, and we'd like the id, header & long text please.

Pass in QuoteId=<id> to identify the quote you want documents for, in AdditionalInfo.

Fields

ProviderName

MDO provider for the list of current / candidate "main document" for a given quote

Declaration
public const string ProviderName = "QuoteDocuments"
Field Value
Type Description
String
Remarks

We need those document rows that point to documents connected to the same sale as the quote record, with document template of type MainDocument, and we'd like the id, header & long text please.

Pass in QuoteId=<id> to identify the quote you want documents for, in AdditionalInfo.

Properties

TableInfo

MDO provider for the list of current / candidate "main document" for a given quote

Declaration
protected override TableInfo TableInfo { get; }
Property Value
Type Description
TableInfo
Overrides
AnyTableListProviderBase.TableInfo
Remarks

We need those document rows that point to documents connected to the same sale as the quote record, with document template of type MainDocument, and we'd like the id, header & long text please.

Pass in QuoteId=<id> to identify the quote you want documents for, in AdditionalInfo.

Methods

GetMainQuery()

Override: Database query. We need those document rows that point to documents connected to the same sale as the quote record, with document template of type MainDocument, and we'd like the id, header & long text please.

Declaration
protected override Select GetMainQuery()
Returns
Type Description
Select
Overrides
AnyTableListProviderBase.GetMainQuery()
Remarks

We need those document rows that point to documents connected to the same sale as the quote record, with document template of type MainDocument, and we'd like the id, header & long text please.

Pass in QuoteId=<id> to identify the quote you want documents for, in AdditionalInfo.

Init()

MDO provider for the list of current / candidate "main document" for a given quote

Declaration
protected override void Init()
Overrides
AnyTableListProviderBase.Init()
Remarks

We need those document rows that point to documents connected to the same sale as the quote record, with document template of type MainDocument, and we'd like the id, header & long text please.

Pass in QuoteId=<id> to identify the quote you want documents for, in AdditionalInfo.

OnRead(SoDataReader, Int16)

MDO provider for the list of current / candidate "main document" for a given quote

Declaration
protected override ISoListItem OnRead(SoDataReader reader, short lastRank)
Parameters
Type Name Description
SoDataReader reader
Int16 lastRank
Returns
Type Description
ISoListItem
Overrides
AnyTableListProviderBase.OnRead(SoDataReader, Int16)
Remarks

We need those document rows that point to documents connected to the same sale as the quote record, with document template of type MainDocument, and we'd like the id, header & long text please.

Pass in QuoteId=<id> to identify the quote you want documents for, in AdditionalInfo.

SetSearchRestriction(Select, String)

MDO provider for the list of current / candidate "main document" for a given quote

Declaration
protected override void SetSearchRestriction(Select sql, string searchValue)
Parameters
Type Name Description
Select sql
String searchValue
Overrides
AnyTableListProviderBase.SetSearchRestriction(Select, String)
Remarks

We need those document rows that point to documents connected to the same sale as the quote record, with document template of type MainDocument, and we'd like the id, header & long text please.

Pass in QuoteId=<id> to identify the quote you want documents for, in AdditionalInfo.

Implements

ISoListProvider
ISoList

Extension Methods

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