Forum Discussion

Larry1972's avatar
Larry1972
Cover User
2 years ago

System.DivideByZeroException

Hi,

I am trying to convert an order to an invoice and keep getting the following error code: System.DivideByZeroException and MYOB wants to close and restart.

I have restarted and still get the same error code. There are no multiple items of the same product, not 100% discounts.

Please help........

1 Reply

Replies have been turned off for this discussion
  • Hello Larry1972 

     

    This error can occur for 2 reasons. 

     

    The first is that you have used an item more than once on an order. so you would need to combine the amounts to make it so the item is on 1 line.

     

    The other is If you discount an item by 100% on an order and try to convert the order to a sale we get the same issue. You will need to convert the order to a sale and then edit the sale to include the discount.

    Please let me know how you go.