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

# SuperOffice.WebApi.Data.ErpConnection

# <a id="SuperOffice_WebApi_Data_ErpConnection" /> Class ErpConnection

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for ErpConnection.
Information about a connection to the ERP system.

```csharp theme={null}
public class ErpConnection : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[ErpConnection](SuperOffice.WebApi.Data.ErpConnection.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_ErpConnection__ctor" /> ErpConnection()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public ErpConnection()
```

## Properties

### <a id="SuperOffice_WebApi_Data_ErpConnection_Active" /> Active

Is this connection currently active

```csharp theme={null}
public virtual bool Active { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_ErpConnection_AllAccess" /> AllAccess

Is this connection accessible to everyone?  If not, then the ErpConnectionAccess table tells us who can access it

```csharp theme={null}
public virtual bool AllAccess { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_ErpConnection_AssociateAccessIds" /> AssociateAccessIds

Array of ids containing associates that will have access to this connection.

```csharp theme={null}
public virtual int[] AssociateAccessIds { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)\[]

### <a id="SuperOffice_WebApi_Data_ErpConnection_ConfigFields" /> ConfigFields

The config fields needed to establish a connection to the connector

```csharp theme={null}
public virtual StringDictionary ConfigFields { get; set; }
```

#### Property Value

[StringDictionary](SuperOffice.WebApi.Data.StringDictionary.md)

### <a id="SuperOffice_WebApi_Data_ErpConnection_ConnectionId" /> ConnectionId

The GUID that uniquely identifies this connection; passed to the Connector in every call

```csharp theme={null}
public virtual string ConnectionId { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_ErpConnection_Deleted" /> Deleted

If true, the connection has been deleted and should not be shown to the users.

```csharp theme={null}
public virtual bool Deleted { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_ErpConnection_DisplayDescription" /> DisplayDescription

Tooltip/description shown to user; multi-language support

```csharp theme={null}
public virtual string DisplayDescription { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_ErpConnection_DisplayName" /> DisplayName

Connection name shown to user; multi-language support

```csharp theme={null}
public virtual string DisplayName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_ErpConnection_ErpConnectionId" /> ErpConnectionId

Primary key

```csharp theme={null}
public virtual int ErpConnectionId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_ErpConnection_ErpConnectorId" /> ErpConnectorId

The connector that this connection should call

```csharp theme={null}
public virtual int ErpConnectorId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_ErpConnection_MostRecentTimestamp" /> MostRecentTimestamp

Datetime, transaction number or other identification of the point in time of the most-recently seen actor in the ERP system

```csharp theme={null}
public virtual string MostRecentTimestamp { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_ErpConnection_UserGroupAccessIds" /> UserGroupAccessIds

Array of ids containing usergroups that will have access to this connection.

```csharp theme={null}
public virtual int[] UserGroupAccessIds { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)\[]

## See Also

[ErpSyncAgent](SuperOffice.WebApi.Agents.ErpSyncAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.ErpConnectionData](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpConnectionData.md)
- [SuperOffice.WebApi.Data.ErpConnectionListMappingContainer](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpConnectionListMappingContainer.md)
- [SuperOffice.WebApi.Data.ErpConnectionListMapping](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpConnectionListMapping.md)
- [SuperOffice.WebApi.Data.ErpSync SaveConnectionRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSync_SaveConnectionRequest.md)
- [SuperOffice.WebApi.Data.QuoteConnection](/en/api/reference/webapi/SuperOffice.WebApi.Data.QuoteConnection.md)
- [SuperOffice.WebApi.Agents.ErpSyncAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ErpSyncAgent.md)
