Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Free Text Invoice Posting Error "System.NullReferenceException: Object reference not set to an instance of an object."

$
0
0

Hi Experts

I am facing error like System.NullReferenceException: Object reference not set to an instance of an object.

While Posting Free Text Invoice , In Production server no error is getting displayed , just the screen is getting refreshed ,

but in Test server i am getting the above exception, 

My application is AX 2012 R3 with India GST Update

the exception is referring to below classes 

1.TaxAccountingPostTaxTransHandler_IN.Setattributedata()
2.TaxAccountingPostTaxTransHandlerBase.Setdata()
3.TaxAccountingPostTaxTransHandler_IN.Post(Boolean _post, Boolean )
4.TaxAccountingPostTaxTransHandler_IN.Post()
5.TaxAcctPostTaxTransExtSubscriber_IN.postTaxTrans
6.TaxAccountingPostFacade.postTaxTransExtension
7.TaxAccountingPostFacade.Post()
8.TaxAccountingPostFacade.postTax()
9.CustPostInvoice.Runinternal()
10.CustPostInvoice.staticRun(Object[] _params)

I have placed the break point in all these codes but debugger is not getting hit

I have traced that this exception is occurring for only domestic invoices for currencies other than INR there is no issue, and with further exploring, i have found out if i enter quantity  in custinvoice line then , the invoice is getting posted, 

I need to make the exception into user readable validations , but i am not finding the place to update my code .


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>