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

# <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping" /> Class ErpSyncFieldMapping

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

Carrier object for ErpSyncFieldMapping.
Mapping information for one field pair (ERP \<-> SuperOffice)

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

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[ErpSyncFieldMapping](SuperOffice.WebApi.Data.ErpSyncFieldMapping.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_ErpSyncFieldMapping__ctor" /> ErpSyncFieldMapping()

Default constructor - defaults any enum props to 0.

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

## Properties

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_Access" /> Access

Access restrictions for the field
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public FieldAccess? Access { get; set; }
```

#### Property Value

[FieldAccess](SuperOffice.WebApi.Data.FieldAccess.md)?

#### See Also

[ErpSyncFieldMapping](SuperOffice.WebApi.Data.ErpSyncFieldMapping.md).[Access\_String](SuperOffice.WebApi.Data.ErpSyncFieldMapping.md#SuperOffice_WebApi_Data_ErpSyncFieldMapping_Access_String)

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_Access_String" /> Access\_String

Access restrictions for the field
Raw string enum value.

```csharp theme={null}
[JsonProperty("Access")]
public string Access_String { get; set; }
```

#### Property Value

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

#### See Also

[ErpSyncFieldMapping](SuperOffice.WebApi.Data.ErpSyncFieldMapping.md).[Access](SuperOffice.WebApi.Data.ErpSyncFieldMapping.md#SuperOffice_WebApi_Data_ErpSyncFieldMapping_Access)

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_AlreadyMapped" /> AlreadyMapped

Is this ERPField already mapped in some other connection? If so, then it cannot be one-way mapped TO SuperOffice here

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_CrmDisplayName" /> CrmDisplayName

Display name of CRM field; ignored on Save

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_CrmDisplayTooltip" /> CrmDisplayTooltip

Tooltip text for CRM field; ignored on Save

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_CrmFieldKey" /> CrmFieldKey

The CRM field name, as implemented by the Sync entities

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_ErpDisplayName" /> ErpDisplayName

Display name of ERP field; ignored on Save

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_ErpDisplayTooltip" /> ErpDisplayTooltip

Tooltip text for ERP field; ignored on Save

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_ErpFieldId" /> ErpFieldId

Primary key

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_ErpFieldKey" /> ErpFieldKey

The ERP field key

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_FieldType" /> FieldType

Field type
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public FieldMetadataType? FieldType { get; set; }
```

#### Property Value

[FieldMetadataType](SuperOffice.WebApi.Data.FieldMetadataType.md)?

#### See Also

[ErpSyncFieldMapping](SuperOffice.WebApi.Data.ErpSyncFieldMapping.md).[FieldType\_String](SuperOffice.WebApi.Data.ErpSyncFieldMapping.md#SuperOffice_WebApi_Data_ErpSyncFieldMapping_FieldType_String)

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_FieldType_String" /> FieldType\_String

Field type
Raw string enum value.

```csharp theme={null}
[JsonProperty("FieldType")]
public string FieldType_String { get; set; }
```

#### Property Value

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

#### See Also

[ErpSyncFieldMapping](SuperOffice.WebApi.Data.ErpSyncFieldMapping.md).[FieldType](SuperOffice.WebApi.Data.ErpSyncFieldMapping.md#SuperOffice_WebApi_Data_ErpSyncFieldMapping_FieldType)

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_ListReference" /> ListReference

Field is read-only, for lookup in gui

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_MissingInCRM" /> MissingInCRM

This field existed previously, but now CRM no longer supports it (udef change?). Probably not a good sign, unmap it...

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_MissingInERP" /> MissingInERP

This field existed previously, but now the connection no longer supports it. Probably not a good sign, unmap it...

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_ShowInGui" /> ShowInGui

Should this field be shown as a (read-only!) field in the CRM Gui

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_ShowInSearch" /> ShowInSearch

Should this field be shown in searches

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_SyncToCrm" /> SyncToCrm

Should value changes in ERP be automatically transferred to CRM

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncFieldMapping_SyncToErp" /> SyncToErp

Should value changes in CRM be automatically transferred to ERP

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

#### Property Value

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

## See Also

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


## Related topics

- [SuperOffice.WebApi.Data.ErpSyncActorTypeMapping](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSyncActorTypeMapping.md)
- [SuperOffice.WebApi.Data.ErpSyncActorSummary](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSyncActorSummary.md)
- [SuperOffice.WebApi.Agents.ErpSyncAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ErpSyncAgent.md)
- [SuperOffice.WebApi.Data.ErpSync SaveActorTypeMappingRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSync_SaveActorTypeMappingRequest.md)
- [SuperOffice.WebApi.Data.ErpSync SaveConnectionListMappingsRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSync_SaveConnectionListMappingsRequest.md)
- [SuperOffice.WebApi.Data.ErpSync GetActorTypeMappingRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSync_GetActorTypeMappingRequest.md)
