Announcements
Please help me. How to solve this.
System.NullReferenceException: Object reference not set to an instance of an object.
at Dynamics.Ax.Application.CustInvoiceCalcTax.Post(LedgerPostingController _ledgerPostingController, NoYes post, Boolean ) in CustInvoiceCalcTax.post.xpp:line 29
at Dynamics.Ax.Application.CustInvoiceCalcTax.Post(LedgerPostingController _ledgerPostingController, NoYes post)
at Dynamics.Ax.Application.CustInvoiceCalcTax_Invoice.Post(LedgerPostingController _ledgerPostingController, NoYes post, Boolean ) in CustInvoiceCalcTax_Invoice.post.xpp:line 3
at Dynamics.Ax.Application.CustInvoiceCalcTax_Invoice.Post(LedgerPostingController _ledgerPostingController, NoYes post)
at Dynamics.Ax.Application.CustPostInvoice.Runinternal() in CustPostInvoice.runInternal.xpp:line 683
at Dynamics.Ax.Application.CustPostInvoice.staticRun(Object[] _params) in CustPostInvoice.staticRun.xpp:line 45
at CustPostInvoice::staticRun(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)
Hi,
It seem you had a customization. I suggest you first clear cache of user and perform incremental CIL compile for you Dynamics AX
Hello Sarathkumar,
Have you modified something in the standard free text invoice?
If so, can you provide details of what has been modified?
Best regards,
Ludwig
Hi SarathKumar,
Compile Application and try again.
André Arnaud de Cal...
294,219
Super User 2025 Season 1
Martin Dráb
232,980
Most Valuable Professional
nmaenpaa
101,158
Moderator