Class ServiceAssociateMDOProvider
MDO provider for associates that are allowed to approve a quote.
Inheritance
ServiceAssociateMDOProvider
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
IncludeDefaultItems
MDO provider for associates that are allowed to approve a quote.
Declaration
public const string IncludeDefaultItems = "IncludeDefaultItems"
Field Value
ProviderName
MDO provider for associates that are allowed to approve a quote.
Declaration
public const string ProviderName = "serviceassociate"
Field Value
Methods
FillListAsync(CancellationToken)
Fills the MDO-list with data.
Declaration
protected override Task FillListAsync(CancellationToken cancellationToken)
Parameters
Returns
Overrides
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
Returns
Overrides
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
Returns
Overrides
GetItemName(ListTableRow)
Declaration
protected override string GetItemName(ListTableRow row)
Parameters
Returns
Overrides
Implements
Extension Methods