Database Properties |
The Database type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ActualDSN | Actual DSN logged in, depends on superoffice.ini and travel status (Inherited from IDatabase.) |
![]() ![]() | ActualPrefix | Actual Prefix of logged-in connection, depends on superoffice.ini and travel status
Note: From CRM 5 we changed the prefix from SO to CRM5. (Inherited from IDatabase.) |
![]() ![]() | Admin | Admin api. Must be logged in with user level 0 to access
Admin api. Must be logged in with user level 0/functional right Field Administrator and/or List Administrator and/or User Administrator to access (Inherited from IDatabase.) |
![]() | Database | Returns the Database object. (Inherited from IDatabase.) |
![]() ![]() | DataSourceType | Data source type - c-tree or ODBC type (Inherited from IDatabase.) |
![]() ![]() | DataSourceVariant | Data source variant - central, travel, satellite db (Inherited from IDatabase.) |
![]() ![]() | Dictionary | Return a data dictionary object. (Inherited from IDatabase.) |
![]() ![]() | Find | Returns a Find object - has search functions that return collections
The SOFind object contains a collection of methods for searching and retrieving data from the database. (Inherited from IDatabase.) |
![]() | NotepadPage | (Inherited from IDatabase.) |
![]() ![]() | NotepadPages | Number of notepad pages for the current user
Notepad is the small notepad that is accessed by CTRL + click on the Note in the taskbar. The notepad is a personal notebook, and is not connected to any contact or contact person.
Notepad is the small notepad that is accessed by CTRL + click on the Note in taskbar. The notepad is a personal notebook, and is not connected to any contact or contact person. (Inherited from IDatabase.) |
![]() ![]() | Numbers | Returns an object for controlling the Number allocation system.
The example with add a counter to one of the fields created in the SODictionarySDK examples. (Inherited from IDatabase.) |
![]() ![]() | OwnerContactId | Returns the id of the owner contact
The owner contact is the most important contact in the database, if this contact is deleted or changed without a new key code from SuperOffice the database is destroyed so it will return an error if you try to change e.g the name of the contact object with contact_id = ownercontactid. (Inherited from IDatabase.) |
![]() ![]() | OwnerCountryId | Returns the id of the owner country
The country a contact is saved with, affects the phone number format, and the address layout. (Inherited from IDatabase.) |
![]() ![]() | Password | Obsolete. Use SafeCredentials instead. Always returns blank now.
OBSOLETE in Seven. Use SafeCredentials instead. (Inherited from IDatabase.) |
![]() ![]() | Preferences | Preference settings object
SOPreference can be used to get system properties and settings (Inherited from IDatabase.) |
![]() ![]() | Revision | Returns the Revision number (e.g release 5.6.30 returns 30) (Inherited from IDatabase.) |
![]() ![]() | SafeCredentials | A security token that can be used instead of username+password to log in
New in Seven. (Inherited from IDatabase.) |
![]() ![]() | Settings | Get the database settings object - does not require login to use. (Inherited from IDatabase.) |
![]() | StringResources | Returns a string resource manager. (Inherited from IDatabase.) |
![]() ![]() | SystemOwnerContactId | Get the system owner contact id
(system wide). The owner contacts are contacts that may own associates, and they are the most important contacts in the database. If these contacts are deleted or changed without a new key code from SuperOffice the database may be destroyed. In a system with several databases (satellites), there will be other owner companies. The contact_id of this company will be returned when asking for OwnerContactId. (Inherited from IDatabase.) |
![]() ![]() | TimeZones | Returns a TimeZone manager object with functions for converting and listing time zone information. (Inherited from IDatabase.) |
![]() ![]() | TravelInterface | Returns an object with Travel functions. (Inherited from IDatabase.) |
![]() ![]() | UserAssociateId | Returns the associate id of the logged in user
Use with Database.GetAssociate to get information on the user. (Inherited from IDatabase.) |
![]() ![]() | Username | The associate name of the current user. (Inherited from IDatabase.) |
![]() | Utils | Returns a Utility interface. This interface may have reduced functionality in a release build (Inherited from IDatabase.) |
![]() ![]() | Version | Returns the Version as a decimal (e.g. 5.6 or 6.0) (Inherited from IDatabase.) |