Click or drag to resize

SOAppointment Methods

The SOAppointment type exposes the following members.

Methods
  NameDescription
Public methodCode exampleAcceptInvitation
Accept or reject this invitation: 0 = Reject, 1 = Accept.
(Inherited from IAppointment.)
Public methodAddParticipant (Inherited from IAppointment.)
Public methodCode exampleAssignTo
Assign appointment to an associate, from another associate (default from current associate)
(Inherited from IAppointment.)
Public methodCode exampleCancelChanges
Undo any changes made since the object was loaded. If you made changes to the model that you dont want to be saved to the database, call the CancelChanges method
(Inherited from IAppointment.)
Public methodCode exampleChangeIdentity
Loads a different record into the object. Causes changes to the existing object to be saved first. Saves the changes made to the appointment model to the database. The last thing you do to an object if you want the changes you made to be saved. The ChangeIdentity method calls the save method first.
(Inherited from IAppointment.)
Public methodClone
Clone this appointment
(Inherited from IAppointment.)
Public methodCode exampleDelete
Delete the object from the database. May throw an error if you are not allowed to delete the object. Deletes the specified appointment model from the database
(Inherited from IAppointment.)
Public methodCode exampleGetNoOfParticipants
Number of participants for this booking.
(Inherited from IAppointment.)
Public methodCode exampleGetParticipants
Get all participants of the required type for this appointment. Returns an SOAssociates or an SOPersons list depending on the type.
(Inherited from IAppointment.)
Public methodCode exampleHasConflict
Has this appointment(booking) a time conflict? 0 = enResponseReject, 1 = enResponseAccept
(Inherited from IAppointment.)
Public methodCode exampleInsertAppointmentPerson
If the main appointment has a person, insert the person as a participant on the booking.
(Inherited from IAppointment.)
Public methodIsSuggestedItem
Is this appointment used as a suggested appointment?
(Inherited from IAppointment.)
Public methodRemoveParticipant (Inherited from IAppointment.)
Public methodCode exampleSave
Persist the object to the database. May throw an error if you are not allowed to save changes to the object. Saves the changes you made to the appointment model to the database, does not return the new data from the database
(Inherited from IAppointment.)
Public methodCode exampleSetDefaults
Populate the object with default values, such as setting the owner to the current user. The user is able to define their own default types, priority and duration under View – Preference in the CRM 5 clients. Calling the setDefaults method will set these values on the appointment.
(Inherited from IAppointment.)
Public methodCode exampleSetDefaultsCall
SetDefaults for a phone call appointment. Has short duration. Starts now. The user is able to define their own default types, priority and duration under View – Preference in the CRM 5 clients. Calling the setDefaults method will set these values on the appointment. The user is able to define their own default types, priority and duration under View Preference in the CRM 5 clients. Calling the SetDefaultsCall method will set these values on the appointment.
(Inherited from IAppointment.)
Public methodCode exampleSetDefaultsToDo
SetDefaults for a ToDo appointment. Has no start time. The user is able to define their own default types, priority and duration under View – Preference in the CRM 5 clients. Calling the setDefaults method will set these values on the appointment. The user is able to define their own default types, priority and duration under View Preference in the CRM 5 clients. Calling the SetDefaultsToDo method will set these values on the appointment as long as it is of type = ToDo
(Inherited from IAppointment.)
Public methodSuggestedItemId
Get the suggested item id
(Inherited from IAppointment.)
Top
See Also