Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

How to pass PAYTYPE to GP. for error Error Number = 11991

Posted on by 20

Hi,

I am connecting to GP from eConnect from .Net application.

When I was posting data into GP I got below Error.

Error Number = 11991  Stored Procedure= taPMDistribution  Error Description = The Payment type is not correct
Node Identifier Parameters: taPMDistribution
Related Error Code Parameters for Node : taPMDistribution
PAYTYPE = Note: This parameter was not passed in, no value for the parameter will be returned.

Then I found out that this is because we have upgraded to 2013 R2 it is expecting a new parameter called Paytype.  As it was given in this link

https://community.dynamics.com/gp/b/dynamicsgp/archive/2014/09/22/econnect-error-11991.aspx

But issue is in my .net Application, taPMDistribution object doesnot have property called PayType. It is showing all its older properties like DOCTYPE,VCHRNMBR,VENDORID etc.. Also I am referring to dll

Microsoft.Dynamics.GP.eConnect.dll and Microsoft.Practices.Unity.Configuration.dll 12.0.0.0.

Please let me know if I am not clear. Also I am not sure of the category I have chosen.

Regards,

Hasrha.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to pass PAYTYPE to GP. for error Error Number = 11991
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to pass PAYTYPE to GP. for error Error Number = 11991

    Have you resolved this issue?  The same thing is happening to us after upgrading to GP 2013 R2.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans