Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

NAV 2009 r2 : Error in Order Closing

Posted on by Microsoft Employee

While closing (status change) some Production order it shows an error message, " Division By 0 ".

why this type of errors occur.. Due to this error 28 order of FY 13-14 is still open please support..

*This post is locked for comments

  • Verified answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: NAV 2009 r2 : Error in Order Closing

    hi arun,

    is this a standard nav or are there customizations in the prod. order objects (tables, pages)?

    did you debug?

    if you have a dev. license open cu 5407 in design mode and search for " / " (means: <blank>-sign, division sign, <blank>-sign). you should find all the division calculations. check the right side of each divisions. this value must not be 0 !

    start your search with function ChangeStatusOnProdOrder. this fct. is called, when you wanna change the status of a PO.

    one sample. in function FlushProdOrder you'll find the line (a division):

    ActualOutputAndScrapQty := ActualOutputAndScrapQtyBase / ProdOrderLine."Qty. per Unit of Measure";

    here the value of field "Qty. per Unit of Measure" of each prod. order line must never be 0.

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans