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

# ErpInternalKey table

> The internal (superoffice-facing) key related to a synchronized record

## ErpInternalKey Table (422)

The internal (superoffice-facing) key related to a synchronized record

## Fields

| Name                      | Description                                                                                                                 | Type                            | Nullable |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------- | :------: |
| erpinternalkey\_id        | Primary key                                                                                                                 | PK                              |    No    |
| tableId                   | ID of table this right is valid for                                                                                         | TableNumber                     |    No    |
| recordId                  | ID of row this right applies to                                                                                             | RecordId                        |    No    |
| MostRecentTimestamp       | Datetime, transaction number or other identification of the point in time of the most-recently seen actor in the ERP system | 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/zNQa3AO19PFK63SB/media/loc/en/database/tables/ErpInternalKey.png?fit=max&auto=format&n=zNQa3AO19PFK63SB&q=85&s=1dc80e3e96a3a416b7ef9203a5006a28" alt="ErpInternalKey table relationship diagram" width="731" height="59" data-path="media/loc/en/database/tables/ErpInternalKey.png" />

## Indexes

| Fields            | Types                 | Description |
| ----------------- | --------------------- | ----------- |
| recordId, tableId | RecordId, TableNumber | Unique      |

## Relationships

| Table                              | Description                                                                 |
| ---------------------------------- | --------------------------------------------------------------------------- |
| [associate](./associate)           | Employees, resources and other users - except for External persons          |
| [ErpExternalKey](./erpexternalkey) | The external (ERP-facing) key related to a synchronized record / connection |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [ErpExternalKey table](/en/database/tables/erpexternalkey.md)
- [project table](/en/database/tables/project.md)
- [contact table](/en/database/tables/contact.md)
- [ErpSyncLog table](/en/database/tables/erpsynclog.md)
- [sale table](/en/database/tables/sale.md)
- [person table](/en/database/tables/person.md)
