Click or drag to resize

IAppointmentSetDefaultsCall Method

SetDefaults for a phone call appointment. Has short duration. Starts now. The user is able to define their own default types, priority and duration under View – Preference in the CRM 5 clients. Calling the setDefaults method will set these values on the appointment. The user is able to define their own default types, priority and duration under View Preference in the CRM 5 clients. Calling the SetDefaultsCall method will set these values on the appointment.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
void SetDefaultsCall()
Examples

Set default values to appoinment

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
Dim objSO 
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    objSO.CurrentAppointment.SetDefaults()
    msgbox "Take a look at the current appointment now, when you click OK the changes will be cancelled."
    objSO.CurrentAppointment.CancelChanges()          
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

Set defaults to a call

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    objSO.CurrentAppointment.SetDefaultsCall()
    msgbox "Take a look at the current appointment now, when you click OK the changes will be cancelled."
    objSO.CurrentAppointment.CancelChanges()          
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also