(Contents)(Previous)(Next)

Company Object

The Company object represents an OfficeTalk Company. This object provides access to the common object functionality.

Company Methods
Edit Lets the caller edit the properties of the Company via a dialog box
Update Saves changes to this company
Delete Deletes the company
Value Gets the value of the passed in field/column name
Value= Sets the value of the passed in field/column name
GetEmployees Returns a list of employees
AddEmployee Adds an employee to the company
SetNotes Sets the notes associated with the company
GetNotes Gets the notes associated with the company
Company Properties
Name Represents the company's description
LastEditedDate The date on which the company was last changed (Read only)
CreationDate The date when the company was created (Read only)
Address1 The first address field
Address2 The second address field
Address3 The third address field
City The city address field
County The county address field
Postcode The postcode address field
Country The country address field
Phone1 The primary phone number
Phone2 The secondary phone number
Fax The fax number
Email The Email address of the company
Available Fields
Name
Type
Description
ID Long The company's ID
Last Edited Date The date when this company was last changed (Read only)
Name String The name of this company
Address1 String The first address line of this company
Address2 String The second address line of this company
Address3 String The third address line of this company
City String The town or city where this company is located
County String The county or state where this company is located
Postcode String The company's postcode or zip code
Country String The country where the company is located
Phone1 String The company's primary phone number
Phone2 String The company's secondary phone number
Fax String The company's fax number
Comment String The comment associated with the company
Web Address String The company's world wide web address
Email String The company's e-mail address
More:

GetEmployees()

AddEmployee()

SetNotes()

GetNotes()


Next