Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

While posting free text invoice getting below error

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
    Hossein.K 6,642 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
    Ludwig Reinhard 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
    faiz7049 1,641 on at
    RE: While posting free text invoice getting below error

    Hi SarathKumar,

    Compile Application and try again.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans