Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

eConnect Error

(0) ShareShare
ReportReport
Posted on by

Hello

I need help with the following error: it was encountered during a GP Migration.

Microsoft.GreatPlains.eConnect.eConnectException: Unable to retrive the next SOPNUMBE for this document. The SOPTYPE and DOCID are required fields, please ensure that these parameters are included in the taSopHdrIvcInsert. ---> System.ApplicationException: Error in method GetNextSopNumber ---> System.Data.SqlClient.SqlException: Login failed for user 'RESONANCE-CARIB\rcl-econnect-srv'.

   --- End of inner exception stack trace ---

   at Microsoft.GreatPlains.eConnect.MiscRoutines.GetSopNumber.GetNextSopNumber(Int32 SOPTYPEKey, String DOCIDKey, String BackOfficeConnString)

   at Microsoft.GreatPlains.eConnect.eConnectInternalMiscMethodsSop.getNextSopNumber(String soptype, String docid, String sConn)

   --- End of inner exception stack trace ---

Thanks

Janelle

*This post is locked for comments

  • Suggested answer
    steveendow Profile Picture
    steveendow 2,281 on at
    RE: eConnect Error

    It looks like the base error is:

    Login failed for user 'RESONANCE-CARIB\rcl-econnect-srv'.

    I would double check the username and password for that user and ensure that it has proper permissions in SQL.

  • Suggested answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: eConnect Error

    You need to ensure that you have created a "Sales Document Type", in which a "Document ID Next Number". When you go to the Sales Order Processing Setup provided above, and click on the document type (Order, Invoice ....etc).  Create a new document type, and give a next number as shown below;

    Please never hesitate to share any further inquiries,

  • RE: eConnect Error

    Thank you  Soma I will look at your suggestions. :-)

    Janelle

  • Suggested answer
    soma Profile Picture
    soma 24,410 on at
    RE: eConnect Error

    Have you setup the Next Number for SOP document id in Sales Order Processing Setup window?

    Have you passed the values for the SOPTYPE and DOCID?

    1. Go to Sales Order Processing setup window(Tools-->Setup-->Sales-->Sales Order Processing).

    2. Click the Sales Document Setup button and click the Sales order Type such as Order, invoice, etc.

    4. Now check the Next Number for the Order ID.

    Or

    Note: Better share your coding.

    Hope this helps!!!

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans