DELETE

Definition

Method that deletes an appointment from the database.

Use

If the appointment was instantiated without an ID, this method has no effect. The instance of the appointment itself still exists. Calling the SAVE method would therefore cause the same appointment to be created again on the database, but with a new ID.

Structure

Import Parameters

  • DELET_ALL_FOLLOWING_TOO

    Only for periodic appointments. Specifies which individual instances of the periodic appointment are to be deleted. You should not normally set this parameter.

  • DELET_ALL_

    Only for periodic appointments. Specifies whether all individual instances of the periodic appointment are to be deleted. You should normally set this parameter to "X".

Exceptions

  • NO_DELETE

    The appointment could not be deleted from the database. For more information, see the MESSAGE variables.