Class EisDefaultValue
Carrier object for EisDefaultValue. Services for the EisDefaultValue Carrier is available from the ErpSync Agent.
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.2.0.0")]
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
[DataMember]
public string DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
string |
ErpFieldId
Primary key
Declaration
[DataMember]
public int ErpFieldId { get; set; }
Property Value
Type | Description |
---|---|
int |
ErpFieldKey
The ERP field key
Declaration
[DataMember]
public string ErpFieldKey { get; set; }
Property Value
Type | Description |
---|---|
string |
FieldType
Field type
Declaration
[DataMember]
public FieldMetadataType FieldType { get; set; }
Property Value
Type | Description |
---|---|
FieldMetadataType |
FirstSyncDefaultValue
The default value to be set, can be blank
Declaration
[DataMember]
public string FirstSyncDefaultValue { get; set; }
Property Value
Type | Description |
---|---|
string |
HasFirstSyncDefaultValue
Should a default value be set on first sync
Declaration
[DataMember]
public bool HasFirstSyncDefaultValue { get; set; }
Property Value
Type | Description |
---|---|
bool |
ListName
The ERP list name, if the field has a list of values supplied by the ERP Connector
Declaration
[DataMember]
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
[DataMember]
public bool Mandatory { get; set; }
Property Value
Type | Description |
---|---|
bool |
PromptUser
Should the field be shown in the first-sync GUI; independent of whether a default value should be set
Declaration
[DataMember]
public bool PromptUser { get; set; }
Property Value
Type | Description |
---|---|
bool |
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. |