Sub-objects contain information that exists only within a record. You cannot access the sub-objects outside that record. For example, categories, appointment attendees, contact addresses, invoice line items, and project assignees are all sub-objects.
Some sub-objects are also associated with the system lookup tables that define the individual types of sub-objects. For example, the Fax Type system lookup table defines the different types of fax numbers that you can add to a contact record.
Each sub-object is part of a main object. You retrieve sub-objects using a get method in the main object class. For example, if you want to retrieve a list of attendees for an appointment, use the Appointment.getAttendees method. If you want to retrieve the phone numbers for a contact, use the Contact.getPhoneNumbers method.
You can also add and remove sub-objects using the corresponding methods in the owner interfaces. For example, if you want to add an attendee to an appointment, use the Appointment.addAttendee method. If you want to remove an attendee from an appointment, use the Appointment.removeAttendee method.
The following table includes all the frequently used sub-objects and their classes.
Sub-Objects of Main TeamConnect Objects
Main Object Class |
Specific Sub-Object Classes |
Account |
(None) |
Appointment |
AppointmentAttendee |
Contact |
Address FaxNumber InternetAddress PhoneNumber DefaultRate TaskRate InvoiceTaskRate ContactRelation Skill |
Document |
(None) |
Expense |
(None) |
History |
(None) |
Involved |
InvolvedRelation |
Invoice |
LineItem |
Project |
ProjectAssignee Phase ProjectRelation |
Task |
TaskAssignee |