Interests

Interests can be stored on the company or contact card in SuperOffice. They are conceptually the same, but are backed by different tables in the database.

Overview

Some things to be aware of:

  • A company in the SuperOffice UI has its information stored in the contact table, with its relations.
  • A contact in the SuperOffice UI has its information stored in the person table, with its relations.

Company

Interest tab on company card -screenshot

The database reference for company interests are found here:

CompanyInterestLinkTable diagram

Contact

Interest tab on contact card -screenshot

The database reference for contact interests are found here:

ContactInterestLinkTable diagram

Detailed

This section delves deeper into company interests, omitting details of contact interests, as their functionality mirrors that of company interests.

The link table (contactinterest) allows a single contact to have zero or more interests checked off.

The ContInt table is an MDO table, so interests can be grouped and organized under headings. The position under a heading doesn’t affect the linkage to a contact.

🛈 Note
For headings to show, there must be a minimum number of interests defined in Settings and maintenance. To set or check this number, go to the Preferences screen > Grouped lists > Company Interest. If no value is specified for this setting, the system defaults to 7.
SELECT * FROM contint
ContInt_idnameranktooltipdeletedregisteredregistered_associate_id
854Hansa136Hansa028.10.2021 13.14:5994
855IFS137IFS028.10.2021 13.18:1794
856Agresso133Agresso028.10.2021 13.19:2394
857AS400134AS400028.10.2021 13.20:2294
SELECT * FROM contactinterest
contactinterest_idcontact_idcinterest_idxstartDateendDateflagsregistered
53459159431.12.2021 02:13:49028.10.2021 13.14:59
536401156931.12.2021 02:13:49028.10.2021 13.14:59
45770496531.12.2021 02:13:49028.10.2021 13.14:59
45259996531.12.2021 02:13:49028.10.2021 13.14:59

You can extend the list of interests for a company by creating and adding a new interest to that list.

Contact cached value

The contact table has a counter field that stores the number of active interests. This field is used to cache the count. It is updated whenever the user edits the company. The field is used to check whether the Interests tab needs to indicate the presence of interests or not.

How to