Hi,
I have a built a customization on GP10 and I used eConnect 10.0. but when I upgrade the GP to 2010 the eConnect give an error:
"Procedure or function 'taPMDistribution' expects parameter '@I_vDOCTYPE', Which was not supported.
The eConnect who calls the procedures so maybe Microsoft missed some parameters in its files
I have built many customizations on GP using eConnect, an errors like this appear on eConnect 2010 and 2013 only and not appear on GP10.
Please help me or I will lose all my customizations :(
*This post is locked for comments
Thanks a lot Steve Endow,
I just add the bellow line to my code and it worked well
ReDim Preserve PMTransaction.taPMDistribution_Items()
:)
Hi Sanad,
Are you using VB or C#?
I would recommend reviewing the full serialized XML for a single transaction that is giving you this error.
Do you see the following extra node in your valid distributions?
<taPMDistribution xsi:nil="true" />
If so, review your code to see if you are dimensioning an array improperly. For example, if you are using VB check this command:
ReDim Preserve PMTransaction.taPMDistribution_Items()
If you dimension your distribution array to be one value larger than it should be, you could end up with a null Distribution record, which could in turn cause this error.
I just received an inquiry about this issue with another developer who got the same error when upgrading their integration from GP 10 to GP 2013. It looks like the eConnect serializer was modified with GP 2010 to have it output these nil nodes. My guess is that eConnect 10 stripped them out.
hi Somakarpagamoorthy K
Am filling all parameters, if I miss a one the message will be a different (a long message u know)
this error message come from SQL which eConnect dll call the procedure. so the problem in the dll file.
Thanks
hi Nataraj S
So what should I do,, do I wait a new service pack?
Hi Sanad,
the schema\schema's get changed from version to version, so we need to isolate the changes to be handle for the current version.
Can you share the code(with including schema calling and parameter)?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156