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
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....
you can display the user friedly error messages using Dynamics..taErrorCode table.
this table contain the all possible econnect error code and description details.
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..
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
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