Class ErpSyncActorField
Information and contents of a given field used in an ErpSyncActor object.
Inheritance
ErpSyncActorField
Assembly: SuperOffice.Services.Implementation.dll
Syntax
public class ErpSyncActorField
Constructors
ErpSyncActorField()
Declaration
public ErpSyncActorField()
Properties
CrmFieldKey
The CRM key of the field, if mapped to one
Declaration
public string CrmFieldKey { get; set; }
Property Value
CrmListItemId
The list item ID for CRM (e.g. CategoryId, AssociateId, etc)
Declaration
public int CrmListItemId { get; set; }
Property Value
ErpFieldId
The primary key from the field's ErpField row
Declaration
public int ErpFieldId { get; set; }
Property Value
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
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
ListReference
The list reference mapping for CRM
Declaration
public string ListReference { get; set; }
Property Value
ShowInGui
Is the field set to show in CRM ERP tab
Declaration
public bool ShowInGui { get; set; }
Property Value
ShowInSearch
Is the field set to show in CRM search results
Declaration
public bool ShowInSearch { get; set; }
Property Value
SyncToCrm
Is the field synced FROM Erp TO Crm
Declaration
public bool SyncToCrm { get; set; }
Property Value
SyncToErp
Is the field synced FROM Crm TO Erp?
Declaration
public bool SyncToErp { get; set; }
Property Value
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
Methods
Equals(ErpSyncActorField)
Overridden Equals method. Compares EncodedFieldValue between the two objects
Declaration
public bool Equals(ErpSyncActorField fld)
Parameters
Returns
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
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
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 |
|
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
Returns
operator !=(ErpSyncActorField, ErpSyncActorField)
Overridden inequality (?) operator
Declaration
public static bool operator !=(ErpSyncActorField field1, ErpSyncActorField field2)
Parameters
Returns