SOPerson Interface |
Namespace: SuperOffice.COM.SuperOfficeDB
The SOPerson type exposes the following members.
Name | Description | |
---|---|---|
![]() | ActiveLinks | ActiveLinks - Number of active links to documents, projects, Urls, appointments, sales, contacts, persons, selections (Inherited from IPerson.) |
![]() | ActivityLinks | The ActivityLinks attached to this person. Add or remove links on this object. (Inherited from IPerson.) |
![]() ![]() | Address | Personal Address - the person will use the contact's address unless the UseAsMailingAddress flag is also set.
Returns the contact person’s address object (Inherited from IPerson.) |
![]() ![]() | Associate | The owning associate for the person. Not currently used. Should be id = 0. (Inherited from IPerson.) |
![]() ![]() | AutoSaveOnChangeIdentity | Should the model save on IdentityChanged? (Inherited from IPerson.) |
![]() ![]() | AutoSaveOnFlush | Should the model save on flush cache? (Inherited from IPerson.) |
![]() | AvailableConsents | Get collection of available ConsentPersons. Those that are not yet stored will have a ConsetPurpose id only (Inherited from IPerson.) |
![]() ![]() | Business | The person business - not currently used. (Inherited from IPerson.) |
![]() ![]() | Category | The persons category - not currently used. (Inherited from IPerson.) |
![]() ![]() | Changed | has record been changed since read?
If the person has been modified since it was loaded, this will return false (Inherited from IPerson.) |
![]() | ChatAddresses | Chat address object collection (Inherited from IPerson.) |
![]() ![]() | Contact | Contact that this person belongs to.
The contact the contact person is registered on. This is required (Inherited from IPerson.) |
![]() ![]() | CorrespondingAssociate | IAssociate object if the Person is an associate, else empty Associate object (id=0) (Inherited from IPerson.) |
![]() ![]() | Country | The person's country - a list item - table enTableCntry=19
The country this contact person is located in (Inherited from IPerson.) |
![]() ![]() | CreatedAssociate | The user that created the object
The associate that first created the contact person (Inherited from IPerson.) |
![]() ![]() | CreatedDate | The date the object was saved to the database.
The date and time the contact person was first created (Inherited from IPerson.) |
![]() ![]() | DayOfBirth | Day Of Birth (1-31)
The person object’s day of birth (Inherited from IPerson.) |
![]() ![]() | Department | The persons Department (Inherited from IPerson.) |
![]() ![]() | Emails | Email object collection
Returns a collection of email objects (Inherited from IPerson.) |
![]() | ExternalFieldChanged | have external fields been changed? (Inherited from IPerson.) |
![]() ![]() | FirstName | FirstName
The person object’s first name (Inherited from IPerson.) |
![]() ![]() | ForeignKey | ForeignKey object
Get the foreign key values for this person. May be used to connect a person to an external application where you need more settings (Inherited from IPerson.) |
![]() ![]() | FormattedAddress | FormattedAddress
Returns the mailing address (No contact person information) of the contact person formatted according to the national rules. Useful when generating address labels. Does not include the contact name. Uses the contact address if the person has no address. (Inherited from IPerson.) |
![]() ![]() | FormattedLabel | FormattedLabel = name + formatted address
Returns the name and mailing address of the contact person formatted according to the national rules. Useful when generating address labels. Uses the contact address if the person has no address (Inherited from IPerson.) |
![]() | FullName | (Inherited from IPerson.) |
![]() ![]() | Group | Primary User Group of owning associate. Set implicitly by AssociateId. Not currently used. (Inherited from IPerson.) |
![]() ![]() | HasPicture | Returns true if the person has a picture (Inherited from IPerson.) |
![]() ![]() | Identity | The primary key on the primary table. Is zero for new objects. Is set when an object is saved.
This is the internal ID of the contact person (Inherited from IPerson.) |
![]() ![]() | Information | Information text
Contact person information is the textbox used to add more information about a contact person. Open up a contact person card, and “Information” is the last archive card (Inherited from IPerson.) |
![]() ![]() | Interests | Interest object collection
Returns a collection of SOInterests objects (Inherited from IPerson.) |
![]() ![]() | IsAssociate | Return true if the person represents an internal user
Checks if the person object is an associate (Inherited from IPerson.) |
![]() ![]() | IsAvailable | is record available in db?
Checks if the record is available in the database. It’s useful to check if a person actually exists before adding new properties to it (Inherited from IPerson.) |
![]() ![]() | IsExternalPerson | returns true if this person has a login of type 4 (Inherited from IPerson.) |
![]() | IsFavourite | Add/Remove this person from my favourites (Inherited from IPerson.) |
![]() ![]() | IsRequiredFilled | Are all the required fields filled out? Can we save the record?
Checks if all properties that are required in this model is filled (Inherited from IPerson.) |
![]() ![]() | IsValid | does the record exist?
To save time, we don’t load a record into buffer before one of its properties is asked for. This checks if the requested record is available in buffer (Inherited from IPerson.) |
![]() ![]() | LastName | LastName
The person object’s surname (Inherited from IPerson.) |
![]() ![]() | MiddleName | MiddleName
From CRM 5 Release 5.5 you may enable the use of middle name. This field is not visible in the person dialog before you enable this preference, but you may set the middle name property and see it in the person archive (Inherited from IPerson.) |
![]() ![]() | MonthOfBirth | Month Of Birth (1-12) e.g. 6
The person object’s month of birth (Inherited from IPerson.) |
![]() ![]() | MrMrs | Mr or Mrs prefix. May be blank.
The contact person’s salutation (Inherited from IPerson.) |
![]() ![]() | NoDM | No Direct Mail - no spam to this person
Is the person marked with “No mailings”? (Inherited from IPerson.) |
![]() ![]() | Number | Number
Returns the number field on the person (Inherited from IPerson.) |
![]() ![]() | Phones | Phone object collection
Returns a collection of phone numbers that belong to the contact person (Inherited from IPerson.) |
![]() ![]() | Picture | Returns the person picture as an ISOPicture object. (Inherited from IPerson.) |
![]() ![]() | Position | Position in organization - list item - table enTablePersPos=76
The person’s position. This is a list defined by the database administrator (Inherited from IPerson.) |
![]() ![]() | Retired | Retired checkbox
Retired is used to hide contact persons that no longer work for the contact, they may be hidden so you only see the currently employed contact persons in the company. (Inherited from IPerson.) |
![]() ![]() | Salutation | Salutation for the person (Inherited from IPerson.) |
![]() ![]() | Sentry | Sentry settings for this object. Lets you find out your read/write access to the object. (Inherited from IPerson.) |
![]() | StoredConsents | Get collection of stored ConsentPersons. (Inherited from IPerson.) |
![]() | StoredShipmentTypeReservations | Get collection of stored ShipmentTypeReservations. (Inherited from IPerson.) |
![]() ![]() | Title | Job description
The Contact person dialog has a title field that may be used to register the person’s professional title. (Inherited from IPerson.) |
![]() ![]() | UDef | User-defined fields object
A collection of the Persons user defined fields (Inherited from IPerson.) |
![]() ![]() | UpdatedAssociate | The last user to modify the object
The last associate that updated this contact person. If the contact person has never been updated, this will return 0 (Inherited from IPerson.) |
![]() ![]() | UpdatedDate | The date of the most recent update.
The date and time the contact person was last edited. If the contact person never has been updated, this will return 0, formatted as a SuperOffice date (see the database manual), this will return 01.01.1970 (Inherited from IPerson.) |
![]() | Urls | Web addresses (Inherited from IPerson.) |
![]() ![]() | UseAsMailingAddress | Use person address instead of contact address?
Is the Use as mailing address marked so the person address should be used in stead of the company address? (Inherited from IPerson.) |
![]() | ValidationMessage | get validation message, if empty model will think it is ok to save (Inherited from IPerson.) |
![]() | VoIPAddresses | VoIP address object collection (Inherited from IPerson.) |
![]() ![]() | YearOfBirth | Year Of Birth e.g. 1969
The person object’s year of birth (Inherited from IPerson.) |
Name | Description | |
---|---|---|
![]() | AddConsentByIds | Add ConsentPerson by ConsentPurpose Id, LegalBase Id, ConsentSource Id, Comment. All parameters will be verified! (Inherited from IPerson.) |
![]() | AddConsentByNames | Add ConsentPerson by ConsentPurpose Name, LegalBase Name, ConsentSource Name, Comment. All parameters will be verified! (Inherited from IPerson.) |
![]() | AddConsentByRecord | Add ConsentPerson by ConsentPerson. All identy parameters will be verified! (Inherited from IPerson.) |
![]() ![]() | CancelChanges | Undo any changes made since the object was loaded.
If you made changes to the model that you don’t want to be saved to the database, call the CancelChanges method (Inherited from IPerson.) |
![]() ![]() | ChangeIdentity | Loads a different record into the object. Causes changes to the existing object to be saved first.
Saves the changes made to the person model to the database, and retrieves the new data from the database again. The last thing you do to an object if you want the changes you made to be saved. The ChangeIdentity method calls the save method first (Inherited from IPerson.) |
![]() ![]() | Delete | Delete the object from the database. May throw an error if you are not allowed to delete the object. (Inherited from IPerson.) |
![]() | GetConsentById | Get ConsentPerson for given ConsentPurpose Id (Inherited from IPerson.) |
![]() | GetConsentByName | Get ConsentPerson for given ConsentPurpose unique key name (Inherited from IPerson.) |
![]() | GetRelations | Get all relations with connection to this person (Inherited from IPerson.) |
![]() | IsShipmentTypeReserved | Is ShipmentType reserved? (Inherited from IPerson.) |
![]() | MergeTo | Merges this person into the other person, optionally together with his appointments (Inherited from IPerson.) |
![]() | MoveTo | Moves a person to a new contact, optionally together with his appointments (Inherited from IPerson.) |
![]() | RemoveConsentById | Remove ConsentPerson by ConsentPurpose Id (Inherited from IPerson.) |
![]() | RemoveConsentByName | Remove ConsentPerson by ConsentPurpose Name (Inherited from IPerson.) |
![]() ![]() | Save | Persist the object to the database. May throw an error if you are not allowed to save changes to the object. (Inherited from IPerson.) |
![]() ![]() | SetDefaults | Populate the object with default values, such as setting the owner to the current user.
Uses the UserPreferences table to set the predefined default settings for a person. The SetDefaults method is only available for current in this version of SuperOfficeDB Type Library (Inherited from IPerson.) |
![]() | SetShipmentTypeReserved | Set ShipmentType reserved (Inherited from IPerson.) |