SOAppointment Methods |
The SOAppointment type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AcceptInvitation | Accept or reject this invitation: 0 = Reject, 1 = Accept. (Inherited from IAppointment.) |
![]() | AddParticipant | (Inherited from IAppointment.) |
![]() ![]() | AssignTo | Assign appointment to an associate, from another associate (default from current associate) (Inherited from IAppointment.) |
![]() ![]() | CancelChanges | 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.) |
![]() ![]() | ChangeIdentity | 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.) |
![]() | Clone | Clone this appointment (Inherited from IAppointment.) |
![]() ![]() | Delete | 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.) |
![]() ![]() | GetNoOfParticipants | Number of participants for this booking. (Inherited from IAppointment.) |
![]() ![]() | GetParticipants | Get all participants of the required type for this appointment. Returns an SOAssociates or an SOPersons list depending on the type. (Inherited from IAppointment.) |
![]() ![]() | HasConflict | Has this appointment(booking) a time conflict? 0 = enResponseReject, 1 = enResponseAccept (Inherited from IAppointment.) |
![]() ![]() | InsertAppointmentPerson | If the main appointment has a person, insert the person as a participant on the booking. (Inherited from IAppointment.) |
![]() | IsSuggestedItem | Is this appointment used as a suggested appointment? (Inherited from IAppointment.) |
![]() | RemoveParticipant | (Inherited from IAppointment.) |
![]() ![]() | Save | 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.) |
![]() ![]() | SetDefaults | 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.) |
![]() ![]() | SetDefaultsCall | 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.) |
![]() ![]() | SetDefaultsToDo | 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.) |
![]() | SuggestedItemId | Get the suggested item id (Inherited from IAppointment.) |