eConnectMethods Class

Use the eConnectMethods class to send or request eConnect documents. To use the eConnectMethods class you must first instantiate an object.

Inherits from the System.EnterpriseServices.ServicedComponent class.

Constructor

Name

Description

eConnectMethods()

Initializes an instance of the eConnectMethods class.

Properties

Name

Type

Default

Description

RequireProxyService

bool

true

Specifies whether to use the identify of the logged on user or the service identity when accessing SQL server. The value true forces the application to use the service identity. The value in this class overrides the RequireProxyService setting in the configuration file.

Methods

Name

Return Value

Description

CreateEntity Method

boolean

Creates a record from an eConnect XML document.

CreateTransactionEntity Method

string

Creates a transaction from an eConnect XML document.

DeleteEntity Method

boolean

Deletes a specified record from Microsoft Dynamics GP.

DeleteTransactionEntity Method

boolean

Deletes a specified transaction from Microsoft Dynamics GP.

Dispose Method

void

Releases the resources of the eConnectMethods object.

eConnect_EntryPoint Method

boolean

Use this method to submit an XML document.

eConnect_Requester Method

string

Use this method to retrieve XML documents.

GetEntity Method

string

Releases all resources used by the eConnectMethods class.

UpdateEntity Method

boolean

Updates a specified record in Microsoft Dynamics GP.

UpdateTransactionEntity Method

boolean

Updates a specified transaction in Microsoft Dynamics GP.

Examples

The following Visual Basic .NET code sample creates an eConnectMethods object:

'Instantiate an eConnectMethods object
Dim eConnectObject As New eConnectMethods