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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Getting the Object reference not set to an instance error while creating the sales order.

(0) ShareShare
ReportReport
Posted on by 185
I am getting the "Object reference not set to an instance of an object" error while creating the new sales order. On debugging its hitting to the standard code. Steps already that I tried - rebuild model, get latest of code and rebuild model. remapping of the branching.  But all in vain.
 
Can you please tell any way of resolving this ?
Categories:
I have the same question (0)
  • Martin Dráb Profile Picture
    238,530 Most Valuable Professional on at
    As you see, just knowing that the exception is thrown somewhere in the standard code tells you nothing about the actual cause, therefore you need to keep debugging to find the place where it happens.
     
    Which version of AX are you using? Knowing that will allows to give you advice relevant to the your version. You mentioned a model, so it sounds like AX 2012, or maybe you've selected a wrong category and you actually mean F&O.
  • André Arnaud de Calavon Profile Picture
    302,373 Super User 2025 Season 2 on at
    Hi Spidey1010,
     
    Despite the debugger stopping with the error in standard code, this might be caused by a customization. I think to understand that you have customizations in this environment. If so, check if you fill in some values with invalid data or no data at all.

    If you have customizations, please share more details, such as the coding.

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 438 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 354 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans