• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

phone Table (8)

Some tooltip text!
• 3 minutes to read
 • 3 minutes to read

Contact and Person phonenumbers (+fax)

Fields

Name Description Type Null
phone_id Primary key PK
owner_id Record id of owner: Contact or Person Id
ptype_idx Bit mask, combines phone type (EPhoneType) and owner type (EOwnerType) Enum PhoneType
phone Actual phone number as enterd by the user String(239)
rank Sort order UShort ●
description Visible description String(99) ●
registered Registered when UtcDateTime
registered_associate_id Registered by whom FK associate
updated Last updated when UtcDateTime
updated_associate_id Last updated by whom FK associate
updatedCount Number of updates made to this record UShort
validFrom Valid from date for this record DateTime ●
validTo Valid to date for this record DateTime ●
searchPhoneNumber Stripped phone number for searching, takes over for search_phone String(239) ●

phone table relationship diagram

Values needed to access the Phone table

This table must contain special values that would be difficult to guess correctly. These are listed below with a description of how to use them.

ptype_idx ID Comment
Unknown 0 Unknown - used when initializing
ContactPhone 1 Telephone number for a contact.
ContactFax 3 Facsimile number for a contact
PersonDirectPhone 16385 Direct dial telephone for a person
PersonDirectFax 16387 Direct facsimile number for a person
PersonPrivate 16388 Private telephone for a person
PersonMobile 16389 Cellular telephone for a person
PersonPager 16390 Pager number for a person

Indexes

Fields Types Description
phone_id PK Clustered, Unique
rank UShort Index
owner_id, ptype_idx Id, Enum Index
searchPhoneNumber String(239) Index

Relationships

Table Description
associate Employees, resources and other users - except for External persons
contact Companies and Organizations. This table features a special record containing information about the contact that owns the database.
person Persons in a company or an organizations. All associates have a corresponding person record

Replication Flags

  • Area Management controlled table. Contents replicated to satellites and traveller databases.
  • Replicate changes UP from satellites and travellers back to central.
  • Copy to satellite and travel prototypes.

Security Flags

  • Sentry controls access to items in this table using user's Role and data rights matrix on the table's parent.
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top