Open Forum

Expand all | Collapse all

Division by Zero - Manufacturing Order Receipt

  • 1.  Division by Zero - Manufacturing Order Receipt

    GOLD CONTRIBUTOR
    Posted Dec 19, 2019 12:12 PM
    I continue to get the following error when trying to do a select number of Manufacturing Order Receipt Entries.
    Unhandled script exception
    Division by zero; script aborted

    EXEPTION_CLASS_ SCRIPT_DIVIDE_BY_ZERO

    I have been able to clear the error sometimes by checking the use all costs boxes, but on a couple it doesn't work.

    Any ideas of what setting I need to check?
    I have compared routings and not seen anything different.
    Thanks!

    ------------------------------
    Teresa Waters
    Controller
    La Crosse Milling Company
    Cochrane WI
    ------------------------------
    Academy - Online Interactive Learning from Experts


  • 2.  RE: Division by Zero - Manufacturing Order Receipt

    TOP CONTRIBUTOR
    Posted Dec 20, 2019 03:20 PM
    Ask Dr Google, Dynamics GP <exact error message>
    Especially include the table/script/unique words
    Often I get hits with just the error message.

    I am not versed in manufacturing.
    A less than ideal solution, if you can figure out what is in the denominator, is to enter pennies rather than zeroes.

    ------------------------------
    Bruce Strom
    Programmer Analyst
    Superior Lighting, Inc.
    Sunrise FL
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 3.  RE: Division by Zero - Manufacturing Order Receipt

    SILVER CONTRIBUTOR
    Posted Dec 23, 2019 09:43 AM
    Look for any zero costs or quantities in the BOMS and on the materials cards for your raw materials and subassembly items. We had the same problem and we had to enter .00001 as a quantity.

    ------------------------------
    Jeff Strait
    Controller
    Ideal Deals, LLC dba Ideal Aluminum Products
    St. Augustine FL
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 4.  RE: Division by Zero - Manufacturing Order Receipt

    SILVER CONTRIBUTOR
    Posted Dec 27, 2019 10:42 AM
    Yep, Jeff nailed it. We had a similar issue as we go out to 5 digits for some of the raw materials and assembly times.

    ------------------------------
    Dan Levett
    Accounting Manager
    White House Custom Colour
    Eagan MN
    ------------------------------

    Academy - Online Interactive Learning from Experts


If you've found this thread useful, dive deeper into User Group community content by role