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

# <a id="SuperOffice_WebApi_Data_ErpSyncDefaultValue" /> Class ErpSyncDefaultValue

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

Carrier object for ErpSyncDefaultValue.
Contains default value information for one ERP field

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

#### Inheritance

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

Default constructor - defaults any enum props to 0.

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

## Properties

### <a id="SuperOffice_WebApi_Data_ErpSyncDefaultValue_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

[ErpSyncDefaultValue](SuperOffice.WebApi.Data.ErpSyncDefaultValue.md).[Access\_String](SuperOffice.WebApi.Data.ErpSyncDefaultValue.md#SuperOffice_WebApi_Data_ErpSyncDefaultValue_Access_String)

### <a id="SuperOffice_WebApi_Data_ErpSyncDefaultValue_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

[ErpSyncDefaultValue](SuperOffice.WebApi.Data.ErpSyncDefaultValue.md).[Access](SuperOffice.WebApi.Data.ErpSyncDefaultValue.md#SuperOffice_WebApi_Data_ErpSyncDefaultValue_Access)

### <a id="SuperOffice_WebApi_Data_ErpSyncDefaultValue_DefaultValue" /> DefaultValue

Default value, stored using CultureDataFormatter format if it is not a string

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncDefaultValue_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_ErpSyncDefaultValue_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_ErpSyncDefaultValue_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

[ErpSyncDefaultValue](SuperOffice.WebApi.Data.ErpSyncDefaultValue.md).[FieldType\_String](SuperOffice.WebApi.Data.ErpSyncDefaultValue.md#SuperOffice_WebApi_Data_ErpSyncDefaultValue_FieldType_String)

### <a id="SuperOffice_WebApi_Data_ErpSyncDefaultValue_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

[ErpSyncDefaultValue](SuperOffice.WebApi.Data.ErpSyncDefaultValue.md).[FieldType](SuperOffice.WebApi.Data.ErpSyncDefaultValue.md#SuperOffice_WebApi_Data_ErpSyncDefaultValue_FieldType)

### <a id="SuperOffice_WebApi_Data_ErpSyncDefaultValue_FirstSyncDefaultValue" /> FirstSyncDefaultValue

The default value to be set, can be blank

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncDefaultValue_HasFirstSyncDefaultValue" /> HasFirstSyncDefaultValue

Should a default value be set on first sync

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncDefaultValue_ListName" /> ListName

The ERP list name, if the field has a list of values supplied by the ERP Connector

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncDefaultValue_Mandatory" /> Mandatory

Should the user be forced to set a value (the Erp Connector may declare fields mandatory as well)

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

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_ErpSyncDefaultValue_PromptUser" /> PromptUser

Should the field be shown in the first-sync GUI; independent of whether a default value should be set

```csharp theme={null}
public virtual bool PromptUser { 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.Agents.ErpSyncAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ErpSyncAgent.md)
- [SuperOffice.WebApi.Agents.IErpSyncAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IErpSyncAgent.md)
- [SuperOffice.WebApi.Data.ErpSync SaveDefaultValueInfoRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSync_SaveDefaultValueInfoRequest.md)
- [SuperOffice.WebApi.Data.ErpSync GetDefaultValueInfoRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSync_GetDefaultValueInfoRequest.md)
- [SuperOffice.WebApi.Data.ErpSyncFieldValue](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSyncFieldValue.md)
- [SuperOffice.WebApi.Data.ErpSyncEngine](/en/api/reference/webapi/SuperOffice.WebApi.Data.ErpSyncEngine.md)
