> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PhoneFormat table

> Formatting information for telephone numbers

## PhoneFormat Table (251)

Formatting information for telephone numbers

## Fields

| Name                      | Description                                                | Type                            | Nullable |
| ------------------------- | ---------------------------------------------------------- | ------------------------------- | :------: |
| PhoneFormat\_id           | Primary key                                                | PK                              |    No    |
| countryId                 | Country this format record is valid for                    | FK [country](./country.mdx)     |    No    |
| prefix                    | Prefix that triggers this format                           | String(39)                      |    No    |
| dontFormat                | If 1, do not apply any formatting to this number           | Bool                            |    No    |
| areaCodeLength            | Length of area code (can be interval)                      | String(39)                      |    No    |
| localLength               | Length of local part of telephone number (can be interval) | String(39)                      |    No    |
| mask                      | Formatting mask to be applied                              | String(39)                      |    No    |
| description               | Description of this format                                 | String(254)                     |    No    |
| isBuiltIn                 | Does this row come from SuperOffice priming data           | Bool                            |    No    |
| isActive                  | Is this format record active (handy for experimenting)     | Bool                            |    Yes   |
| registered                | Registered when                                            | UtcDateTime                     |    No    |
| registered\_associate\_id | Registered by whom                                         | FK [associate](./associate.mdx) |    No    |
| updated                   | Last updated when                                          | UtcDateTime                     |    No    |
| updated\_associate\_id    | Last updated by whom                                       | FK [associate](./associate.mdx) |    No    |
| updatedCount              | Number of updates made to this record                      | UShort                          |    No    |

<img src="https://mintcdn.com/superofficeas/zNQa3AO19PFK63SB/media/loc/en/database/tables/PhoneFormat.png?fit=max&auto=format&n=zNQa3AO19PFK63SB&q=85&s=723332a7a1dfcfbc21dbf053db543426" alt="PhoneFormat table relationship diagram" width="631" height="59" data-path="media/loc/en/database/tables/PhoneFormat.png" />

## Indexes

| Fields            | Types          | Description |
| ----------------- | -------------- | ----------- |
| prefix, countryId | String(39), FK | Unique      |

## Relationships

| Table                    | Description                                                        |
| ------------------------ | ------------------------------------------------------------------ |
| [associate](./associate) | Employees, resources and other users - except for External persons |
| [country](./country)     | Country information                                                |

## Replication Flags

* Replicate changes DOWN from central to satellites and travellers.
* Replicate changes UP from satellites and travellers back to central.
* Copy to satellite and travel prototypes.

## Security Flags

* No access control via user's Role.


## Related topics

- [Phone formatter](/en/api/localization/phoneformatter.md)
- [country table](/en/database/tables/country.md)
- [SuperOffice.CRM.Globalization namespace](/en/api/localization/superoffice-crm-globalization.md)
- [phone table](/en/database/tables/phone.md)
- [AddressFormat table](/en/database/tables/addressformat.md)
- [Person table](/en/api/bulk-operations/bulk-update/reference/person-table.md)
