Hello, i receive a 'ROUNDING-ERROR' when I try to ...
# suitescript
t
Hello, i receive a 'ROUNDING-ERROR' when I try to save a new sales order with a map reduce script when the order has a 0% tax rate with a sales discount item with a different tax rate. And it's only happening for the orders in the UK. If I create the order manually in NetSuite, there is no error. Any idea ? The complete error:
{
"type": "error.SuiteScriptError",
"name": "ROUNDING_ERROR",
"message": "Rounding Error: 10.67",
"id": "",
"stack": [
"Error\n    at RecordInvoker.save }
a
How are you creating the order when you get this error?
t
I got this error when I create an order with MAP/REDUCE script.
b
share the code, expect to share enough for someone to reproduce