Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Unable to post Production Journal

Posted on by Microsoft Employee

Dear Sir,

We are getting error "Attempted to Divide by Zero" while posting Raw Material in production journal.

Kindly suggest.

*This post is locked for comments

  • Suggested answer
    Maneesha Profile Picture
    Maneesha 5,889 on at
    RE: Unable to post Production Journal

    Dear Chandan01  , 

    refer the follow link 

    https://www.youtube.com/watch?v=vom1ZVhHR5M

    hope will sort out your issue 

  • Suggested answer
    Yogesh Kulkarni_ Profile Picture
    Yogesh Kulkarni_ 1,762 on at
    RE: Unable to post Production Journal

    Chandan,

    Just to showcase you:

    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.

    Happy debugging.. :)

    -Yogesh Kulkarni
    Please verify, if you find answer helpful.

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Unable to post Production Journal

    This could be easily track by using debugger . Activate debugger and check

    If you are not developer then take help of developer and check and put the code as suggested by Mohana

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: Unable to post Production Journal

    Google is your friend, my friend.

    msdn.microsoft.com/.../hh165356(v=nav.90).aspx

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unable to post Production Journal

    Dear Sir,

    How to activate debugger.

  • Verified answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: Unable to post Production Journal

    Activate the debugger and check which code and field/variable is causing the issue.

    If it is due to a customization then always use code like

    IF a <> 0 THEN

     C := b / a;

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans