> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-worktree-351-fix-webapi-escaped-anchors.mintlify.site/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-worktree-351-fix-webapi-escaped-anchors/zx0A-z9VK3deZYL2/media/loc/en/database/tables/ErpInternalKey.png?fit=max&auto=format&n=zx0A-z9VK3deZYL2&q=85&s=a9b46751468ac20e613d617bca6999fc" 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.
