Adds an appointment, contact, or task to the infrared queue.
POOM objects
Integer objectname.AddToInfraredQueue (entity)
Argument |
Description |
---|---|
objectname |
The name of the POOM object |
entity |
Entity of type POOMAppointment, POOMContact, or POOMTask |
Integer. Returns 1 for success and one of the following negative values if an error occurs:
-2 Cannot connect to the repository or a required internal subobject failed to connect to the repository
A user must be logged in to a POOM object to add an appointment, contact, or task to the infrared queue.
The following example submits the first appointment retrieved from Outlook to the infrared queue:
// Global variable: g_poom Int li_rtn
POOMAppointment myAppts[]
...
g_poom = CREATE POOM
li_rtn = g_poom.login()
// ** Gets and submits an appointment to the queue**
li_rtn = g_poom.getAppointments( myAppts )
li_rtn = g_poom.AddToInfraredQueue( myAppts[1])
g_poom.logout()