Unbook time slot book entry
Event action – Abstract
Purpose: Releases the time slots booked by a scheduled time slot book entry.
The event action Unbook time slot book entry expects an entity of the 'Time slot book entry' type as a reference object whose current booking is canceled or 'unbooked'.
Provided that the time slot book entry available as a reference object is currently considered to be 'booked', the booking process is similar to the interactive 'unbooking' of a time slot book entry in the context of the Booking overview:
All fields of the time slot book entry that were set in the course of the booking are deleted. Any reference to the user registered as the 'booker', the assigned loading point, or the occupied time slots will be lost.
Beforehand, the 'Unbook' event (see Time slot management tool (Events)) is triggered with the reference object as the input value. In this context, the booking data is still available so that, for example, the 'booker' can be specifically notified of the release.
Configuration
The time slot book entry to be 'unbooked' must exist as a reference object for the event action.
►NOTE◄ If the reference object is an entity of a different type, nothing happens. No error message is given.
The event action does not use any parameters.
Example
By clicking on a ribbon button, the previously selected loading place can be 'deallocated' in an overview for Loading places.
Technically, all time slot book entries relating to the loading place in question and a booking period in the future must be unbooked for this purpose.
Configuration:
A Custom action event 'Deallocate loading place' is created for this purpose and then added as a Triggering event in an event handler that is configured as shown on the right:
|
|
The view on the right shows the Search (Event action) expanded, configured as follows:
►NOTE◄ With this configuration, time slot book entries are unbooked, for which at least the end of the booked interval (bookedRange) still lies in the future. |
|