Show / Hide Table of Contents

Class ServiceAssociateMDOProvider

MDO provider for associates that are allowed to approve a quote.

Inheritance
object
MDOProviderBase
AssociateMDOProviderBase
ServiceAssociateMDOProvider
Implements
ISoListProvider
ISoList
IEnumerable<ISoListItem>
IEnumerable
Inherited Members
AssociateMDOProviderBase._additionalInfo_GetDeleted
AssociateMDOProviderBase._additionalInfo_AddBinaryIconHints
AssociateMDOProviderBase._AdditionalInfo
AssociateMDOProviderBase.GetItemExtraInfo(ListTableRow)
AssociateMDOProviderBase.ConstructAsync(string, string, int[], bool, string, bool, CancellationToken)
AssociateMDOProviderBase.GetItemIconHint(ListTableRow)
AssociateMDOProviderBase.GetHeadingIconHint(ListTableRow)
AssociateMDOProviderBase.GetItemType(ListTableRow)
AssociateMDOProviderBase.GetItemTooltip(ListTableRow)
AssociateMDOProviderBase.GetHeadingType(ListTableRow)
AssociateMDOProviderBase.GetHistoryIconHint(ListTableRow)
AssociateMDOProviderBase.OnAddHeadingElementToCollection(SoListHeading)
AssociateMDOProviderBase.OnAddHistoryElementToCollection(SoListItem)
AssociateMDOProviderBase.OnAddSubItemToCollection(SoListItem, List<ISoListItem>)
AssociateMDOProviderBase.AcceptHistoryRow(ListTableRow)
AssociateMDOProviderBase.ReadItemsAndHeadingsAsync(CancellationToken)
AssociateMDOProviderBase.GetSimpleListQueryAsync(CancellationToken)
AssociateMDOProviderBase.ReadSimpleListAsync(CancellationToken)
AssociateMDOProviderBase.GetItemsAndHeadingsQueryAsync(CancellationToken)
AssociateMDOProviderBase.GetAssociateFlatListAsync(CancellationToken)
AssociateMDOProviderBase.GetAssociateHeadingAndItemsAsync(CancellationToken)
AssociateMDOProviderBase.ExecuteQuery(Select, List<int>)
AssociateMDOProviderBase.ExecuteReader(SoCommand)
AssociateMDOProviderBase.ResortFlattenedListAsync(CancellationToken)
AssociateMDOProviderBase.HistoryInfo
AssociateMDOProviderBase.PersonTableInfo
MDOProviderBase._historyIds
MDOProviderBase._searchValue
MDOProviderBase._forceFlatList
MDOProviderBase._rootCollection
MDOProviderBase._historyCollection
MDOProviderBase._headingCollection
MDOProviderBase._declaredListName
MDOProviderBase._tableRows
MDOProviderBase._nodeType
MDOProviderBase._listName
MDOProviderBase._tableName
MDOProviderBase._tableListInfo
MDOProviderBase._listInfo
MDOProviderBase.AddSimpleListOrderByAsync(ListTableRows.CustomSearch, CancellationToken)
MDOProviderBase.GetItemsAndHeadingsQueryAsync(bool, CancellationToken, params int[])
MDOProviderBase.AddGroupLinkJoin(int[], ListTableRows.CustomSearch)
MDOProviderBase.GetItemId(ListTableRow)
MDOProviderBase.GetItemRank(ListTableRow)
MDOProviderBase.GetItemDeleted(ListTableRow)
MDOProviderBase.GetItemColor(ListTableRow)
MDOProviderBase.GetItemStyleHint(ListTableRow)
MDOProviderBase.GetGroupingAllowedForListAsync(CancellationToken)
MDOProviderBase.OnAddRootElementToCollection(SoListItem)
MDOProviderBase.GetListLowerLimitAsync(CancellationToken)
MDOProviderBase.GetPreferredSortOrderAsync(CancellationToken)
MDOProviderBase.BuildMdoCollectionsAsync(CancellationToken)
MDOProviderBase.GetHistoryItemsAsync(CancellationToken)
MDOProviderBase.ClearHistoryItems()
MDOProviderBase.GetRootItemsAsync(CancellationToken)
MDOProviderBase.GetHeadingItemsAsync(CancellationToken)
MDOProviderBase.IncludeDeletedItems
MDOProviderBase.InhibitResortOnFlattening
MDOProviderBase.IsFinalListFlat
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[MDOProviderPlugin("serviceassociate")]
[MDOAdditionalInfo("IncludeDefaultItems", "Flag to include defaul values (currentUser, autoAssign = int.maxValue, unAssigned = 0)", false)]
[MDOAdditionalInfo("AddNotPresentStatus", "Flag to add related user's 'not present' status message to fullname", false)]
public class ServiceAssociateMDOProvider : AssociateMDOProviderBase, ISoListProvider, ISoList, IEnumerable<ISoListItem>, IEnumerable

Fields

AddNotPresentStatus

MDO provider for associates that are allowed to approve a quote.

Declaration
public const string AddNotPresentStatus = "AddNotPresentStatus"
Field Value
Type Description
string

IncludeDefaultItems

MDO provider for associates that are allowed to approve a quote.

Declaration
public const string IncludeDefaultItems = "IncludeDefaultItems"
Field Value
Type Description
string

ProviderName

MDO provider for associates that are allowed to approve a quote.

Declaration
public const string ProviderName = "serviceassociate"
Field Value
Type Description
string

Methods

FillListAsync(CancellationToken)

Fills the MDO-list with data.

Declaration
protected override Task FillListAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task
Overrides
MDOProviderBase.FillListAsync(CancellationToken)

GenerateCommonQueryAsync(CustomSearch, ListInfo, CancellationToken)

MDO provider for associates that are allowed to approve a quote.

Declaration
protected override Task GenerateCommonQueryAsync(ListTableRows.CustomSearch query, ListInfo li, CancellationToken cancellationToken)
Parameters
Type Name Description
ListTableRows.CustomSearch query
ListInfo li
CancellationToken cancellationToken
Returns
Type Description
Task
Overrides
AssociateMDOProviderBase.GenerateCommonQueryAsync(ListTableRows.CustomSearch, ListInfo, CancellationToken)

GetHistoryCollectionAsync(CancellationToken)

Get History collection for associate list. History is both resource and associates, and field extra_id in history table indicate that the history is for the associatechooser.

Declaration
protected override Task<ListTableRows.CustomSearch> GetHistoryCollectionAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<ListTableRows.CustomSearch>

ListTableRows.CustomSearch

Overrides
AssociateMDOProviderBase.GetHistoryCollectionAsync(CancellationToken)

GetItemName(ListTableRow)

Get the name of an item

Declaration
protected override string GetItemName(ListTableRow row)
Parameters
Type Name Description
ListTableRow row
Returns
Type Description
string
Overrides
AssociateMDOProviderBase.GetItemName(ListTableRow)

Implements

ISoListProvider
ISoList
IEnumerable<T>
IEnumerable

Extension Methods

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