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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Debug assertion failed when posting invoice in ax 2012

(0) ShareShare
ReportReport
Posted on by 1,845

Hi,

While posting Invoice for any sales order I get the Debug Assertion Failed Stack trace. 

8880.6.PNG

Anyone help me how to fix this. I am checked all table and classes given in the above screen shot there is no customization.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Iulian Cordobin Profile Picture
    8,201 on at

    Hi.

    Sounds like you have something that is not properly configured in the Accounting Structure. Check your setup in General Ledger -> Setup -> Configure account structures.

  • Iulian Cordobin Profile Picture
    8,201 on at

    I actually just looked in the code at the line mentioned and it looks like you are missing the Main account. Are you sure you the values in your invoice are the proper ones?

  • Verified answer
    startax Profile Picture
    1,845 on at

    I check the mainaccount table in AOT found that there is no data in table. Then check SQL table Demo data is  present in SQL i truncate Mainaccount Table in SQL and Insert DEMO data for Mainaccount table in SQL using script.  

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans