Show / Hide Table of Contents

Class ErpSyncActorField

Information and contents of a given field used in an ErpSyncActor object.

Inheritance
object
ErpSyncActorField
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.ErpSync
Assembly: SuperOffice.Services.Implementation.dll
Syntax
public class ErpSyncActorField

Constructors

ErpSyncActorField()

Default constructor

Declaration
public ErpSyncActorField()

Properties

CrmFieldKey

The CRM key of the field, if mapped to one

Declaration
public string CrmFieldKey { get; set; }
Property Value
Type Description
string

CrmListItemId

The list item ID for CRM (e.g. CategoryId, AssociateId, etc)

Declaration
public int CrmListItemId { get; set; }
Property Value
Type Description
int

ErpFieldId

The primary key from the field's ErpField row

Declaration
public int ErpFieldId { get; set; }
Property Value
Type Description
int

ErpFieldKey

The ERP key of the field, if applicable (as supplied by the connection where the actor originated)

Declaration
public string ErpFieldKey { get; set; }
Property Value
Type Description
string

FieldInfo

The FieldMetadataInfo object describing the field properties (data type, max length/size, etc)

Declaration
public FieldMetadataInfo FieldInfo { get; set; }
Property Value
Type Description
FieldMetadataInfo

FieldValue

Gets or sets the actual value of the field.

Declaration
public string FieldValue { get; set; }
Property Value
Type Description
string

ListReference

The list reference mapping for CRM

Declaration
public string ListReference { get; set; }
Property Value
Type Description
string

ShowInGui

Is the field set to show in CRM ERP tab

Declaration
public bool ShowInGui { get; set; }
Property Value
Type Description
bool

ShowInSearch

Is the field set to show in CRM search results

Declaration
public bool ShowInSearch { get; set; }
Property Value
Type Description
bool

SyncToCrm

Is the field synced FROM Erp TO Crm

Declaration
public bool SyncToCrm { get; set; }
Property Value
Type Description
bool

SyncToErp

Is the field synced FROM Crm TO Erp?

Declaration
public bool SyncToErp { get; set; }
Property Value
Type Description
bool

TypedFieldValue

Typed object representing the field value (e.g. boolean, datetime, string, int, etc), based on the the FieldValue and FieldInfo properties.

Declaration
public object TypedFieldValue { get; }
Property Value
Type Description
object

Methods

Equals(ErpSyncActorField)

Overridden Equals method. Compares EncodedFieldValue between the two objects

Declaration
public bool Equals(ErpSyncActorField fld)
Parameters
Type Name Description
ErpSyncActorField fld
Returns
Type Description
bool

Equals(object)

Overridden Equals method. Compares EncodedFieldValue between the two objects

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

GetHashCode()

Overridden GetHashCode

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

SetFieldTypedValue(object)

Information and contents of a given field used in an ErpSyncActor object.

Declaration
public void SetFieldTypedValue(object fieldValue)
Parameters
Type Name Description
object fieldValue

SetFieldValue(string, FieldMetadataInfo)

Sets the FieldValue and FieldInfo properties in one go

Declaration
public void SetFieldValue(string fieldValue, FieldMetadataInfo fieldInfo)
Parameters
Type Name Description
string fieldValue
FieldMetadataInfo fieldInfo

Operators

operator ==(ErpSyncActorField, ErpSyncActorField)

Overridden equality operator

Declaration
public static bool operator ==(ErpSyncActorField field1, ErpSyncActorField field2)
Parameters
Type Name Description
ErpSyncActorField field1
ErpSyncActorField field2
Returns
Type Description
bool

operator !=(ErpSyncActorField, ErpSyncActorField)

Overridden inequality (?) operator

Declaration
public static bool operator !=(ErpSyncActorField field1, ErpSyncActorField field2)
Parameters
Type Name Description
ErpSyncActorField field1
ErpSyncActorField field2
Returns
Type Description
bool
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top