Class ErpSyncDefaultValue
Contains default value information for one ERP field
Carrier object for ErpSyncDefaultValue. Services for the ErpSyncDefaultValue Carrier is available from the IErpSyncAgent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class ErpSyncDefaultValue : Carrier
Constructors
ErpSyncDefaultValue()
Default constructor
Declaration
public ErpSyncDefaultValue()
See Also
Properties
Access
Access restrictions for the field
Declaration
public virtual FieldAccess Access { get; set; }
Property Value
Type | Description |
---|---|
FieldAccess |
See Also
DefaultValue
Default value, stored using CultureDataFormatter format if it is not a string
Declaration
public virtual string DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ErpFieldId
Primary key
Declaration
public virtual int ErpFieldId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
ErpFieldKey
The ERP field key
Declaration
public virtual string ErpFieldKey { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
FieldType
Field type
Declaration
public virtual FieldMetadataType FieldType { get; set; }
Property Value
Type | Description |
---|---|
FieldMetadataType |
See Also
FirstSyncDefaultValue
The default value to be set, can be blank
Declaration
public virtual string FirstSyncDefaultValue { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
HasFirstSyncDefaultValue
Should a default value be set on first sync
Declaration
public virtual bool HasFirstSyncDefaultValue { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
ListName
The ERP list name, if the field has a list of values supplied by the ERP Connector
Declaration
public virtual string ListName { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
Mandatory
Should the user be forced to set a value (the Erp Connector may declare fields mandatory as well)
Declaration
public virtual bool Mandatory { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
PromptUser
Should the field be shown in the first-sync GUI; independent of whether a default value should be set
Declaration
public virtual bool PromptUser { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
See Also
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |