Class FreetextAppointmentResultProvider
Archive provider for freetext search on the Appointment entity (any kind of appointment, phone call, or task).
Use the 'searchwords' restriction with one or more words to specify what to search for. The operator is ignored, the freetext search will apply the 'begins' operator to each word and 'AND' between them. It is possible to combine freetext search words with other restrictions and criteria native to the entity and its standard subproviders. Note however that this is not the same search as provided by the 'Find' providers, since they apply various special rules not present here. Freetext search will limit the number of hits to the first 1000. This clipping is applied before any other criteria, as well as before any ORDER BY, are applied. Private appointments that are not fully readable will not be shown (they are skipped), as in the Windows clientInheritance
FreetextAppointmentResultProvider
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("FreetextAppointment", 1073741823)]
public class FreetextAppointmentResultProvider : FreetextResultProviderBase<AppointmentAppointmentExtender, AppointmentTableInfo>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
FreetextAppointmentResultProvider()
Archive provider for freetext search on the Appointment entity (any kind of appointment, phone call, or task).
Use the 'searchwords' restriction with one or more words to specify what to search for. The operator is ignored, the freetext search will apply the 'begins' operator to each word and 'AND' between them. It is possible to combine freetext search words with other restrictions and criteria native to the entity and its standard subproviders. Note however that this is not the same search as provided by the 'Find' providers, since they apply various special rules not present here. Freetext search will limit the number of hits to the first 1000. This clipping is applied before any other criteria, as well as before any ORDER BY, are applied. Private appointments that are not fully readable will not be shown (they are skipped), as in the Windows clientDeclaration
public FreetextAppointmentResultProvider()
Fields
ProviderName
Archive provider for freetext search on the Appointment entity (any kind of appointment, phone call, or task).
Use the 'searchwords' restriction with one or more words to specify what to search for. The operator is ignored, the freetext search will apply the 'begins' operator to each word and 'AND' between them. It is possible to combine freetext search words with other restrictions and criteria native to the entity and its standard subproviders. Note however that this is not the same search as provided by the 'Find' providers, since they apply various special rules not present here. Freetext search will limit the number of hits to the first 1000. This clipping is applied before any other criteria, as well as before any ORDER BY, are applied. Private appointments that are not fully readable will not be shown (they are skipped), as in the Windows clientDeclaration
public const string ProviderName = "FreetextAppointment"
Field Value
Type | Description |
---|---|
string |
Methods
AcceptRow(SoDataReader)
Override: Reject (do not show) private appointments
Declaration
protected override bool AcceptRow(SoDataReader reader)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader |
Returns
Type | Description |
---|---|
bool |
Overrides
PostProcessQuery()
Override: Add the appointment.contact_id field to make sure we can ask about its rights later on
Declaration
public override void PostProcessQuery()