Class TicketListProvider
Provider for selecting a ticket.
Supported additionalInfo:
nameformat=includePersonAndCompany or nameformat=includeTicketId indicates how to format item name. If not specified, includePersonAndCompany is used.
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("Ticket")]
[MDOAdditionalInfo("nameformat", "Indicates how to format item name", "includePersonAndCompany")]
public class TicketListProvider : AnyTableListProviderBase, ISoListProvider, ISoList, IPlugin
Remarks
Sentry rights are honoured; if you do not have Read acces the ticket will not be listed here.
Examples
Example of using AdditionalInfo:
"nameformat=includeTicketId"
Constructors
TicketListProvider()
Provider for selecting a ticket.
Supported additionalInfo:
nameformat=includePersonAndCompany or nameformat=includeTicketId indicates how to format item name. If not specified, includePersonAndCompany is used.
Declaration
public TicketListProvider()
Remarks
Sentry rights are honoured; if you do not have Read acces the ticket will not be listed here.
Examples
Example of using AdditionalInfo:
"nameformat=includeTicketId"
Fields
ProviderName
Provider for selecting a ticket.
Supported additionalInfo:
nameformat=includePersonAndCompany or nameformat=includeTicketId indicates how to format item name. If not specified, includePersonAndCompany is used.
Declaration
public const string ProviderName = "Ticket"
Field Value
Type | Description |
---|---|
String |
Remarks
Sentry rights are honoured; if you do not have Read acces the ticket will not be listed here.
Examples
Example of using AdditionalInfo:
"nameformat=includeTicketId"
Properties
TableInfo
Provider for selecting a ticket.
Supported additionalInfo:
nameformat=includePersonAndCompany or nameformat=includeTicketId indicates how to format item name. If not specified, includePersonAndCompany is used.
Declaration
protected override TableInfo TableInfo { get; }
Property Value
Type | Description |
---|---|
TableInfo |
Overrides
Remarks
Sentry rights are honoured; if you do not have Read acces the ticket will not be listed here.
Examples
Example of using AdditionalInfo:
"nameformat=includeTicketId"
Methods
BuildSearchFromSubSearches(String)
Provider for selecting a ticket.
Supported additionalInfo:
nameformat=includePersonAndCompany or nameformat=includeTicketId indicates how to format item name. If not specified, includePersonAndCompany is used.
Declaration
protected Restriction BuildSearchFromSubSearches(string searchValue)
Parameters
Type | Name | Description |
---|---|---|
String | searchValue |
Returns
Type | Description |
---|---|
Restriction |
Remarks
Sentry rights are honoured; if you do not have Read acces the ticket will not be listed here.
Examples
Example of using AdditionalInfo:
"nameformat=includeTicketId"
GetMainQuery()
Provider for selecting a ticket.
Supported additionalInfo:
nameformat=includePersonAndCompany or nameformat=includeTicketId indicates how to format item name. If not specified, includePersonAndCompany is used.
Declaration
protected override Select GetMainQuery()
Returns
Type | Description |
---|---|
Select |
Overrides
Remarks
Sentry rights are honoured; if you do not have Read acces the ticket will not be listed here.
Examples
Example of using AdditionalInfo:
"nameformat=includeTicketId"
GetRootItems()
Provider for selecting a ticket.
Supported additionalInfo:
nameformat=includePersonAndCompany or nameformat=includeTicketId indicates how to format item name. If not specified, includePersonAndCompany is used.
Declaration
protected override List<ISoListItem> GetRootItems()
Returns
Type | Description |
---|---|
List<ISoListItem> |
Overrides
Remarks
Sentry rights are honoured; if you do not have Read acces the ticket will not be listed here.
Examples
Example of using AdditionalInfo:
"nameformat=includeTicketId"
Init()
Provider for selecting a ticket.
Supported additionalInfo:
nameformat=includePersonAndCompany or nameformat=includeTicketId indicates how to format item name. If not specified, includePersonAndCompany is used.
Declaration
protected override void Init()
Overrides
Remarks
Sentry rights are honoured; if you do not have Read acces the ticket will not be listed here.
Examples
Example of using AdditionalInfo:
"nameformat=includeTicketId"
OnRead(SoDataReader, Int16)
Provider for selecting a ticket.
Supported additionalInfo:
nameformat=includePersonAndCompany or nameformat=includeTicketId indicates how to format item name. If not specified, includePersonAndCompany is used.
Declaration
protected override ISoListItem OnRead(SoDataReader reader, short lastRank)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | |
Int16 | lastRank |
Returns
Type | Description |
---|---|
ISoListItem |
Overrides
Remarks
Sentry rights are honoured; if you do not have Read acces the ticket will not be listed here.
Examples
Example of using AdditionalInfo:
"nameformat=includeTicketId"
SetSearchRestriction(Select, String)
Provider for selecting a ticket.
Supported additionalInfo:
nameformat=includePersonAndCompany or nameformat=includeTicketId indicates how to format item name. If not specified, includePersonAndCompany is used.
Declaration
protected override void SetSearchRestriction(Select sql, string searchValue)
Parameters
Type | Name | Description |
---|---|---|
Select | sql | |
String | searchValue |
Overrides
Remarks
Sentry rights are honoured; if you do not have Read acces the ticket will not be listed here.
Examples
Example of using AdditionalInfo:
"nameformat=includeTicketId"