ENQUEUE and DEQUEUE
Definition
Methods for locking and unlocking an appointment.
Use
ENQUEUE
Appointments have to be locked by the user of this class. This method can be used for this purpose.
DEQUEUE
Unlocks a locked appointment.
Structure
Enqueue
Import Parameters
-
WAIT
This indicator specifies whether the lock attempt is to be repeated after a certain amount of time if the appointment is currently locked by another user. If this indicator is not set, the lock attempt is canceled immediately in this case.
Exceptions
-
FOREIGN_LOCK
The appointment is currently locked by another user. For more information, see the MESSAGE variables of the system parameters (SYST).
-
ENQUEUE_FAILURE
Either an incorrect GUID was specified during instantiation or there is a problem with lock management.
-
NO_APPOINTMENT_ID
The appointment that is to be locked has not yet been created on the database. Call the SAVE method to assign an ID to the appointment.