Class BTAppointmentPropose

All Implemented Interfaces:
Serializable, Tool, ValidExecution

Business task in order to to find a list of BOAppointment proposal to perform a given activity.
When the AppointmentProposeEvent is launched the BT notices the call and searches for the BOAppointment proposals basing on the event's input.
The task is structured by these steps:
  • data validation
  • starting from the given activity (work order type), external code and external system, it verifies whether a WorkOrder already exists
  • if no such order was found, we create a new work order for the required activity by calling the WorkOrderCreateFromWorkCycleEvent
  • it calls the booking module to obtain the list of slots during which the activity can be performed
  • if the list of slots is not empty, it creates a temporary appointment and the related agenda
Since:
15.0
See Also:
GCApi:
task