Skip to main content

Notifications

Community site session details

Community site session details

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

While posting free text invoice getting below error

(0) ShareShare
ReportReport
Posted on by

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)

  • Suggested answer
    Hossein.K Profile Picture
    6,646 on at
    RE: While posting free text invoice getting below error

    Hi,

    It seem you had a customization. I suggest you first clear cache of user and perform incremental CIL compile for you Dynamics AX

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: While posting free text invoice getting below error

    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

  • faiz7049 Profile Picture
    2,234 on at
    RE: While posting free text invoice getting below error

    Hi SarathKumar,

    Compile Application and try again.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,219 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,980 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans