> ## 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.

# company table

> Information on license and owner of this SuperOffice database. This table should only have 1 row. This table contains encrypted license information. Changing it will disable login for all users and require you to restore the database from backup.

## company Table (1)

Information on license and owner of this SuperOffice database. This table should only have 1 row. This table contains encrypted license information. Changing it will disable login for all users and require you to restore the database from backup.

## Fields

| Name                      | Description                                                                                                                    | Type                            | Nullable |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------- | :------: |
| company\_id               | Primary key                                                                                                                    | PK                              |    No    |
| version                   | Database version, must match dictionary (conceptualdatabase)                                                                   | Int                             |    No    |
| revision                  | Database revision, must match dictionary                                                                                       | UShort                          |    No    |
| ownerContactName          | Name of contact who owns the license - exact match required                                                                    | String(219)                     |    No    |
| ownerDepartmentName       | Department of contact who owns the license - exact match required                                                              | String(219)                     |    No    |
| ownerContactId            | ID of contact who owns the license                                                                                             | Id                              |    No    |
| dbContactName             | Name of contact who owns this database (\<> license owner for satellite etc)                                                   | String(219)                     |    No    |
| dbDepartmentName          | Department of contact who owns this database                                                                                   | String(219)                     |    No    |
| dbContactId               | ID of contact who owns this database                                                                                           | Id                              |    No    |
| serialNo                  | Serial number of license; this is THE master item... which will be checked against SuperOffice AS license database by SoAdmin! | String(219)                     |    No    |
| extraInfo                 | Spare field                                                                                                                    | String(254)                     |    Yes   |
| encryptedCheck            | Encrypted hash checksum                                                                                                        | String(254)                     |    No    |
| 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/i6M2qZmvMNH7UTeu/media/loc/en/database/tables/company.png?fit=max&auto=format&n=i6M2qZmvMNH7UTeu&q=85&s=e4ba742d5f3932e633752a1167c6850c" alt="company table relationship diagram" width="380" height="59" data-path="media/loc/en/database/tables/company.png" />

## Indexes

| Fields | Types | Description |
| ------ | ----- | ----------- |

## Relationships

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

## Replication Flags

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

## Security Flags

* No access control via user's Role.


## Related topics

- [Working with companies in API](/en/company/dev/index.md)
- [company_domain table](/en/database/tables/company-domain.md)
- [Company](/en/automation/crmscript/reference/CRMScript.Native.Company.md)
- [ext_table table](/en/database/tables/ext-table.md)
- [Companies](/en/mobile/company/index.md)
