Click or drag to resize

IContact Interface

Contacts represent companies in the user interface.

Namespace:  SuperOffice.COM.Application
Assembly:  SOCRM.Interop (in SOCRM.Interop.dll) Version: 8.0.0.0
Syntax
public interface IContact : IModelBase

The IContact type exposes the following members.

Properties
  NameDescription
Public propertyActiveLinks
ActiveLinks - Number of active links to documents, projects, Urls, appointments, sales, contacts, persons, selections
Public propertyActivityLinks
The ActivityLinks attached to this contact. Add or remove links on this object.
Public propertyAssociate
Our contact - the user who 'owns' the company
Public propertyAutoSaveOnChangeIdentity
Should the model save on IdentityChanged?
Public propertyAutoSaveOnFlush
Should the model save on flush cache?
Public propertyBusiness
Contact Business - a list item - table enTableBusiness=61
Public propertyCategory
Contact Category - a list item - table enTableCategory=64
Public propertyChanged
has record been changed since read?
Public propertyCounters
Contact Counters - when was the company last contacted, how much was the most recent sale. May return an error if the Sales Intelligence license is missing.
Public propertyCountry
The contact's country - a list item - table enTableCntry=19
Public propertyCreatedAssociate
The user that created the object
Public propertyCreatedDate
The date the object was saved to the database.
Public propertyDepartment
Department or section within a company
Public propertyEmails
Email addresses
Public propertyExternalFieldChanged
have external fields been changed?
Public propertyForeignKey
Get ForeignKeys linked to this contact
Public propertyFormattedAddress
returns just the address as a multi-line string according to the country's address layout
Public propertyFormattedLabel
returns the name + address as a multi-line string according to the country's address layout
Public propertyGroup
Primary User Group of owning associate. Set implicitly by AssociateId.
Public propertyIdentity
The primary key on the primary table. Is zero for new objects. Is set when an object is saved.
Public propertyInterests
The active Interests collection.
Public propertyIsAvailable
is record available in db?
Public propertyIsFavourite
Add/Remove this contact from my favourites
Public propertyIsRequiredFilled
Are all the required fields filled out? Can we save the record?
Public propertyIsValid
does the record exist?
Public propertyMother
unused.
Public propertyName
Company Name - may throw an error if you attempt to modify the database owner company name.
Public propertyNomailing
Can be used to filter recipients who don't want spam from a mail-merge.
Public propertyNumber1
Shown as Code in the user interface
Public propertyNumber2
Shown as Number in the user interface
Public propertyOrgNr
The Contact's OrgNr/Tax number/VAT number
Public propertyPhones
Phone item collection
Public propertyPostalAddress
PostalAddress
Public propertyPostItText
PostItText
Public propertySentry
Sentry settings for this object. Lets you find out your read/write access to the object.
Public propertyStatusMonitors
Contact Status Monitors - list of all active status monitors indexed by id. May return an error if the Sales Intelligence license is missing.
Public propertyStreetAddress
StreetAddress
Public propertyUDef
The user-defined fields on the contact
Public propertyUpdatedAssociate
The last user to modify the object
Public propertyUpdatedDate
The date of the most recent update.
Public propertyUrls
Web addresses
Public propertyValidationMessage
get validation message, if empty model will think it is ok to save
Public propertyXstop
Stop - shown as a big red X
Top
Methods
  NameDescription
Public methodCancelChanges
Undo any changes made since the object was loaded.
Public methodChangeIdentity
Loads a different record into the object. Causes changes to the existing object to be saved first.
Public methodCopy
Creates a new copy of this contact, optionally with a copy of the persons belonging to it as well.
Public methodDelete
Delete the object from the database. May throw an error if you are not allowed to delete the object.
Public methodGetActivityList
Public methodGetPersons
Get the persons attached to this contact. Hidden persons are filtered out.
Public methodGetProjects
Get the projects that this contact's persons are members of. Duplicate projects are eliminated.
Public methodGetRelations
Get all relations with connection to this contact
Public methodMergeTo
Merge this contact into the passed contact, together with the persons and appointments that belongs to this contact.
Public methodSave
Persist the object to the database. May throw an error if you are not allowed to save changes to the object.
Public methodSetDefaults
Populate the object with default values, such as setting the owner to the current user.
Top
See Also