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 |
---|---|---|
boolean |
Creates a record from an eConnect XML document. |
|
string |
Creates a transaction from an eConnect XML document. |
|
boolean |
Deletes a specified record from Microsoft Dynamics GP. |
|
boolean |
Deletes a specified transaction from Microsoft Dynamics GP. |
|
void |
Releases the resources of the eConnectMethods object. |
|
boolean |
Use this method to submit an XML document. |
|
string |
Use this method to retrieve XML documents. |
|
string |
Releases all resources used by the eConnectMethods class. |
|
boolean |
Updates a specified record in Microsoft Dynamics GP. |
|
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