OnAppointmentAddedNew

Definition

It is an event of the SAPCalendar.Calendar library. It occurs when an application user attempts to create an appointment or an event in any view of the calendar during runtime.

Use

Handling this event allows the:

  • Calendar to create and display an appointment in all the views currently displayed.

  • Mobile client application to store the appointment in the application database.

Structure

The OnAppointmentAddedNew event has the following characteristics:

Name

OnAppointmentAddedNew

Signature

Public Event OnAppointmentAddedNew(ByVal AppointmentItem As CRMCalendarAppointment, blCancelNew As Boolean)

Parameters

ByVal AppointmentItem as CRMCalendarAppointment

Byref bCancelNew as Boolean

Example

Assume that an application user creates an appointment in the calendar during runtime. As a result of this, the OnAppointmentAddedNew event occurs. The following code describes how to handle this event: