web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Error while accessing Invoice from Sales order

(0) ShareShare
ReportReport
Posted on by

Hi All,

One user is getting error while accessing the Invoice from Sales Order. Below are the detailed log and screenshot.

Error Screenshot:

pastedimage1606240407428v1.png

Error Log:

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Dynamics.Ax.Application.formletterParmData.Catchall() in formletterParmData.catchAll.xpp:line 10
at Dynamics.Ax.Application.formletterParmData.Createdata(Boolean _append, Boolean ) in formletterParmData.createData.xpp:line 63
at Dynamics.Ax.Application.formletterParmData.Createdata(Boolean _append)
at Dynamics.Ax.Application.SalesFormletterParmDataInvoice.Createdata(Boolean _append, Boolean ) in SalesFormletterParmDataInvoice.createData.xpp:line 14
at Dynamics.Ax.Application.SalesFormletterParmDataInvoice.Createdata(Boolean _append)
at Dynamics.Ax.Application.SalesFormletterParmData.executeChooseLinesServer(Object[] _salesFormletterContractPacked, Boolean _append, Boolean _reuseParmUpdate, Boolean _onlyCreateParmUpdate, Boolean _executeLateSelection, Boolean , Boolean , Boolean ) in SalesFormletterParmData.executeChooseLinesServer.xpp:line 23
at Dynamics.Ax.Application.SalesFormletterParmData.executeChooseLinesServer(Object[] _salesFormletterContractPacked, Boolean _append, Boolean _reuseParmUpdate, Boolean _onlyCreateParmUpdate, Boolean _executeLateSelection)
at Dynamics.Ax.Application.SalesFormletterParmData.chooseLinesServerIL(Object[] _inputContract) in SalesFormletterParmData.chooseLinesServerIL.xpp:line 7
at SalesFormletterParmData::chooseLinesServerIL(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) in SysDictClass.invokeStaticMethod.xpp:line 26
at SysDictClass::invokeStaticMethod(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Srinivas,

    Is this happening for all users or only this user? If this is limited to a single user, you can try resetting the usage data for the user and try again.

  • Suggested answer
    Junaid Idrees Profile Picture
    on at

    Hi Srinivas Maddula,

    If the problem is faced by specific user then Can you please try following:

    1. Reset usage data

    2. Run consistency check from system administration > Periodic Task > Database on (Sales order)

    3. Ask user to log out and log back in with new browser window.

  • Danial47 Profile Picture
    142 on at

    Hi Srinivas

    To solve this issue,

    go to the tools menu-->options -->development--> uncheck the execute business operation in CIL.

    BR

    Danial

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Srinivas Maddula,

    Have you been able to get this issue resolved in the meantime or do you need any other help from the community?

    Would be great if you could keep us updated.

    Many thanks and best regards,

    Ludwig

  • WillWU Profile Picture
    22,361 on at

    Hi Srinivas Maddula,

    Please try to comment out the Debug::assert in the onSalesLinesSelectionFinished method of the InterCompanySalesAtCostPriceHandler class.

    See old thread:community.dynamics.com/.../923274

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Srivinas,

    Have you been able to get this issue fixed in the meantime?

    Best regards,

    Ludwig

  • Srinivas M Profile Picture
    on at

    Thanks for all your replies, I haven't checked the possibilities because one of my partner solved the Issue.

  • Junaid Idrees Profile Picture
    on at

    Can you take out some time and post the resolution here to help others facing the same issue and mark it verified.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans