Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

eConnect 2010,2013 Bug

Posted on by 150

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

  • Sanad Rayyan Profile Picture
    Sanad Rayyan 150 on at
    RE: eConnect 2010,2013 Bug

    Thanks a lot Steve Endow,

    I just add the bellow line to my code and it worked well

    ReDim Preserve PMTransaction.taPMDistribution_Items()

    :)

  • Verified answer
    steveendow Profile Picture
    steveendow 2,281 on at
    RE: eConnect 2010,2013 Bug

    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.

  • Sanad Rayyan Profile Picture
    Sanad Rayyan 150 on at
    RE: eConnect 2010,2013 Bug

    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

  • Sanad Rayyan Profile Picture
    Sanad Rayyan 150 on at
    RE: eConnect 2010,2013 Bug

    hi Nataraj S

    So what should I do,, do I wait a new service pack?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: eConnect 2010,2013 Bug

    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.

  • soma Profile Picture
    soma 24,406 on at
    RE: eConnect 2010,2013 Bug

    Can you share the code(with including schema calling and parameter)?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans