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

# ErpListItemMapping table

> Defines a mapping of ERP to CRM fields, per connection and actor type

## ErpListItemMapping Table (424)

Defines a mapping of ERP to CRM fields, per connection and actor type

## Fields

| Name                      | Description                                                                                                       | Type                            | Nullable |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------- | :------: |
| erplistitemmapping\_id    | Primary key                                                                                                       | PK                              |    No    |
| ErpFieldId                | Link to the Erp field (and implicitly to crm list and Erp Connection)                                             | FK [ErpField](./erpfield.mdx)   |    No    |
| ErpItemKey                | The unique key in the ERP system for this list item                                                               | String(254)                     |    No    |
| CrmItemKey                | The unique key in the CRM database for this list item (list/table is identified by the ListReference in ErpField) | Int                             |    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-worktree-351-fix-webapi-escaped-anchors/zx0A-z9VK3deZYL2/media/loc/en/database/tables/ErpListItemMapping.png?fit=max&auto=format&n=zx0A-z9VK3deZYL2&q=85&s=3963f74473f82d686b50362d614937ce" alt="ErpListItemMapping table relationship diagram" width="698" height="59" data-path="media/loc/en/database/tables/ErpListItemMapping.png" />

## Indexes

| Fields                 | Types           | Description |
| ---------------------- | --------------- | ----------- |
| ErpFieldId, ErpItemKey | FK, String(254) | Unique      |

## Relationships

| Table                    | Description                                                                                                                |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
| [associate](./associate) | Employees, resources and other users - except for External persons                                                         |
| [ErpField](./erpfield)   | Store the metadata describing the fields that belong to an actor/connection combination, as described by the Erp Connector |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.
