I want to take benefit of out-of-the-box stored procedures and other DB objects created by eConnect by reUsing these objects. I tried to explore the SDK but couldnt find any description for available stored procedures. Currently i am trying to use "taCustomerBalance" and want to know parameter details for this. Can anyone help me in this?

Violation of PRIMARY KEY constraint 'PKAAG20000'. Cannot insert duplicate key in object 'dbo.AAG20000'. The duplicate key value is (18).
The statement has been terminated.

I've noticed that some field names have changed in AA for GP2010, so you may have to traslate for earlier versions. I'm running GP2010 at this client. Also, the table number in the error message might be different in your case.

AA keeps a 'next record number' of sorts in DYNAMICS..AAG00102. In my case there was an Integration Manager integration that had been running for some time and they were forcing in the AA transactions somehow and the 'next record number' was not getting updated. eConnect tried to do it the right way, and found that the 'next record number' was in use.

To fix:

Error in deserializing body of reply message for operation 'CreateTransactionEntity'. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader.

 I've solved issues similar to this before, but not with eConnect so I'll blog the issue here and in my XML blog.

The issue is that eConnect is returning a string longer than 8192 characters when we call CreateTransactionEntity. Here's the fix:

While doing some user testing, I needed to set security so that a particular user could see the new modified form that I had just created. but that causes an issue with the other users, who don't yet have the dictionary for the modified form. So... exactly who are these users? Who is going to get an error?



I was just trying to convert over some code for eConnect 10 and several things are not working. 

1) connects on the server, not on the client:  Do I have to install the econnect service on the client from the GP DVD?  I was getting the no endpoint listening error message.  So I installed on the client and now the service stops and started.  Did edit both config files to have host name.  Before I go too far down the troubleshooting road I want to make sure I am supposed to install the service on the client.

2)  Dim pmNumber As String


pmNumber = getDocNumbers.GetPMNextVoucherNumber(IncrementDecrement.Increment, CurrentCompanyConnect)

give this error message:  String was not recognized as a valid Boolean

 3) Dim result As String = eConCall.CreateTransactionEntity(CurrentCompanyConnect, PMMasterDocument)

PMMasterDocument =


<?xml version="1.0" encoding="utf-8" ?>

- <eConnect xmlns:xsi="" xmlns:xsd="">
- <PMTransactionType>
  <eConnectProcessInfo xsi:nil="true" />
  <taRequesterTrxDisabler_Items xsi:nil="true" />
  <taUpdateCreateVendorRcd xsi:nil="true" />
  <taCreateVendorAddress_Items xsi:nil="true" />
  <taPMTransactionTaxInsert_Items xsi:nil="true" />
- <taPMDistribution_Items>
  <taPMDistribution xsi:nil="true" />
- <taPMDistribution>
- <taPMDistribution>
  <taAnalyticsDistribution_Items xsi:nil="true" />
- <taPMTransactionInsert>
  <taMdaUpdate_Items xsi:nil="true" />
Gives me "sequence contains no elements"
Any help would be appreciated!


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables