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

# foreignapp table

> Top level of Foreign Key system

## foreignapp Table (181)

Top level of Foreign Key system

## Fields

| Name                      | Description                           | Type                            | Nullable |
| ------------------------- | ------------------------------------- | ------------------------------- | :------: |
| foreignapp\_id            | Primary key                           | PK                              |    No    |
| name                      | Name of foreign application           | String(254)                     |    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/6OcOTPa_ISkjXJg4/media/loc/en/database/tables/foreignapp.png?fit=max&auto=format&n=6OcOTPa_ISkjXJg4&q=85&s=6404d1593a0f087dc6e3e08ca7f0da93" alt="foreignapp table relationship diagram" width="680" height="59" data-path="media/loc/en/database/tables/foreignapp.png" />

## Indexes

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

## Relationships

| Table                            | Description                                                        |
| -------------------------------- | ------------------------------------------------------------------ |
| [associate](./associate)         | Employees, resources and other users - except for External persons |
| [foreigndevice](./foreigndevice) | Middle level of Foreign Key system                                 |

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

- [Foreign keys](/en/api/foreign-keys/index.md)
- [foreigndevice table](/en/database/tables/foreigndevice.md)
- [Delete Foreign Key On Name](/en/api/reference/restful/rest/foreignapp/delete-foreign-key-on-name.md)
- [Get Key](/en/api/reference/restful/rest/foreignapp/get-key.md)
- [Get Key Value](/en/api/reference/restful/rest/foreignapp/get-key-value.md)
- [Save Foreign Key](/en/api/reference/restful/rest/foreignapp/save-foreign-key.md)
