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

# ErpConnectionActorType table

> Data about the configuration of one Erp Actor on one ErpConnection

## ErpConnectionActorType Table (419)

Data about the configuration of one Erp Actor on one ErpConnection

## Fields

| Name                       | Description                                                    | Type                                          | Nullable |
| -------------------------- | -------------------------------------------------------------- | --------------------------------------------- | :------: |
| erpconnectionactortype\_id | Primary key                                                    | PK                                            |    No    |
| ErpConnectionId            | The connection this actor is configured for                    | FK [ErpConnection](./erpconnection.mdx)       |    No    |
| ActorTypeErp               | The actor type (ERP side)                                      | Enum [ErpActorType](./enums/erpactortype.mdx) |    No    |
| ActorTypeCrm               | The actor type (CRM side)                                      | Enum [CrmActorType](./enums/crmactortype.mdx) |    Yes   |
| IsActive                   | Is this mapping/synchronization configuration currently active | Bool                                          |    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/ErpConnectionActorType.png?fit=max&auto=format&n=zNQa3AO19PFK63SB&q=85&s=cde75209676f5f4734df65872b2fb7eb" alt="ErpConnectionActorType table relationship diagram" width="776" height="744" data-path="media/loc/en/database/tables/ErpConnectionActorType.png" />

## Indexes

| Fields                        | Types    | Description |
| ----------------------------- | -------- | ----------- |
| ErpConnectionId, ActorTypeErp | FK, Enum | Unique      |
| ErpConnectionId, ActorTypeCrm | FK, Enum | Index       |

## Relationships

| Table                            | Description                                                                                                                |
| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| [associate](./associate)         | Employees, resources and other users - except for External persons                                                         |
| [ErpConnection](./erpconnection) | One connection to an ERP connector, specifying Client and other required information                                       |
| [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.


## Related topics

- [ErpField table](/en/database/tables/erpfield.md)
- [ErpConnection table](/en/database/tables/erpconnection.md)
- [Enum values for ErpActorType](/en/database/tables/enums/erpactortype.md)
- [Enum values for CrmActorType](/en/database/tables/enums/crmactortype.md)
- [SuperOffice.WebApi.Data.ErpActorType](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpActorType.md)
- [SuperOffice.WebApi.Data.CrmActorType](/en/api/reference/webapi/SuperOffice.WebApi.Data.CrmActorType.md)
