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 client
[ArchiveProvider("FreetextAppointment", 1073741823)] public class FreetextAppointmentResultProvider : FreetextResultProviderBase<AppointmentAppointmentExtender, AppointmentTableInfo>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin
public const string ProviderName = "FreetextAppointment"
Override: Reject (do not show) private appointments
protected override bool AcceptRow(SoDataReader reader)
Override: Add the appointment.contact_id field to make sure we can ask about its rights later on
public override void PostProcessQuery()