Show / Hide Table of Contents

Class ErpSyncDefaultValue

Contains default value information for one ERP field

Carrier object for ErpSyncDefaultValue. Services for the ErpSyncDefaultValue Carrier is available from the ErpSync Agent.
Inheritance
object
ErpSyncDefaultValue
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class ErpSyncDefaultValue : Carrier

Constructors

ErpSyncDefaultValue()

Default constructor

Declaration
public ErpSyncDefaultValue()
See Also
IErpSyncAgent

Properties

Access

Access restrictions for the field

Declaration
[DataMember]
public virtual FieldAccess Access { get; set; }
Property Value
Type Description
FieldAccess
See Also
IErpSyncAgent

DefaultValue

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

Declaration
[DataMember]
public virtual string DefaultValue { get; set; }
Property Value
Type Description
string
See Also
IErpSyncAgent

ErpFieldId

Primary key

Declaration
[DataMember]
public virtual int ErpFieldId { get; set; }
Property Value
Type Description
int
See Also
IErpSyncAgent

ErpFieldKey

The ERP field key

Declaration
[DataMember]
public virtual string ErpFieldKey { get; set; }
Property Value
Type Description
string
See Also
IErpSyncAgent

FieldType

Field type

Declaration
[DataMember]
public virtual FieldMetadataType FieldType { get; set; }
Property Value
Type Description
FieldMetadataType
See Also
IErpSyncAgent

FirstSyncDefaultValue

The default value to be set, can be blank

Declaration
[DataMember]
public virtual string FirstSyncDefaultValue { get; set; }
Property Value
Type Description
string
See Also
IErpSyncAgent

HasFirstSyncDefaultValue

Should a default value be set on first sync

Declaration
[DataMember]
public virtual bool HasFirstSyncDefaultValue { get; set; }
Property Value
Type Description
bool
See Also
IErpSyncAgent

ListName

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

Declaration
[DataMember]
public virtual string ListName { get; set; }
Property Value
Type Description
string
See Also
IErpSyncAgent

Mandatory

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

Declaration
[DataMember]
public virtual bool Mandatory { get; set; }
Property Value
Type Description
bool
See Also
IErpSyncAgent

PromptUser

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

Declaration
[DataMember]
public virtual bool PromptUser { get; set; }
Property Value
Type Description
bool
See Also
IErpSyncAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IErpSyncAgent

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.

See Also
IErpSyncAgent

See Also

IErpSyncAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top