Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

econnect Exceptions

Posted on by Microsoft Employee

Hi All, I am getting exception like :

 

eConnectTraceSource Error: 735 : Create Transaction Entity produced the following exception:

 Sql procedure error codes returned: 

Error Number = 908  Stored Procedure= taSopLineIvcInsert  Error Description = Invalid Sales Account

Node Identifier Parameters: taSopLineIvcInsert

SOPNUMBE = 226144

SOPTYPE = 3

Related Error Code Parameters for Node : taSopLineIvcInsert

SLSINDX = 06700

<taSopLineIvcInsert>

  <SOPTYPE>3</SOPTYPE>

  <SOPNUMBE>226144</SOPNUMBE>

  <CUSTNMBR>5663</CUSTNMBR>

  <DOCDATE>8/01/2011</DOCDATE>

  <ITEMNMBR>2810 - BA - 005</ITEMNMBR>

  <QUANTITY>1</QUANTITY>

  <ITEMDESC>Prem Designer NC Misc.</ITEMDESC>

  <NONINVEN>1</NONINVEN>

  <DOCID>STDINV</DOCID>

  <TAXSCHID>0</TAXSCHID>

  <SLSINDX>06700</SLSINDX>

  <DEFEXTPRICE>1</DEFEXTPRICE>

  <UOFM>EACH</UOFM>

</taSopLineIvcInsert>

 

 

But i want  to dispaly this error messages very shortly .. like 

SOPNUMBE = 226144

Related Error Code Parameters for Node : taSopLineIvcInsert

Error Description = Invalid Sales Account

Can you please tell me  For this what i have to do...

Please see this my catch blocks like ... i am trying catch the error..but i didn't get the idea how to dispaly messages very shortly.... 

  catch (eConnectException o)

                 {

                     Console.Write(o.Message);

                    Console.Read();                    

                 }

                 // Catch any system error that might occurr. Display the error to the user

                 catch (Exception ex)

                 {

                       Console.Write(ex.Message);

                        Console.Read();

                     Application.Exit();

                 }

                 finally

                 {

                     // Use the Dipose method to release resources associated with the 

                     // eConnectMethods objects

                     eConcall.Dispose();

                 }

 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: econnect Exceptions

    Can you please give the example(Friendly error messages) to use taErrorCode table..

    I seen this link :msdynamicstips.com/.../econnect-error-code-master

    But i didn't get the logic....

  • Jeganeedhi Krishnan Profile Picture
    Jeganeedhi Krishnan 2,500 on at
    Re: econnect Exceptions

    you can display the user friedly error messages using  Dynamics..taErrorCode table.

    this table contain the all possible econnect error code and description details.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: econnect Exceptions

    Sandip ,

    Thanks your reply.... i want know how the error messages are displayed very short...

    i am displaying error messages  very large  in econnect.log file..

  • sandipdjadhav Profile Picture
    sandipdjadhav 18,265 on at
    Re: econnect Exceptions

    Kavitha,

    Try to enter non-inventory Item transaction manually into Sales Transaction screen and see if Sales account populate in Distribution or not.

    If not then first check posting account setup for Sales Transaction is it "By Items" or "Customers" for that goto -->Tools-->Setup -->Sales-->Sales Order Processing

    if it is by Item then add default Account for Sales Account from Goto-->Tools-->Setup-->Posting-->Posting Accounts--> Select Item Series and add Sales Account

    if Account setup by "Customer" then select Sales Series and add Sales Account.

    Hope that will resolve your issue.

    Please let me know how it goes.

    Thanks

    Sandip

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