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