Class QuoteTemplateProvider
This is a variant of the DocTmpl list - document templates - restricted to those that are of some quote document type. Use AdditionalInfo 'DocTmplQuoteType=<a valid DocTmplQuoteType enum string value>' to specify which one it should be
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("QuoteTemplate")]
[MDOAdditionalInfo("DocTmplQuoteType", "DocTmplQuoteType enum value", "MainDocument")]
public class QuoteTemplateProvider : MDOProviderBase, ISoListProvider, ISoList, IPlugin, IEnumerable<ISoListItem>, IEnumerable
Constructors
QuoteTemplateProvider()
Declaration
public QuoteTemplateProvider()
Fields
ProviderName
Declaration
public const string ProviderName = "QuoteTemplate"
Field Value
Type | Description |
---|---|
System.String |
Properties
HistoryInfo
Override: Separate histories for each quote type, this may or may not be quite what people like
Declaration
public override HistoryInfo HistoryInfo { get; }
Property Value
Type | Description |
---|---|
HistoryInfo |
Overrides
Methods
Construct(String, String, Int32[], Boolean, String, Boolean)
Declaration
public override void Construct(string tableName, string additionalInfo, int[] historyIDs, bool onlyReadHistory, string searchValue, bool forceFlatList)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableName | |
System.String | additionalInfo | |
System.Int32[] | historyIDs | |
Boolean | onlyReadHistory | |
System.String | searchValue | |
Boolean | forceFlatList |
Overrides
GetHeadingIconHint(ListTableRow)
Get a value for the field IconHint in ISoList for a heading element
Declaration
protected override string GetHeadingIconHint(ListTableRow row)
Parameters
Type | Name | Description |
---|---|---|
ListTableRow | row | The actual row for which the item is created |
Returns
Type | Description |
---|---|
System.String | "Document"" |
Overrides
GetItemIconHint(ListTableRow)
Get a value for the field IconHint in ISoList for an item element
Declaration
protected override string GetItemIconHint(ListTableRow row)
Parameters
Type | Name | Description |
---|---|---|
ListTableRow | row | The actual row for which the item is created |
Returns
Type | Description |
---|---|
System.String | "Document" |
Overrides
GetItemsAndHeadingsQuery()
Declaration
protected override ListTableRows.CustomSearch GetItemsAndHeadingsQuery()
Returns
Type | Description |
---|---|
ListTableRows.CustomSearch |
Overrides
GetSimpleListQuery()
Declaration
protected override ListTableRows.CustomSearch GetSimpleListQuery()
Returns
Type | Description |
---|---|
ListTableRows.CustomSearch |
Overrides
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Extension Methods
EnumUtil.MapEnums<From, To>(From)
IEnumerableExtensions.ForEach<T>(System.Collections.Generic.IEnumerable<T>, System.Action<T>)
IEnumerableExtensions.ContainsAny<T>(System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEnumerable<T>)
IEnumerableExtensions.Batch<T>(System.Collections.Generic.IEnumerable<T>, System.Int32)
IEnumerableExtensions.IndexOf<T>(System.Collections.Generic.IEnumerable<T>, T, System.Int32)
IEnumerableExtensions.IndexOf<T>(System.Collections.Generic.IEnumerable<T>, System.Func<T, System.Boolean>, System.Int32)
IEnumerableExtensions.Permute<T>(System.Collections.Generic.IEnumerable<T>, System.Int32)
IEnumerableExtensions.PermissiveToDictionary<T, K, V>(System.Collections.Generic.IEnumerable<T>, System.Func<T, K>, System.Func<T, V>)
IEnumerableExtensions.PermissiveToDictionary<T, K, V>(System.Collections.Generic.IEnumerable<T>, System.Func<T, K>, System.Func<T, V>, System.Collections.Generic.IEqualityComparer<K>)
IEnumerableExtensions.GetDifferentCombinations<T>(System.Collections.Generic.IEnumerable<T>, System.Int32)