[This is preliminary documentation and is subject to change.]

The IOccurrence type exposes the following members.

Methods

  NameDescription
CreateNewOccurrence
Enables a user to raise a new occurrence.
GetDataFields
Gets a list of DataFields that are supported by the Occurrence module
GetDataFieldsForReportType
Gets a list of DataFields supported for a given report type.
GetOccurrence
Enables a user to view an existing occurrence.
GetOccurrenceGotoUrl
Enables a user to return a Url to open an occurrence in QPulse Web.
GetOccurrenceIDs
Enables a user to search for occurrences. This method is an alternative to GetOccurrences(). Where GetOccurrences() returns full descriptions of found records, GetOccurrenceIDs() returns only the Occurrence Numbers. You can then retrieve the full details using GetOccurrence()
GetOccurrences
Enables a user to search for occurrences. This method is an alternative to GetOccurrenceIDs(). Where GetOccurrenceIDs() returns only the Occurrence Numbers, GetOccurrences() returns full descriptions of found records.
GetReferenceList
Exposes a list of items for use in completing occurrence forms (within DataFields).
ListAvailableReportTypes
Gets a list of ReportTypes that are supported by the Occurrence Module.
RejectOccurrence
Reject occurrence takes an occurence Id and sets the Occurrence record with that Id to be Rejected. It will throw an exception when the occurrence does not exist or when the occurrence has already been accepted. Otherwise it successfully rejects the occurrence and will store a note detailing the reason behind the rejection

See Also