Notifications
Announcements
No record found.
Hi, my user tried to delete the line item in Purchase Order, but she was prompted with "Attempted to divide by zero" error in Navision 2018.
Can advise what does it means and how the means to resolve it?
Thank you.
Josh,
Your Unit of Measure Code = CAN does this have an Item Unit of Measure conversion to Base UOM? If so, does it divide properly? Check this as the message is telling me that CAN is trying to divide by zero.
Thanks,
Steve
Hi, I think you can try Debug in Development Environment (C/SIDE) to find out the field that is 0.
https://docs.microsoft.com/en-us/dynamics-nav/walkthrough--debugging-the-microsoft-dynamics-nav-windows-client
To activate the debugger
In Object Designer, on the Tools menu, choose Debugger, and then choose Debug Session.
The Session List page opens.
In the Session List page, on the Home tab, in the Session group, choose Debug Next.
The Debugger page opens, but no session is currently being debugged, and no code is displayed in the code viewer.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,664
YUN ZHU 960 Super User 2025 Season 2
Jainam M. Kothari 773 Super User 2025 Season 2