Class EisDefaultValue
Carrier object for EisDefaultValue. Services for the EisDefaultValue Carrier is available from the IErpSyncAgent.
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class EisDefaultValue : Carrier
Constructors
EisDefaultValue()
Default constructor
Declaration
public EisDefaultValue()
Properties
DefaultValue
Default value, stored using CultureDataFormatter format if it is not a string
Declaration
public string DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
String |
ErpFieldId
Primary key
Declaration
public int ErpFieldId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ErpFieldKey
The ERP field key
Declaration
public string ErpFieldKey { get; set; }
Property Value
Type | Description |
---|---|
String |
FieldType
Field type
Declaration
public FieldMetadataType FieldType { get; set; }
Property Value
Type | Description |
---|---|
FieldMetadataType |
FirstSyncDefaultValue
The default value to be set, can be blank
Declaration
public string FirstSyncDefaultValue { get; set; }
Property Value
Type | Description |
---|---|
String |
HasFirstSyncDefaultValue
Should a default value be set on first sync
Declaration
public bool HasFirstSyncDefaultValue { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
ListName
The ERP list name, if the field has a list of values supplied by the ERP Connector
Declaration
public string ListName { get; set; }
Property Value
Type | Description |
---|---|
String |
Mandatory
Should the user be forced to set a value (the Erp Connector may declare fields mandatory as well)
Declaration
public bool Mandatory { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
PromptUser
Should the field be shown in the first-sync GUI; independent of whether a default value should be set
Declaration
public bool PromptUser { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
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. |