Hello,
One of Production Orders I can't post. I get message "Attempted to divide by zero". What I need is posted, I need just to close the order, but I can't.
In released Production Orders I tried to delete, but I can't as well. Says "Ledger Entry associated with it".
How I could delete or finally post and close this production order?
Thanks for help!
Hi, I agree with Nitin, it looks like the program is trying to divide by 0, which is causing the error. Although it is not ruled out as a standard bug, the possibility of customization is very large. So Debug is recommended.
More details about Debug:
https://docs.microsoft.com/en-us/dynamics-nav/activating-the-debugger
Hope this also helps.
Thanks.
ZHU
Mike,
Not sure if you are on Consumption, Output, or Production Journal document trying to Post. In any case, this one could come from anywhere so you need to trace if a UOM is causing the DIVIDE by ZERO. Here are some steps and a link:
Go to development Environment, Tools -> Debugger -> Debug Session
From the list of Sessions, select your session and click on Debug.
A new window will appear.
Now again perform the same action, as of you are getting the error. By this, you will come to a point where you have encountered the error.
msdn.microsoft.com/.../hh165356(v=nav.90).aspx
You can always contact your Partner to do this.
Hope this helps.
Thanks,
Steve
Hi, Please follow below steps.
1. Open Development Environment do as per below image.
2. It will open a new window as per below image.
Now click on Debug button after selecting of your user id Record, make sure your RTC should be opened.
3. No go to RTC and start processing or posting the Prod. Order, now you will see your cursor will be stopped at debugger with exact line of code, where the error, Not sure if you can understand the code. or send me that screen shot of the Code error.
Thank you for your quick reply.
Problem is, that at this moment we don't have any support from any NAV specialists (after some managers left company).
This problem will be sorted, but for now all of us looking for solutions, how to solve problems by ourselves.
How I could run NAV debug by myself? Where I can find it?
Thanks.
Hi Mike ,
You have to please check if there is customization done before regarding posting routine of Prod. order. If yes, you need to take help of your License partner or Development partner to debug the issue, also You can't delete the prod. order until we have Ledger entry associated with it.
Thanks.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156