Class ErpConnection
Information about a connection to the ERP system.
Carrier object for ErpConnection. Services for the ErpConnection Carrier is available from the IErpSyncAgent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class ErpConnection : Carrier
Constructors
ErpConnection()
Default constructor
Declaration
public ErpConnection()
See Also
Properties
Active
Is this connection currently active
Declaration
public virtual bool Active { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
AllAccess
Is this connection accessible to everyone? If not, then the ErpConnectionAccess table tells us who can access it
Declaration
public virtual bool AllAccess { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
AssociateAccessIds
Array of ids containing associates that will have access to this connection.
Declaration
public virtual int[] AssociateAccessIds { get; set; }
Property Value
Type | Description |
---|---|
Int32[] |
See Also
ConfigFields
The config fields needed to establish a connection to the connector
Declaration
public virtual StringDictionary ConfigFields { get; set; }
Property Value
Type | Description |
---|---|
StringDictionary |
See Also
ConnectionId
The GUID that uniquely identifies this connection; passed to the Connector in every call
Declaration
public virtual string ConnectionId { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
Deleted
If true, the connection has been deleted and should not be shown to the users.
Declaration
public virtual bool Deleted { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
DisplayDescription
Tooltip/description shown to user; multi-language support
Declaration
public virtual string DisplayDescription { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
DisplayName
Connection name shown to user; multi-language support
Declaration
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ErpConnectionId
Primary key
Declaration
public virtual int ErpConnectionId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
ErpConnectorId
The connector that this connection should call
Declaration
public virtual int ErpConnectorId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
MostRecentTimestamp
Datetime, transaction number or other identification of the point in time of the most-recently seen actor in the ERP system
Declaration
public virtual string MostRecentTimestamp { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
UserGroupAccessIds
Array of ids containing usergroups that will have access to this connection.
Declaration
public virtual int[] UserGroupAccessIds { get; set; }
Property Value
Type | Description |
---|---|
Int32[] |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
See Also
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. |