Class ServiceAssociateMDOProvider
MDO provider for associates that are allowed to approve a quote.
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.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
FillList()
Fills the MDO-list with data.
Declaration
protected override void FillList()
Overrides
GenerateCommonQuery(CustomSearch, ListInfo)
MDO provider for associates that are allowed to approve a quote.
Declaration
protected override void GenerateCommonQuery(ListTableRows.CustomSearch query, ListInfo li)
Parameters
Type | Name | Description |
---|---|---|
ListTableRows.CustomSearch | query | |
ListInfo | li |
Overrides
GetHistoryCollection()
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 ListTableRows.CustomSearch GetHistoryCollection()
Returns
Type | Description |
---|---|
ListTableRows.CustomSearch | ListTableRows.CustomSearch |
Overrides
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 |